hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
fa17fe0f7b3c7ed5ebe6ab1a3aae5f286656a70c
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 0.5.2 +### Changed + +* If there is more than one release, but the `date` field is missing or null, the `MissingDateKeyError` and `NullDateValueError` exceptions are raised, respestively, ...
Add MissingDateKeyError and NullDateValueError exceptions If there is more than one release, but the `date` field is missing or null, the `MissingDateKeyError` and `NullDateValueError` exceptions are raised, respestively, instead of the generic `KeyError` and `TypeError`.
open-contracting_ocds-merge
train
f08ed7f624e6571cdf9e60ddfb2bdc8d4ed4ede6
diff --git a/lib/core/plugin/node.rb b/lib/core/plugin/node.rb index <HASH>..<HASH> 100644 --- a/lib/core/plugin/node.rb +++ b/lib/core/plugin/node.rb @@ -56,6 +56,13 @@ class Node < CORL.plugin_class(:base) @local_context = true myself.local_machine = create_machine(:local_machine, :physical) end + ...
Cleaning up created machine plugins in the base node plugin on node removal.
coralnexus_corl
train
c1c64361d0046ffb16d5058462a339b8b7b59bce
diff --git a/lib/active_merchant/billing/integrations/pxpay/helper.rb b/lib/active_merchant/billing/integrations/pxpay/helper.rb index <HASH>..<HASH> 100644 --- a/lib/active_merchant/billing/integrations/pxpay/helper.rb +++ b/lib/active_merchant/billing/integrations/pxpay/helper.rb @@ -45,6 +45,7 @@ module ActiveMercha...
Add option for passing a customer email to Pxpay helper
activemerchant_active_merchant
train
04f262b1079057d262c64195f701cd60348bc07d
diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/TransformQuantifiedComparisonApplyToScalarApply.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/TransformQuantifiedComparisonApplyToScalarApply.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/...
Extract constants for QualifiedNames of functions used
prestodb_presto
train
365215b1d9aab4fc26884a34554e19572a6fb9ab
diff --git a/src/brackets.js b/src/brackets.js index <HASH>..<HASH> 100644 --- a/src/brackets.js +++ b/src/brackets.js @@ -382,9 +382,12 @@ define(function (require, exports, module) { } }, true); } - - // Dispatch htmlReady event + + // Wait for view state to load. + var viewSta...
Track performance impact of user viewstate loading
adobe_brackets
train
4ee345b698911887d1fcb95b69ef5dd84f07c29e
diff --git a/lib/hipchat/api_version.rb b/lib/hipchat/api_version.rb index <HASH>..<HASH> 100644 --- a/lib/hipchat/api_version.rb +++ b/lib/hipchat/api_version.rb @@ -226,7 +226,7 @@ module HipChat { :url => URI::escape("/#{user_id}/history/latest"), :body_format => :to_json, - :...
compatibility with ruby <I>
hipchat_hipchat-rb
train
0559cd29ca6571e29dd39f9d425775231cfd7fa4
diff --git a/lib/neo4j/shared/property.rb b/lib/neo4j/shared/property.rb index <HASH>..<HASH> 100644 --- a/lib/neo4j/shared/property.rb +++ b/lib/neo4j/shared/property.rb @@ -39,16 +39,15 @@ module Neo4j::Shared def default_properties=(properties) keys = self.class.default_properties.keys - @default_...
Some code cleaning which was in #<I>
neo4jrb_neo4j
train
7130864b8c4f80443b4e7d74eaf726c6f21227d8
diff --git a/test/alignak_test.py b/test/alignak_test.py index <HASH>..<HASH> 100644 --- a/test/alignak_test.py +++ b/test/alignak_test.py @@ -164,6 +164,24 @@ class AlignakTest(unittest.TestCase): collector_h.setFormatter(DEFAULT_FORMATTER_NAMED) self.logger.addHandler(collector_h) + def files_u...
Factorize replacement in files pethod and set in AlignakTest
Alignak-monitoring_alignak
train
cfb5b34999961a7853b4bf2a25836e058a1555a6
diff --git a/alot/db/envelope.py b/alot/db/envelope.py index <HASH>..<HASH> 100644 --- a/alot/db/envelope.py +++ b/alot/db/envelope.py @@ -212,12 +212,13 @@ class Envelope(object): plaintext = crypto.email_as_string(unencrypted_msg) logging.debug('encrypting plaintext: ' + plaintext) - ...
give useful error message if key can't be found
pazz_alot
train
dc9b10675afdd7326741fa37b5fd697358896f16
diff --git a/lib/common/tree_node.rb b/lib/common/tree_node.rb index <HASH>..<HASH> 100644 --- a/lib/common/tree_node.rb +++ b/lib/common/tree_node.rb @@ -12,6 +12,7 @@ require 'common/leaf_node' class TreeNode < AbsNode attr_reader :leaves + attr_reader :childs def initialize( name, parent = nil ) s...
moving from svn repository (dreamhost) to git
26fe_tree.rb
train
e5ac1d1c8d6eb07ad0de9a83e860cae92c8d0ffa
diff --git a/Controller/DataTablesController.php b/Controller/DataTablesController.php index <HASH>..<HASH> 100644 --- a/Controller/DataTablesController.php +++ b/Controller/DataTablesController.php @@ -101,42 +101,17 @@ class DataTablesController extends AbstractDataTablesController { // Get the entities repo...
Use exportCallback() method as streamed response callback
webeweb_jquery-datatables-bundle
train
18f5ff0a6b6c4a2aaf1ce4e4adfd670c385fea06
diff --git a/Lib/Embera/Providers/Youtube.php b/Lib/Embera/Providers/Youtube.php index <HASH>..<HASH> 100755 --- a/Lib/Embera/Providers/Youtube.php +++ b/Lib/Embera/Providers/Youtube.php @@ -44,7 +44,7 @@ class Youtube extends \Embera\Adapters\Service 'provider_name' => 'Youtube', 'provider_ur...
Protocol relative links in YouTube fake response This would provide supporting for embedding on https but only for YouTube fake responses for now! This could probably be done for other providers as well but for now I just know that youtube embeds work over https...
mpratt_Embera
train
5da1523581f325fc0a6d25636a035c6ecec395c1
diff --git a/lib/vagrant-vbguest/command.rb b/lib/vagrant-vbguest/command.rb index <HASH>..<HASH> 100644 --- a/lib/vagrant-vbguest/command.rb +++ b/lib/vagrant-vbguest/command.rb @@ -66,18 +66,15 @@ module VagrantVbguest # Executes a command on a specific VM. def execute_on_vm(vm, options) - raise Vagr...
quick fix command - remove old tests on VM state - correct call to vbguest internals (passing vm not env) - correct cal to UI
dotless-de_vagrant-vbguest
train
d8c423db70b6d69d5e3ab336ab621cf25b50e881
diff --git a/spec/helper/sass_conversion_helper_spec.rb b/spec/helper/sass_conversion_helper_spec.rb index <HASH>..<HASH> 100644 --- a/spec/helper/sass_conversion_helper_spec.rb +++ b/spec/helper/sass_conversion_helper_spec.rb @@ -1,4 +1,5 @@ require 'spec_helper' +require 'toppings/helper' require 'toppings/helper/s...
explicitly re-requiring toppings helper in spec
toppings_toppings
train
5f5da669036afedd77c3a2c8c450b7851ce78821
diff --git a/app/assets/javascripts/promotions/promotion.js b/app/assets/javascripts/promotions/promotion.js index <HASH>..<HASH> 100644 --- a/app/assets/javascripts/promotions/promotion.js +++ b/app/assets/javascripts/promotions/promotion.js @@ -1719,7 +1719,7 @@ var changesetStatusActions = (function($){ //doc rea...
Re-adding lost javascript changes
Katello_katello
train
dda4fc8332279e6855c1ddcf3175f77bb57fb849
diff --git a/src/engine/sequencer.js b/src/engine/sequencer.js index <HASH>..<HASH> 100644 --- a/src/engine/sequencer.js +++ b/src/engine/sequencer.js @@ -86,9 +86,10 @@ Sequencer.prototype.stepThreads = function (threads) { Sequencer.prototype.startThread = function (thread) { var currentBlockId = thread.peekSta...
Yield frame on an empty substack
LLK_scratch-vm
train
79df094e1ec4c0b0aa69b3b6d9235c57b63be1da
diff --git a/lib/mongodb/bson/binary_parser.js b/lib/mongodb/bson/binary_parser.js index <HASH>..<HASH> 100644 --- a/lib/mongodb/bson/binary_parser.js +++ b/lib/mongodb/bson/binary_parser.js @@ -57,8 +57,8 @@ p.decodeFloat = function( data, precisionBits, exponentBits ){ }while( precisionBits -= startBit ); return ...
Corrected endian problem in automatic generation of ObjectIDs
mongodb_node-mongodb-native
train
38dca738e059e0c8cf17e0a2696982434b13dd22
diff --git a/reef-common/src/main/java/com/microsoft/reef/client/DriverLauncher.java b/reef-common/src/main/java/com/microsoft/reef/client/DriverLauncher.java index <HASH>..<HASH> 100644 --- a/reef-common/src/main/java/com/microsoft/reef/client/DriverLauncher.java +++ b/reef-common/src/main/java/com/microsoft/reef/clie...
Some more changes to how DriverLauncher.theJob is set
apache_reef
train
a81653b766203ce36306aa5199a1bb536afb16a4
diff --git a/fastlane/lib/fastlane/setup/setup_ios.rb b/fastlane/lib/fastlane/setup/setup_ios.rb index <HASH>..<HASH> 100644 --- a/fastlane/lib/fastlane/setup/setup_ios.rb +++ b/fastlane/lib/fastlane/setup/setup_ios.rb @@ -1,3 +1,5 @@ +require 'spaceship' + module Fastlane class SetupIos < Setup # the tools th...
Move spaceship require to top to avoid crash in rescue block (#<I>) Otherwise we'd try to access `Spaceship::Client::InsufficientPermissions` without having `spaceship` required yet
fastlane_fastlane
train
ae19bc325d12ab7bd3b4407f6439e25d1e4279ba
diff --git a/bokeh/charts.py b/bokeh/charts.py index <HASH>..<HASH> 100644 --- a/bokeh/charts.py +++ b/bokeh/charts.py @@ -270,7 +270,7 @@ class Chart(object): def make_quad(self, top, bottom, left, right, color): quad = Quad(top=top, bottom=bottom, left=left, right=right, - fill_colo...
Added some styling properties to quads and rects.
bokeh_bokeh
train
2d5ac65746c5b378ea1383145757b4bfdd805e98
diff --git a/src/nodes/FragmentNode.js b/src/nodes/FragmentNode.js index <HASH>..<HASH> 100644 --- a/src/nodes/FragmentNode.js +++ b/src/nodes/FragmentNode.js @@ -112,12 +112,15 @@ FragmentNode.prototype = { } const domNode = [domNodes[domIdx++]], - children = this._children, - ...
Fix adopting of empty fragment (closes #<I>)
dfilatov_vidom
train
cd89256bca95ddfc01cbbf891cd7f31b99836fd9
diff --git a/crumbs/templatetags/breadcrumb_tags.py b/crumbs/templatetags/breadcrumb_tags.py index <HASH>..<HASH> 100644 --- a/crumbs/templatetags/breadcrumb_tags.py +++ b/crumbs/templatetags/breadcrumb_tags.py @@ -34,7 +34,7 @@ def add_crumb(parser, token): @register.inclusion_tag('breadcrumbs/crumbs.html', takes_c...
Added hasattr to render breadcrumbs
caktus_django-crumbs
train
ea8cab1cd3e7a0d844197c882a852cea8a1c4072
diff --git a/lib/css_injector.js b/lib/css_injector.js index <HASH>..<HASH> 100644 --- a/lib/css_injector.js +++ b/lib/css_injector.js @@ -17,7 +17,7 @@ CSSInjector.prototype = { this.filePathsToInject.forEach((p) => { if (inputHTML.indexOf(p) === -1) { return; } - let regex = new RegExp(`<link rel="...
Ensure other attributes are ignored If an application includes a link tag with attributes other than `rel="stylesheet"` and `href="something"` the regex to find the link fails. This allows any attribute combo to come before href and still match. This was particularly problematic when dealing with links that include ...
201-created_ember-inline-css
train
8fcb9e71efe2c66e67a5f43e2af88c6a394da2d6
diff --git a/lib/say_when/scheduler.rb b/lib/say_when/scheduler.rb index <HASH>..<HASH> 100644 --- a/lib/say_when/scheduler.rb +++ b/lib/say_when/scheduler.rb @@ -86,14 +86,17 @@ module SayWhen logger.debug "SayWhen:: job fired complete" end - rescue Object=>ex - begin ...
fix scheduler rask task and interrupt handling
kookster_say_when
train
3f073fdfa3bb7b8211f1de60a8c154935fa9dd7d
diff --git a/lib/MountFs.js b/lib/MountFs.js index <HASH>..<HASH> 100644 --- a/lib/MountFs.js +++ b/lib/MountFs.js @@ -90,7 +90,7 @@ var MountFs = module.exports = function MountFs(options) { MountFs.patchInPlace = function (fs) { fs = fs || require('fs'); var fsShallowCopy = _.extend({}, fs), - mount...
Pass in the shallow copy of fs when instantiating MountFs
papandreou_node-mountfs
train
cdcc50f365c6afa44fecb1653b77945112a32960
diff --git a/src/client/websocket/handlers/index.js b/src/client/websocket/handlers/index.js index <HASH>..<HASH> 100644 --- a/src/client/websocket/handlers/index.js +++ b/src/client/websocket/handlers/index.js @@ -5,9 +5,7 @@ const { WSEvents } = require('../../../util/Constants'); const handlers = {}; for (const ...
refactor: remove error-silencing try/catch on event handler imports (#<I>)
discordjs_discord.js
train
9ec25333c6948fec55a5a457b70a9f96a5dc0842
diff --git a/src/web-service/server.js b/src/web-service/server.js index <HASH>..<HASH> 100644 --- a/src/web-service/server.js +++ b/src/web-service/server.js @@ -1,7 +1,7 @@ //- JavaScript source code //- server.js ~~ -// ~~ (c) SRW, 28 Sep 2012 +// ...
Environment variable tweak for "web-service" target
qmachine_qm-nodejs
train
0da0ad3e9afe5cbd6304c634daed210ccaa2cb4d
diff --git a/dempsy-framework.core/src/main/java/net/dempsy/threading/OrderedPerContainerThreadingModel.java b/dempsy-framework.core/src/main/java/net/dempsy/threading/OrderedPerContainerThreadingModel.java index <HASH>..<HASH> 100644 --- a/dempsy-framework.core/src/main/java/net/dempsy/threading/OrderedPerContainerThr...
Fix bug where default value was invalid.
Dempsy_dempsy
train
24f6155efc043537ce26a2733588bb6508a0a745
diff --git a/ui-v2/app/controllers/dc/intentions/edit.js b/ui-v2/app/controllers/dc/intentions/edit.js index <HASH>..<HASH> 100644 --- a/ui-v2/app/controllers/dc/intentions/edit.js +++ b/ui-v2/app/controllers/dc/intentions/edit.js @@ -11,19 +11,23 @@ export default Controller.extend({ ...model, ...{ ...
Switch to single selects rather than inputs
hashicorp_consul
train
7b107e1d16cfa91158fcd21ffa1c9eeda2a16e1f
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -108,9 +108,12 @@ const defaults = (name, opts) => { opts = opts && typeof opts === 'object' ? opts : {} opts.cwd = typeof opts.cwd === 'string' ? opts.cwd : process.cwd() - return opts.local + const fp = opts.local ...
fix(appveyor): debugging appveyor shits
tunnckoCore_detect-installed
train
016895653f911602b3140a6fa80d697dc2768c12
diff --git a/src/main/java/io/github/bonigarcia/wdm/online/UrlHandler.java b/src/main/java/io/github/bonigarcia/wdm/online/UrlHandler.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/github/bonigarcia/wdm/online/UrlHandler.java +++ b/src/main/java/io/github/bonigarcia/wdm/online/UrlHandler.java @@ -23,6 +23,7 @@...
Use streams in filtering by version logic
bonigarcia_webdrivermanager
train
bc264fc430528e96014c2a8852c98e060522eb8f
diff --git a/cmd/influx/main.go b/cmd/influx/main.go index <HASH>..<HASH> 100644 --- a/cmd/influx/main.go +++ b/cmd/influx/main.go @@ -52,9 +52,8 @@ func main() { var promptForPassword bool // determine if they set the password flag but provided no value for _, v := range os.Args { - v = strings.Replace(v, "-", ...
be more strict on password arg, check if password was set
influxdata_influxdb
train
451248dba4ced33cd0e02bc247484231e6cd9333
diff --git a/Query/Processors/SqlServerProcessor.php b/Query/Processors/SqlServerProcessor.php index <HASH>..<HASH> 100755 --- a/Query/Processors/SqlServerProcessor.php +++ b/Query/Processors/SqlServerProcessor.php @@ -3,6 +3,7 @@ namespace Illuminate\Database\Query\Processors; use Exception; +use Illuminate\Databa...
Updated docblock and added DB connection typecast. (#<I>)
illuminate_database
train
09f19f5ab29d7545b962c921d350b9d4320b448e
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index <HASH>..<HASH> 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -561,9 +561,7 @@ class Context(object): :return: None """ set_result = _lib.SSL_CTX_set_default_verify_paths(self._context) - if not set_result: - ...
Port the easy cases of SSL.py to _openssl_assert (#<I>)
pyca_pyopenssl
train
c99d958603f57345d17195c6b9b6cf7e984e0040
diff --git a/test/test_zk.py b/test/test_zk.py index <HASH>..<HASH> 100755 --- a/test/test_zk.py +++ b/test/test_zk.py @@ -1,11 +1,7 @@ import unittest -import gzip import logging -import json import os -import code import random -from time import sleep from SolrClient import SolrClient from SolrClient.exceptions...
removed sleep() from test_zk
moonlitesolutions_SolrClient
train
d343af0f2d115889543540bd3cc8bf66e9a9473e
diff --git a/spec/unit/indirector/catalog/compiler.rb b/spec/unit/indirector/catalog/compiler.rb index <HASH>..<HASH> 100755 --- a/spec/unit/indirector/catalog/compiler.rb +++ b/spec/unit/indirector/catalog/compiler.rb @@ -61,7 +61,7 @@ describe Puppet::Resource::Catalog::Compiler do describe "when finding catalog...
<I> spec/unit/indirector/catalog/compiler.rb changes behaviour 1) Improve test so it doesn't fail if an autoload happens. 2) Improve test so it doesn't show a warning.
puppetlabs_puppet
train
cbda994c675b6be81e4333395f5d21a6cb79b4cd
diff --git a/_config.php b/_config.php index <HASH>..<HASH> 100644 --- a/_config.php +++ b/_config.php @@ -42,7 +42,7 @@ HtmlEditorConfig::get('cms')->setOptions(array( )); -HtmlEditorConfig::get('cms')->enablePlugins('media', '../../../../cms/tinymce_ssbuttons', 'fullscreen'); +HtmlEditorConfig::get('cms')->enabl...
BUGFIX: fix bug that can't find tinymce_ssbuttons under sapphire/thirdpaty. this is a change merged from r<I> <URL>
silverstripe_silverstripe-reports
train
2cac78e9c44ba14c9047417fbb5d7c4d1d9c804f
diff --git a/openquake/hazardlib/tests/gsim/lin_lee_2008_test.py b/openquake/hazardlib/tests/gsim/lin_lee_2008_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/gsim/lin_lee_2008_test.py +++ b/openquake/hazardlib/tests/gsim/lin_lee_2008_test.py @@ -23,24 +23,20 @@ from openquake.hazardlib.tests.gsim.u...
Ported some GMPE test
gem_oq-engine
train
a7135e1d6874719bec8d37b770785a7ddd43c958
diff --git a/lib/cucumber/ast/table.rb b/lib/cucumber/ast/table.rb index <HASH>..<HASH> 100644 --- a/lib/cucumber/ast/table.rb +++ b/lib/cucumber/ast/table.rb @@ -238,22 +238,7 @@ module Cucumber # # => ['phone number', 'ADDRESS'] # def map_headers!(mappings={}, &block) - header_cells = ce...
Extracted convert_headers method. Added failing spec for rows_hash conversion.
cucumber_cucumber-ruby
train
3527759c494478051e51e54902e29ad9d370c586
diff --git a/src/toil/provisioners/abstractProvisioner.py b/src/toil/provisioners/abstractProvisioner.py index <HASH>..<HASH> 100644 --- a/src/toil/provisioners/abstractProvisioner.py +++ b/src/toil/provisioners/abstractProvisioner.py @@ -328,7 +328,9 @@ coreos: MESOS_LOG_DIR = '--log_dir=/var/lib/mesos ' L...
Fix Mesos issues in <I> containers
DataBiosphere_toil
train
c166752d4f1a77e99ebc7713c25710fdffeaf7a4
diff --git a/core/src/main/java/lucee/transformer/bytecode/op/OpUnary.java b/core/src/main/java/lucee/transformer/bytecode/op/OpUnary.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/lucee/transformer/bytecode/op/OpUnary.java +++ b/core/src/main/java/lucee/transformer/bytecode/op/OpUnary.java @@ -40,7 +40,7 @@...
rename class to match pattern of other classes
lucee_Lucee
train
c03e2aa196615bc3149d1829b8b8ed01e58c7aa1
diff --git a/lib/go/thrift/simple_server.go b/lib/go/thrift/simple_server.go index <HASH>..<HASH> 100644 --- a/lib/go/thrift/simple_server.go +++ b/lib/go/thrift/simple_server.go @@ -20,6 +20,7 @@ package thrift import ( + "io" "log" "runtime/debug" "sync" @@ -231,7 +232,7 @@ func (p *TSimpleServer) processRe...
THRIFT-<I>: Ignore EOF error in TSimpleServer ReadFrame call EOF isn't an error that should be bubbled up to the caller and we are already ignoring other EOF errors in TSimpleServer.processRequest [0]. Client: go This closes #<I>. [0]: <URL>
apache_thrift
train
2b7604b8cd728d6393b8909fd87fb76db7c665bc
diff --git a/django_extensions/db/fields/encrypted.py b/django_extensions/db/fields/encrypted.py index <HASH>..<HASH> 100644 --- a/django_extensions/db/fields/encrypted.py +++ b/django_extensions/db/fields/encrypted.py @@ -30,13 +30,17 @@ class BaseEncryptedField(models.Field): # Encrypted size is larger than ...
fix for ticket #<I> use logical max_length for deconstruction()
django-extensions_django-extensions
train
b7ef4d2d2d6e8e4a8457416dbdeeecbaf69317a3
diff --git a/parts/IndexFindersPart.php b/parts/IndexFindersPart.php index <HASH>..<HASH> 100644 --- a/parts/IndexFindersPart.php +++ b/parts/IndexFindersPart.php @@ -10,6 +10,9 @@ namespace phootwork\lang\parts; trait IndexFindersPart { + abstract public function find(...$arguments); + + abstract public function f...
Fix a bug discovered by Scrutinizer
phootwork_lang
train
97ba95fe4b487dbd2f55c6e8118de8e1626f1278
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -61,17 +61,6 @@ shell('var opts = {name: \''+opts.name+'\', nodes: '+opts.instances+', useHostNa fn); ``` -## Todo - -- [x] use lone to prebake binaries and upload to releases -- [x] support auth -- [ ] HTTP control ...
[#8] This does the trick for mongo <I>.x
mongodb-js_runner
train
bc9ceab87ece399b019a1b5f03117b24728314d8
diff --git a/query.go b/query.go index <HASH>..<HASH> 100644 --- a/query.go +++ b/query.go @@ -229,7 +229,7 @@ func (r *dhtQueryRunner) queryPeer(proc process.Process, p peer.ID) { // make sure we're connected to the peer. // FIXME abstract away into the network layer if conns := r.query.dht.host.Network().ConnsT...
drop error log down to debug License: MIT
libp2p_go-libp2p-kad-dht
train
515d9fed2f85851035b4ea56ef0d9e30da303a3e
diff --git a/src/test/java/com/box/sdk/EventStreamTest.java b/src/test/java/com/box/sdk/EventStreamTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/box/sdk/EventStreamTest.java +++ b/src/test/java/com/box/sdk/EventStreamTest.java @@ -57,8 +57,14 @@ public class EventStreamTest { boolean createdE...
Fix event stream to handle no events in the stream
box_box-java-sdk
train
869b0943a5bfb1f54556180dbc9d39e2d7d959c0
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -170,8 +170,8 @@ Builder.prototype.build = function(options) { that.fileUtils.readFile(pathname, options.rootPaths).then(function(result) { if (!result) { // eslint-disable-next-line no-console - ...
[INTERNAL] index.js: Improve file not found error message
SAP_less-openui5
train
f8a1c4d5dfec500d4fc779949d1a3ce52c84cb1f
diff --git a/firefox/src/extension/components/wrappedElement.js b/firefox/src/extension/components/wrappedElement.js index <HASH>..<HASH> 100644 --- a/firefox/src/extension/components/wrappedElement.js +++ b/firefox/src/extension/components/wrappedElement.js @@ -252,7 +252,7 @@ FirefoxDriver.prototype.getAttribute = fu...
SimonStewart: Fixing a bug with returning the readonly property of an element in firefox r<I>
SeleniumHQ_selenium
train
6bc443a3b73d1905d22d35892c7b3237e887bb57
diff --git a/Plugin.php b/Plugin.php index <HASH>..<HASH> 100644 --- a/Plugin.php +++ b/Plugin.php @@ -137,6 +137,7 @@ class Plugin extends PluginBase 'all-blog-categories' => 'rainlab.blog::lang.menuitem.all_blog_categories', 'blog-post' => 'rainlab.blog::lang.menuitem.blog_...
Add Blog Category page as a type to RainLab.Pages menu builder (#<I>) Credit to @HACKHERS.
rainlab_blog-plugin
train
9e3e1c19bc132138d7df4eafeafc418614605e22
diff --git a/app/controllers/activity_notification/notifications_controller.rb b/app/controllers/activity_notification/notifications_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/activity_notification/notifications_controller.rb +++ b/app/controllers/activity_notification/notifications_controller.rb @...
Configure test coverage for rails4 and rails5 compatibility
simukappu_activity_notification
train
621daed32f08ca926f84187861df7b56ceb609d7
diff --git a/lib/cfoundry/version.rb b/lib/cfoundry/version.rb index <HASH>..<HASH> 100644 --- a/lib/cfoundry/version.rb +++ b/lib/cfoundry/version.rb @@ -1,4 +1,4 @@ module CFoundry # :nodoc: # CFoundry library version number. - VERSION = "0.6.0.rc4".freeze + VERSION = "0.6.0.rc5".freeze end
Bump to <I>.rc5
cloudfoundry-attic_cfoundry
train
447a8434944b1d217b0f403994d9ff6efb8a9452
diff --git a/tests/Doctrine/MongoDB/Tests/BaseTest.php b/tests/Doctrine/MongoDB/Tests/BaseTest.php index <HASH>..<HASH> 100644 --- a/tests/Doctrine/MongoDB/Tests/BaseTest.php +++ b/tests/Doctrine/MongoDB/Tests/BaseTest.php @@ -29,4 +29,11 @@ abstract class BaseTest extends PHPUnit_Framework_TestCase $this->con...
Skip command cursor tests for older driver/server versions
doctrine_mongodb
train
5a1bf38c3645c891591e129c115e1dbd936a2bc6
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -12,35 +12,12 @@ Installation script for the OpenSSL module """ import sys, os - -if 'bdist_egg' in sys.argv: - # If we're probably trying to do something that only setuptools can do, - # then try to use setuptools. ...
Get rid of conditional setuptools usage; specify this externally instead. Get rid of old Extension compatibility code; Python <I> is the oldest version now supported, and it has `depends´. Try just using ExtraObjects instead of globbing for dlls; SSL_LIB isn\t necessarily set.
pyca_pyopenssl
train
46f6e8b94e96c53c8bd1a0fa325e9c22741fddf6
diff --git a/csvalidate/writer.py b/csvalidate/writer.py index <HASH>..<HASH> 100644 --- a/csvalidate/writer.py +++ b/csvalidate/writer.py @@ -21,6 +21,10 @@ class ValidatedWriter(DictWriter): rowdict = data return DictWriter.writerow(self, rowdict) + def writeheader(self): + heade...
Override writeheader not to use writerow on first row
Shir0kamii_csvalidate
train
894fec67b4acead0d1977d41c12f24a40a56bf05
diff --git a/lib/slop/option.rb b/lib/slop/option.rb index <HASH>..<HASH> 100644 --- a/lib/slop/option.rb +++ b/lib/slop/option.rb @@ -109,16 +109,11 @@ class Slop @long_flag || @short_flag end - # @return [Object] - def default - @options[:default] - end - # @return [Object] the argume...
no need for this method yo
leejarvis_slop
train
4f2c7760e205ae737749f20d8542d4a093a650da
diff --git a/tests/test_convex.py b/tests/test_convex.py index <HASH>..<HASH> 100644 --- a/tests/test_convex.py +++ b/tests/test_convex.py @@ -15,7 +15,11 @@ class ConvexTest(g.unittest.TestCase): volume = g.np.array([i.volume for i in hulls]) self.assertTrue(volume.ptp() < (mesh.scale / 10000...
added a degenerate check case and test
mikedh_trimesh
train
aabc4d62a8d7b37a38acfe68b8b0d6b49ed55065
diff --git a/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php b/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php +++ b/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php @@ -2...
fix #<I> die with unsuccessful return code (#<I>)
laravel_framework
train
4627e70f85074b2a0d06b0a53193bf03ef539b07
diff --git a/registry/rpc/balancer.go b/registry/rpc/balancer.go index <HASH>..<HASH> 100644 --- a/registry/rpc/balancer.go +++ b/registry/rpc/balancer.go @@ -58,7 +58,7 @@ func newSimpleBalancer(eps []string) *simpleBalancer { } } -func (b *simpleBalancer) Start(target string) error { return nil } +func (b *simpl...
registry/rpc: update Balancer.Start() according to gRPC <I> As the API of gRPC <I> has changed w.r.t. Balancer.Start(), we also need to update simpleBalancer.Start() to make it include config param.
coreos_fleet
train
8935decd2c233efc3abab8e50c6edafd3c68362c
diff --git a/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php b/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php +++ b/src/Symfony/Component/Htt...
Added support for SVG mime type
symfony_symfony
train
6415b119a88dc721a8bcd9afbe0328a6ed09a3b3
diff --git a/scripts/publish-all.js b/scripts/publish-all.js index <HASH>..<HASH> 100644 --- a/scripts/publish-all.js +++ b/scripts/publish-all.js @@ -37,6 +37,8 @@ let argv = yargs await execa(`yarn pre-publish-all`, {shell: true, stdio: 'inherit' }); await execa(`git commit -am "published ${latestTa...
dev-infra: push to origin in publish-all
jaredpalmer_razzle
train
3d3a04e12a273fb9f6a0e75e311bec809d77bb3d
diff --git a/executor/simple.go b/executor/simple.go index <HASH>..<HASH> 100644 --- a/executor/simple.go +++ b/executor/simple.go @@ -1561,6 +1561,9 @@ func (e *SimpleExec) executeDropStats(s *ast.DropStatsStmt) (err error) { if statsIDs, _, err = core.GetPhysicalIDsAndPartitionNames(s.Table.TableInfo, s.PartitionN...
executor: fix drop global stats (#<I>) close pingcap/tidb#<I>
pingcap_tidb
train
7f6f479dfece63579678e2c0466f18290ae210fb
diff --git a/spec/Yami/SheetFight/Model/MoveSpec.php b/spec/Yami/SheetFight/Model/MoveSpec.php index <HASH>..<HASH> 100644 --- a/spec/Yami/SheetFight/Model/MoveSpec.php +++ b/spec/Yami/SheetFight/Model/MoveSpec.php @@ -8,6 +8,7 @@ use RangeException; use Yami\SheetFight\Model\InputInterface; use Yami\SheetFight\Model...
Constraints cancel abilities uniqueness
CDV-Yami_sheet-fight
train
97a7a942c80d308b1639c405aa1ea472d89dec14
diff --git a/lib/active_merchant/billing/gateways/litle.rb b/lib/active_merchant/billing/gateways/litle.rb index <HASH>..<HASH> 100644 --- a/lib/active_merchant/billing/gateways/litle.rb +++ b/lib/active_merchant/billing/gateways/litle.rb @@ -166,10 +166,10 @@ module ActiveMerchant #:nodoc: end def add_...
Litle: Make descriptors more consistent Dynamic descriptors are pretty much all over the map across gateways in terms of attribute names and behaviors. This makes the properties consistent with at least one other gateway (Braintree Blue). Perhaps somewhere down the road we'll start to see more commonalities between ...
activemerchant_active_merchant
train
fb0b6b9d50e80a323236d7fb50261cb709a04288
diff --git a/src/Gateway.php b/src/Gateway.php index <HASH>..<HASH> 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -575,7 +575,13 @@ class Gateway extends Worker // 向某客户端发送数据,Gateway::sendToClient($client_id, $message); case GatewayProtocol::CMD_SEND_TO_ONE: if (isset($...
Support $raw in sendToClient, sendToCurrentClient, sendToUid
walkor_GatewayWorker
train
23b16ac2ca3c70c00cd09d4ac10da3c73b57c88b
diff --git a/hazelcast-client-legacy/src/test/java/com/hazelcast/client/map/MapMemoryUsageStressTest.java b/hazelcast-client-legacy/src/test/java/com/hazelcast/client/map/MapMemoryUsageStressTest.java index <HASH>..<HASH> 100644 --- a/hazelcast-client-legacy/src/test/java/com/hazelcast/client/map/MapMemoryUsageStressTe...
Increase timeout of the test to <I> mins since the CI environment has big variations on the performance, sometimes test takes 6 mins sometimes it takes more than <I> mins.
hazelcast_hazelcast
train
9d9f5a3edbfa0d26e59c5dbe0078098afd59b388
diff --git a/getters.js b/getters.js index <HASH>..<HASH> 100644 --- a/getters.js +++ b/getters.js @@ -52,11 +52,11 @@ module.exports = { parts: parts, - src: function(value) { - return $(this).attr('src'); + src: function(el) { + return $(el).attr('src'); }, - selectMultiple: function(value) { - return $(...
Small fixes to getters and setters.
thecodebureau_ridge
train
06410f33f37179ae38b8d9e1b54a80a5cd2d6f07
diff --git a/rows/utils/__init__.py b/rows/utils/__init__.py index <HASH>..<HASH> 100644 --- a/rows/utils/__init__.py +++ b/rows/utils/__init__.py @@ -394,6 +394,7 @@ def download_file( chunk_size=8192, sample_size=1048576, retries=3, + progress_pattern="Downloading file" ): # TODO: add ability ...
Add custom progress bar pattern to download_file
turicas_rows
train
07946a59020e3a05a2300b978e9f541ce673bf07
diff --git a/src/collectors/postgres/postgres.py b/src/collectors/postgres/postgres.py index <HASH>..<HASH> 100644 --- a/src/collectors/postgres/postgres.py +++ b/src/collectors/postgres/postgres.py @@ -420,6 +420,31 @@ class ConnectionStateStats(QueryStats): ) AS tmp2 ON tmp.mstate=tmp2.mstate O...
Fixed in PostgreSQL <I> pg_stat_activity incompatibility in PostgreSQL collector
python-diamond_Diamond
train
07b179ce9a34879e00c8024c26ef6d318232daf5
diff --git a/core/src/main/java/org/infinispan/config/Configuration.java b/core/src/main/java/org/infinispan/config/Configuration.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/infinispan/config/Configuration.java +++ b/core/src/main/java/org/infinispan/config/Configuration.java @@ -412,7 +412,6 @@ publi...
(ISPN-<I>) Enabling batching without specifying a transaction mode generates runtime NPE
infinispan_infinispan
train
e20a35937cae1f96804414b88e84b1d7c356a3d1
diff --git a/android/lib/AndroidManifest.js b/android/lib/AndroidManifest.js index <HASH>..<HASH> 100644 --- a/android/lib/AndroidManifest.js +++ b/android/lib/AndroidManifest.js @@ -238,7 +238,12 @@ Object.defineProperty(AndroidManifest.prototype, "permissions", { this._output.info("Ad...
Android: Improve permissions handling By default, xwalk_android_permissions from manifest.json are added to AndroidManifest.xml with a namespace of android.permission. But if permissions already have a namespace, keep it, and do not add the android one too. BUG=XWALK-<I>
crosswalk-project_crosswalk-app-tools
train
b8bcc7750dfff4a7386b0d5a0cf14631d977bf3c
diff --git a/trunk/mlcp/src/main/java/com/marklogic/contentpump/CombinedRDFReader.java b/trunk/mlcp/src/main/java/com/marklogic/contentpump/CombinedRDFReader.java index <HASH>..<HASH> 100644 --- a/trunk/mlcp/src/main/java/com/marklogic/contentpump/CombinedRDFReader.java +++ b/trunk/mlcp/src/main/java/com/marklogic/cont...
Fixed broken reference to (deleted) class LocalIdGenerator
marklogic_marklogic-contentpump
train
7196696e7f8c6c5d5626055176dbe9fceb8c23e5
diff --git a/pymatgen/core/spectrum.py b/pymatgen/core/spectrum.py index <HASH>..<HASH> 100644 --- a/pymatgen/core/spectrum.py +++ b/pymatgen/core/spectrum.py @@ -114,6 +114,9 @@ class Spectrum(MSONable): return self.__class__(self.x, self.y / other, *self._args, **self._kwargs) ...
Fix div in py2.
materialsproject_pymatgen
train
8bd3ba33f8ff5d8bd6febdc374e3d7fd9a6efd88
diff --git a/extended-cpts.php b/extended-cpts.php index <HASH>..<HASH> 100644 --- a/extended-cpts.php +++ b/extended-cpts.php @@ -471,53 +471,9 @@ class Extended_CPT { public function rewrite_testing_tests( array $tests ) { - global $wp_rewrite; + $extended = new Extended_CPT_Rewrite_Testing( $this ); - $st...
Move the rewrite rule testing into its own class so it can be reused by Extended Taxonomies.
johnbillion_extended-cpts
train
9ede0af051a34374af75f6a3bcaedc61cac90fb6
diff --git a/lib/crc32.js b/lib/crc32.js index <HASH>..<HASH> 100644 --- a/lib/crc32.js +++ b/lib/crc32.js @@ -1,3 +1,5 @@ +'use strict' + var stream = require( 'stream' ) /**
fix(lib): Node v4 block-scoped declarations
jhermsmeier_node-cyclic-32
train
24c5c7f0a6dd2ac097ab57ebb208a61ad511db1d
diff --git a/src/main/java/org/cp/elements/lang/Assert.java b/src/main/java/org/cp/elements/lang/Assert.java index <HASH>..<HASH> 100755 --- a/src/main/java/org/cp/elements/lang/Assert.java +++ b/src/main/java/org/cp/elements/lang/Assert.java @@ -13,7 +13,6 @@ * See the License for the specific language governing per...
Review and refactor the Assert class. Edit Javadoc. Format source code.
codeprimate-software_cp-elements
train
3a28e6fa39e12720efc89242eee85146a7057d5a
diff --git a/src/utils.js b/src/utils.js index <HASH>..<HASH> 100644 --- a/src/utils.js +++ b/src/utils.js @@ -10,8 +10,10 @@ module.exports = { }, printObjectProperties(obj) { - for (var propName in obj) { - printText(propName, obj[propName]); + for (let propName in obj) { + ...
Improved printProperties utils method
bertolo1988_flight-scrappper
train
bbe89e795bbc631c2b626766840d943498304630
diff --git a/src/java/org/apache/cassandra/service/ConsistencyManager.java b/src/java/org/apache/cassandra/service/ConsistencyManager.java index <HASH>..<HASH> 100644 --- a/src/java/org/apache/cassandra/service/ConsistencyManager.java +++ b/src/java/org/apache/cassandra/service/ConsistencyManager.java @@ -145,16 +145,1...
do not leave variables uninitialized in ConsistencyManager constructor. fixes regression from #<I>. patch by jbellis for CASSANDRA-<I> git-svn-id: <URL>
Stratio_stratio-cassandra
train
aec6d55b7c1a47f6bde3fc173d442b833dda23d3
diff --git a/salt/transport/tcp.py b/salt/transport/tcp.py index <HASH>..<HASH> 100644 --- a/salt/transport/tcp.py +++ b/salt/transport/tcp.py @@ -576,9 +576,16 @@ class TCPReqServerChannel(salt.transport.mixins.auth.AESReqServerMixin, salt.tra self.payload_handler = payload_handler self.io_loop = io_...
Basic SSL/TLS support in master-minion communication. Allows to set paths to `ssl_cert` and `ssl_key` in master and minion opts. Encrypts the TCP channel with the given keys for tcp transport.
saltstack_salt
train
31fc10c09a1cc38b5784779d2a3d67b4ef4aa95c
diff --git a/progressbar.go b/progressbar.go index <HASH>..<HASH> 100644 --- a/progressbar.go +++ b/progressbar.go @@ -655,7 +655,10 @@ func renderProgressBar(c config, s state) (int, error) { if c.fullWidth && !c.ignoreLength { width, _, err := terminal.GetSize(int(os.Stdout.Fd())) if err != nil { - width = ...
try to get stderr width if stdout is not a terminal
schollz_progressbar
train
8de5c550c29636c3a93542066423d95e62859435
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * [#3325](https://github.com/bbatsov/rubocop/issues/3325): Drop support for MRI 1.9.3. ([@drenmi][]) * Add support for MRI 2.4. ([@dvandersluis][]) * [#3256](https://github.com/bbatsov/rubocop...
Always treat Exception as the highest level exception
rubocop-hq_rubocop
train
2ff1b64052ccd0a9e113f36fd3468b974cef3d3a
diff --git a/bundles/LayoutsBundle/Gruntfile.js b/bundles/LayoutsBundle/Gruntfile.js index <HASH>..<HASH> 100644 --- a/bundles/LayoutsBundle/Gruntfile.js +++ b/bundles/LayoutsBundle/Gruntfile.js @@ -130,11 +130,17 @@ module.exports = function (grunt) { grunt.registerTask('server', function () { grunt.ta...
Add fast_build option to Grunt for LayoutsBundle
netgen-layouts_layouts-core
train
84189d23599e8605854813b2c4c82568b9cbf244
diff --git a/DisplayPanel.py b/DisplayPanel.py index <HASH>..<HASH> 100644 --- a/DisplayPanel.py +++ b/DisplayPanel.py @@ -88,7 +88,7 @@ _ = gettext.gettext # tbd -class DisplayPanelOverlayCanvasItem(CanvasItem.AbstractCanvasItem): +class DisplayPanelOverlayCanvasItem(CanvasItem.CanvasItemComposition): """ ...
Consolidate overlay and container widgets in display panel svn r<I>
nion-software_nionswift
train
26ce4d74398312dcc70a736d42d2997b6bcdb854
diff --git a/lnetatmo.py b/lnetatmo.py index <HASH>..<HASH> 100644 --- a/lnetatmo.py +++ b/lnetatmo.py @@ -774,6 +774,12 @@ if __name__ == "__main__": if stdout.isatty(): print("lnetatmo.py : warning, no home available for testing") + try: + thermostat = ThermostatData(authorization) +...
Added Thermostat library test
philippelt_netatmo-api-python
train
245f8f5a2c811d9a71230dbcdf5cc73ba8c43748
diff --git a/littlechef/lib.py b/littlechef/lib.py index <HASH>..<HASH> 100644 --- a/littlechef/lib.py +++ b/littlechef/lib.py @@ -98,8 +98,7 @@ def _generate_metadata(path, cookbook_path, name): ['knife', 'cookbook', 'metadata', '-o', cookbook_path, name], stdout=subprocess.PIPE, stde...
Don't be so greedy while looking for knife errors Fixes false positive when there is a "Invalid gemspec" error
tobami_littlechef
train
6f2156d6ef6dbd3cba2ea49a77aa7c5b46ccf114
diff --git a/qunit/qunit.js b/qunit/qunit.js index <HASH>..<HASH> 100644 --- a/qunit/qunit.js +++ b/qunit/qunit.js @@ -1621,4 +1621,5 @@ QUnit.diff = (function() { }; })(); -})( typeof global == 'object' && global || this ); +// get at whatever the global object is, like window in browsers +})( (function() {return...
Improve global object access, based on comments for 1a<I>d<I>d8a1f2cf2eabe<I>ea5b3
JamesMGreene_qunit-assert-html
train
a037767c43e06bad09b556a34a1a2c91e5df05a2
diff --git a/lib/gcli/test/mockCommands.js b/lib/gcli/test/mockCommands.js index <HASH>..<HASH> 100644 --- a/lib/gcli/test/mockCommands.js +++ b/lib/gcli/test/mockCommands.js @@ -778,5 +778,16 @@ mockCommands.items = [ exec: function(args, context) { return args; } + }, + { + item: 'command', + ...
runat-<I>: Add mock command to help testing remote resources
joewalker_gcli
train
3d1341ce2c22580f905a6422decdffc688ffbb08
diff --git a/logger.go b/logger.go index <HASH>..<HASH> 100644 --- a/logger.go +++ b/logger.go @@ -315,3 +315,9 @@ func (logger *Logger) level() Level { func (logger *Logger) SetLevel(level Level) { atomic.StoreUint32((*uint32)(&logger.Level), uint32(level)) } + +func (logger *Logger) AddHook(hook Hook) { + logger....
Add AddHook method for logger
sirupsen_logrus
train
a20aa2d38d99ff12baf679d32cdf7ff6253d79ff
diff --git a/src/masonite/routes/commands/RouteListCommand.py b/src/masonite/routes/commands/RouteListCommand.py index <HASH>..<HASH> 100644 --- a/src/masonite/routes/commands/RouteListCommand.py +++ b/src/masonite/routes/commands/RouteListCommand.py @@ -2,6 +2,8 @@ import re from cleo import Command +from ...utils...
add method to parse controller to string
MasoniteFramework_masonite
train
9be62037ccc0c0259efa5e1decd9d001a6c57693
diff --git a/pkg/k8s/apis/cilium.io/v2/register.go b/pkg/k8s/apis/cilium.io/v2/register.go index <HASH>..<HASH> 100644 --- a/pkg/k8s/apis/cilium.io/v2/register.go +++ b/pkg/k8s/apis/cilium.io/v2/register.go @@ -41,7 +41,7 @@ const ( // CustomResourceDefinitionSchemaVersion is semver-conformant version of CRD schema...
pkg/k8s: enable CRD Status by default This change will only take effect in envionments that hve k8s CRD Status enabled. It's only enabled by default since k8s <I>. Fixes: 8d<I>cc<I>c<I> ("k8s: Use UpdateStatus for kubernetes server version >=<I>")
cilium_cilium
train
14841ff8bb0dd92e64553e33dbaa82f6a30244f7
diff --git a/src/Moxl/API.php b/src/Moxl/API.php index <HASH>..<HASH> 100644 --- a/src/Moxl/API.php +++ b/src/Moxl/API.php @@ -297,7 +297,22 @@ class API { header(':', true,'500'); exit; - } else { + } elseif($xml->attributes() + && $xml->attri...
- Add a better handler for BOSH termination payload
movim_moxl
train
182353d03df86b46d93f24e84e84a7f9a31bcc18
diff --git a/indra/sources/indra_db_rest/query.py b/indra/sources/indra_db_rest/query.py index <HASH>..<HASH> 100644 --- a/indra/sources/indra_db_rest/query.py +++ b/indra/sources/indra_db_rest/query.py @@ -24,6 +24,8 @@ class Query: offset=offset, simple=simple, ...
Convert complexes covered to set of ints.
sorgerlab_indra
train
33c957298b1ad868dcf2476a5c4fc472b01d8f75
diff --git a/lib/util/error.js b/lib/util/error.js index <HASH>..<HASH> 100644 --- a/lib/util/error.js +++ b/lib/util/error.js @@ -48,6 +48,12 @@ shaka.util.Error = function(category, code, var_args) { }; +/** @return {string} */ +shaka.util.Error.prototype.toString = function() { + return 'shaka.util.Error ' + J...
Stringify Errors for better reporting in tests This fixes unreadable test failures like "Failed: [object Object]" Change-Id: I<I>d5abf<I>bd<I>f9b<I>c1a7adeab<I>e<I>f<I>d
google_shaka-player
train
2fe3c19fb27fb8533ca2ae46ba0518d8485e8207
diff --git a/gssapi/sec_contexts.py b/gssapi/sec_contexts.py index <HASH>..<HASH> 100644 --- a/gssapi/sec_contexts.py +++ b/gssapi/sec_contexts.py @@ -110,10 +110,21 @@ class SecurityContext(rsec_contexts.SecurityContext): else: # we already have a context in progress, just inspect it - ...
Don't inquire about incomplete security contexts This commit changes `SecurityContext` to handle a couple of cases where we called `_inquire` when the context was not fully established. A bug in MIT krb5 prevents this from working properly. In the case of `complete`, we simply cache the result of the last `step` cal...
pythongssapi_python-gssapi
train
853abb31af1b832ad8be99c97cd252f1df4e1bfe
diff --git a/fs.go b/fs.go index <HASH>..<HASH> 100644 --- a/fs.go +++ b/fs.go @@ -84,7 +84,7 @@ func ServeFile(ctx *RequestCtx, path string) { }) if len(path) == 0 || path[0] != '/' { // extend relative path to absolute path - hasTrailingSlash := path[len(path) - 1] == '/' + hasTrailingSlash := len(path) > 0 ...
🐞 panic in fs.go #<I> (#<I>)
valyala_fasthttp
train
1487885a175dcb9ef9d4845872b2289c886a7ea6
diff --git a/go/vt/tabletmanager/agent_rpc_actions.go b/go/vt/tabletmanager/agent_rpc_actions.go index <HASH>..<HASH> 100644 --- a/go/vt/tabletmanager/agent_rpc_actions.go +++ b/go/vt/tabletmanager/agent_rpc_actions.go @@ -6,6 +6,8 @@ package tabletmanager import ( "github.com/youtube/vitess/go/mysql/proto" + "git...
Moving a function where it belongs.
vitessio_vitess
train
2d6dfe2192923c6bc34c64d494dc5f818de44c82
diff --git a/library/tasks/helpers/publish-helper.js b/library/tasks/helpers/publish-helper.js index <HASH>..<HASH> 100644 --- a/library/tasks/helpers/publish-helper.js +++ b/library/tasks/helpers/publish-helper.js @@ -69,7 +69,7 @@ export function publishPackages(registry) { await npmPublish([packageInfo.dir]...
chore(tasks): Update author list for publish-helper
pivotal-cf_pivotal-ui
train
ab719fd8eaa9080daa628dbddf445318d0d4f41d
diff --git a/troposphere/codedeploy.py b/troposphere/codedeploy.py index <HASH>..<HASH> 100644 --- a/troposphere/codedeploy.py +++ b/troposphere/codedeploy.py @@ -91,7 +91,7 @@ class DeploymentGroup(AWSObject): 'AutoScalingGroups': ([basestring], False), 'Deployment': (Deployment, False), 'De...
change definition to list to match cloudformation
cloudtools_troposphere
train
dd8bbab5fa461763c986a9ac3509e9c6a359fef2
diff --git a/lib/down/net_http.rb b/lib/down/net_http.rb index <HASH>..<HASH> 100644 --- a/lib/down/net_http.rb +++ b/lib/down/net_http.rb @@ -257,7 +257,9 @@ module Down headers["Accept-Encoding"] = "" # Net::HTTP's inflater causes FiberErrors get = Net::HTTP::Get.new(uri.request_uri, headers) - g...
Add :http_basic_authentication to Down::NetHttp#open This option is supported in #download (by open-uri), so supporting it in `#open` as well improves consistency. Closes #<I>
janko_down
train
2387d71ebfffc39e012804d3ab7035983798f6c6
diff --git a/Gulpfile.js b/Gulpfile.js index <HASH>..<HASH> 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -56,8 +56,7 @@ gulp.task('saucelabs', ['lint', 'build'], function (done) { }, { platform: 'Windows 10', - browserName: 'firefox', - version: '46' + ...
The latest firefox version has been set in SL tests (closes #<I>)
AlexanderMoskovkin_qunit-harness
train