hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
f76c5251f7b1a83b1b72013543d2f79ed96a3ce9
diff --git a/scripts/checkUnminifiedVariables.php b/scripts/checkUnminifiedVariables.php index <HASH>..<HASH> 100755 --- a/scripts/checkUnminifiedVariables.php +++ b/scripts/checkUnminifiedVariables.php @@ -12,8 +12,8 @@ $usedVars = []; foreach (glob(__DIR__ . '/../tests/.cache/minifier.*.js') as $filepath) { $file...
Updated script [ci skip]
s9e_TextFormatter
train
dfe27f8a8da105b9966963b9f02eea3b5965808f
diff --git a/malcolm/core/block.py b/malcolm/core/block.py index <HASH>..<HASH> 100644 --- a/malcolm/core/block.py +++ b/malcolm/core/block.py @@ -1,9 +1,9 @@ from collections import OrderedDict -from malcolm.core.loggable import Loggable +from malcolm.core.monitorable import Monitorable -class Block(Loggable): ...
Change Block to derive Monitorable Follows the design change to move subscription handling to the Process level, instead of the Block level.
dls-controls_pymalcolm
train
bb3b587d0ab1123728d5abed1f6f20a2cf92178a
diff --git a/src/check.js b/src/check.js index <HASH>..<HASH> 100644 --- a/src/check.js +++ b/src/check.js @@ -230,16 +230,23 @@ const manifestAndPackageJsonSameVersion = { } const connectorExistsInRegistry = { - fn: (info, assert) => { + fn: async (info, assert) => { + let result = false + try { + awa...
fix: check that connector exists in the registry in a different way to avoid pagination
konnectors_konitor
train
7537cd9827862798e72cc74b0697188f40892cc4
diff --git a/src/main/java/water/exec/AST.java b/src/main/java/water/exec/AST.java index <HASH>..<HASH> 100644 --- a/src/main/java/water/exec/AST.java +++ b/src/main/java/water/exec/AST.java @@ -6,6 +6,7 @@ import java.util.ArrayList; import java.util.Arrays; import water.*; +import water.fvec.Chunk; import water....
Reverted my previous change in Vec, Vec.set now cones not close the chunk, caller is responsible to make sure it will be closed in the end. Changed ASTAssign to explicitly close the updated chunk.
h2oai_h2o-2
train
d9fdcda90955215fd1e43e660887bf87174e400f
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -534,8 +534,8 @@ def symlink( target, force=False, makedirs=False, - user='root', - group='root', + user=None, + group=None, ...
Use the running user and default group for symlink ownership This commit modifies the work done in <I>b<I>d. Instead of using root:root for the default symlink ownership if no user/group is specified, the user under which the salt-minion is running is used when 'user' is not sspecified, and the default group of whatev...
saltstack_salt
train
2ab41ec1f71f405f7e718db2f11acbc010862b0d
diff --git a/packages/babel/src/transformation/transformers/internal/block-hoist.js b/packages/babel/src/transformation/transformers/internal/block-hoist.js index <HASH>..<HASH> 100644 --- a/packages/babel/src/transformation/transformers/internal/block-hoist.js +++ b/packages/babel/src/transformation/transformers/inter...
Break loop as soon as change detected.
babel_babel
train
a85451addc4e7170673b450c33ddf4c76de7c836
diff --git a/pkg/volume/gce_pd/gce_util.go b/pkg/volume/gce_pd/gce_util.go index <HASH>..<HASH> 100644 --- a/pkg/volume/gce_pd/gce_util.go +++ b/pkg/volume/gce_pd/gce_util.go @@ -42,19 +42,34 @@ func (util *GCEDiskUtil) AttachAndMountDisk(pd *gcePersistentDisk, globalPDPath if err := gce.(*gce_cloud.GCECloud).Attach...
Support default udev GCE PD device path The expected GCE PD device name is google-{name of disk}. This is because standard GCE images contain a udev rules file which renames the GCE PD device to google-{name of disk} <URL>
kubernetes_kubernetes
train
be5a6f7e7dde77ac46ea35b78f4478672326142c
diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.java index <HASH>..<HASH> 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer....
ensured subdirectories are built while extracting tar files - issue #<I> Former-commit-id: af8b<I>ed9be<I>e2aad<I>e<I>cc5d3e
jeremylong_DependencyCheck
train
310406d6a29adf70b9f837eba9465838834c2d91
diff --git a/src/main/java/act/job/AppJobManager.java b/src/main/java/act/job/AppJobManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/act/job/AppJobManager.java +++ b/src/main/java/act/job/AppJobManager.java @@ -33,6 +33,8 @@ import org.joda.time.DateTime; import org.joda.time.Seconds; import org.osgl.$; ...
add trace statements to AppJobManager
actframework_actframework
train
ed8952cc648cb470171543b8b5ab833ef85528f2
diff --git a/couch.js b/couch.js index <HASH>..<HASH> 100644 --- a/couch.js +++ b/couch.js @@ -148,8 +148,9 @@ function Database (opts) { if(typeof opts.couch !== 'string') throw new Error('Required "couch" option with URL of CouchDB'); + opts.db = opts.db || ""; if(typeof opts.db !== 'string') - throw...
I'm pretty sure an empty db is okay
jhs_cqs
train
b756b98a435adc067cc5f4fe15263dfc79acc0c6
diff --git a/search.php b/search.php index <HASH>..<HASH> 100644 --- a/search.php +++ b/search.php @@ -234,7 +234,7 @@ echo '<div id="search-page"> echo '</div>'; } echo '<div class="label">' , WT_I18N::translate('Family trees'), '</div> - <div class="value">'; + <div id="search_trees" class=...
General Search, Select ALL/None, SVN <I> - Bug #<I>
fisharebest_webtrees
train
0b8ca11b678816f24166b903cfb636382d8f5ebc
diff --git a/src/Context/Website/ConfigurableUrlToWebsiteMap.php b/src/Context/Website/ConfigurableUrlToWebsiteMap.php index <HASH>..<HASH> 100644 --- a/src/Context/Website/ConfigurableUrlToWebsiteMap.php +++ b/src/Context/Website/ConfigurableUrlToWebsiteMap.php @@ -67,7 +67,7 @@ class ConfigurableUrlToWebsiteMap imple...
Issue #<I>: Add one space after unary not operator
lizards-and-pumpkins_catalog
train
bf862896f938b9ec646dfc27ad8561796240e12f
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -12,8 +12,8 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import jpype.imports import jpype +import jpype.imports from unittest import mock import ...
Move imports down (how did this ever work???)
jpype-project_jpype
train
5122bbb3c20cbc77b9a324c88852a9fcdcdbb333
diff --git a/actionpack/test/dispatch/static_test.rb b/actionpack/test/dispatch/static_test.rb index <HASH>..<HASH> 100644 --- a/actionpack/test/dispatch/static_test.rb +++ b/actionpack/test/dispatch/static_test.rb @@ -37,6 +37,10 @@ module StaticTests end def test_served_static_file_with_non_english_filename +...
Skip test which is broken on jruby This test is broken from quite a while & is expected to remain broken as encoding issues are hardest to fix in JRuby. so lets skip this test for now
rails_rails
train
63d8cbb87ce685a2ab29dd0f0b84bb7c5a3fe0fe
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,10 +3,12 @@ var path = require('path'), semver = require("semver"), fs = require("fs"), path = require("path"), + _ = require('underscore'), spawn = require("child_process").spawn, ...
Unit tests require config file to be present. Conflicts: Gruntfile.js core/test/unit/admin_spec.js
TryGhost_Ghost
train
26f5bcd725894926d0d839514cc1b69556f505a6
diff --git a/discord/channel.py b/discord/channel.py index <HASH>..<HASH> 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -245,16 +245,22 @@ class Channel(Hashable): return Permissions.all() member_role_ids = set(map(lambda r: r.id, member.roles)) + denies = 0 + allows ...
Fix bug when permission overwrites could be applied out of order. The bug was due to the fact that the way overwrites work is by doing a loop of all the values and then applying deny first and then allow. That way the overwrite is defined if role A and role B deny a permission but role C allows it (and said member has...
Rapptz_discord.py
train
1988c957e02311cb4f0f91af529b33b27a1a0a7e
diff --git a/moto/s3/responses.py b/moto/s3/responses.py index <HASH>..<HASH> 100644 --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -372,7 +372,7 @@ class ResponseObject(_TemplateEnvironmentMixin): elif method == 'PUT': return self._key_response_put(request, body, bucket_name, query, key...
Pass query to _key_response_head for versioning support.
spulec_moto
train
7e63a51cc3bc8a23ddb3a43fc80197bffe5f5f49
diff --git a/scripts/lint-dependencies.js b/scripts/lint-dependencies.js index <HASH>..<HASH> 100644 --- a/scripts/lint-dependencies.js +++ b/scripts/lint-dependencies.js @@ -89,6 +89,7 @@ const getCodeContent = async (rawPkgPath) => { `${pkgPath}/**/*.tsx`, `${pkgPath}/**/*.js`, `${pkgPath}/...
Chore: Exclude worker bundle from dependency linting
webhintio_hint
train
d5e3fc20994f338358a18b33bd8818c75bf1484b
diff --git a/scapy/sendrecv.py b/scapy/sendrecv.py index <HASH>..<HASH> 100644 --- a/scapy/sendrecv.py +++ b/scapy/sendrecv.py @@ -734,76 +734,48 @@ Examples: @conf.commands.register -def bridge_and_sniff(if1, if2, count=0, store=1, prn=None, lfilter=None, - L2socket=None, timeout=None, stop_fi...
Implement bridge_and_sniff() using sniff() This removes duplicated code and should make bridge_and_sniff() function work under Windows.
secdev_scapy
train
52b2af49281260f4940a0022446d83d828208e7f
diff --git a/lib/commands/quick.js b/lib/commands/quick.js index <HASH>..<HASH> 100644 --- a/lib/commands/quick.js +++ b/lib/commands/quick.js @@ -61,7 +61,7 @@ function quick(url, options) { }); } else if (options.count) { script.config.phases.push({ - duration: options.duration * 1000 || Math.ceil(o...
Set correct duration for "quick" when used with the "-c" option
artilleryio_artillery
train
043f62882073fe0c687987a53b192e4ddb22f0ad
diff --git a/demcoreg/compute_diff.py b/demcoreg/compute_diff.py index <HASH>..<HASH> 100755 --- a/demcoreg/compute_diff.py +++ b/demcoreg/compute_diff.py @@ -94,7 +94,7 @@ def main(): print("Warping rasters to same res/extent/proj") #This will check input param for validity, could do beforehand - ds_lis...
compute_diff: default resampling should be cubic
dshean_demcoreg
train
d73e711b65a6bf2a07c97f696e276ee8d89fbc74
diff --git a/config/rollup.config.js b/config/rollup.config.js index <HASH>..<HASH> 100644 --- a/config/rollup.config.js +++ b/config/rollup.config.js @@ -43,7 +43,7 @@ export default { autoprefixer(), postcssModules({ globalModulePaths: [/src\/scss/, /src\/components\/(?!Button)/], - ...
docs(css-modules): Add local identifier name for CSS modules in docs site. So that it matches the published package names.
telus_tds-core
train
7b431a2fb37bd6a15e341f4384c64795e577ee1e
diff --git a/abydos/distance.py b/abydos/distance.py index <HASH>..<HASH> 100644 --- a/abydos/distance.py +++ b/abydos/distance.py @@ -1301,7 +1301,7 @@ def sim_strcmp95(src, tar, long_strings=False): k = n_trans = 0 for i in range(len(ying)): if ying_flag[i] != 0: - for j in range(k, len(...
completed branch coverage for strcmp<I> & jaro_winkler
chrislit_abydos
train
90d19b4131559955ce0604affd49fc0d6ba9e400
diff --git a/lib/Doctrine/ORM/Version.php b/lib/Doctrine/ORM/Version.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ORM/Version.php +++ b/lib/Doctrine/ORM/Version.php @@ -35,7 +35,7 @@ class Version /** * Current Doctrine Version */ - const VERSION = '2.6.0'; + const VERSION = '2.6.1-DEV'; ...
Bumping development version to <I>-DEV
doctrine_orm
train
f4b24934e1813213485efd1b2953eeeae89c741d
diff --git a/certsuite/cert.py b/certsuite/cert.py index <HASH>..<HASH> 100755 --- a/certsuite/cert.py +++ b/certsuite/cert.py @@ -381,9 +381,8 @@ def _run(args, logger): # wait here to make sure marionette is running logger.debug('Attempting to set up port forwarding for marionette') - if dm.forward("tc...
Don't check success of dm.forward
mozilla-b2g_fxos-certsuite
train
4098abc7ecde9db2bfd44eb333d6067c0989b561
diff --git a/.travis.yml b/.travis.yml index <HASH>..<HASH> 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,13 @@ language: python env: - - CONDA="python=2.6 numpy=1.6 scipy=0.11" - - CONDA="python=2.7 numpy scipy" + - CONDA="python=2.7 numpy=1.7.1 scipy=0.12" - CONDA="python=3.3 numpy scipy" ...
Update dependencies and and make thread and speed checks more robust.
blink1073_oct2py
train
1706b89edaf5cfa101bc2997e244829c1a0571f0
diff --git a/NavigationReactNative/sample/web/Motion.js b/NavigationReactNative/sample/web/Motion.js index <HASH>..<HASH> 100644 --- a/NavigationReactNative/sample/web/Motion.js +++ b/NavigationReactNative/sample/web/Motion.js @@ -29,7 +29,7 @@ class Motion extends React.Component { var end = !data...
Removed max because progress can't be < 0
grahammendick_navigation
train
3168da0af75bd05082be4909deaa1e3eb1e78e27
diff --git a/activesupport/lib/active_support/number_helper/rounding_helper.rb b/activesupport/lib/active_support/number_helper/rounding_helper.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/number_helper/rounding_helper.rb +++ b/activesupport/lib/active_support/number_helper/rounding_helper.rb @...
Don't create extra assignment, just return
rails_rails
train
a3a22cb8b30b4bd5ecd11d325a62fa13b62e38dd
diff --git a/lib/cloudapp/drop.rb b/lib/cloudapp/drop.rb index <HASH>..<HASH> 100644 --- a/lib/cloudapp/drop.rb +++ b/lib/cloudapp/drop.rb @@ -177,6 +177,13 @@ module CloudApp self.class.recover self.href end + # Is the drop an image? + # + # @return [Boolean] + def image? + item_type...
Added drop item type boolean matchers.
aaronrussell_cloudapp_api
train
f9b0a35932ed80bd98f4121fd47b1573271f6646
diff --git a/lenstronomy/LensModel/Solver/solver4point.py b/lenstronomy/LensModel/Solver/solver4point.py index <HASH>..<HASH> 100644 --- a/lenstronomy/LensModel/Solver/solver4point.py +++ b/lenstronomy/LensModel/Solver/solver4point.py @@ -189,8 +189,8 @@ class Solver4Point(object): kwargs_fixed = kwargs_fixed_...
changed psi_ext to be a non-linear parameter in the 4-point PROFILE_SHEAR solver
sibirrer_lenstronomy
train
b848b80fdea349654a2806d526043c4463e70800
diff --git a/src/AssetManager.php b/src/AssetManager.php index <HASH>..<HASH> 100644 --- a/src/AssetManager.php +++ b/src/AssetManager.php @@ -359,10 +359,11 @@ class AssetManager Hook::execute('Wedeto.HTML.AssetManager.replaceTokens.preRender', $values); // Do rendering - if (!empty($values[...
Empty doesnt work on dictionary subscrcipts
Wedeto_HTML
train
25057ea345a65a1a215f37f67081da833a07a1b7
diff --git a/tests/test_blackbox.py b/tests/test_blackbox.py index <HASH>..<HASH> 100644 --- a/tests/test_blackbox.py +++ b/tests/test_blackbox.py @@ -1,3 +1,4 @@ +import datetime import pytest from blackbox import config @@ -55,7 +56,23 @@ def test_backup_push_fetch(tmpdir, small_push_dir, monkeypatch, config, ...
Make test_backup_push_fetch more forgiving to S3 race conditions It's possible for a read-after-write not to see the new upload immediately, causing spurious failure. Spin for a *short* while attempting to make progress rather than annoying the person running the test.
wal-e_wal-e
train
7d0e78638d36a69e0228fe92e036bcc6503b5342
diff --git a/conllu/__init__.py b/conllu/__init__.py index <HASH>..<HASH> 100644 --- a/conllu/__init__.py +++ b/conllu/__init__.py @@ -1,11 +1,16 @@ import typing as T from io import StringIO -from conllu.models import SentenceGenerator, SentenceList, TokenTree +from conllu.models import Metadata, SentenceGenerator...
Hotfix for TokenList not importable from conllu.
EmilStenstrom_conllu
train
fdf848ffa430c87d3f5fb1ee9e59380c5d75905d
diff --git a/go/vt/vtctl/grpcvtctldclient/client_test.go b/go/vt/vtctl/grpcvtctldclient/client_test.go index <HASH>..<HASH> 100644 --- a/go/vt/vtctl/grpcvtctldclient/client_test.go +++ b/go/vt/vtctl/grpcvtctldclient/client_test.go @@ -23,20 +23,24 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretch...
[grpcvtctldclient] Fix vtctld server initialization in grpcvtctldclient/client_test.go (#<I>) * Fix vtctld server initialization grpcvtctldclient/client_test.go
vitessio_vitess
train
4bc6e6fae0147e1b3fd1f0da76486f36764de558
diff --git a/state/internal_test.go b/state/internal_test.go index <HASH>..<HASH> 100644 --- a/state/internal_test.go +++ b/state/internal_test.go @@ -7,7 +7,6 @@ import ( . "launchpad.net/gocheck" "launchpad.net/goyaml" "launchpad.net/gozk/zookeeper" - "launchpad.net/juju/go/testing" ) type TopologySuite str...
state: remove cyclic dependency internal_test->testing->state
juju_juju
train
7057c3efa923c42c1cdd2e49ea6208c402ba2aee
diff --git a/user/index.php b/user/index.php index <HASH>..<HASH> 100644 --- a/user/index.php +++ b/user/index.php @@ -506,6 +506,11 @@ if (count($rolenames) > 1) { echo '</div>'; } +$editlink = ''; +if ($course->id != SITEID && has_capability('moodle/course:enrolreview', $context)) { + $editlink = new moodl...
MDL-<I> participants: Use consistent link for editing enrollments Previously the role assignment url was used when a role was selected, but this page doesn't enrol users into the course (its the old <I> way before we had the enrollments table).
moodle_moodle
train
c45afc3168320f75c31fc43c70a5e7e4e4baf92c
diff --git a/render/Paginator.php b/render/Paginator.php index <HASH>..<HASH> 100644 --- a/render/Paginator.php +++ b/render/Paginator.php @@ -26,7 +26,7 @@ class Paginator private $args = []; private $params = []; - public function init($url, array $args, Resultset $model, $params = null) + public fu...
Squashed commit of the following: commit 8efdc<I>a5f<I>b<I>a3da<I>a<I>b<I>e<I>
monolyth-php_frontal
train
bfe3b917269ba7ad120b73cc11d67749bb750940
diff --git a/aioauth_client.py b/aioauth_client.py index <HASH>..<HASH> 100644 --- a/aioauth_client.py +++ b/aioauth_client.py @@ -505,7 +505,7 @@ class LichessClient(OAuth2Client): if self.access_token: headers['Authorization'] = "Bearer {}".format(self.access_token) - return self._reque...
Fix TypeError: object tuple can't be used in 'await' expression
klen_aioauth-client
train
912a2ba760c435baede88d45b8313ac2169c0787
diff --git a/src/View/Widget/Radio.php b/src/View/Widget/Radio.php index <HASH>..<HASH> 100644 --- a/src/View/Widget/Radio.php +++ b/src/View/Widget/Radio.php @@ -141,7 +141,7 @@ class Radio implements WidgetInterface { $radio['name'] = $data['name']; if (empty($radio['id'])) { - $radio['id'] = mb_strtolower(...
Extract helper method for generating radio IDs. FormHelper tests rely on id's being unique within a set of radio elements. A separate method will help with that.
cakephp_cakephp
train
8515ad409dd180cd3d3fc9687ee500da049e8bcd
diff --git a/web-bundle/src/main/java/com/graphhopper/gpx/GpxConversions.java b/web-bundle/src/main/java/com/graphhopper/gpx/GpxConversions.java index <HASH>..<HASH> 100644 --- a/web-bundle/src/main/java/com/graphhopper/gpx/GpxConversions.java +++ b/web-bundle/src/main/java/com/graphhopper/gpx/GpxConversions.java @@ -3...
Avoid Pattern compilation in GpxConversions (#<I>)
graphhopper_graphhopper
train
0fbde97d08772d495f6f2bab80b2d79d63153793
diff --git a/custodian/vasp/handlers.py b/custodian/vasp/handlers.py index <HASH>..<HASH> 100644 --- a/custodian/vasp/handlers.py +++ b/custodian/vasp/handlers.py @@ -357,6 +357,7 @@ class VaspErrorHandler(ErrorHandler): if "brions" in self.errors: potim = float(vi["INCAR"].get("POTIM", 0.5)) + 0....
Copy CONTCAR to POSCAR with brions error Just like zbrent, brions should have the CONTCAR copied to POSCAR
materialsproject_custodian
train
74ec0fe85a56a670b5d7cd3fcd942466105a360d
diff --git a/src/Context/UserContext.php b/src/Context/UserContext.php index <HASH>..<HASH> 100644 --- a/src/Context/UserContext.php +++ b/src/Context/UserContext.php @@ -17,7 +17,7 @@ class UserContext extends RawWordpressContext * | user_login | user_pass | user_email | role | * | ...
Tweak "there are users" given statement.
paulgibbs_behat-wordpress-extension
train
9383b28a065fae953d15e2dbb867ab3285aaaa50
diff --git a/dvc/stage.py b/dvc/stage.py index <HASH>..<HASH> 100644 --- a/dvc/stage.py +++ b/dvc/stage.py @@ -161,11 +161,17 @@ class Stage(object): deps = [x.dumpd(self.cwd) for x in self.deps] outs = [x.dumpd(self.cwd) for x in self.outs] - return { - Stage.PARAM_CMD: self.cmd, ...
dvc: stage: don't write None and empty lists Fixes #<I>
iterative_dvc
train
f19116c901ced53ce5422bcaefe146309e558e96
diff --git a/vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go b/vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go index <HASH>..<HASH> 100644 --- a/vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go +++ b/vendor/k8s.io/kubernet...
UPSTREAM: <I>: ProducesObject should only update the returned API object resource documentation
openshift_origin
train
7c37c7f9132028b5af9c02bcccc33bef1c33787a
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index <HASH>..<HASH> 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -167,6 +167,7 @@ KEYWORDS = { 'COMMIT': tokens.Keyword.DML, 'COMMITTED': tokens.Keyword, 'COMPLETION': tokens.Keyword, + 'CONCURRENTLY': tokens.Keyword, 'C...
CONCURRENTLY should be handled as a keyword
andialbrecht_sqlparse
train
2cde32cf2e105f2e0a47efb58eb86c008227f394
diff --git a/app/helpers/effective_roles_helper.rb b/app/helpers/effective_roles_helper.rb index <HASH>..<HASH> 100644 --- a/app/helpers/effective_roles_helper.rb +++ b/app/helpers/effective_roles_helper.rb @@ -2,7 +2,7 @@ module EffectiveRolesHelper # For use in formtastic forms def effective_roles_fields(form, ...
Use class names instead of classes for role_descriptions
code-and-effect_effective_roles
train
70a1f05561965b9537db8c12ac22a5a99bc0c7d2
diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx.py +++ b/src/python/dxpy/scripts/dx.py @@ -3144,7 +3144,7 @@ def verify_ssh_config(): except Exception as e: msg = RED("Warning:") + " Unable to verify configuration of y...
ssh_config: code review fixes; SSHHostKey field support
dnanexus_dx-toolkit
train
f61afb267f62413050544e19a50b1824c477dfc8
diff --git a/converters/toZigbee.js b/converters/toZigbee.js index <HASH>..<HASH> 100644 --- a/converters/toZigbee.js +++ b/converters/toZigbee.js @@ -204,7 +204,11 @@ const converters = { const state = hasState ? message.state.toLowerCase() : null; if (hasState && (state === 'off' |...
Read brightness after turning on. <URL>
Koenkk_zigbee-shepherd-converters
train
08794848d0d8a3ed7dfc0fb0005901f1e51ee6cb
diff --git a/lib/cucumber/formatter/fail_fast.rb b/lib/cucumber/formatter/fail_fast.rb index <HASH>..<HASH> 100644 --- a/lib/cucumber/formatter/fail_fast.rb +++ b/lib/cucumber/formatter/fail_fast.rb @@ -8,7 +8,7 @@ module Cucumber def initialize(configuration) configuration.on_event :after_test_case d...
Reinstate code I removed in c<I>bdca<I>b<I>c<I>c<I>a (but this time with a test)
cucumber_cucumber-ruby
train
51b2d9910b36c65957d96533e40de079ef4e7cd5
diff --git a/mod/hotpot/lib.php b/mod/hotpot/lib.php index <HASH>..<HASH> 100644 --- a/mod/hotpot/lib.php +++ b/mod/hotpot/lib.php @@ -49,10 +49,10 @@ $HOTPOT_OUTPUTFORMAT = array ( HOTPOT_OUTPUTFORMAT_BEST => get_string("outputformat_best", "hotpot"), HOTPOT_OUTPUTFORMAT_V6_PLUS => get_string("outputformat_v6_...
switch output_formats v3, v4, v5 and moved "hotpot_flush" function to "db/update_to_v2.php"
moodle_moodle
train
4235cacba39919cb6b53a245b17104076e66fc34
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,6 @@ setup( install_requires=[ 'twisted==12.0', 'zope.interface', - 'txzmq', ], author="Erik Allik",
Removed the txzmq dependency because it's only needed when using the ZeroMQ transport components
eallik_spinoff
train
8b340157e8bfdc056e81b7e32539765fdf8974d9
diff --git a/imhotep/http_test.py b/imhotep/http_test.py index <HASH>..<HASH> 100644 --- a/imhotep/http_test.py +++ b/imhotep/http_test.py @@ -1,4 +1,6 @@ +import json import mock + from imhotep.http import BasicAuthRequester @@ -14,19 +16,20 @@ def test_get(): with mock.patch('requests.get') as g: ...
fix build and test Tool.process_line
justinabrahms_imhotep
train
8f4bf75fa717a69f9e82e2788527971f08d1f690
diff --git a/perceval/errors.py b/perceval/errors.py index <HASH>..<HASH> 100644 --- a/perceval/errors.py +++ b/perceval/errors.py @@ -49,6 +49,12 @@ class CacheError(BaseError): message = "%(cause)s" +class HttpClientError(BaseError): + """Generic error for HTTP Cient""" + + message = "%(cause)s" + + c...
[client] Add error for the generic HTTP client A new type of error, tailored to the generic HTTP client, is added to the list of errors.
chaoss_grimoirelab-perceval
train
21546a93cccbc6cf422ef9a6353a537f6d0ee324
diff --git a/bin/simulate_performance.py b/bin/simulate_performance.py index <HASH>..<HASH> 100644 --- a/bin/simulate_performance.py +++ b/bin/simulate_performance.py @@ -83,10 +83,17 @@ def calc_performance(df, opts): entropy_num_signif]}, ind...
Added entropy-on-effect to tests that are evaluated for power
KarchinLab_probabilistic2020
train
c7fb83c9aca68d020c9f887fae8cbed331af073d
diff --git a/src/helpers.php b/src/helpers.php index <HASH>..<HASH> 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -1,5 +1,39 @@ <?php +function component_args_from_shortcode($tag, $content) +{ + $pattern = get_shortcode_regex(); + + if (preg_match_all('/'.$pattern.'/s', $content, $matches) && isset($ma...
Added function to get component args from shortcode
dynamis-wp_framework
train
ae3d771aa046c59cbcd398b2d3aa550140eb2698
diff --git a/definitions/npm/react-dnd_v2.x.x/flow_v0.53.x-/react-dnd_v2.x.x.js b/definitions/npm/react-dnd_v2.x.x/flow_v0.53.x-/react-dnd_v2.x.x.js index <HASH>..<HASH> 100644 --- a/definitions/npm/react-dnd_v2.x.x/flow_v0.53.x-/react-dnd_v2.x.x.js +++ b/definitions/npm/react-dnd_v2.x.x/flow_v0.53.x-/react-dnd_v2.x.x....
react-dnd definition: Add DragDropContextProvider (#<I>) * react-dnd tests: Remove unused suppression comments * react-dnd definition: Add DragDropContextProvider
flow-typed_flow-typed
train
59c6ace8ef7245819dec7de94c2eab270ddb8bae
diff --git a/salt/modules/file.py b/salt/modules/file.py index <HASH>..<HASH> 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -973,7 +973,7 @@ def get_managed( if template and source: sfn = __salt__['cp.cache_file'](source, env) if not os.path.exists(sfn): - return sfn,...
Fix bad comment when no source template file is found Fix #<I>
saltstack_salt
train
5654c0ee35a74e9fac961f2221e6b60d754f4c4c
diff --git a/lib/CrEOF/WKB/Reader.php b/lib/CrEOF/WKB/Reader.php index <HASH>..<HASH> 100644 --- a/lib/CrEOF/WKB/Reader.php +++ b/lib/CrEOF/WKB/Reader.php @@ -61,12 +61,7 @@ class Reader */ public function unpackInput($format) { - if (version_compare(PHP_VERSION, '5.5.0-dev', '>=')) { - ...
Replace if/else with ternary operator
creof_wkb-parser
train
29cb48832ef394994c44518101f3024f94172f56
diff --git a/src/IsoCodes/Siren.php b/src/IsoCodes/Siren.php index <HASH>..<HASH> 100644 --- a/src/IsoCodes/Siren.php +++ b/src/IsoCodes/Siren.php @@ -32,6 +32,16 @@ class Siren implements IsoCodeInterface return false; } + /** + * La poste support (French mail company) + ...
Added support for French mail company "La Poste" to SIRE(T|N) validators
ronanguilloux_IsoCodes
train
681c6666133e48c61bdf254a8eac0a37b27ebb19
diff --git a/albumentations/imgaug/transforms.py b/albumentations/imgaug/transforms.py index <HASH>..<HASH> 100644 --- a/albumentations/imgaug/transforms.py +++ b/albumentations/imgaug/transforms.py @@ -13,27 +13,30 @@ __all__ = ['BasicIAATransform', 'DualIAATransform', 'ImageOnlyIAATransform', 'IA class BasicIAATrans...
IAA augmentations now supports multi-threading
albu_albumentations
train
d1dfa0cefbe670ea10999bce8cf99379724ce373
diff --git a/ntfy/backends/pushover.py b/ntfy/backends/pushover.py index <HASH>..<HASH> 100644 --- a/ntfy/backends/pushover.py +++ b/ntfy/backends/pushover.py @@ -1,10 +1,10 @@ import requests -def notify(title, message, api_token, user_key, device=None, **kwargs): +def notify(title, message, user_key, + ...
include default pushover key No need for user to set up their own pushover app.
dschep_ntfy
train
eb84398498a26d2a399b8d509a2cb21a9e54924b
diff --git a/src/Drawer.js b/src/Drawer.js index <HASH>..<HASH> 100644 --- a/src/Drawer.js +++ b/src/Drawer.js @@ -35,17 +35,6 @@ const Base = */ class Drawer extends Base { - componentDidMount() { - if (super.componentDidMount) { super.componentDidMount(); } - - // Implicitly close on background clicks. - ...
Fix some components with roles that wired up event handlers in componentDidMount instead of populate.
elix_elix
train
e9f5760946c5c15bd39216840d37314c7fb92e5a
diff --git a/tests/lib/Integration/Implementation/Common/Slot/TestChildUpdatesParent.php b/tests/lib/Integration/Implementation/Common/Slot/TestChildUpdatesParent.php index <HASH>..<HASH> 100644 --- a/tests/lib/Integration/Implementation/Common/Slot/TestChildUpdatesParent.php +++ b/tests/lib/Integration/Implementation/...
NGSTACK-<I> Fix signal slot
netgen_ezplatform-search-extra
train
62c4d15c71bf92063d3bed9fc8684914d08ee1aa
diff --git a/test/session.js b/test/session.js index <HASH>..<HASH> 100644 --- a/test/session.js +++ b/test/session.js @@ -740,6 +740,26 @@ describe('session()', function(){ .expect(shouldSetCookie('connect.sid')) .expect(200, done) }) + + describe('when mounted at "/foo"', function () { +...
tests: add test for mounted middleware
expressjs_session
train
d876cae40cae45ca42f3beb6f04ee248aed062c2
diff --git a/openhtf/util/threads.py b/openhtf/util/threads.py index <HASH>..<HASH> 100644 --- a/openhtf/util/threads.py +++ b/openhtf/util/threads.py @@ -60,7 +60,7 @@ class ExceptionSafeThread(threading.Thread): self._thread_proc() except Exception: # pylint: disable=broad-except if not self._thre...
Make killable threads more robust to race condition (#<I>) * Make killable threads more robust to race condition There is a very small chance that a killable thread will end on it's own before it is killed. Make us robust to this race condition by not raising an error if the thread is no longer alive. * cleanin...
google_openhtf
train
f359e3c292bbccd8cfe421c948c5045387662c0a
diff --git a/encoder.go b/encoder.go index <HASH>..<HASH> 100644 --- a/encoder.go +++ b/encoder.go @@ -21,7 +21,7 @@ const ( func NewComponent() *Component { return &Component{ Elements: make([]Componenter, 0), - Properties: make(map[string]string), + Properties: make(map[string][]string), } } @@ -30,22 ...
Add support for encoding multiple properties with the same key
jordic_goics
train
771ad46643c6f50d1bc5099e2370fb705f6f0987
diff --git a/lib/file-stream.js b/lib/file-stream.js index <HASH>..<HASH> 100644 --- a/lib/file-stream.js +++ b/lib/file-stream.js @@ -21,7 +21,10 @@ function FileStream (file, opts) { this._torrent = file._torrent var start = (opts && opts.start) || 0 - var end = (opts && opts.end) || (file.length - 1) + var...
Clamp file.createReadStream({ end: num }) value `render-media` and `videostream` may get passed an `end` value that’s too large. Clamp it.
webtorrent_webtorrent
train
d02158c0effa009fa4bb61421a868882aad0e470
diff --git a/protocol.go b/protocol.go index <HASH>..<HASH> 100644 --- a/protocol.go +++ b/protocol.go @@ -490,8 +490,9 @@ func (c *rawConnection) handleIndexUpdate(im IndexMessage) { func filterIndexMessageFiles(fs []FileInfo) []FileInfo { var out []FileInfo for i, f := range fs { - if f.Name == "" { - l.Infol...
Also filter out some other obviously invalid filenames (ref #<I>)
syncthing_syncthing
train
3f2a56e062f69d0428e7f46c8f3c752bd85a5289
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -162,7 +162,7 @@ function Texture(opts) { 'vec4 fourTapSample(vec2 tileOffset, //Tile offset in the atlas ', ' vec2 tileUV, //Tile coordinate (as above)', -' sampler2D atlas) {', +' ...
vim hack to fix bouncing on percent key to jump between matching brace pairs; gets confused by embedded glsl
deathcap_voxel-texture-shader
train
92f267a17a536764f7cefba76d0cee8639814c1f
diff --git a/src/RelyingParty.js b/src/RelyingParty.js index <HASH>..<HASH> 100644 --- a/src/RelyingParty.js +++ b/src/RelyingParty.js @@ -284,9 +284,38 @@ class RelyingParty extends JSONDocument { } /** - * UserInfo + * userinfo + * + * @description Promises the authenticated user's claims. + * @retu...
wip(RelyingParty): draft userinfo method
anvilresearch_oidc-rp
train
13a84381d5c5220488b85be83f9b8ab0ab058e25
diff --git a/fixtures/test_configs.go b/fixtures/test_configs.go index <HASH>..<HASH> 100644 --- a/fixtures/test_configs.go +++ b/fixtures/test_configs.go @@ -33,7 +33,7 @@ func SetupTestConfigs() *TestConfigs { content := `--- github.com: - user: jingweno +- user: jingweno oauth_token: 123 protocol: http` ...
Turns out Host is an array for the YAML format
github_hub
train
a212f4b113b0be34bdf4a1b30af99f8dedcb7cd5
diff --git a/src/main/java/com/belladati/sdk/report/ReportInfo.java b/src/main/java/com/belladati/sdk/report/ReportInfo.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/belladati/sdk/report/ReportInfo.java +++ b/src/main/java/com/belladati/sdk/report/ReportInfo.java @@ -66,4 +66,12 @@ public interface ReportInf...
[BDSDK-<I>] Resolved & Tests
BellaDati_belladati-sdk-api
train
57eabadb531ed6ac1b90e08d0f828da0c5f7c406
diff --git a/flask_mongoalchemy/__init__.py b/flask_mongoalchemy/__init__.py index <HASH>..<HASH> 100644 --- a/flask_mongoalchemy/__init__.py +++ b/flask_mongoalchemy/__init__.py @@ -30,6 +30,10 @@ def _get_mongo_uri(app, key=lambda x:'MONGOALCHEMY_%s' % x): auth = '' database = '' + uri = app.config.get...
all: support the MONGOALCHEMY_CONNECTION_STRING setting Related to #<I>.
cobrateam_flask-mongoalchemy
train
5527e595a7dab058e49884ac8a201376834cf873
diff --git a/idx/bigtable/bigtable.go b/idx/bigtable/bigtable.go index <HASH>..<HASH> 100644 --- a/idx/bigtable/bigtable.go +++ b/idx/bigtable/bigtable.go @@ -466,6 +466,9 @@ LOOP: } case req, ok := <-b.writeQueue: if !ok { + // writeQueue was closed. Flush and exit. + timer.Stop() + flush() b...
flush buffer when writeQueue is closed The writeQueue will be closed when the plugin is shutdown. Before exiting we should flush any pending writes that are in the buffer.
grafana_metrictank
train
169ba7988750cf48ce6f07c20344d39c81db7b92
diff --git a/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraphTest.java b/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraphTest.java index <HASH>..<HASH> 100644 --- a/tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/grem...
Converted stargraph serialization sizer into a test.
apache_tinkerpop
train
3175f336c1c03ed0dd2cbd9698143cbf4e38ec4a
diff --git a/app/controllers/crowdblog/admin/posts_controller.rb b/app/controllers/crowdblog/admin/posts_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/crowdblog/admin/posts_controller.rb +++ b/app/controllers/crowdblog/admin/posts_controller.rb @@ -7,6 +7,7 @@ module Crowdblog def new ...
Fix an issue where state_machine is not setting the initial state
crowdint_crowdblog
train
6034edb7503a71a270276ea9e9fb42594d8a3035
diff --git a/tasks/scp.js b/tasks/scp.js index <HASH>..<HASH> 100644 --- a/tasks/scp.js +++ b/tasks/scp.js @@ -15,8 +15,7 @@ module.exports = function(grunt) { grunt.registerMultiTask('scp', 'copy files to remote server.', function() { var options = this.options({ host: 'localhost', - username: 'lep...
delete password option be default, change username to admin. fix #4
spmjs_grunt-scp
train
14ec0e6c9f93ece0ff7ee80a736596ddbe601cd3
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -59,7 +59,7 @@ gulp.task('doc', ['jsdoc']); gulp.task('jsdoc', ['clean'], function(cb) { gulp.src('') .pipe(shell([ - './node_modules/.bin/jsdoc --verbose --template ./node_modules/jsdoc-baseline...
update packages to work with node 8
berkeleybop_bbop-graph-noctua
train
ffc9ed925661ff2906b9e0f0f2784dbd631fce09
diff --git a/chef/spec/unit/application_spec.rb b/chef/spec/unit/application_spec.rb index <HASH>..<HASH> 100644 --- a/chef/spec/unit/application_spec.rb +++ b/chef/spec/unit/application_spec.rb @@ -136,6 +136,7 @@ end describe Chef::Application, "class method: fatal!" do before do + Chef::Log.stub!(:fatal).wi...
Fixing Chef::REST tests that broke from my CookieJar addition
chef_chef
train
3b8623b2d443f0c3cde15bea5c6ed43b96a9ae11
diff --git a/assets/app/scripts/services/login.js b/assets/app/scripts/services/login.js index <HASH>..<HASH> 100644 --- a/assets/app/scripts/services/login.js +++ b/assets/app/scripts/services/login.js @@ -42,10 +42,12 @@ angular.module('openshiftConsole') var deferred = $q.defer(); var uri = new U...
Prevent local fragment from being sent to a remote server
openshift_origin
train
99d4d545da9cb980d066d144047f205b64c404a7
diff --git a/acf-exports/acf-user-author-image.json b/acf-exports/acf-user-author-image.json index <HASH>..<HASH> 100644 --- a/acf-exports/acf-user-author-image.json +++ b/acf-exports/acf-user-author-image.json @@ -5,7 +5,7 @@ { "key": "field_56c714f8d0a42", "label": "Prof...
Author image as url instead of id
helsingborg-stad_Municipio
train
7bd0e6017bbab820ad2f6c67863bde2cb22a13c3
diff --git a/test/extended/prometheus/prometheus.go b/test/extended/prometheus/prometheus.go index <HASH>..<HASH> 100644 --- a/test/extended/prometheus/prometheus.go +++ b/test/extended/prometheus/prometheus.go @@ -213,7 +213,7 @@ var _ = g.Describe("[Feature:Prometheus][Conformance] Prometheus", func() { tests := ...
Make the metric more readable when fails
openshift_origin
train
63fcb1a3275bdf18de0314ed16947709f8013406
diff --git a/ca/testutils/cautils.go b/ca/testutils/cautils.go index <HASH>..<HASH> 100644 --- a/ca/testutils/cautils.go +++ b/ca/testutils/cautils.go @@ -144,12 +144,28 @@ func NewTestCAFromAPIRootCA(t *testing.T, tempBaseDir string, apiRootCA api.Root if External { // Start the CA API server - ensure that the ...
Ensure that the test CA, if an external CA is desired, does not have a local signer.
docker_swarmkit
train
a002143d86454a15d64ae1428e3d6d3ebd323959
diff --git a/bin/release.py b/bin/release.py index <HASH>..<HASH> 100755 --- a/bin/release.py +++ b/bin/release.py @@ -216,7 +216,7 @@ def upload_javadocs(base_dir, version): os.rename("apidocs", "%s/apidocs" % version_short) ## rsync this stuff to filemgmt.jboss.org - uploader.upload_rsync(version_short, "i...
Fix release scripts, defensive copy of rsync parameters
infinispan_infinispan
train
4b80e2b10a600fcbdb8923ea4fb82c77d6c91bb2
diff --git a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/tools/ops/Migration.java b/blueflood-core/src/main/java/com/rackspacecloud/blueflood/tools/ops/Migration.java index <HASH>..<HASH> 100644 --- a/blueflood-core/src/main/java/com/rackspacecloud/blueflood/tools/ops/Migration.java +++ b/blueflood-core/s...
A way to discover (and use) other cassandra nodes.
rackerlabs_blueflood
train
d7fb1f7ed2ae904e0435dcf23a82e026ae3f12e7
diff --git a/core/src/main/java/hudson/model/ComputerSet.java b/core/src/main/java/hudson/model/ComputerSet.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/hudson/model/ComputerSet.java +++ b/core/src/main/java/hudson/model/ComputerSet.java @@ -47,7 +47,6 @@ import org.kohsuke.stapler.export.ExportedBean; im...
Simpler and better to throw Failure than to hand-craft an error result.
jenkinsci_jenkins
train
2f618d9fd506fcf94991ec38f98530d192c26626
diff --git a/scripts/client/utils.js b/scripts/client/utils.js index <HASH>..<HASH> 100644 --- a/scripts/client/utils.js +++ b/scripts/client/utils.js @@ -15,6 +15,7 @@ Utils.prototype.hash = function (password, salt) { var self = this; return new Promise(function (resolve, reject) { self._bcrypt.hash(passwo...
refactor(all): common utils
delta-db_deltadb-server
train
5e7f3fd2316c09aa505a7cddef1e5d5f108fc7eb
diff --git a/src/Models/User.php b/src/Models/User.php index <HASH>..<HASH> 100644 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -114,6 +114,17 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon } /** + * An alias attribute for the character_id. + * + * ...
Add a property alias for character_id on a User.
eveseat_web
train
138c241337a8baa4b5ce0ce18b2f01f74227b132
diff --git a/src/Models/User.php b/src/Models/User.php index <HASH>..<HASH> 100644 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -559,6 +559,30 @@ class User extends Entry } /** + * Returns the password last set unix timestamp. + * + * @return float|null + */ + public function ge...
Added ability to get the last password set date and timestamp
Adldap2_Adldap2
train
98143351ae02bd2fa220e568ce831b1c7a33fe53
diff --git a/lib/expression-api/Post.js b/lib/expression-api/Post.js index <HASH>..<HASH> 100644 --- a/lib/expression-api/Post.js +++ b/lib/expression-api/Post.js @@ -631,7 +631,7 @@ callback(new UT.ResizeEvent(currentSize.width, currentSize.height)); }; } - UT.Expression._callAP...
Fix a bug in resize height property - callback never called and error in sandbox.
urturn_urturn-expression-api
train
6204ef5e30e766319f3eb9b689f6606d3c530fad
diff --git a/core/src/main/java/net/time4j/PrettyTime.java b/core/src/main/java/net/time4j/PrettyTime.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/net/time4j/PrettyTime.java +++ b/core/src/main/java/net/time4j/PrettyTime.java @@ -32,6 +32,7 @@ import net.time4j.format.TextWidth; import net.time4j.format.U...
enhanced PrettyTime-test see issue #<I>
MenoData_Time4J
train
d64da2c8a09523cd5e258d47bccd75dc4ba0770b
diff --git a/neptulon.go b/neptulon.go index <HASH>..<HASH> 100644 --- a/neptulon.go +++ b/neptulon.go @@ -66,10 +66,7 @@ func (a *App) Stop() error { // this is not a problem as we always require an ACK but it will also mean that message deliveries will be at-least-once; to-and-from the server a.connMutex.Lock() ...
don't handle conn close errors
neptulon_neptulon
train
2690f847d052e843226ad040038a25683ced4048
diff --git a/src/executors/IifExecutor.js b/src/executors/IifExecutor.js index <HASH>..<HASH> 100644 --- a/src/executors/IifExecutor.js +++ b/src/executors/IifExecutor.js @@ -4,6 +4,17 @@ import {getArgNames} from '../util/function'; import {buildArgumentsFromRingaEvent} from '../util/executors'; class IifExecutor ...
Add comments on IifExecutor
ringa-js_ringa
train
8383856b744565f3520adbc4eb1c84967040d7fb
diff --git a/src/Operation/CreateCollection.php b/src/Operation/CreateCollection.php index <HASH>..<HASH> 100644 --- a/src/Operation/CreateCollection.php +++ b/src/Operation/CreateCollection.php @@ -126,11 +126,11 @@ class CreateCollection implements Executable } } - if ( ! empty($this->o...
Don't use empty() to check for empty documents empty() is inconsistent for checking if the document is empty (i.e. empty([]) != empty(new stdClass)). Simply check that the option has been set in order to include it in the command.
mongodb_mongo-php-library
train
b473c03e63fec813aacf543262885876e3a28593
diff --git a/src/test/java/com/relayrides/pushy/apns/ApnsClientTest.java b/src/test/java/com/relayrides/pushy/apns/ApnsClientTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/relayrides/pushy/apns/ApnsClientTest.java +++ b/src/test/java/com/relayrides/pushy/apns/ApnsClientTest.java @@ -22,6 +22,9 @@ public ...
Moved some test setup things into `@Before` and `@After` methods.
relayrides_pushy
train
15a8b3fe875abba56ccdd5fea094181fb3a0a206
diff --git a/Model/ContactClientModel.php b/Model/ContactClientModel.php index <HASH>..<HASH> 100644 --- a/Model/ContactClientModel.php +++ b/Model/ContactClientModel.php @@ -714,6 +714,8 @@ class ContactClientModel extends FormModel 'expr' => 'like', 'value' => "%'contactcl...
pass orderBy for campaigns drop down
TheDMSGroup_mautic-contact-client
train
167e8e33259edd11eff6e6447071d31033460290
diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/specifications/googlefonts.py +++ b/Lib/fontbakery/specifications/googlefonts.py @@ -2314,10 +2314,12 @@ def com_google_fonts_test_064(ttFont, ligatures): issu...
update tests for <I> & <I> (issue #<I>)
googlefonts_fontbakery
train
559864507ab8e81e55b8fb2a1514185c068a1eac
diff --git a/keanu-project/src/main/java/io/improbable/keanu/plating/loop/Loop.java b/keanu-project/src/main/java/io/improbable/keanu/plating/loop/Loop.java index <HASH>..<HASH> 100644 --- a/keanu-project/src/main/java/io/improbable/keanu/plating/loop/Loop.java +++ b/keanu-project/src/main/java/io/improbable/keanu/plat...
removed hyphens from javadoc
improbable-research_keanu
train
68bb096b1d8048aa2570a2714060f1a61e501c23
diff --git a/tests/src/XeroProviderTest.php b/tests/src/XeroProviderTest.php index <HASH>..<HASH> 100644 --- a/tests/src/XeroProviderTest.php +++ b/tests/src/XeroProviderTest.php @@ -2,6 +2,7 @@ namespace Radcliffe\Tests\Xero; +use Prophecy\Argument; use Radcliffe\Xero\XeroProvider; use PHPUnit\Framework\TestCas...
Adds test coverage for #<I>
mradcliffe_xeroclient
train
07ba40a53b886d633c58c28f9277d4784a6ed7c5
diff --git a/code/SEO_FacebookDomainInsights_Member_DataExtension.php b/code/SEO_FacebookDomainInsights_Member_DataExtension.php index <HASH>..<HASH> 100644 --- a/code/SEO_FacebookDomainInsights_Member_DataExtension.php +++ b/code/SEO_FacebookDomainInsights_Member_DataExtension.php @@ -1,7 +1,7 @@ <?php /** - * @to...
More code spit & polish
Graphiques-Digitale_silverstripe-seo-facebook-domain-insights
train