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
58490dc16c3ac98cfd05a23fad0724a5124ef5ff
diff --git a/lib/Persistence/Doctrine/Handler/CollectionHandler.php b/lib/Persistence/Doctrine/Handler/CollectionHandler.php index <HASH>..<HASH> 100644 --- a/lib/Persistence/Doctrine/Handler/CollectionHandler.php +++ b/lib/Persistence/Doctrine/Handler/CollectionHandler.php @@ -538,19 +538,6 @@ class CollectionHandler ...
Do not handle block_collection table when deleting the collection
netgen-layouts_layouts-core
train
php
92262ce14cc0e1a2207494376702a7d026dd56f7
diff --git a/lib/scraped_page_archive.rb b/lib/scraped_page_archive.rb index <HASH>..<HASH> 100644 --- a/lib/scraped_page_archive.rb +++ b/lib/scraped_page_archive.rb @@ -26,6 +26,7 @@ class ScrapedPageArchive "See https://github.com/everypolitician/scraped_page_archive#usage for details." return block....
Ensure storage location is set before running VCR This change fixes a bug where we were recording to the wrong directory and not capturing the results correctly. We need to configure VCR::Archive before we perform the VCR operations. This ensures that the archive is saved to the correct directory.
everypolitician_scraped_page_archive
train
rb
0dfb6898e18e7453a99f4f1d4931337a60bb0ebe
diff --git a/src/Testing/MakesGraphQLRequests.php b/src/Testing/MakesGraphQLRequests.php index <HASH>..<HASH> 100644 --- a/src/Testing/MakesGraphQLRequests.php +++ b/src/Testing/MakesGraphQLRequests.php @@ -109,7 +109,7 @@ trait MakesGraphQLRequests $path = config('lighthouse.route_name'); if ($pref...
Add in slash between test helper prefix and route
nuwave_lighthouse
train
php
b05742f7de35daf6071e75110416eae302f30e4a
diff --git a/Notification.js b/Notification.js index <HASH>..<HASH> 100644 --- a/Notification.js +++ b/Notification.js @@ -30,20 +30,26 @@ class Notification extends Component { const { closeInterval } = this.props; const { isOpen } = this.state; + // Clear any currently showing notification timeouts so ...
Fix an issue where quick notifications in succession were closed early
robcalcroft_react-native-in-app-notification
train
js
09051ef8145ae7d224d87f4bdae6983e5a1fcb51
diff --git a/src/main/java/org/dasein/cloud/google/compute/server/DiskSupport.java b/src/main/java/org/dasein/cloud/google/compute/server/DiskSupport.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dasein/cloud/google/compute/server/DiskSupport.java +++ b/src/main/java/org/dasein/cloud/google/compute/server/Di...
fix for detatch volume to cope with name_id change
dasein-cloud_dasein-cloud-google
train
java
25a7f0a15dc7d4fbe5e6aac621fd58139ded4ef0
diff --git a/spam_lists/structures.py b/spam_lists/structures.py index <HASH>..<HASH> 100644 --- a/spam_lists/structures.py +++ b/spam_lists/structures.py @@ -199,8 +199,11 @@ def create_host(factories, value): return func(value) except InvalidHostError as ex: data.append(str(ex)) - ...
Replace backslash continuation with implicit one
piotr-rusin_spam-lists
train
py
68382f2f722844094519540a25e0b64628a5e217
diff --git a/DrdPlus/Tables/Activities/JumpsAndFallsTable.php b/DrdPlus/Tables/Activities/JumpsAndFallsTable.php index <HASH>..<HASH> 100644 --- a/DrdPlus/Tables/Activities/JumpsAndFallsTable.php +++ b/DrdPlus/Tables/Activities/JumpsAndFallsTable.php @@ -149,9 +149,6 @@ class JumpsAndFallsTable extends AbstractFileTabl...
Removed invalid base of wounds limitation from wounds from fall
drdplusinfo_tables
train
php
5a9229bb0579dd2e540045156ece7a9fc0193c3d
diff --git a/lib/celluloid/actor.rb b/lib/celluloid/actor.rb index <HASH>..<HASH> 100644 --- a/lib/celluloid/actor.rb +++ b/lib/celluloid/actor.rb @@ -26,7 +26,7 @@ module Celluloid # Create a new actor and link to the current one def spawn_link(*args, &block) - current_actor = Thread.curre...
Store current Celluloid actor as Thread.current[:actor]
celluloid_celluloid
train
rb
fe92a3d348b4257bf68c9363b3be5ba8460eb49c
diff --git a/src/waveformplot.js b/src/waveformplot.js index <HASH>..<HASH> 100644 --- a/src/waveformplot.js +++ b/src/waveformplot.js @@ -700,7 +700,9 @@ export class Seismograph { if (this.doGain && this.instrumentSensitivity) { niceMinMax[0] = niceMinMax[0] / this.instrumentSensitivity.sensitivity(); ...
use set to make sure sublabel is updated
crotwell_seisplotjs-waveformplot
train
js
82c11c96f3ec712d8f07611e5cb108f0e71248e2
diff --git a/lib/memory.js b/lib/memory.js index <HASH>..<HASH> 100644 --- a/lib/memory.js +++ b/lib/memory.js @@ -66,7 +66,8 @@ MemoryStorage.prototype.load = function(key, callback) { * @param {Function} callback Function to run when data is saved. */ MemoryStorage.prototype.save = function(item, callback) { - ...
Honoring keyProperty type/storage setting.
recidive_prana
train
js
ae602294e62a8270cd0c5e2b7f3316fb0c4984ae
diff --git a/js/binance.js b/js/binance.js index <HASH>..<HASH> 100644 --- a/js/binance.js +++ b/js/binance.js @@ -1205,6 +1205,8 @@ module.exports = class binance extends Exchange { }; if ('PRICE_FILTER' in filtersByType) { const filter = this.safeValue (filtersByType, 'PRICE...
binance price precision from tickSize
ccxt_ccxt
train
js
fe02143998e012fa1515480e9df5e940818e3426
diff --git a/symfit/core/fit.py b/symfit/core/fit.py index <HASH>..<HASH> 100644 --- a/symfit/core/fit.py +++ b/symfit/core/fit.py @@ -754,7 +754,7 @@ class Constraint(Model): def __reduce__(self): return ( self.__class__, - (self.constraint_type(list(self.values())[0]), self.model...
Fixed Constraint's __reduce__ method
tBuLi_symfit
train
py
4a33aa4c5b6282e6141e0f01b0bda04562547a72
diff --git a/src/js/core/Element.js b/src/js/core/Element.js index <HASH>..<HASH> 100644 --- a/src/js/core/Element.js +++ b/src/js/core/Element.js @@ -96,24 +96,13 @@ requirejs(["rAppid"], function (rAppid) { this._preinitialize(); - this._initializeDescriptors(); - ...
changed initialize cycle because of binding problems
rappid_rAppid.js
train
js
da48c988f63cf0df0ec92a3eb02e2e2b15c17f7a
diff --git a/src/sec.js b/src/sec.js index <HASH>..<HASH> 100644 --- a/src/sec.js +++ b/src/sec.js @@ -193,17 +193,17 @@ function secp256r1() { return new X9ECParameters(curve, G, n, h); } -// TODO: make this into a proper hashtable function getSECCurveByName(name) { - if(name == "secp128r1") return secp128...
sec: use a hashtable for lookup
BitGo_bitgo-utxo-lib
train
js
0814222a2b8c86f79f7a6b4812933a930e3274cd
diff --git a/manticore/__init__.py b/manticore/__init__.py index <HASH>..<HASH> 100644 --- a/manticore/__init__.py +++ b/manticore/__init__.py @@ -1,3 +1,9 @@ +import sys + +if sys.version_info < (3, 6): + print('Manticore requires Python 3.6 or higher.') + sys.exit(-1) + from .utils import config, log from .ut...
Explicitly require Python>=<I> when using CLI (#<I>) * Require Python>=<I> We have this in setup.py python_requires but it doesn't work with old pip versions and we get reports that Manticore throws a SyntaxError (on a f-string literal :/). * Move check to __init__
trailofbits_manticore
train
py
24137f7afd2db5a3aece279797f7e77e448a4ccb
diff --git a/pykeyboard/x11.py b/pykeyboard/x11.py index <HASH>..<HASH> 100644 --- a/pykeyboard/x11.py +++ b/pykeyboard/x11.py @@ -429,7 +429,7 @@ class PyKeyboardEvent(PyKeyboardEventMeta): self.lock_meaning = 'Caps_Lock' else: self.lock_meaning = None - print('Lock is bound t...
commenting out the mention of the lock binding during PyKeyboardEvent initialization for x<I> for now
SavinaRoja_PyUserInput
train
py
091b06d6a6ff910ef537ceab01dc883bc5c06194
diff --git a/app/models/chouette/trident_active_record.rb b/app/models/chouette/trident_active_record.rb index <HASH>..<HASH> 100644 --- a/app/models/chouette/trident_active_record.rb +++ b/app/models/chouette/trident_active_record.rb @@ -54,7 +54,7 @@ class Chouette::TridentActiveRecord < Chouette::ActiveRecord ...
correct objectid_type by object_id_key
afimb_ninoxe
train
rb
d94f3d91281e77835723d9b7e6f161fa9b072802
diff --git a/src/main/java/com/couchbase/client/http/AsyncConnectionManager.java b/src/main/java/com/couchbase/client/http/AsyncConnectionManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/couchbase/client/http/AsyncConnectionManager.java +++ b/src/main/java/com/couchbase/client/http/AsyncConnectionManage...
Renaming log message to remove CouchDB reference. This changeset changes the log message to not refer to CouchDB anymore but to a Couchbase HTTP connection instead. Change-Id: Idd<I>b8c6df2c<I>c3ce<I>bf<I>c<I>ecc2c8d<I> Reviewed-on: <URL>
couchbase_couchbase-java-client
train
java
ef36b5b58efe426f797df1bd8c42003318cabdf4
diff --git a/tests/test_storage.py b/tests/test_storage.py index <HASH>..<HASH> 100755 --- a/tests/test_storage.py +++ b/tests/test_storage.py @@ -252,3 +252,25 @@ def test_path_from_hash_for_zip(bds, archive_file_path, archive_file_hash): assert bds.file_path_from_hash(archive_file_hash) == archive_file_path ...
#1: Added .test_delete_by_file() and .test_delete_by_file_zip().
Bystroushaak_BalancedDiscStorage
train
py
74d8f36e9df515e521c2f7ecb490848b63be042f
diff --git a/generator/lib/model/ForeignKey.php b/generator/lib/model/ForeignKey.php index <HASH>..<HASH> 100644 --- a/generator/lib/model/ForeignKey.php +++ b/generator/lib/model/ForeignKey.php @@ -69,7 +69,7 @@ class ForeignKey extends XMLElement /** * normalizes the input of onDelete, onUpdate attributes */ ...
[<I>] minor code adjustments
propelorm_Propel
train
php,php
de810f49cc57a4f88e4a1553d26c579253ce4531
diff --git a/datasette/utils/__init__.py b/datasette/utils/__init__.py index <HASH>..<HASH> 100644 --- a/datasette/utils/__init__.py +++ b/datasette/utils/__init__.py @@ -51,6 +51,7 @@ SPATIALITE_PATHS = ( "/usr/lib/x86_64-linux-gnu/mod_spatialite.so", "/usr/local/lib/mod_spatialite.dylib", "/usr/local/l...
Add /opt/homebrew to where spatialite extension can be found (#<I>) Helps homebrew on Apple Silicon setups find spatialite without needing a full path. Similar to #<I> Thanks, @danp
simonw_datasette
train
py
d77c8679b2169d554818cc7819d40db65907e0a5
diff --git a/public/js/chrome/navigation.js b/public/js/chrome/navigation.js index <HASH>..<HASH> 100644 --- a/public/js/chrome/navigation.js +++ b/public/js/chrome/navigation.js @@ -127,7 +127,11 @@ var fromClick = false; var $dropdownLinks = $('.dropdownmenu a').mouseup(function () { closedropdown(); if (!from...
Allow for external navigation on the drop down menu Still not <I>% perfect, we should really detect a click handler, but it's pretty solid for jsbin
jsbin_jsbin
train
js
10c6c76a4e3d1057ea05c01d50dca29b98f1bb24
diff --git a/itbit.js b/itbit.js index <HASH>..<HASH> 100644 --- a/itbit.js +++ b/itbit.js @@ -75,7 +75,7 @@ function makePrivateRequest(method, path, args, callback) { postData = JSON.stringify(args); } - else if (method === "GET") + else if (method === "GET" && !_.isEmpty(args)) { uri += "?" + qu...
Only add query string if there is something to add
naddison36_itbit
train
js
b44d2a5bc3effc07412fe9ede29d6c8e3bd203c4
diff --git a/src/main/java/com/j256/ormlite/table/BaseSchemaUtils.java b/src/main/java/com/j256/ormlite/table/BaseSchemaUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/j256/ormlite/table/BaseSchemaUtils.java +++ b/src/main/java/com/j256/ormlite/table/BaseSchemaUtils.java @@ -26,7 +26,7 @@ public abstract...
Schema output should have a semicolon at the end.
j256_ormlite-core
train
java
e033d799110245481a89a5248ae272e6a4cc7dd2
diff --git a/topydo/ui/ConsoleWidget.py b/topydo/ui/ConsoleWidget.py index <HASH>..<HASH> 100644 --- a/topydo/ui/ConsoleWidget.py +++ b/topydo/ui/ConsoleWidget.py @@ -34,6 +34,12 @@ def topydostringToMarkup(p_string): markup = [] color_positions = sorted(p_string.colors.items()) + + # in case no color po...
Fix crash in console output when colors are disabled Without any colors, TopydoString doesn't have any colors set resulting in an empty markup item. That made the urwid library trip.
bram85_topydo
train
py
66625752e6335ca7d65178013c32c44066957e72
diff --git a/commands/serve.js b/commands/serve.js index <HASH>..<HASH> 100644 --- a/commands/serve.js +++ b/commands/serve.js @@ -21,7 +21,7 @@ module.exports = function(options) { helper.hotReplacmentConfig, watchConfig, sassConfig, - helper.getJavascriptLoader(options.jsLoader) + ...
Fix missing comma in serve command
elct9620_aoi
train
js
03990022baa44a556297880611cdd8b79ccbc526
diff --git a/lib/foreman_tasks/engine.rb b/lib/foreman_tasks/engine.rb index <HASH>..<HASH> 100644 --- a/lib/foreman_tasks/engine.rb +++ b/lib/foreman_tasks/engine.rb @@ -33,9 +33,10 @@ module ForemanTasks end end - config.after_initialize do + initializer "foreman_tasks.initialize_dynflow", :after=...
Make sure the dynflow initialization happens after it being marked required
theforeman_foreman-tasks
train
rb
91e45be75d06208060c937d46f8820946211405b
diff --git a/pywb/urlrewrite/rewriteinputreq.py b/pywb/urlrewrite/rewriteinputreq.py index <HASH>..<HASH> 100644 --- a/pywb/urlrewrite/rewriteinputreq.py +++ b/pywb/urlrewrite/rewriteinputreq.py @@ -23,6 +23,9 @@ class RewriteInputRequest(DirectWSGIInputRequest): def get_full_request_uri(self): uri = se...
rewriteinputreq: ensure path is not blank, default to '/'
webrecorder_pywb
train
py
1a6c052b8b337fd23a9f0d2f2bfd6c9493c697b1
diff --git a/lib/geocoder/lookup.rb b/lib/geocoder/lookup.rb index <HASH>..<HASH> 100644 --- a/lib/geocoder/lookup.rb +++ b/lib/geocoder/lookup.rb @@ -58,15 +58,7 @@ module Geocoder # def raw_response(query, reverse = false) return nil if query.blank? - - # name parameter based on forward/reverse ...
Extract part of raw_response into query_url.
alexreisner_geocoder
train
rb
5cc14ac435669102da138cb7e73b7a883f9e96b5
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -116,6 +116,13 @@ describe('encoding int257', function() { }) }) +describe('encoding uint[2] with [1,2,3]', function() { + it('should fail', function() { + assert.throws(function() { + abi.ra...
test: add case for encoding more items than defined in the array
ethereumjs_ethereumjs-abi
train
js
f63e7b8a539f98413a96f87fd6c6d77084e698c1
diff --git a/safe/gui/widgets/test/test_dock.py b/safe/gui/widgets/test/test_dock.py index <HASH>..<HASH> 100644 --- a/safe/gui/widgets/test/test_dock.py +++ b/safe/gui/widgets/test/test_dock.py @@ -875,6 +875,8 @@ class TestDock(TestCase): wkt = wkt.replace('LINESTRING(', '').replace(')', '') # QGIS ...
[BACKPORT] Fix failing dock test on QGIS <I> (and possibly earlier versions).
inasafe_inasafe
train
py
02ca5825eb8097f10d9cc53da78481a85ad84e04
diff --git a/main_test.go b/main_test.go index <HASH>..<HASH> 100644 --- a/main_test.go +++ b/main_test.go @@ -39,7 +39,7 @@ func TestSimple(t *testing.T) { func TestEmpty(t *testing.T) { links := Parse("") if links != nil { - t.Errorf("Return value should be nil, but was %s", len(links)) + t.Errorf("Return valu...
Fixes incorrect format specifier for length of links in tests
tomnomnom_linkheader
train
go
3e33f6bc3ec7eaae2a216c29c392c17dbee5eec9
diff --git a/projects/tables.py b/projects/tables.py index <HASH>..<HASH> 100644 --- a/projects/tables.py +++ b/projects/tables.py @@ -36,6 +36,7 @@ class ConfigurationTable(PaginateTable): ], delimiter='&#160;&#160;&#160;') key = tables.LinkColumn('projects_configuration_update', kwargs={'pk': tables.A('pk...
Updated the project stage table to include the sensitive info column.
fabric-bolt_fabric-bolt
train
py
a7c5e938804cbfdb3960d54e4bf5135c5231acae
diff --git a/src/ahocorasick/ahocorasick.go b/src/ahocorasick/ahocorasick.go index <HASH>..<HASH> 100644 --- a/src/ahocorasick/ahocorasick.go +++ b/src/ahocorasick/ahocorasick.go @@ -160,6 +160,8 @@ func (m *Matcher) buildTrie(dictionary [][]byte) { } } } + + m.trie = m.trie[:m.extent] } // NewMatcher crea...
Truncate trie structure to saved unused memory The Matcher.trie is preallocated to the maximum size possible. Once the real size is known it can be truncated to save memory.
cloudflare_ahocorasick
train
go
a3ee3994711fd8627f11d223ea32f397919d2397
diff --git a/src/resolvers.js b/src/resolvers.js index <HASH>..<HASH> 100644 --- a/src/resolvers.js +++ b/src/resolvers.js @@ -281,7 +281,7 @@ export class NewInstance { */ get(container) { let dynamicDependencies = this.dynamicDependencies.length > 0 ? - this.dynamicDependencies.map(dependency => depen...
style(resolvers): change string to single quote
aurelia_dependency-injection
train
js
a6948ac01af955ff78a173060243adc86d8768ab
diff --git a/pgmpy/inference/base.py b/pgmpy/inference/base.py index <HASH>..<HASH> 100644 --- a/pgmpy/inference/base.py +++ b/pgmpy/inference/base.py @@ -8,7 +8,6 @@ from pgmpy.models import MarkovModel from pgmpy.models import FactorGraph from pgmpy.models import JunctionTree from pgmpy.models import DynamicBayesi...
removed extra exception for check_model in inference/base.py
pgmpy_pgmpy
train
py
86237a0a70641d9fb2666d82c0921a0e50f79783
diff --git a/spec/group_spec.rb b/spec/group_spec.rb index <HASH>..<HASH> 100644 --- a/spec/group_spec.rb +++ b/spec/group_spec.rb @@ -71,16 +71,16 @@ describe Xcode::Group do it "should save the group to the file" do - group = subject.groups.add_group 'TestGroup' - ...
Commented out the test that saves to file
rayh_xcoder
train
rb
ce55db3400bc860affcb8f633dcb203141fba505
diff --git a/lib/passport-google-id-token/strategy.js b/lib/passport-google-id-token/strategy.js index <HASH>..<HASH> 100644 --- a/lib/passport-google-id-token/strategy.js +++ b/lib/passport-google-id-token/strategy.js @@ -98,7 +98,8 @@ GoogleTokenStrategy.prototype.authenticate = function(req, options) { var self =...
read the token from the headers as well
jmreyes_passport-google-id-token
train
js
87222c6af6914913cb753311ac7b435c9eec75d0
diff --git a/sipprCommon/fastqCreator.py b/sipprCommon/fastqCreator.py index <HASH>..<HASH> 100755 --- a/sipprCommon/fastqCreator.py +++ b/sipprCommon/fastqCreator.py @@ -230,6 +230,8 @@ class CreateFastq(object): sample.general.outputdirectory = outputdir sample.general.bestassemblyfile = Tru...
Added sample-specific logfiles to fastq creation script
lowandrew_OLCTools
train
py
4fc19b1143080aed86c64f254748d18ddf0c090a
diff --git a/src/javascripts/ng-admin/Crud/list/ListLayoutController.js b/src/javascripts/ng-admin/Crud/list/ListLayoutController.js index <HASH>..<HASH> 100644 --- a/src/javascripts/ng-admin/Crud/list/ListLayoutController.js +++ b/src/javascripts/ng-admin/Crud/list/ListLayoutController.js @@ -27,7 +27,6 @@ export defa...
[RFR] Fix filter which was overwriting url after a change Because of this, depending of how fast user was typing its search filter, some of its characters were overriden with the previous search.
marmelab_ng-admin
train
js
21974e46f229480f283119262c719af4003a4335
diff --git a/pullv/util.py b/pullv/util.py index <HASH>..<HASH> 100644 --- a/pullv/util.py +++ b/pullv/util.py @@ -16,7 +16,7 @@ import sys import errno import logging import fnmatch -from . import exc +from .exc import PullvException PY2 = sys.version_info[0] == 2 @@ -129,7 +129,7 @@ def run( try: ...
pullv: try to fix circular dep
vcs-python_vcspull
train
py
0a0d2e82c79c1fab1c11141397ad455d1b7def4c
diff --git a/packages/gluegun-core/src/utils/filesystem-utils.js b/packages/gluegun-core/src/utils/filesystem-utils.js index <HASH>..<HASH> 100644 --- a/packages/gluegun-core/src/utils/filesystem-utils.js +++ b/packages/gluegun-core/src/utils/filesystem-utils.js @@ -54,7 +54,7 @@ const subdirectories = (base, isRelativ...
Fixes subdirectories missing a /.
infinitered_gluegun
train
js
f50493a8dc3e57d9aff07462c1d8c1225dffeda3
diff --git a/spec/unit/type/file/source_spec.rb b/spec/unit/type/file/source_spec.rb index <HASH>..<HASH> 100755 --- a/spec/unit/type/file/source_spec.rb +++ b/spec/unit/type/file/source_spec.rb @@ -158,7 +158,7 @@ describe Puppet::Type.type(:file).attrclass(:source) do @resource = Puppet::Type.type(:file).new :...
(#<I>) Convert the mode to a string for consistency. In commit 3e<I> file modes were converted from an integer to an octal string, but missed this one location. For those of us who don't convert octal to decimal immediately, this was confusing. This patch uses strings for mode consistently, at least within this file...
puppetlabs_puppet
train
rb
04fbe768ab89e7f5ad3d0487028cf44553091191
diff --git a/lib/geokit/net_adapter/net_http.rb b/lib/geokit/net_adapter/net_http.rb index <HASH>..<HASH> 100644 --- a/lib/geokit/net_adapter/net_http.rb +++ b/lib/geokit/net_adapter/net_http.rb @@ -3,7 +3,7 @@ module Geokit class NetHttp def self.do_get(url) uri = URI.parse(url) - req = Net...
Get.new(url) or Get.new(uri) In some envs creating a Get with url the response is not <I>, using uri it doesn’t happen.
geokit_geokit
train
rb
182cd350ac04a637fd4dc5a81c8aa3b1729c55d9
diff --git a/bids/modeling/statsmodels.py b/bids/modeling/statsmodels.py index <HASH>..<HASH> 100644 --- a/bids/modeling/statsmodels.py +++ b/bids/modeling/statsmodels.py @@ -288,6 +288,12 @@ class BIDSStatsModelsNode: group_by.append(self.level) self.group_by = group_by + # Check for...
add error message as my flight starts to board
bids-standard_pybids
train
py
46e42ed88438d47cd420178287b7a67a573a1635
diff --git a/plugins/commands/snapshot/command/pop.rb b/plugins/commands/snapshot/command/pop.rb index <HASH>..<HASH> 100644 --- a/plugins/commands/snapshot/command/pop.rb +++ b/plugins/commands/snapshot/command/pop.rb @@ -23,8 +23,10 @@ module VagrantPlugins opts = OptionParser.new do |o| o.ban...
Move up doc string for `vagrant snapshot pop` This commit moves up the doc string for the command `vagrant snapshot pop` Prior to this commit it was hidden in between command line flags.
hashicorp_vagrant
train
rb
1066f7501aa15abf3f0bcd6ce7f5c75ed0441c81
diff --git a/lib/specinfra/version.rb b/lib/specinfra/version.rb index <HASH>..<HASH> 100644 --- a/lib/specinfra/version.rb +++ b/lib/specinfra/version.rb @@ -1,3 +1,3 @@ module Specinfra - VERSION = "2.31.0" + VERSION = "2.31.1" end
Bump up version [skip ci]
mizzy_specinfra
train
rb
14b3bb5d0cd975affa1405dba86e2e45fa0de411
diff --git a/pyghmi/ipmi/private/util.py b/pyghmi/ipmi/private/util.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/private/util.py +++ b/pyghmi/ipmi/private/util.py @@ -28,7 +28,7 @@ def decode_wireformat_uuid(rawguid): rawguid = bytearray(rawguid) lebytes = struct.unpack_from('<IHH', buffer(rawguid[:8]...
Fix UUID padding problem Correct the format width since it is the width of the characters vs bytes. Change-Id: Ie<I>ebeba<I>e<I>d<I>ea<I>f6db2f<I>
openstack_pyghmi
train
py
7e3c3017ea90a938d44d30dd83fd9f2b1b816dc0
diff --git a/src/java/com/bungleton/yarrgs/Yarrgs.java b/src/java/com/bungleton/yarrgs/Yarrgs.java index <HASH>..<HASH> 100644 --- a/src/java/com/bungleton/yarrgs/Yarrgs.java +++ b/src/java/com/bungleton/yarrgs/Yarrgs.java @@ -11,7 +11,7 @@ public class Yarrgs } catch (YarrgParseException e) { Sys...
Throw an exception when we hit an impossible condition rather than returning null
groves_yarrgs
train
java
4aff5658b765242d6900d68ed55c0903a93119f7
diff --git a/lib/lwm2m-common.js b/lib/lwm2m-common.js index <HASH>..<HASH> 100644 --- a/lib/lwm2m-common.js +++ b/lib/lwm2m-common.js @@ -1270,14 +1270,16 @@ export class LwM2MObjectStore { return uri; } }).filter(uri => uri); - keysToRemove.forEach((uri) => { - if (this.updatedU...
Return <I> error when there's no entry to remove
CANDY-LINE_node-red-contrib-lwm2m
train
js
1d49d8b5106255bb84dd691f96b16892800380e5
diff --git a/lib/feedback.js b/lib/feedback.js index <HASH>..<HASH> 100644 --- a/lib/feedback.js +++ b/lib/feedback.js @@ -74,10 +74,7 @@ function Feedback(options) { this.on('error', this.options.errorCallback); } - if (typeof this.options.feedback != 'function') { - throw new Error(-1, 'A callback function mu...
Feedback function is not necessary any more. The <I> crashes if feedback function is not defiend, even though the comments suggest it should not be used.
node-apn_node-apn
train
js
29ead65356cf7d45a66ed52b3344ff3f3403ebd3
diff --git a/app/routes/list-form-page.js b/app/routes/list-form-page.js index <HASH>..<HASH> 100644 --- a/app/routes/list-form-page.js +++ b/app/routes/list-form-page.js @@ -12,6 +12,10 @@ export default ProjectedModelRoute.extend(PaginatedRouteMixin, SortableRouteMixi */ rowClick: function(record) { ...
Fix actions dublicate after merging
Flexberry_ember-flexberry
train
js
bcdcd1f0b3a67be2617d9eb49edc7733883e13a7
diff --git a/composite_barrier.go b/composite_barrier.go index <HASH>..<HASH> 100644 --- a/composite_barrier.go +++ b/composite_barrier.go @@ -1,23 +1,26 @@ package disruptor -// performance TODO: type CompositeBarrier []*Cursor -type CompositeBarrier struct { - cursors []*Cursor -} +type CompositeBarrier []*Cursor ...
Composite is a touch faster when it's an alias for an array of Cursor pointers.
smartystreets_go-disruptor
train
go
cbca63ba3f3d37aa95b18ee61a75dfd8811ae607
diff --git a/pydriller/domain/commit.py b/pydriller/domain/commit.py index <HASH>..<HASH> 100644 --- a/pydriller/domain/commit.py +++ b/pydriller/domain/commit.py @@ -574,7 +574,7 @@ class Commit: @property def lines(self) -> int: """ - Return the deletion lines of the commit. + Return ...
Update commit.py fix comments error by copy-paste
ishepard_pydriller
train
py
2ccc267d302768a2378081c955a87d35f1203a41
diff --git a/bw-util-xml/src/main/java/org/bedework/util/xml/tagdefs/IscheduleTags.java b/bw-util-xml/src/main/java/org/bedework/util/xml/tagdefs/IscheduleTags.java index <HASH>..<HASH> 100644 --- a/bw-util-xml/src/main/java/org/bedework/util/xml/tagdefs/IscheduleTags.java +++ b/bw-util-xml/src/main/java/org/bedework/u...
Changes to iSchedule after interop testing
Bedework_bw-util
train
java
1417b97c496b71c240c2b0bc1547cc6ae67e4671
diff --git a/pyinfra/api/connectors/ansible.py b/pyinfra/api/connectors/ansible.py index <HASH>..<HASH> 100644 --- a/pyinfra/api/connectors/ansible.py +++ b/pyinfra/api/connectors/ansible.py @@ -1,11 +1,11 @@ import re import json -import yaml from collections import defaultdict from configparser import ConfigPar...
fixed flake8 I<I>, "import yaml" in wrong order
Fizzadar_pyinfra
train
py
ac2344f2cbca52d877e5e2fb3617b7b6e3e25ad0
diff --git a/tests/integration/modules/pip.py b/tests/integration/modules/pip.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/pip.py +++ b/tests/integration/modules/pip.py @@ -11,6 +11,12 @@ class PipModuleTest(integration.ModuleCase): ''' Validate the pip module ''' + def setUp(self): ...
Skip pip test if pip is not installed
saltstack_salt
train
py
39d7ea31c3c51958ee9b0fc05fa4b057a6bc532a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,6 @@ setup( Extension("asyncpg.protocol.protocol", ["asyncpg/protocol/record/recordobj.c", "asyncpg/protocol/protocol.c"], - extra_compile_args=['-O3']...
Switch optimization back to -O2
MagicStack_asyncpg
train
py
f1edc45f7518ab976b5ab3e26775f8c17707be66
diff --git a/service/dap/server_test.go b/service/dap/server_test.go index <HASH>..<HASH> 100644 --- a/service/dap/server_test.go +++ b/service/dap/server_test.go @@ -3689,6 +3689,10 @@ func TestPanicBreakpointOnNext(t *testing.T) { } func TestFatalThrowBreakpoint(t *testing.T) { + // This is not currently flaky fo...
service/dap: disable TestFatalThrowBreakpoint for Go <I> (#<I>) * service/dap: disable TestFatalThrowBreakpoint for Go <I>
go-delve_delve
train
go
7cba8aa696d01d6c9e7e35b894938375c2519de4
diff --git a/docs/lib/tags/usage.js b/docs/lib/tags/usage.js index <HASH>..<HASH> 100644 --- a/docs/lib/tags/usage.js +++ b/docs/lib/tags/usage.js @@ -15,11 +15,14 @@ module.exports = function usageOptions (hexo, args) { /* eslint-disable quotes */ const url = `{% url 'waiting for actionability' interacting-w...
docs: in page hash ref for timeout usage option
cypress-io_cypress
train
js
fa470bb1134ceb266b2f2f53b0941ee793f54651
diff --git a/lib/MongoMinify/Cursor.php b/lib/MongoMinify/Cursor.php index <HASH>..<HASH> 100644 --- a/lib/MongoMinify/Cursor.php +++ b/lib/MongoMinify/Cursor.php @@ -64,9 +64,9 @@ class Cursor implements \Iterator /** * Counting results */ - public function count() + public function count($found...
Added found only to cursor counts
marcqualie_mongominify
train
php
73e24e83426f00bc5e8dd05877f94a3f2a63d5d0
diff --git a/hamlpy/test/hamlpy_test.py b/hamlpy/test/hamlpy_test.py index <HASH>..<HASH> 100755 --- a/hamlpy/test/hamlpy_test.py +++ b/hamlpy/test/hamlpy_test.py @@ -204,7 +204,13 @@ class HamlPyTest(unittest.TestCase): result = hamlParser.process(haml) eq_(html, result) - - + def test_pygm...
Added test for the highlight tag.
jessemiller_HamlPy
train
py
c2eaf6fe3fae6ff50d11f5a11c8483a3a1fe318a
diff --git a/test/get.test.js b/test/get.test.js index <HASH>..<HASH> 100644 --- a/test/get.test.js +++ b/test/get.test.js @@ -2,7 +2,7 @@ const Joi = require('joi') const Envie = require('../') const { expect } = require('chai') -describe('new Envie({descriptions...})', () => { +describe('new Envie({descriptions.....
Rename test suite for use with schema and values
Floby_node-envie
train
js
3e741be99e9b5267a80b82cdf1473a96c9ae4a43
diff --git a/hazelcast/src/main/java/com/hazelcast/impl/concurrentmap/MapSystemLogFactory.java b/hazelcast/src/main/java/com/hazelcast/impl/concurrentmap/MapSystemLogFactory.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/impl/concurrentmap/MapSystemLogFactory.java +++ b/hazelcast/src/main/...
Fix NPE when request has no key (see issue #<I> comment 2).
hazelcast_hazelcast
train
java
27e8dc4d8542592624f11fe2d1faf3f6b55be110
diff --git a/code/pages/ExtensibleSearchPage.php b/code/pages/ExtensibleSearchPage.php index <HASH>..<HASH> 100644 --- a/code/pages/ExtensibleSearchPage.php +++ b/code/pages/ExtensibleSearchPage.php @@ -245,13 +245,8 @@ class ExtensibleSearchPage extends Page { // Update the display columns. - $summaryDisplay...
FIX, cleaning up the duplicate history summary fields.
nglasl_silverstripe-extensible-search
train
php
abe82063e22db6f19da5246716bbed4cc1a5ceda
diff --git a/src/Charcoal/Translator/TranslatorConfig.php b/src/Charcoal/Translator/TranslatorConfig.php index <HASH>..<HASH> 100644 --- a/src/Charcoal/Translator/TranslatorConfig.php +++ b/src/Charcoal/Translator/TranslatorConfig.php @@ -116,6 +116,24 @@ class TranslatorConfig extends AbstractConfig } /** ...
Improve TranslatorConfig by adding a `addPaths` public method
locomotivemtl_charcoal-translator
train
php
3b3192d0510dfa17a404f51979ddfcaa8639baf6
diff --git a/lib/Ogone/PaymentResponse.php b/lib/Ogone/PaymentResponse.php index <HASH>..<HASH> 100644 --- a/lib/Ogone/PaymentResponse.php +++ b/lib/Ogone/PaymentResponse.php @@ -43,7 +43,6 @@ class PaymentResponse // filter request for Ogone parameters $this->parameters = $this->filterRequestParameters($httpRe...
fixed issues where Response became invalid because we convert amount to cents
marlon-be_marlon-ogone
train
php
6712a55ca686490538b4110bda0ac4dd0c2ddb11
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 = "2.2.2" + VERSION = "2.3.0" end
Bump genealogy to <I>
masciugo_genealogy
train
rb
d61880df94976e8443110c8a45a22b1826027b7e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ with open('requirements.txt', 'r') as f: setuptools.setup( name="etk", - version="2.1.6", + version="2.1.7", author="Amandeep Singh", author_email="amandeep.s.saggu@gmail.com", descr...
update version for pypi
usc-isi-i2_etk
train
py
5aad57194189bd7bc83f7b6c478f4002087f388f
diff --git a/benchmarks/server.js b/benchmarks/server.js index <HASH>..<HASH> 100644 --- a/benchmarks/server.js +++ b/benchmarks/server.js @@ -23,9 +23,10 @@ if (cluster.isPrimary) { cluster.fork() } } else { + const buf = Buffer.alloc(64 * 1024, '_') const server = createServer((req, res) => { setTim...
perf: use bigger HWM by default (#<I>) * perf: use bigger HWM by default * fixup
mcollina_undici
train
js,js
c393b6d165db863a4dbfa6a25d95183ccd77b169
diff --git a/python/ray/worker.py b/python/ray/worker.py index <HASH>..<HASH> 100644 --- a/python/ray/worker.py +++ b/python/ray/worker.py @@ -435,10 +435,6 @@ def get_gpu_ids(): """ # TODO(ilr) Handle inserting resources in local mode - if _mode() == LOCAL_MODE: - logger.info("ray.get_gpu_ids() c...
Remove logging (#<I>)
ray-project_ray
train
py
7f50763c6e14ee252875d68cece373e0a779b7b6
diff --git a/lib/overwrite.rb b/lib/overwrite.rb index <HASH>..<HASH> 100644 --- a/lib/overwrite.rb +++ b/lib/overwrite.rb @@ -101,18 +101,23 @@ module URI parsed_uri = URI.parse(uri + (subjectid ? "?subjectid=#{CGI.escape subjectid}" : "")) http_code = URI.task?(uri) ? 600 : 400 http = Net::HTTP.new(par...
redo merge deletes;typo
opentox_lazar
train
rb
d300474c0248a3195436e572052b2c0dc38cf962
diff --git a/android/lib/src/main/java/com/swmansion/gesturehandler/GestureHandler.java b/android/lib/src/main/java/com/swmansion/gesturehandler/GestureHandler.java index <HASH>..<HASH> 100644 --- a/android/lib/src/main/java/com/swmansion/gesturehandler/GestureHandler.java +++ b/android/lib/src/main/java/com/swmansion/...
Increase MAX_POINTERS_COUNT to <I> (#<I>) ## Description Fixes #<I>. Apparently there are devices supporting multitouch up to <I> pointers. ## Test plan Didn't, I only have ten fingers :<
kmagiera_react-native-gesture-handler
train
java
c75523f432fe572e88d3305ed09776b377e3d490
diff --git a/lib/OpenLayers/Format/GML/Base.js b/lib/OpenLayers/Format/GML/Base.js index <HASH>..<HASH> 100644 --- a/lib/OpenLayers/Format/GML/Base.js +++ b/lib/OpenLayers/Format/GML/Base.js @@ -227,7 +227,7 @@ OpenLayers.Format.GML.Base = OpenLayers.Class(OpenLayers.Format.XML, { this.featureNS = node.nam...
calling the method on the superclass only with the advertised arguments. Thanks bartvde for catching this (see #<I>) git-svn-id: <URL>
openlayers_openlayers
train
js
392e1319d10f45695899bc03d4d0dd00e57cd0d8
diff --git a/scripts/factory-hooks/post-settings-php/memcache.php b/scripts/factory-hooks/post-settings-php/memcache.php index <HASH>..<HASH> 100644 --- a/scripts/factory-hooks/post-settings-php/memcache.php +++ b/scripts/factory-hooks/post-settings-php/memcache.php @@ -2,7 +2,7 @@ /** * @file - * Example implemen...
Fixes #<I> to update docs for factory hook. (#<I>)
acquia_blt
train
php
a47e1f4fea981dc0d3766a7b332d793ad4b86891
diff --git a/lib/chouette-ninoxe/railtie.rb b/lib/chouette-ninoxe/railtie.rb index <HASH>..<HASH> 100644 --- a/lib/chouette-ninoxe/railtie.rb +++ b/lib/chouette-ninoxe/railtie.rb @@ -6,6 +6,9 @@ module Chouette #:nodoc: initializer "initialize connection to Chouette" do config.after_initialize do C...
Raise exception when Chouette connexion is not established. Refs #<I>
afimb_ninoxe
train
rb
e340641c87b6a1a667080a69910fd1055ce4e323
diff --git a/version/version.go b/version/version.go index <HASH>..<HASH> 100644 --- a/version/version.go +++ b/version/version.go @@ -20,7 +20,7 @@ import ( // The presence and format of this constant is very important. // The debian/rules build recipe uses this value for the version // number of the release packag...
version: set development version to <I>
juju_juju
train
go
3b809b0249a73a78983624f50be4e87a01dd0290
diff --git a/airtest/core/ios/ios.py b/airtest/core/ios/ios.py index <HASH>..<HASH> 100644 --- a/airtest/core/ios/ios.py +++ b/airtest/core/ios/ios.py @@ -94,11 +94,8 @@ class IOS(Device): @property def session(self): - try: - if not self.defaultSession: - self.defaultSessio...
删除iOS.session的try expect (cherry picked from commit <I>deebd<I>d9c5d7de<I>d<I>f4af<I>a2f<I>c)
AirtestProject_Airtest
train
py
76a01aea07222b1bb2759946a4f2e3dccd580539
diff --git a/src/Controller/InstallerController.php b/src/Controller/InstallerController.php index <HASH>..<HASH> 100755 --- a/src/Controller/InstallerController.php +++ b/src/Controller/InstallerController.php @@ -1172,7 +1172,10 @@ class InstallerController extends AbstractActionController */ public functi...
added 'none' to default site seletion
melisplatform_melis-installer
train
php
0b30d4724258b414a91b3f7976625460b3bcddb8
diff --git a/allegedb/allegedb/cache.py b/allegedb/allegedb/cache.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/cache.py +++ b/allegedb/allegedb/cache.py @@ -855,10 +855,8 @@ class EdgesCache(Cache): graph, orig = parent oc = self._update_origcache(graph, dest, branch, turn, tick, orig, ex) ...
Turn assertions into ValueError
LogicalDash_LiSE
train
py
001218edb101c213a96add0bf3cd18ee40056ee1
diff --git a/lib/worker.js b/lib/worker.js index <HASH>..<HASH> 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -192,7 +192,11 @@ worker.prototype.perform = function(job, callback) { // To help with this, we can stry to make the inputs to the job immutible // https://github.com/taskrabbit/no...
be more safer when trying to freeze objects
taskrabbit_node-resque
train
js,js
2be13633e3adc59233265d1080c1d9f319511a28
diff --git a/playem-soundcloud.js b/playem-soundcloud.js index <HASH>..<HASH> 100644 --- a/playem-soundcloud.js +++ b/playem-soundcloud.js @@ -83,7 +83,7 @@ function SoundCloudPlayer(){ } function unwrapUrl(url){ - return /(soundcloud\.com)\/player\/?\?.*url\=([^\&\?]+)/.test(url) ? decodeURIComponent(RegExp.las...
added detection of /sc/* eId/urls
adrienjoly_playemjs
train
js
fbcefdf523b2db8daa9de90d54def0cbb47e2617
diff --git a/spec/parser.spec.js b/spec/parser.spec.js index <HASH>..<HASH> 100644 --- a/spec/parser.spec.js +++ b/spec/parser.spec.js @@ -188,7 +188,7 @@ describe("PEG.js grammar parser", function() { var grammar = oneRuleGrammar(literalAbcd, { type: "initializer", code: " code " - },...
Fix |oneRuleGrammar| invocation At one call site, the |oneRuleGrammar| was called with 3 parameters but it only accepts 2. This commit removes the additional parameter.
pegjs_pegjs
train
js
d0f4f5352b84de94463e1959481ec3013cb3c35f
diff --git a/analyzers/Yeti/yeti.py b/analyzers/Yeti/yeti.py index <HASH>..<HASH> 100755 --- a/analyzers/Yeti/yeti.py +++ b/analyzers/Yeti/yeti.py @@ -9,6 +9,7 @@ class YetiAnalyzer(Analyzer): def __init__(self): Analyzer.__init__(self) self.url = self.get_param('config.url', None, 'Missing URL f...
Possibility to use a Yeti apikey. Optionally, we can provide a yeti apy_key. If so, we wolud need to modify the Yeti.json accordingly
TheHive-Project_Cortex-Analyzers
train
py
1b1a1af19373a30a8b07f0b6eebe0217566d8ff8
diff --git a/spacy/cli/train.py b/spacy/cli/train.py index <HASH>..<HASH> 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -191,7 +191,7 @@ def train( row_head = ("Itn", "Dep Loss", "NER Loss", "UAS", "NER P", "NER R", "NER F", "Tag %", "Token %", "CPU WPS", "GPU WPS") row_settings = { "wi...
Fix printing in spacy train
explosion_spaCy
train
py
57c02b49158cd26a04de2690860c5d438f68fb8d
diff --git a/lib/array.js b/lib/array.js index <HASH>..<HASH> 100644 --- a/lib/array.js +++ b/lib/array.js @@ -202,6 +202,50 @@ module.exports = function BlastArray(Blast, Collection) { }, true); /** + * Move an array element from one array position to another + * + * @author Jelle De Loecker <jelle@codedo...
feat: add Array#move, moving elements from one index to another
skerit_protoblast
train
js
571b42049353306801ad861bee6dd8cd0edf63bc
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ try: import multiprocessing except ImportError: pass +from re import sub from setuptools import setup, find_packages @@ -13,8 +14,9 @@ setup( version='3.1.0', description='More routines f...
Add a quick-and-dirty regex to remove Sphinx calls that the sdist builder doesn't understand. Fix #<I>. This unbreaks the readme's RST for PyPI.
erikrose_more-itertools
train
py
dc9c529ae5eeaa0ef79f314748fc4369c2bc9316
diff --git a/lib/project/ruby_motion_query/ext.rb b/lib/project/ruby_motion_query/ext.rb index <HASH>..<HASH> 100644 --- a/lib/project/ruby_motion_query/ext.rb +++ b/lib/project/ruby_motion_query/ext.rb @@ -65,6 +65,10 @@ class UIView rmq(self).on(event, args, &block) end + def off(*events) + rmq(self).of...
Adds `off` to UIView
infinitered_redpotion
train
rb,rb
d6478d2217c876b917f82ce822fa9068534ae62a
diff --git a/lib/remove/__tests__/remove.test.js b/lib/remove/__tests__/remove.test.js index <HASH>..<HASH> 100644 --- a/lib/remove/__tests__/remove.test.js +++ b/lib/remove/__tests__/remove.test.js @@ -70,11 +70,12 @@ describe('remove', () => { fs.writeFileSync(file, 'hello') assert(fs.existsSync(file)...
fix flaky test in remove.test.js (#<I>)
jprichardson_node-fs-extra
train
js
e86c1fccab5241749a740dcfde3b77014718a266
diff --git a/chef-solr/lib/chef/solr.rb b/chef-solr/lib/chef/solr.rb index <HASH>..<HASH> 100644 --- a/chef-solr/lib/chef/solr.rb +++ b/chef-solr/lib/chef/solr.rb @@ -115,7 +115,7 @@ class Chef end def rebuild_index(url=Chef::Config[:couchdb_url], db=Chef::Config[:couchdb_database]) - solr_delete_by_qu...
always trust explicitly set metadata when indexing brand new objects may have a couchdb_id of nil, so it's not <I>% reliable. use explicit metadata in this case.
chef_chef
train
rb,rb
9a128a97b50bf7dc21ec41358b50cffe2dc5470b
diff --git a/state/multienv.go b/state/multienv.go index <HASH>..<HASH> 100644 --- a/state/multienv.go +++ b/state/multienv.go @@ -103,11 +103,26 @@ func mungeIDSubQueryForMultiEnv(doc interface{}, envUUID string) (bson.D, error) for i, elem := range bDoc { switch elem.Name { case "$in": - ids, ok := elem.Val...
Also support []interface{} in mungeIDSubQueryForMultiEnv.
juju_juju
train
go
333d1169a865a4e69a0287fc375c51a2ba653e21
diff --git a/orderer/common/server/sched_test.go b/orderer/common/server/sched_test.go index <HASH>..<HASH> 100644 --- a/orderer/common/server/sched_test.go +++ b/orderer/common/server/sched_test.go @@ -11,6 +11,7 @@ import ( "testing" "time" + "github.com/onsi/gomega" "github.com/stretchr/testify/assert" ) ...
[FAB-<I>] Fix TestTicker flake TestTicker/Stop ticker serially (very) rarely fails due to scheduling (the goroutine starts emitting a tick right before the channel is closed, and therefore the test reads a value from the channel despite it being closed). Fixed it by using gomega.Eventually. Change-Id: I<I>d<I>fa8d4d...
hyperledger_fabric
train
go
7bb87a72258d05255020b1ac40193256976a8c77
diff --git a/src/js/amount.js b/src/js/amount.js index <HASH>..<HASH> 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -554,10 +554,9 @@ Amount.prototype.add = function (v) { result._offset = o1; result._value = v1.add(v2); result._is_negative = result._value.compareTo(BigInteger.ZERO) ...
Fix logic error in Amount.add which caused results to always be positive.
ChainSQL_chainsql-lib
train
js
7c0456ea3b0321bcf789a3b4deab2d1e7d0838d1
diff --git a/spec/adapter/ms_uia/select_list_spec.rb b/spec/adapter/ms_uia/select_list_spec.rb index <HASH>..<HASH> 100644 --- a/spec/adapter/ms_uia/select_list_spec.rb +++ b/spec/adapter/ms_uia/select_list_spec.rb @@ -81,7 +81,7 @@ describe "MsUia::SelectList", :if => SpecHelper.adapter == :ms_uia do select_list....
favor wait_until rather than sleep in select_list_spec
jarmo_RAutomation
train
rb
3920fc0c2fc9f1a4182d24f5eb08c836dd8bb25a
diff --git a/src/streamlink/plugins/pluzz.py b/src/streamlink/plugins/pluzz.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/pluzz.py +++ b/src/streamlink/plugins/pluzz.py @@ -36,7 +36,10 @@ class Pluzz(Plugin): _api_schema = validate.Schema({ 'videos': validate.all( [{ - ...
Don't return an error when the stream is offline
streamlink_streamlink
train
py
c6dbad016cdeefcac31639ebb65126d9db5d87b5
diff --git a/csvpandas/__init__.py b/csvpandas/__init__.py index <HASH>..<HASH> 100644 --- a/csvpandas/__init__.py +++ b/csvpandas/__init__.py @@ -31,8 +31,6 @@ log = logging.getLogger(__name__) _data = os.path.join(os.path.dirname(__file__), 'data') -__version__ = utils.version() - def main(argv=sys.argv[1:]):...
do versioning after logging has been setup
crosenth_csvpandas
train
py
e6e759e21f82a3e68744bbd5b7d94dbd22429afe
diff --git a/resolwe/flow/managers/listener.py b/resolwe/flow/managers/listener.py index <HASH>..<HASH> 100644 --- a/resolwe/flow/managers/listener.py +++ b/resolwe/flow/managers/listener.py @@ -567,20 +567,20 @@ class ExecutorListener: return self.last_load_log = time.time() ...
Put listener statistics under extra argument in logs
genialis_resolwe
train
py
6799e0ffe3c6ed882bb8e300b5c536e0a68d3c24
diff --git a/mpop/resample.py b/mpop/resample.py index <HASH>..<HASH> 100644 --- a/mpop/resample.py +++ b/mpop/resample.py @@ -195,6 +195,9 @@ class KDTreeResampler(BaseResampler): lons = np.ma.masked_array(self.source_geo_def.lons.data, new_mask) lats = np.ma.masked_array(self.source_geo_def....
Fix bug when nearest neighbor source geo definition needs to be copied
pytroll_satpy
train
py
3ee685a6296ed008f678f3195b4cc5aafde3cc96
diff --git a/src/Model/Activities/HasActivitiesInterface.php b/src/Model/Activities/HasActivitiesInterface.php index <HASH>..<HASH> 100644 --- a/src/Model/Activities/HasActivitiesInterface.php +++ b/src/Model/Activities/HasActivitiesInterface.php @@ -31,7 +31,7 @@ interface HasActivitiesInterface { * @param int|n...
Add a constant for the "cancelled" activity state
platformsh_platformsh-client-php
train
php,php
c9bae487f8d65f13a545bc03c12cb60952d10936
diff --git a/pyflakes/test/test_other.py b/pyflakes/test/test_other.py index <HASH>..<HASH> 100644 --- a/pyflakes/test/test_other.py +++ b/pyflakes/test/test_other.py @@ -534,6 +534,18 @@ class TestUnusedAssignment(TestCase): b = 2 ''', m.UnusedVariable) + def test_variableUsedInLoop(self): +...
Test that used variable in loop is considered used
PyCQA_pyflakes
train
py