hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
ec0dcd1ca6223a927b4f92058745f1cc0c33df10
diff --git a/lib/swissmatch/zipcodes.rb b/lib/swissmatch/zipcodes.rb index <HASH>..<HASH> 100644 --- a/lib/swissmatch/zipcodes.rb +++ b/lib/swissmatch/zipcodes.rb @@ -121,7 +121,7 @@ module SwissMatch # An array with all SwissMatch::ZipCode objects having the given 4 digit code. def by_code(code) @by...
Fixed a bug in ZipCodes#by_code and #by_name where empty sets would cause a broken return value.
apeiros_swissmatch-location
train
rb
dc1d023843602d7c0bb74faafb62cda11287ff3c
diff --git a/src/video/canvas/texture.js b/src/video/canvas/texture.js index <HASH>..<HASH> 100644 --- a/src/video/canvas/texture.js +++ b/src/video/canvas/texture.js @@ -279,8 +279,7 @@ { image: this.getTexture(), framewidth: region.width, - ...
Cleaned up artifact from initial solution.
melonjs_melonJS
train
js
8b1d22d072890341fffb3919200876578a264629
diff --git a/test/test_suite_test.go b/test/test_suite_test.go index <HASH>..<HASH> 100644 --- a/test/test_suite_test.go +++ b/test/test_suite_test.go @@ -167,6 +167,7 @@ var _ = BeforeAll(func() { if progressChan := goReportVagrantStatus(); progressChan != nil { defer func() { progressChan <- err == nil }() } +...
Test: Add prometheus deployment on Kubernetes test Installing prometheus on test to scrape Cilium metrics to detect if any problem on Cilium Related-to: #<I> Related-to: `dc7a<I>a<I>dee4f0cce<I>eefa<I>ab5a<I>`
cilium_cilium
train
go
7a0de42e2af9814642b1e2616f3f3c1253a92f31
diff --git a/lib/utils/helpers.js b/lib/utils/helpers.js index <HASH>..<HASH> 100755 --- a/lib/utils/helpers.js +++ b/lib/utils/helpers.js @@ -1,4 +1,4 @@ -exports.uniqueName = name => name.toLowerCase(); +exports.uniqueName = name => name.toString().toLowerCase(); exports.isString = value => typeof value === 'string'...
Fix: convert name to string before lowercasing it (#<I>)
JimmyLaurent_torrent-search-api
train
js
bd74aed5977987d89ee29069bf98d697fbb9d422
diff --git a/router/galeb/client/param_types.go b/router/galeb/client/param_types.go index <HASH>..<HASH> 100644 --- a/router/galeb/client/param_types.go +++ b/router/galeb/client/param_types.go @@ -1,4 +1,4 @@ -// Copyright 2015 tsuru authors. All rights reserved. +// Copyright 2016 tsuru authors. All rights reserved....
router/galeb: fix license year
tsuru_tsuru
train
go
09a27308c97ae45992df0128ac1743147658fb98
diff --git a/tests/unit/test_saysomething.py b/tests/unit/test_saysomething.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_saysomething.py +++ b/tests/unit/test_saysomething.py @@ -1,3 +1,8 @@ +import itertools +import functools + +from more_itertools import recipes + import pytest from pmxbot import saysomet...
Add test capturing expected behavior under more complex inputs.
yougov_pmxbot
train
py
9e23cccddcb64bda360e4ab76d8e6a99d49258d2
diff --git a/openquake/commands/show.py b/openquake/commands/show.py index <HASH>..<HASH> 100644 --- a/openquake/commands/show.py +++ b/openquake/commands/show.py @@ -91,6 +91,8 @@ def show(what, calc_id=-1): print('Realizations in order of distance from the mean curves') for dist, rlz in sorted(dists...
views have the precedence over datasets in oq show Former-commit-id: a<I>ffa1e4ea0ad7e1fda<I>fc<I>c3bc
gem_oq-engine
train
py
4465be69e262e2b59b8f349513dfeff02285a854
diff --git a/provider/joyent/config_internal_test.go b/provider/joyent/config_internal_test.go index <HASH>..<HASH> 100644 --- a/provider/joyent/config_internal_test.go +++ b/provider/joyent/config_internal_test.go @@ -19,7 +19,7 @@ var _ = gc.Suite(&InternalSuite{}) func (s *InternalSuite) TestEnsurePrivateKey(c *g...
change test so it's actually doing the right thing
juju_juju
train
go
4f0553d85315828c6a5f24b6cb12c10cb14a52f8
diff --git a/src/org/jgroups/protocols/Discovery.java b/src/org/jgroups/protocols/Discovery.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/Discovery.java +++ b/src/org/jgroups/protocols/Discovery.java @@ -148,6 +148,8 @@ public abstract class Discovery extends Protocol { } + public String ...
Added getter/setter for cluster_name
belaban_JGroups
train
java
6a5f7cb346a5e32cd36adece555a812c355b8b9a
diff --git a/salt/modules/state.py b/salt/modules/state.py index <HASH>..<HASH> 100644 --- a/salt/modules/state.py +++ b/salt/modules/state.py @@ -143,7 +143,11 @@ def _prior_running_states(jid): ret = [] active = __salt__['saltutil.is_running']('state.*') for data in active: - if int(data['jid'])...
Ignore states that do not have a numeric jid, i.e. 'req' (#<I>)
saltstack_salt
train
py
15c382d4933dcedd881a61cf66dd9494f35441b5
diff --git a/lib/deliver/itunes_transporter.rb b/lib/deliver/itunes_transporter.rb index <HASH>..<HASH> 100644 --- a/lib/deliver/itunes_transporter.rb +++ b/lib/deliver/itunes_transporter.rb @@ -198,16 +198,19 @@ module Deliver end def build_upload_command(username, password, source = "/tmp") - [...
Fixed uplicate -t when passing a custom one
fastlane_fastlane
train
rb
cbf930a9b8245aab402f68e1b0acbb948cd78d8f
diff --git a/src/utils/lombok/javac/java8/CommentCollectingScannerFactory.java b/src/utils/lombok/javac/java8/CommentCollectingScannerFactory.java index <HASH>..<HASH> 100644 --- a/src/utils/lombok/javac/java8/CommentCollectingScannerFactory.java +++ b/src/utils/lombok/javac/java8/CommentCollectingScannerFactory.java @...
[jdk<I>] forget optimization...
rzwitserloot_lombok
train
java
67a99408d8f0b39320e956cb2070e472b7ac35b2
diff --git a/stagpy/plates.py b/stagpy/plates.py index <HASH>..<HASH> 100644 --- a/stagpy/plates.py +++ b/stagpy/plates.py @@ -940,7 +940,7 @@ def plates_cmd(args): for lim in range(1, len(limits)): sizeplates.append(limits[lim] - limits[lim - 1]) lim = len(limits) * [max(dvph...
Remove undefined occurence of timestep in plates
StagPython_StagPy
train
py
eb587801e7bfeb4986fc9d918cf4efbabb2be449
diff --git a/install/index.php b/install/index.php index <HASH>..<HASH> 100644 --- a/install/index.php +++ b/install/index.php @@ -65,7 +65,9 @@ if($myForm->isSubmited() && $myForm->isValid()){ <link rel="stylesheet" type="text/css" media="screen" href="../views/css/form.css"/> <link rel="stylesheet" type="text/css...
tao.js not included on the success screen. This caused a small javavscript error. I think it is cleaner now. git-svn-id: <URL>
oat-sa_tao-core
train
php
4fbfd0e9791aec6904baac939d07380d44114c22
diff --git a/mgmt/tribe/flags.go b/mgmt/tribe/flags.go index <HASH>..<HASH> 100644 --- a/mgmt/tribe/flags.go +++ b/mgmt/tribe/flags.go @@ -42,9 +42,8 @@ var ( } flTribeSeed = cli.StringFlag{ - Name: "tribe-seed", - Usage: `IP or resolvable hostname of a seed node to join. - The default empty value assumes this ...
Rewords the tribe-seed flag usage
intelsdi-x_snap
train
go
eea82dc7bb371c99a9f2b991088e267ab473b40a
diff --git a/cmd/example/example.go b/cmd/example/example.go index <HASH>..<HASH> 100644 --- a/cmd/example/example.go +++ b/cmd/example/example.go @@ -109,6 +109,20 @@ func main() { return } fmt.Printf("\taverage utilization.gpu for last 10s: %v\n", averageGPUUtilization) + + temperature, err := dev.Temperat...
Add examples for temperature and fan speed.
mindprince_gonvml
train
go
6b25dfe47b1d1804575451cbdee05c1002a05d0d
diff --git a/cmd/cayley/cayley.go b/cmd/cayley/cayley.go index <HASH>..<HASH> 100644 --- a/cmd/cayley/cayley.go +++ b/cmd/cayley/cayley.go @@ -293,7 +293,7 @@ func main() { break } if !graph.IsPersistent(cfg.DatabaseType) { - err = internal.Load(handle.QuadWriter, cfg.LoadSize, "", *quadType) + err = inte...
cli: fix loading of data for non-persistent backend
cayleygraph_cayley
train
go
f5914220005dd0f17f19c31af3af2980fba2e09d
diff --git a/pydgraph/utils/meta.py b/pydgraph/utils/meta.py index <HASH>..<HASH> 100644 --- a/pydgraph/utils/meta.py +++ b/pydgraph/utils/meta.py @@ -1 +1 @@ -VERSION="0.3.4" \ No newline at end of file +VERSION="0.3.5" \ No newline at end of file diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setu...
Add pygraph.utils package as well
dgraph-io_pydgraph
train
py,py
7edd5ebd0303f5e9f2d10e1c97c9da1fa93040be
diff --git a/lib/collection_functions.js b/lib/collection_functions.js index <HASH>..<HASH> 100644 --- a/lib/collection_functions.js +++ b/lib/collection_functions.js @@ -184,8 +184,11 @@ CollectionFunctions = (function(){ function equals(collectionA, collectionB) { var acrossAB = across(collectionA...
another non-array collection error. clearly the fact that this aspect is missing form the tests is hurting...
sconover_collection_functions
train
js
563cfd83585c9a926129b0cd302a2e4ce9ef9163
diff --git a/mr/awsome/ec2.py b/mr/awsome/ec2.py index <HASH>..<HASH> 100644 --- a/mr/awsome/ec2.py +++ b/mr/awsome/ec2.py @@ -149,7 +149,7 @@ class Instance(StartupScriptMixin): 1, 1, config['keypair'], instance_type=config.get('instance_type', 'm1.small'), security_g...
Pass overrides into the startup script.
ployground_ploy_fabric
train
py
21a4941d4fa1be29e78b873d909e73a1e8dc0516
diff --git a/src/commands/publish.js b/src/commands/publish.js index <HASH>..<HASH> 100644 --- a/src/commands/publish.js +++ b/src/commands/publish.js @@ -7,7 +7,7 @@ import { type PublishOptions, type PackageMeta } from '../utils/publish'; -import { BoltError } from '../../dist/modern/utils/errors'; +import { B...
Fixes incorrect import in publishCommand
boltpkg_bolt
train
js
a5b051e35b2219eca83a1b4785be4b1661240a6f
diff --git a/djstripe/admin.py b/djstripe/admin.py index <HASH>..<HASH> 100644 --- a/djstripe/admin.py +++ b/djstripe/admin.py @@ -441,6 +441,7 @@ class CustomerAdmin(StripeModelAdmin): "email", "currency", "default_source", + "default_payment_method", "coupon", "bala...
Added default_payment_method field to CustomerAdmin.list_display
dj-stripe_dj-stripe
train
py
dfc2db2a63da5399cb2e80d921287b7a15269b8c
diff --git a/src/test/java/org/sahagin/report/HtmlReportTest.java b/src/test/java/org/sahagin/report/HtmlReportTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/sahagin/report/HtmlReportTest.java +++ b/src/test/java/org/sahagin/report/HtmlReportTest.java @@ -61,17 +61,17 @@ public class HtmlReportTest exten...
Temporal change for debugging circle CI
SahaginOrg_sahagin-java
train
java
3de05ca448b1128869ccb92cd2e10269f00897ea
diff --git a/src/javascript/image/Image.js b/src/javascript/image/Image.js index <HASH>..<HASH> 100644 --- a/src/javascript/image/Image.js +++ b/src/javascript/image/Image.js @@ -382,7 +382,7 @@ define("moxie/image/Image", [ type = options.type || this.type || 'image/jpeg'; quality = options.quality || 90; ...
Image: Replace direct undefined check with safe one.
moxiecode_moxie
train
js
1e751e15a824f530c6ac7fadbb8875e66340835b
diff --git a/MessageBag.php b/MessageBag.php index <HASH>..<HASH> 100755 --- a/MessageBag.php +++ b/MessageBag.php @@ -4,7 +4,6 @@ namespace Illuminate\Support; use Countable; use JsonSerializable; -use Illuminate\Support\Arr; use Illuminate\Contracts\Support\Jsonable; use Illuminate\Contracts\Support\Arrayable; ...
Apply fixes from StyleCI (#<I>)
illuminate_support
train
php
b87a9284ad73e25e2e5f977ccd55b8acd6d536a7
diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js index <HASH>..<HASH> 100644 --- a/src/project/ProjectManager.js +++ b/src/project/ProjectManager.js @@ -1234,7 +1234,7 @@ define(function (require, exports, module) { DefaultDialogs.DIALOG_ID_ERROR, ...
Fixed typo that broke error_cleanup
adobe_brackets
train
js
00c89f47588978ccdec280820f6a7d8381fb6c91
diff --git a/httpretty/core.py b/httpretty/core.py index <HASH>..<HASH> 100644 --- a/httpretty/core.py +++ b/httpretty/core.py @@ -242,7 +242,7 @@ class fakesock(object): headers = utf8(last_requestline(self._sent_data)) body = utf8(self._sent_data[-1]) - i...
fixes for other python version
gabrielfalcao_HTTPretty
train
py,py
51c4db30a6703f7498ffacd5a1431507d2ae39f3
diff --git a/source/modules/oe/oepaypal/models/oepaypalorderpaymentstatuscalculator.php b/source/modules/oe/oepaypal/models/oepaypalorderpaymentstatuscalculator.php index <HASH>..<HASH> 100644 --- a/source/modules/oe/oepaypal/models/oepaypalorderpaymentstatuscalculator.php +++ b/source/modules/oe/oepaypal/models/oepayp...
ESDEV-<I> Make PayPal standalone compatible with PSR added New line at the end of file;
OXID-eSales_paypal
train
php
0ae6c1de9f4787dce2e430014a4f085d1fba34fb
diff --git a/src/Requests/BatchReceiveMessageRequest.php b/src/Requests/BatchReceiveMessageRequest.php index <HASH>..<HASH> 100644 --- a/src/Requests/BatchReceiveMessageRequest.php +++ b/src/Requests/BatchReceiveMessageRequest.php @@ -42,7 +42,7 @@ class BatchReceiveMessageRequest extends BaseRequest */ publ...
fix BatchReceiveMessageRequest
xutl_qcloud-cmq
train
php
27df4c4e59f7951fa447a2fb6c1010053ca84c8c
diff --git a/lib/genealogy/version.rb b/lib/genealogy/version.rb index <HASH>..<HASH> 100644 --- a/lib/genealogy/version.rb +++ b/lib/genealogy/version.rb @@ -1,3 +1,3 @@ module Genealogy - VERSION = "0.1.1.beta1" + VERSION = "0.1.1.beta2" end
Bump to <I>.beta2
masciugo_genealogy
train
rb
14feed29b9e1c1301f318bb9c598f3c484f0cd33
diff --git a/src/Semver.php b/src/Semver.php index <HASH>..<HASH> 100644 --- a/src/Semver.php +++ b/src/Semver.php @@ -37,9 +37,9 @@ class Semver $versionParser = self::$versionParser; $provider = new Constraint('==', $versionParser->normalize($version)); - $constraints = $versionParser->pars...
don't shadow/overwrite input variable
composer_semver
train
php
cb684b01a1bbb32991b9c2755985f155293c5512
diff --git a/src/saml/schema/element.py b/src/saml/schema/element.py index <HASH>..<HASH> 100644 --- a/src/saml/schema/element.py +++ b/src/saml/schema/element.py @@ -29,10 +29,6 @@ import inspect from lxml.builder import ElementMaker from . import attribute -from lxml import etree -from StringIO import StringIO -fr...
Removed uneeded comments and things.
mehcode_python-saml
train
py
5db123565c1f1a1073cbd4cff3a604e7f1755040
diff --git a/gwpy/types/array.py b/gwpy/types/array.py index <HASH>..<HASH> 100644 --- a/gwpy/types/array.py +++ b/gwpy/types/array.py @@ -184,10 +184,7 @@ class Array(Quantity): setattr(self, _attr, val) def __getattr__(self, attr): - # stop Quantity from capturing AttributeError...
Array: undo astropy's custom __getattr__
gwpy_gwpy
train
py
25cdcbbbdaed1108641efb79959d04c28ea84c45
diff --git a/src/cli/bin.js b/src/cli/bin.js index <HASH>..<HASH> 100755 --- a/src/cli/bin.js +++ b/src/cli/bin.js @@ -16,6 +16,12 @@ updateNotifier({ const cli = yargs .commandDir('commands') .demandCommand(1) + .fail((msg, err, yargs) => { + if (err) { + throw err // preserve stack + } + yargs.s...
Fixed error message outputs/handling for help commands in CLI (#<I>) * Fixed error message outputs/handling for help commands in CLI
ipfs_js-ipfs
train
js
ba733d3f86f9131feed04358d7590dee52fa34e1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,6 @@ setup(name='burrito', test_suite='nose.collector', packages=find_packages(), install_requires=['future'], - extras_require={'test': ["nose >= 0.10.1", "pep8", "flake8", + extras_re...
MAINT: removed pep8 as flake is picky about which version it installs
biocore_burrito
train
py
544468abef59bbc8c69f0b63560671301a254a8b
diff --git a/sentinel.go b/sentinel.go index <HASH>..<HASH> 100644 --- a/sentinel.go +++ b/sentinel.go @@ -38,6 +38,8 @@ func NewSentinel() *Sentinel { // In production environment, you should always have at least 3 sentinel // servers up and running. func (s *Sentinel) AddServer(addresses ...string) { + s.mutex.Loc...
Added lock when adding sentinel server
keimoon_gore
train
go
a7437210070344c4c47c65fd87707737f670e2d3
diff --git a/app/scripts/angular-apimock.js b/app/scripts/angular-apimock.js index <HASH>..<HASH> 100644 --- a/app/scripts/angular-apimock.js +++ b/app/scripts/angular-apimock.js @@ -7,22 +7,21 @@ angular.module('apiMock', []) .factory('apiMock', function($location) { return { isMocking: function() { - va...
Lower number of logical paths in isMocking().
seriema_angular-apimock
train
js
08195e9d29d8101e36be506e74f8a698f47ac8bc
diff --git a/lib/puppet/pops/types/type_mismatch_describer.rb b/lib/puppet/pops/types/type_mismatch_describer.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/pops/types/type_mismatch_describer.rb +++ b/lib/puppet/pops/types/type_mismatch_describer.rb @@ -753,7 +753,7 @@ module Types end def describe_POption...
(PUP-<I>) Fix problem with mismatch describer Optional without T Before this, the MismatchDescriber (which is also involved in type checking of parameters) did not recognize that an Optional without T parameter would have a `nil` T. Now it recognizes this and immediately accepts any value since `Optional` is the same ...
puppetlabs_puppet
train
rb
b5b61b8772663789da047d25b2d2b982ed6bc4bf
diff --git a/JSAT/src/jsat/linear/ScaledVector.java b/JSAT/src/jsat/linear/ScaledVector.java index <HASH>..<HASH> 100644 --- a/JSAT/src/jsat/linear/ScaledVector.java +++ b/JSAT/src/jsat/linear/ScaledVector.java @@ -135,6 +135,8 @@ public class ScaledVector extends Vec scale *= c; if(scale == 0.0) ...
Added check for the scale entering numerically unstable ranges, and embedding the scale when this happens to avoid future numerical issues git-svn-id: <URL>
EdwardRaff_JSAT
train
java
ccafbf020bc887e63ed2f31f956adacc20e3fa99
diff --git a/lib/winrm/winrm_service.rb b/lib/winrm/winrm_service.rb index <HASH>..<HASH> 100644 --- a/lib/winrm/winrm_service.rb +++ b/lib/winrm/winrm_service.rb @@ -133,7 +133,12 @@ module WinRM s.input = "#{NS_WIN_SHELL}:CommandLine" s.body = { "#{NS_WIN_SHELL}:Command" => "\"#{command}\"", "#{NS_WIN_S...
Fixed issue <I> On Ruby <I>+ CGI.escapeHTML will escape single quotes to &#<I>; which breaks the WinRM web service. We pull out the rendered XML and unescape any single quotes before sending the request.
WinRb_WinRM
train
rb
6ef80e55e183cd858c593d713983a29d711952de
diff --git a/lib/dm-core/resource.rb b/lib/dm-core/resource.rb index <HASH>..<HASH> 100644 --- a/lib/dm-core/resource.rb +++ b/lib/dm-core/resource.rb @@ -140,7 +140,7 @@ module DataMapper return true end - unless model.equal?(other.class) + unless self.class.equal?(other.class) ret...
Compare resource classes instead of models * Right now are the same thing, but may not always be the same
datamapper_dm-core
train
rb
11dabe6aeb026a7c45c66aaf4c3baa8f50786694
diff --git a/src/js/base/module/Editor.js b/src/js/base/module/Editor.js index <HASH>..<HASH> 100644 --- a/src/js/base/module/Editor.js +++ b/src/js/base/module/Editor.js @@ -211,18 +211,6 @@ define([ }; context.memo('help.redo', lang.help.redo); - this.reset = function () { - context.triggerEvent('...
Remove history.reset and history.rewind from editor.
summernote_summernote
train
js
c5c083c4e511c98d71d69741a9178f05d5306fea
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/357_move_existing_measure_filters.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/357_move_existing_measure_filters.rb index <HASH>..<HASH> 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/357_move_existing_measure_filters.rb +++ b/sonar-serv...
Reentrance of migration <I>
SonarSource_sonarqube
train
rb
8ca04b063755f84639b1e0a42079adc9a9983813
diff --git a/greenmail-core/src/test/java/com/icegreen/greenmail/test/GreenMailUtilTest.java b/greenmail-core/src/test/java/com/icegreen/greenmail/test/GreenMailUtilTest.java index <HASH>..<HASH> 100644 --- a/greenmail-core/src/test/java/com/icegreen/greenmail/test/GreenMailUtilTest.java +++ b/greenmail-core/src/test/j...
Replaced assertion of exception with an assertion between the recipient originally set and found in the retrieved email
greenmail-mail-test_greenmail
train
java
0305e0fdb8e4eaabcb16e90dd25432187d5dfe99
diff --git a/dclab/_version.py b/dclab/_version.py index <HASH>..<HASH> 100644 --- a/dclab/_version.py +++ b/dclab/_version.py @@ -1 +1 @@ -version="0.1.0" +version="0.1.1" diff --git a/dclab/definitions.py b/dclab/definitions.py index <HASH>..<HASH> 100644 --- a/dclab/definitions.py +++ b/dclab/definitions.py @@ -42,7...
<I> : package data included for win
ZELLMECHANIK-DRESDEN_dclab
train
py,py,py
76761282ac8f0a1aea6118d5bf9bea186bed98a8
diff --git a/Testing/Fakes/QueueFake.php b/Testing/Fakes/QueueFake.php index <HASH>..<HASH> 100644 --- a/Testing/Fakes/QueueFake.php +++ b/Testing/Fakes/QueueFake.php @@ -146,10 +146,9 @@ class QueueFake extends QueueManager implements Queue */ protected function isChainOfObjects($chain) { - retu...
No need to create 2 collections. (#<I>)
illuminate_support
train
php
603971f11dd7f2a130d8f201f7aa1b496d37effa
diff --git a/libargos/config/simplectis.py b/libargos/config/simplectis.py index <HASH>..<HASH> 100644 --- a/libargos/config/simplectis.py +++ b/libargos/config/simplectis.py @@ -242,7 +242,7 @@ class BoolCti(BaseCti): return widget.property("editor_data") - def paintDisplayValue(self, painter, ...
When not painting ourselves the label and the checkbox partially overlap :-(
titusjan_argos
train
py
247caf4f65a7318b4ac069e4504c4499553fa401
diff --git a/transports/mongodb.js b/transports/mongodb.js index <HASH>..<HASH> 100644 --- a/transports/mongodb.js +++ b/transports/mongodb.js @@ -7,7 +7,8 @@ */ var Transport = require('./transport') - , mongodb = require('mongodb'); + , mongodb = require('mongodb') + , os = require('os'); var MongoDB = mod...
Added machine and application to the mongodb log
observing_devnull
train
js
e36373831178a01bb6ad142cd6a618cf0feb736b
diff --git a/hvac/api/system_backend/init.py b/hvac/api/system_backend/init.py index <HASH>..<HASH> 100644 --- a/hvac/api/system_backend/init.py +++ b/hvac/api/system_backend/init.py @@ -86,7 +86,7 @@ class Init(SystemBackendMixin): params['recovery_shares'] = recovery_shares if recovery_thresho...
Fix recovery_threshold / recovery_shares conditional
hvac_hvac
train
py
9120d1d81e2c928188016dee224d08530d17227c
diff --git a/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber.rb b/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber.rb index <HASH>..<HASH> 100644 --- a/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber.rb +++ b/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber.rb @@ -123,10 +123,12 @@ module Goog...
docs(pubsub): Update Subscriber stop and wait documentation * Update Subscriber#stop and Subscriber#wait! method descriptions to reflect the behavior as of release <I>. pr: #<I>
googleapis_google-cloud-ruby
train
rb
641801f73993434e7fb34dba64f1e627152f2946
diff --git a/lib/smsified/oneapi.rb b/lib/smsified/oneapi.rb index <HASH>..<HASH> 100644 --- a/lib/smsified/oneapi.rb +++ b/lib/smsified/oneapi.rb @@ -95,7 +95,7 @@ module Smsified options.each do |k,v| if k == :address - v.each { |address| query += "#{ '&' if query != '' }address=#{CGI...
Ensuring the gem is ruby <I> compatible.
smsified_smsified-ruby
train
rb
80ab24c6691fcdb3d95c52a6b2bc7c671114cfa2
diff --git a/src/Cercanias/Route.php b/src/Cercanias/Route.php index <HASH>..<HASH> 100644 --- a/src/Cercanias/Route.php +++ b/src/Cercanias/Route.php @@ -11,7 +11,7 @@ class Route public function __construct($slug) { - if (strlen($slug) <= 0) { + if (!is_string($slug) || strlen($slug) <= 0) {...
Slug must be a string.
rmhdev_cercanias
train
php,php
b4f9fc8c2cc2dde11d9b4986aa293e5656dde919
diff --git a/server/naming.go b/server/naming.go index <HASH>..<HASH> 100644 --- a/server/naming.go +++ b/server/naming.go @@ -10,7 +10,7 @@ import ( const ( kubePrefix = "k8s" - infraName = "infra" + infraName = "POD" nameDelimiter = "_" )
server: Rename infra container to POD
cri-o_cri-o
train
go
1ea62afa9ad41cacd5de9099e34dc221a6b4d2a9
diff --git a/Godeps/_workspace/src/k8s.io/kubernetes/pkg/client/transport/round_trippers.go b/Godeps/_workspace/src/k8s.io/kubernetes/pkg/client/transport/round_trippers.go index <HASH>..<HASH> 100644 --- a/Godeps/_workspace/src/k8s.io/kubernetes/pkg/client/transport/round_trippers.go +++ b/Godeps/_workspace/src/k8s.io...
UPSTREAM: <I>: Debugging round tripper should wrap CancelRequest
openshift_origin
train
go
8e831b43658028dba5ebe2c0bc2f359aa11ff235
diff --git a/lib/util/index.js b/lib/util/index.js index <HASH>..<HASH> 100644 --- a/lib/util/index.js +++ b/lib/util/index.js @@ -517,7 +517,7 @@ exports.disableCSP = disableCSP; var interfaces = os.networkInterfaces(); var hostname = os.hostname(); var addressList = []; -var hashData = ['x-whistle-client-id', Date...
refactor: generate client id by os.networkInterfaces()
avwo_whistle
train
js
9433a99e53b2be2a2255a25c7ca5367eac113805
diff --git a/lib/logster/redis_store.rb b/lib/logster/redis_store.rb index <HASH>..<HASH> 100644 --- a/lib/logster/redis_store.rb +++ b/lib/logster/redis_store.rb @@ -95,6 +95,7 @@ module Logster attr_accessor :redis, :max_backlog, :redis_raw_connection attr_writer :redis_prefix + attr_reader :rate_limit...
Allow rate limiters to be retrieved.
discourse_logster
train
rb
16ec10aa9236662fe2f1cc6c8763333fe7818b25
diff --git a/salt/modules/dockerng.py b/salt/modules/dockerng.py index <HASH>..<HASH> 100644 --- a/salt/modules/dockerng.py +++ b/salt/modules/dockerng.py @@ -460,12 +460,18 @@ def __virtual__(): Only load if docker libs are present ''' if HAS_DOCKER_PY: - docker_py_versioninfo = _get_docker_py_ve...
check if docker is running This fixes #<I>
saltstack_salt
train
py
c295731c125ae0d405dfe447f2eb5cd3c2da758f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ except ImportError: setup( name="query_phenomizer", - version="0.1.1", + version="0.2", description = "Tool for query and parsing the phenomizer tool", # long_description = open( "README.md...
Bumped version to <I>
moonso_query_phenomizer
train
py
78b9c59edfa0251d073de6893cc59a3875603113
diff --git a/src/Form/FieldRadioButton.js b/src/Form/FieldRadioButton.js index <HASH>..<HASH> 100644 --- a/src/Form/FieldRadioButton.js +++ b/src/Form/FieldRadioButton.js @@ -137,7 +137,7 @@ class FieldRadioButton extends Util.mixin(BindMixin) { } render() { - let {formGroupClass, formGroupErrorClass} = this...
Creating wrapper class for radio button and checkbox to enable for more customizability
mesosphere_reactjs-components
train
js
b1110f75649186933e082fedf06ccd2d08c7ec3f
diff --git a/tests/Vpc/Advanced/Amazon/Nodes/Test.php b/tests/Vpc/Advanced/Amazon/Nodes/Test.php index <HASH>..<HASH> 100644 --- a/tests/Vpc/Advanced/Amazon/Nodes/Test.php +++ b/tests/Vpc/Advanced/Amazon/Nodes/Test.php @@ -10,6 +10,10 @@ class Vpc_Advanced_Amazon_Nodes_Test extends Vps_Test_SeleniumTestCase publ...
also skip vpc test if amazon is not configured
koala-framework_koala-framework
train
php
9bf7788e7f6b37dc1756bcd8824b3afe5ac97d06
diff --git a/test-sender/test-sender.go b/test-sender/test-sender.go index <HASH>..<HASH> 100644 --- a/test-sender/test-sender.go +++ b/test-sender/test-sender.go @@ -36,13 +36,14 @@ func debugf(format string, v ...interface{}) { func getEnvAddress() string { host := os.Getenv(envvarHost) if host == "" { - log.Fa...
Give nicer errors when env isn't specified
dcos_dcos-metrics
train
go
ad32074abd9c62bbc816479208ef77e688c0779f
diff --git a/lib/racecar/instrumenter.rb b/lib/racecar/instrumenter.rb index <HASH>..<HASH> 100644 --- a/lib/racecar/instrumenter.rb +++ b/lib/racecar/instrumenter.rb @@ -11,6 +11,7 @@ module Racecar @default_payload = default_payload @backend = if defined?(ActiveSupport::Notifications) + # Activ...
issue #<I>: comment why monotonic_time is required
zendesk_racecar
train
rb
acf7ee0f002bc224d52241df144cdb6ffb0a16b1
diff --git a/src/form.js b/src/form.js index <HASH>..<HASH> 100644 --- a/src/form.js +++ b/src/form.js @@ -16,6 +16,8 @@ export class Form { messages = {} + isValid + /*** * Used to get access to onSubmit and model changes could also wrap the * change and submit methods instead @@ -31,7 +33,8 @@ expo...
feat(form): isValid property on Form
SpoonX_aurelia-form
train
js
fa04d0dcc20a9e590d9fd30ae1312ba36fb7431b
diff --git a/src/radical/entk/stage/stage.py b/src/radical/entk/stage/stage.py index <HASH>..<HASH> 100644 --- a/src/radical/entk/stage/stage.py +++ b/src/radical/entk/stage/stage.py @@ -176,27 +176,27 @@ class Stage(object): import types - if not isinstance(condition, types.FunctionType): + ...
allow any callble for post_exec hooks
radical-cybertools_radical.entk
train
py
4e7ba9339360158650db414d1f950e832c3ac801
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -50,6 +50,11 @@ function dragDrop (elem, listeners) { function onDragOver (e) { e.stopPropagation() e.preventDefault() + + if (listeners.onDragOver) { + listeners.onDragOver(e) + } + if (e.dataTran...
Fix: Always call `onDragOver` Call `onDragOver` even when we don't have a drop handler that matches the type of file that is being dragged Fixes: <URL>
feross_drag-drop
train
js
8b9b2184a1422dbdcbaa25c6ec7e739f289e6327
diff --git a/agrona/src/main/java/org/agrona/CncFile.java b/agrona/src/main/java/org/agrona/CncFile.java index <HASH>..<HASH> 100644 --- a/agrona/src/main/java/org/agrona/CncFile.java +++ b/agrona/src/main/java/org/agrona/CncFile.java @@ -27,6 +27,8 @@ import static org.agrona.BitUtil.SIZE_OF_LONG; /** * Interface...
[Java]: javadoc clarififcation.
real-logic_agrona
train
java
d94048c1a60e28b06138414a05545519b09bb5dd
diff --git a/admin/code/GroupImportForm.php b/admin/code/GroupImportForm.php index <HASH>..<HASH> 100644 --- a/admin/code/GroupImportForm.php +++ b/admin/code/GroupImportForm.php @@ -83,7 +83,7 @@ class GroupImportForm extends Form { $this->sessionMessage($msg, 'good'); - $this->redirectBack(); + $this->con...
BUGFIX: Fixed back redirectBack() call in GroupImportForm::doImport (#<I>)
silverstripe_silverstripe-framework
train
php
763687e0509cf03ed77a19f4f33adebbd9d83f89
diff --git a/packages/vaex-core/vaex/dataframe.py b/packages/vaex-core/vaex/dataframe.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/dataframe.py +++ b/packages/vaex-core/vaex/dataframe.py @@ -311,7 +311,6 @@ class DataFrame(object): def execute(self): '''Execute all delayed jobs.''' - ...
fix: memleak because of references to old tasks
vaexio_vaex
train
py,py
8a7bc9e8a5f234bc3bcdedd653cbc91e448e01b9
diff --git a/src/components/OverflowMenu/OverflowMenu.js b/src/components/OverflowMenu/OverflowMenu.js index <HASH>..<HASH> 100644 --- a/src/components/OverflowMenu/OverflowMenu.js +++ b/src/components/OverflowMenu/OverflowMenu.js @@ -655,7 +655,7 @@ export default class OverflowMenu extends Component { /> ...
fix(overflowMenu): include iconProps for CarbonX version (#<I>)
carbon-design-system_carbon-components-react
train
js
5362be6e780764c8014e9ecefcba44f0d1ccf57e
diff --git a/test.php b/test.php index <HASH>..<HASH> 100644 --- a/test.php +++ b/test.php @@ -440,16 +440,13 @@ assertSame([[0, 1, 1]], run_star($q ==> logo([0, 1, 1, 1], [0, 1], [1, 1], $q) )); -// increasing from run1 to run2 causes stack overflow -// after increasing the VM stack size, it works -// hhvm -...
uncomment test case that is now working a little better
igorw_reasoned-php
train
php
589304b067c396ca8ea871c1e59b1da45af355bc
diff --git a/Semicircle.js b/Semicircle.js index <HASH>..<HASH> 100644 --- a/Semicircle.js +++ b/Semicircle.js @@ -175,8 +175,6 @@ s = (layer._radiusY || r) / r, start = p.rotated(layer.startAngle(), r); - this._drawnLayers[layer._leaflet_id] = layer; - if (s ...
Make Semicircle.js compatible with Leaflet <I> _drawnLayers has been removed since Leaflet <I> because it was apparently useless following a canvas refactor from nov <I>. - Pull request : <URL>
jieter_Leaflet-semicircle
train
js
274ecfbbff041e0f102c9559b4e2101477fb135f
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -15,11 +15,25 @@ function when ( ) { return result; } +function fork ( failure, success ) { + return function apply_fork ( ) { + var + args = Array.prototype.slice.call(arguments), + error = args.shift(); + + if ( e...
Added promix.fork() for creating a callback to route between unary error and success handlers.
pachet_promix
train
js
85a38660dbad0aaea2fc7700fe02fd446f8412e0
diff --git a/src/Karma/Configuration/Parser.php b/src/Karma/Configuration/Parser.php index <HASH>..<HASH> 100644 --- a/src/Karma/Configuration/Parser.php +++ b/src/Karma/Configuration/Parser.php @@ -131,6 +131,11 @@ class Parser implements FileParser { $currentLineNumber++; + if(empty...
FIX wrong line number in error messages
Niktux_karma
train
php
c98191c52ce8589352596305553b22218e2e383e
diff --git a/flink-tests/src/test/java/org/apache/flink/test/recovery/ProcessFailureCancelingITCase.java b/flink-tests/src/test/java/org/apache/flink/test/recovery/ProcessFailureCancelingITCase.java index <HASH>..<HASH> 100644 --- a/flink-tests/src/test/java/org/apache/flink/test/recovery/ProcessFailureCancelingITCase....
[hotfix] [tests] Increase registration timeout for TaskManagers in ProcessFailureCancelingITCase to compensate for sloggy CI environments
apache_flink
train
java
117b2cd538acbe523bb67c697335193c882c853e
diff --git a/sklearn_evaluation/report.py b/sklearn_evaluation/report.py index <HASH>..<HASH> 100644 --- a/sklearn_evaluation/report.py +++ b/sklearn_evaluation/report.py @@ -54,7 +54,7 @@ class TrainedClassificationModel(object): return self._model_name class ReportGenerator: - def __init__(self, savepa...
removed template and css parameters in ReportGenerator for now
edublancas_sklearn-evaluation
train
py
c6a0e511512afa166df741ce25cf0edffbfee300
diff --git a/moskito-core/src/main/java/net/anotheria/moskito/core/stats/impl/IntervalRegistry.java b/moskito-core/src/main/java/net/anotheria/moskito/core/stats/impl/IntervalRegistry.java index <HASH>..<HASH> 100644 --- a/moskito-core/src/main/java/net/anotheria/moskito/core/stats/impl/IntervalRegistry.java +++ b/mosk...
removed system.out (which was there for debugging purposes obviously)
anotheria_moskito
train
java
985b5017713deb22743303013dc16afbc4c533fd
diff --git a/tests/testApp.js b/tests/testApp.js index <HASH>..<HASH> 100644 --- a/tests/testApp.js +++ b/tests/testApp.js @@ -17,7 +17,7 @@ //---------------------------------------------------------------------- 'use strict'; - +// Test app var app = angular.module('TestApplication', ['ngResource', 'ngRoute', 'A...
Update testApp.js commit to try build
AzureAD_azure-activedirectory-library-for-js
train
js
5f4d6799cad419d2afe227a47995548e0b14990d
diff --git a/app/src/main/java/org/jboss/hal/client/skeleton/HeaderView.java b/app/src/main/java/org/jboss/hal/client/skeleton/HeaderView.java index <HASH>..<HASH> 100644 --- a/app/src/main/java/org/jboss/hal/client/skeleton/HeaderView.java +++ b/app/src/main/java/org/jboss/hal/client/skeleton/HeaderView.java @@ -86,8 ...
Remove empty data-target attribute (after JS dependencies upgrade)
hal_console
train
java
3fd7c331273f9fadacae1fcb0ff51b9817b009e3
diff --git a/telethon/network/connection/tcpfull.py b/telethon/network/connection/tcpfull.py index <HASH>..<HASH> 100644 --- a/telethon/network/connection/tcpfull.py +++ b/telethon/network/connection/tcpfull.py @@ -14,6 +14,10 @@ class ConnectionTcpFull(Connection): super().__init__(ip, port, loop=loop) ...
Fix automatic reconnect (e.g. on bad auth key) This took more time than it should have to debug.
LonamiWebs_Telethon
train
py
2c6021f885155685bc8fd71f2d85af5967f2ecd5
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ setup( py_modules=['eth_bloom'], setup_requires=['setuptools-markdown'], install_requires=[ - "eth-hash>=0.1.0a3,<0.3.0", + "eth-hash[pycryptodome]>=0.3.1,<0.4.0", ], pytho...
Bump eth-hash dependency
ethereum_eth-bloom
train
py
8ef1e56d549831d7021c73f25165d329ed1e2a35
diff --git a/src/main/java/io/jenkins/x/client/tree/PipelineTreeModel.java b/src/main/java/io/jenkins/x/client/tree/PipelineTreeModel.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/jenkins/x/client/tree/PipelineTreeModel.java +++ b/src/main/java/io/jenkins/x/client/tree/PipelineTreeModel.java @@ -48,7 +48,7 @@...
lets default to async loading
jenkins-x_jx-java-client
train
java
5bd706760fa8eb473e8c148f620a97cb7379237f
diff --git a/proc_psi_test.go b/proc_psi_test.go index <HASH>..<HASH> 100644 --- a/proc_psi_test.go +++ b/proc_psi_test.go @@ -19,7 +19,7 @@ import ( ) func TestPSIStats(t *testing.T) { - t.Run("fake", func(*testing.T) { + t.Run("fake", func(t *testing.T) { stats, err := getProcFixtures(t).PSIStatsForResource("f...
Add a missing name to the *testing.T argument. (#<I>) When using t.Run, the subtest must take a named *testing.T argument. Otherwise, inner calls to t.Error etc. are invoked on the outer test object, which is pretty much always wrong.
prometheus_procfs
train
go
b05d2949d0603b6da784d6abe22a705f736c2e78
diff --git a/rest-assured/src/main/java/com/jayway/restassured/RestAssured.java b/rest-assured/src/main/java/com/jayway/restassured/RestAssured.java index <HASH>..<HASH> 100644 --- a/rest-assured/src/main/java/com/jayway/restassured/RestAssured.java +++ b/rest-assured/src/main/java/com/jayway/restassured/RestAssured.ja...
Fix StackOverFlow on certificate method
rest-assured_rest-assured
train
java
89ef5ddde6861045c315b6c20ac5a88fec9b220b
diff --git a/tests/Plugins/MediaEmbed/ParserTest.php b/tests/Plugins/MediaEmbed/ParserTest.php index <HASH>..<HASH> 100644 --- a/tests/Plugins/MediaEmbed/ParserTest.php +++ b/tests/Plugins/MediaEmbed/ParserTest.php @@ -23,6 +23,11 @@ class ParserTest extends Test { $cacheDir = __DIR__ . '/../../.cache'; + if (!...
MediaEmbed/ParserTest: use the system's temp dir if there's no .cache dir in the tests dir
s9e_TextFormatter
train
php
89af13727f5eca353ea26037b365036134cec099
diff --git a/timepiece/migrations/0007_contact_user.py b/timepiece/migrations/0007_contact_user.py index <HASH>..<HASH> 100644 --- a/timepiece/migrations/0007_contact_user.py +++ b/timepiece/migrations/0007_contact_user.py @@ -8,6 +8,8 @@ class Migration(DataMigration): def forwards(self, orm): "Write y...
added a check to delete project relationships without users
caktus_django-timepiece
train
py
17f7cc4a44823a02153a158a0bfab9b4e396d9a9
diff --git a/gobgp/cmd/neighbor.go b/gobgp/cmd/neighbor.go index <HASH>..<HASH> 100644 --- a/gobgp/cmd/neighbor.go +++ b/gobgp/cmd/neighbor.go @@ -668,6 +668,7 @@ func stateChangeNeighbor(cmd string, remoteIP string, args []string) error { var err error switch cmd { case CMD_SHUTDOWN: + fmt.Printf("WARNING: comm...
cli: deprecate neighbor `shutdown` command Since `shutdown` command just sends ADMINISTRATIVE_SHUTDOWN notification and doesn't change admin-state, neighbors can be get established after idle-holdtime which is not intuitive from the name of the API. We can use `reset` command to hard-reset BGP session, and `disable` ...
osrg_gobgp
train
go
375d1da4fdb99979f4cefda77a16aaca05b57c9a
diff --git a/src/Generators/ModelGenerator.php b/src/Generators/ModelGenerator.php index <HASH>..<HASH> 100644 --- a/src/Generators/ModelGenerator.php +++ b/src/Generators/ModelGenerator.php @@ -245,7 +245,7 @@ class ModelGenerator extends Generator $defaultValue = "''"; break;...
:bug: Fix Faker method name
laravel-rocket_generator
train
php
7f63aa69a7bfca3f6de34ff34963d3ebffed4b17
diff --git a/packages/style-utils/src/styleVariables.js b/packages/style-utils/src/styleVariables.js index <HASH>..<HASH> 100644 --- a/packages/style-utils/src/styleVariables.js +++ b/packages/style-utils/src/styleVariables.js @@ -220,6 +220,11 @@ export default { fontSize_prose: '1rem', fontSize_ui: '0.875rem', ...
feat(theme): Add fontWeight variables
mineral-ui_mineral-ui
train
js
74188f574188c92ca35c5bc44734b93aa4342179
diff --git a/syn/five/__init__.py b/syn/five/__init__.py index <HASH>..<HASH> 100644 --- a/syn/five/__init__.py +++ b/syn/five/__init__.py @@ -16,6 +16,6 @@ else: # For convenience, not compatibility SET = (set, frozenset) -from syn.base_utils import harvest_metadata, delete -with delete(harvest_metadata, delete): ...
Commenting out harvest metadata in syn.five
mbodenhamer_syn
train
py
a1e3a90914500df3d4ecbfe6a5ad4fa36e795d12
diff --git a/lib/csvlint/field.rb b/lib/csvlint/field.rb index <HASH>..<HASH> 100644 --- a/lib/csvlint/field.rb +++ b/lib/csvlint/field.rb @@ -119,7 +119,7 @@ module Csvlint end def validate_type(value, row, column) - if constraints["type"] + if constraints["type"] && value != "" ...
Don't perform type validation on empty fields
theodi_csvlint.rb
train
rb,rb
d75e91290c33c19e46d8d6292ff3277e9dee9724
diff --git a/sk_dsp_comm/sigsys.py b/sk_dsp_comm/sigsys.py index <HASH>..<HASH> 100644 --- a/sk_dsp_comm/sigsys.py +++ b/sk_dsp_comm/sigsys.py @@ -1203,12 +1203,16 @@ def fs_coeff(xp,N,f0,one_side=True): Examples -------- + >>> import matplotlib.pyplot as plt + >>> from numpy import arange + >>> im...
Adding imports for fs_coeff
mwickert_scikit-dsp-comm
train
py
ae8fbb208f93fa314c0f1a3379d6c98d9c944075
diff --git a/salt/modules/parted.py b/salt/modules/parted.py index <HASH>..<HASH> 100644 --- a/salt/modules/parted.py +++ b/salt/modules/parted.py @@ -470,7 +470,7 @@ def mkpart(device, part_type, fs_type=None, start=None, end=None): ''' _validate_device(device) - if not start or not end: + if start i...
Fixes #<I> It was checking if start or end was False. None, 0, and '' evaluate to False so 0 was being evaluated as an invalid parameter for start and end. Changed it to specifically check for None and ''. 0 is a valid value for start and end.
saltstack_salt
train
py
c2df34e7a33522d2539fc71e479bb197f97e7a68
diff --git a/src/lib/listeners.js b/src/lib/listeners.js index <HASH>..<HASH> 100644 --- a/src/lib/listeners.js +++ b/src/lib/listeners.js @@ -129,18 +129,20 @@ function _handleKeyDown( event ) { */ function _bindInputs( instance ) { if ( document.querySelectorAll ) { - const onFocus = element => { - cons...
optimize bind inputs to exit at each unment condition
glortho_react-keydown
train
js
4d3c6c21e7232c3391f04417a42319ebad6abea6
diff --git a/container/lxd/lxdclient/conn_server.go b/container/lxd/lxdclient/conn_server.go index <HASH>..<HASH> 100644 --- a/container/lxd/lxdclient/conn_server.go +++ b/container/lxd/lxdclient/conn_server.go @@ -27,6 +27,7 @@ type clientServerMethods struct { raw rawServerMethods } +// SetConfig sets the given ...
Add a missing doc comment.
juju_juju
train
go
6e3bd2f5460049c9702bf44b37095c635ad8460b
diff --git a/smartfile/errors.py b/smartfile/errors.py index <HASH>..<HASH> 100644 --- a/smartfile/errors.py +++ b/smartfile/errors.py @@ -38,7 +38,10 @@ class ResponseError(APIError): self.detail = json['src'][0] except KeyError: # A faulty delete request retu...
Fix error handling to catch if JSON is not returned
smartfile_client-python
train
py
57e5ee4eaeeb7e0d83a0f80285b17d933d2e465b
diff --git a/src/canvas/view/CanvasView.js b/src/canvas/view/CanvasView.js index <HASH>..<HASH> 100644 --- a/src/canvas/view/CanvasView.js +++ b/src/canvas/view/CanvasView.js @@ -311,13 +311,14 @@ module.exports = Backbone.View.extend({ view.scriptContainer.html(''); // In editor, I make use of setTimeout as ...
Update how the component's script are appended
artf_grapesjs
train
js
8957f5addcda53e9703fdc9738f801948c13f86a
diff --git a/src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java b/src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java +++ b/src/main/java/com/opentable/db/postgres/embedded/Emb...
Treating hard-links as soft-links instead of files. This avoids triggering an error while trying to read from a hard-link in the else statement
opentable_otj-pg-embedded
train
java
e374812a9b749a82fe17b882db35473a415d1f54
diff --git a/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java b/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java index <HASH>..<HASH> 100644 --- a/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java +++ b/core/ast/src/main/java/org/overture/ast/preview/GraphViz.java @@ -46,7 +46,7 @@...
static dot path replaced / with File seperator
overturetool_overture
train
java
fbce3a3caa5a9b8177edb0c07607b676c368d7fa
diff --git a/helper/resource/testing.go b/helper/resource/testing.go index <HASH>..<HASH> 100644 --- a/helper/resource/testing.go +++ b/helper/resource/testing.go @@ -209,13 +209,16 @@ func testStep( opts.Destroy = step.Destroy ctx := terraform.NewContext(&opts) if ws, es := ctx.Validate(); len(ws) > 0 || len(es)...
helper/resource: don't fail test on config warnings AccTests like TestAccComputeInstance_basic_deprecated_network were failing early on "invalid config" when we are explictly testing behavior that we know generates warnings.
hashicorp_terraform
train
go
bd245a7bdf56735bf87f6ecabc87d9e80772c227
diff --git a/lib/connection.js b/lib/connection.js index <HASH>..<HASH> 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -404,6 +404,21 @@ Connection.prototype._outboundHeartbeatTimerReset = function () { } }; +Connection.prototype._saslResponse = function () { + var response; + if (this.options.authMe...
Support PLAIN SASL authentication mechansim
postwait_node-amqp
train
js