hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
e966c87d9bd4d6a155428518d27a1202068b0823
diff --git a/jodd-core/src/test/java/jodd/io/FileNameUtilTest.java b/jodd-core/src/test/java/jodd/io/FileNameUtilTest.java index <HASH>..<HASH> 100644 --- a/jodd-core/src/test/java/jodd/io/FileNameUtilTest.java +++ b/jodd-core/src/test/java/jodd/io/FileNameUtilTest.java @@ -25,20 +25,23 @@ package jodd.io; -import...
fix broken test for method "split"
oblac_jodd
train
0d6cca30cc58b28b81304e5911ce68772061d532
diff --git a/shims/pom.xml b/shims/pom.xml index <HASH>..<HASH> 100644 --- a/shims/pom.xml +++ b/shims/pom.xml @@ -14,6 +14,7 @@ <checkstyle.configLocation>${project.parent.basedir}/roaringbitmap/style/roaring_google_checks.xml</checkstyle.configLocation> <java11.sourceDirectory>${project.basedir}/src...
Shims javadoc (#<I>) * add javdoc for ArraysShim methods * skip javadoc plugin in shims since the classes are not public
RoaringBitmap_RoaringBitmap
train
9768ff8b8b66412a38f0b4b3207a3c9b9504c378
diff --git a/Tests/Driver/Bridge/BridgeTestCase.php b/Tests/Driver/Bridge/BridgeTestCase.php index <HASH>..<HASH> 100644 --- a/Tests/Driver/Bridge/BridgeTestCase.php +++ b/Tests/Driver/Bridge/BridgeTestCase.php @@ -142,7 +142,6 @@ abstract class BridgeTestCase extends \PHPUnit_Framework_TestCase */ public fu...
Waow. Much generic. Such user friendly
thelia-modules_IndexEngine
train
9a1d853ec25885abc2b1aef93ac2da7d20144fbd
diff --git a/src/wiotp/sdk/api/dsc/forwarding.py b/src/wiotp/sdk/api/dsc/forwarding.py index <HASH>..<HASH> 100644 --- a/src/wiotp/sdk/api/dsc/forwarding.py +++ b/src/wiotp/sdk/api/dsc/forwarding.py @@ -29,6 +29,10 @@ class ForwardingRule(defaultdict): return self["name"] @property + def description(...
Add test coverage (#<I>) * Add covergw for gateway messages #<I> * add test coverage to application messages #<I> * add coverage to device info #<I> * add test coverage to device commands #<I> * additional exception * Update test_device.py * Add test coverage #<I>
ibm-watson-iot_iot-python
train
31772ee80d491e725b13e61848ef0e3ca05b1070
diff --git a/src/AnonyControllerYahooWeather.php b/src/AnonyControllerYahooWeather.php index <HASH>..<HASH> 100644 --- a/src/AnonyControllerYahooWeather.php +++ b/src/AnonyControllerYahooWeather.php @@ -67,6 +67,16 @@ class AnonyControllerYahooWeather extends Controller{ return ['high'=>$high,'low'=>$low,'ima...
Added raw_query function to allow for raw queries
arabnewscms_yahooweather
train
70d9ba6d0935f9397a76627e18f924bc2571ed6d
diff --git a/lib/postal/smtp_server/client.rb b/lib/postal/smtp_server/client.rb index <HASH>..<HASH> 100644 --- a/lib/postal/smtp_server/client.rb +++ b/lib/postal/smtp_server/client.rb @@ -196,6 +196,7 @@ module Postal @credential.use "235 Granted for #{@credential.server.organization.permalink}...
Add log line for failed authentication attempts Resolves #<I>
atech_postal
train
29603801b0be1068a23134819cd02701484fec44
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ **Fixed**: +- **decidim-proposals** Public view of Participatory Text is now preserving new lines. [\#4782](https://github.com/decidim/decidim/pull/4782) - **decidim-assemblies**: Fix assem...
[FIX] Use `simple_format` when rendering Participatory Text. (#<I>) * [FIX] Use `simple_format` when rendering Participatory Text. * Add changelog entry. * [REFACTOR] Add decidim_sanitize when rendering proposals in participatory text public view. * add spec for proposal body * [FIX] Strip links in Partici...
decidim_decidim
train
6e6a28a9f0af5878266218ed4a4aa2b0a749e136
diff --git a/lib/Predis/Client.php b/lib/Predis/Client.php index <HASH>..<HASH> 100644 --- a/lib/Predis/Client.php +++ b/lib/Predis/Client.php @@ -65,24 +65,20 @@ class Client { return $this->createConnection($parameters); } - private function createConnection($parameters) { + protected function c...
Reduce method calls by one when creating a new connection in Predis\Client.
nrk_predis
train
636c709d510c6add1ec3f8a4161a3ef4230c050d
diff --git a/pyrtl/rtllib/aes.py b/pyrtl/rtllib/aes.py index <HASH>..<HASH> 100644 --- a/pyrtl/rtllib/aes.py +++ b/pyrtl/rtllib/aes.py @@ -3,6 +3,9 @@ import pyrtl from pyrtl.rtllib import libutils """ +A class for building a PyRTL AES circuit. + +Currently this class only supports 128 bit AES encryption/decryption...
Added more error checks, added more docstrings, removed more probes, changed a var name
UCSBarchlab_PyRTL
train
d5a06b89ada14647a7a927eb6337c5012d003cdf
diff --git a/lib/rails_exception_handler.rb b/lib/rails_exception_handler.rb index <HASH>..<HASH> 100644 --- a/lib/rails_exception_handler.rb +++ b/lib/rails_exception_handler.rb @@ -19,10 +19,8 @@ class RailsExceptionHandler Rails.configuration.middleware.use RailsExceptionHandler - if(configuration.catch_...
action_dispatch error handling should be overriden even if routing errors should not be logged in the database
bjorntrondsen_rails_exception_handler
train
13532e0220478dfd61fdf1a79e5a994ca3ee5408
diff --git a/src/main/java/com/treasure_data/client/DefaultClientAdaptorImpl.java b/src/main/java/com/treasure_data/client/DefaultClientAdaptorImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/treasure_data/client/DefaultClientAdaptorImpl.java +++ b/src/main/java/com/treasure_data/client/DefaultClientAdapto...
changed DefaultClientAdaptorImpl#authenticate method. It should not retry to send request for authenticating user and the password if it failed once.
treasure-data_td-client-java
train
263f9c356d47f816333d2faff4c8385a42a55fac
diff --git a/lib/ronin/ui/console/context.rb b/lib/ronin/ui/console/context.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/ui/console/context.rb +++ b/lib/ronin/ui/console/context.rb @@ -57,6 +57,15 @@ module Ronin end # + # @note + # Ruby 1.8.x requires {const_missing} to be...
Added an instance-method version of const_missing for Ruby <I>.x.
ronin-ruby_ronin
train
bf39c7fa8e52c677d1f2f32de17c0f8ea5586a74
diff --git a/src/pfs/server/combined_api_server.go b/src/pfs/server/combined_api_server.go index <HASH>..<HASH> 100644 --- a/src/pfs/server/combined_api_server.go +++ b/src/pfs/server/combined_api_server.go @@ -300,6 +300,17 @@ func (a *combinedAPIServer) Commit(ctx context.Context, commitRequest *pfs.Commi func (a ...
Make PullDiff do routing correctly.
pachyderm_pachyderm
train
c8b17cf453eb77c8dd46dbc86ef34cb1159112c3
diff --git a/app/controllers/sync_management_controller.rb b/app/controllers/sync_management_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/sync_management_controller.rb +++ b/app/controllers/sync_management_controller.rb @@ -17,12 +17,18 @@ class SyncManagementController < ApplicationController inc...
Reduced API documentation for Headpin mode
Katello_katello
train
364b1bbbad279e164964323bcce8cc186ea7f8f6
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ * Changed `message` for `summary`. Always present, and should provide a quick description of the type of error encountered. For example: "Error loading payload data" * Semantically changed ...
Small improvements to ResourceDefinition.parse_href and Responses::Created.new
praxis_praxis
train
557e79bfc878922f47d79d8e20fc0a88a42e75fc
diff --git a/hazelcast/src/main/java/com/hazelcast/ringbuffer/impl/RingbufferContainer.java b/hazelcast/src/main/java/com/hazelcast/ringbuffer/impl/RingbufferContainer.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/ringbuffer/impl/RingbufferContainer.java +++ b/hazelcast/src/main/java/com/...
Ringbuffer should adjust headSeq while setting tailSeq due to capacity
hazelcast_hazelcast
train
e6a3c736a5b1b0e2c1cd7fc892f87a13cffc45d2
diff --git a/lib/sickle.rb b/lib/sickle.rb index <HASH>..<HASH> 100644 --- a/lib/sickle.rb +++ b/lib/sickle.rb @@ -146,7 +146,7 @@ module Sickle r == :req ? p.upcase : "[#{p.upcase}]" end - ["#{name} #{params.join(" ")}", command] + ["#{name.gsub("_", "-")} #{params.join(" ")}", command] ...
From now on commands will be executed as long-command, not long_command
teamon_sickle
train
8f768bcb05698c2d3695cd1154fa664046f0976e
diff --git a/src/js/controls/Tab.js b/src/js/controls/Tab.js index <HASH>..<HASH> 100644 --- a/src/js/controls/Tab.js +++ b/src/js/controls/Tab.js @@ -35,6 +35,7 @@ lm.controls.Tab = function( header, contentItem ) { if( this.contentItem.config.isClosable ) { this.closeElement.on( 'click touchstart', this._onClo...
Close button for inactive tab no longer activates tab. Closing inactive tab does not change active tab.
golden-layout_golden-layout
train
53f44cd39b7d6bc45cec783262158bd78bed287f
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -72,8 +72,10 @@ function Cache(settings, cb) { cache.activeModule.set(key, val, expiry, next); }) .end(function(err) { - if (err) return cb(err); - cb(null, key); + if (argy.isType(cb, 'function')) ...
BUGFIX: Dont try to call callback when set is passed undefined
MomsFriendlyDevCo_generic-cache
train
43b8a68ae98e43c7cf3eeb7704d858a18c4745f2
diff --git a/src/react/table/index.js b/src/react/table/index.js index <HASH>..<HASH> 100644 --- a/src/react/table/index.js +++ b/src/react/table/index.js @@ -34,7 +34,7 @@ export {withSorting} from './plugins/sorting'; export const SortableTable = withSorting(Table); export const FlexTable = withFlex(Table); -expo...
SortableAdvancedTable should have been named SortableFlexTable
pivotal-cf_pivotal-ui
train
d4b36855c5219d0587fcaa70a833b786af81ff67
diff --git a/peri/__init__.py b/peri/__init__.py index <HASH>..<HASH> 100644 --- a/peri/__init__.py +++ b/peri/__init__.py @@ -1,2 +1,10 @@ # always monkey-patch the matplotlibrc for peri! from peri.viz import base + +# trackpy loggers interfere with our own. stop that here. +try: + import trackpy + import logg...
monkey-patch the trackpy logging so that it doesn't interfere Conflicts: cbamf/__init__.py
peri-source_peri
train
912b96de3b839c6c5525c98cbb58f537c2d838be
diff --git a/src/Core/Content/Product/SalesChannel/Review/ProductReviewSaveRoute.php b/src/Core/Content/Product/SalesChannel/Review/ProductReviewSaveRoute.php index <HASH>..<HASH> 100644 --- a/src/Core/Content/Product/SalesChannel/Review/ProductReviewSaveRoute.php +++ b/src/Core/Content/Product/SalesChannel/Review/Prod...
NEXT-<I> - Improve product review validation
shopware_platform
train
549d02c9154ce3f7b09cf19533ea2d18495e03dc
diff --git a/modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php b/modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php index <HASH>..<HASH> 100644 --- a/modules/social_features/social_group/src/Plugin/Block/GroupStatisticBlock.php +++ b/modules/social_features/social_...
Issue #<I> by ribel: Use block context for getting current group
goalgorilla_open_social
train
fd96306103f588846df3736adab244eeb024609e
diff --git a/structr-core/src/main/java/org/structr/core/entity/ManyEndpoint.java b/structr-core/src/main/java/org/structr/core/entity/ManyEndpoint.java index <HASH>..<HASH> 100644 --- a/structr-core/src/main/java/org/structr/core/entity/ManyEndpoint.java +++ b/structr-core/src/main/java/org/structr/core/entity/ManyEnd...
Inactivates code that prevented deletion of self-relationships.
structr_structr
train
8968f51fabc781eaf6e0073199bc1f43dbee7cf0
diff --git a/mod/quiz/report/responses/responses_table.php b/mod/quiz/report/responses/responses_table.php index <HASH>..<HASH> 100644 --- a/mod/quiz/report/responses/responses_table.php +++ b/mod/quiz/report/responses/responses_table.php @@ -152,20 +152,18 @@ class quiz_report_responses_table extends table_sql { ...
MDL-<I> "Warnings when a question has a grade of 0" not seeing this issue in HEAD but committing some code to make code for generating html for response cell more robust.
moodle_moodle
train
66b94fa5c478ff7ac53edd6a8829da3b78f337c7
diff --git a/lib/init/functions.js b/lib/init/functions.js index <HASH>..<HASH> 100644 --- a/lib/init/functions.js +++ b/lib/init/functions.js @@ -1496,7 +1496,7 @@ alchemy.castObjectId = function castObjectId(obj) { return alchemy.ObjectId(obj); } - return false; + return undefined; }; /**
Make the cast to objectid function return undefined when it fails
skerit_alchemy
train
2b952f50720aeffd83a8c577b9734ce0e1482670
diff --git a/openquake/calculators/hazard/event_based/core_next.py b/openquake/calculators/hazard/event_based/core_next.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/event_based/core_next.py +++ b/openquake/calculators/hazard/event_based/core_next.py @@ -558,7 +558,6 @@ class EventBasedHazardCalcula...
calculators/hazard/event_based/core_next: Removed an extra blank line.
gem_oq-engine
train
d3ab50350f2ee3e92b6b80a02610fc7adfe54f3a
diff --git a/lib/instrumental/agent.rb b/lib/instrumental/agent.rb index <HASH>..<HASH> 100644 --- a/lib/instrumental/agent.rb +++ b/lib/instrumental/agent.rb @@ -207,7 +207,7 @@ module Instrumental start_connection_worker end - cmd = "%s %s\n" % [cmd, args.collect(&:to_s).join(" ")] + ...
don't rely on Symbol#to_proc
Instrumental_instrumental_agent-ruby
train
434cd8590ff0b801573a7271fed5cf8ceaf12a4d
diff --git a/fcrepo-kernel/src/main/java/org/fcrepo/kernel/rdf/impl/NodeRdfContext.java b/fcrepo-kernel/src/main/java/org/fcrepo/kernel/rdf/impl/NodeRdfContext.java index <HASH>..<HASH> 100644 --- a/fcrepo-kernel/src/main/java/org/fcrepo/kernel/rdf/impl/NodeRdfContext.java +++ b/fcrepo-kernel/src/main/java/org/fcrepo/k...
Update NodeRdfContext to be more defensive about missing type information
fcrepo4_fcrepo4
train
44e85c6a5bffd956a8c70d9a5a4e1384293a4c50
diff --git a/init/create.js b/init/create.js index <HASH>..<HASH> 100644 --- a/init/create.js +++ b/init/create.js @@ -179,7 +179,7 @@ jsHarmonyFactory_Create.Run = function(run_cb){ //Get database information .then(function(){ return new Promise(function(login_resolve, login_reject){ if(_.includ...
JSH-<I> Support for trusted auth during database create
apHarmony_jsharmony-factory
train
161290897b047f7b6070a08586fa45d7b2b53e1f
diff --git a/extension/statistics/lib/statistics.js b/extension/statistics/lib/statistics.js index <HASH>..<HASH> 100644 --- a/extension/statistics/lib/statistics.js +++ b/extension/statistics/lib/statistics.js @@ -41,7 +41,7 @@ Statistics.prototype.handleBeforeRender = function (request, response) { } els...
fixed images uploading, added menu extension point
jsreport_jsreport-statistics
train
06963d04debd5480959e1dd4b6036c0dee51de1f
diff --git a/suspect/io/__init__.py b/suspect/io/__init__.py index <HASH>..<HASH> 100644 --- a/suspect/io/__init__.py +++ b/suspect/io/__init__.py @@ -1,3 +1,4 @@ from suspect.io.rda import load_rda from suspect.io.twix import load_twix -from suspect.io.philips import load_sdat \ No newline at end of file +from suspe...
fixed bug in lcmodel raw save, added unit test
bennyrowland_suspect
train
015c74f4f7f5b1468e2931a8fdc5194225553555
diff --git a/lib/arjdbc/jdbc/adapter.rb b/lib/arjdbc/jdbc/adapter.rb index <HASH>..<HASH> 100644 --- a/lib/arjdbc/jdbc/adapter.rb +++ b/lib/arjdbc/jdbc/adapter.rb @@ -524,6 +524,20 @@ module ActiveRecord end end + # @private documented above + def execute(sql, name = nil, skip_logging = fals...
execute expects skip_logging param on AR <= <I> (+ does not accept binds) on AR > <I> but we've kept it for our backwards-compatibility : `binds = nil`
jruby_activerecord-jdbc-adapter
train
84dcb64cf07eba08fd7ef4de3a6aaf21f4944157
diff --git a/src/main/java/org/junit/Test.java b/src/main/java/org/junit/Test.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/junit/Test.java +++ b/src/main/java/org/junit/Test.java @@ -31,7 +31,11 @@ import java.lang.annotation.Target; * &#064;Test(<b>expected=IndexOutOfBoundsException.class</b>) public ...
Add reference to ExpectedException. Fixes #<I>. The ExpectedException can be used for better exception testing. The reference should guide the reader to its documentation.
junit-team_junit4
train
671eea20541c75f2a4a14ddffc4ad85a5c7cdf6e
diff --git a/apps/baseclean.py b/apps/baseclean.py index <HASH>..<HASH> 100644 --- a/apps/baseclean.py +++ b/apps/baseclean.py @@ -11,7 +11,7 @@ import sys from optparse import OptionParser -from jcvi.formats.fastq import guessoffset, convert +from jcvi.formats.fastq import guessoffset from jcvi.apps.command impo...
trimmomatic-<I> handles input with different qual-encodings; update apps.baseclean.trim() to use version <I> and remove the qual conversions.
tanghaibao_jcvi
train
f8db84334dc9956b1a79237ded8aa53c31249d43
diff --git a/helper/ssh/key_pair.go b/helper/ssh/key_pair.go index <HASH>..<HASH> 100644 --- a/helper/ssh/key_pair.go +++ b/helper/ssh/key_pair.go @@ -12,7 +12,7 @@ import ( "strconv" "strings" - "golang.org/x/crypto/ssh" + gossh "golang.org/x/crypto/ssh" ) const ( @@ -145,7 +145,7 @@ func (o *defaultKeyPairB...
Alias 'golang.org/x/crypto/ssh' as 'gossh'.
hashicorp_packer
train
8d08ddc1dd0b022894ce0af43c07b9c05b51f59d
diff --git a/tests/connection.py b/tests/connection.py index <HASH>..<HASH> 100644 --- a/tests/connection.py +++ b/tests/connection.py @@ -130,18 +130,9 @@ class Connection_(Spec): port=22, ) - def raises_some_sort_of_error_when_shit_explodes_idk(self): - # ??? - ...
These aren't worth worrying about right now. Esp given connecting can raise a LOT of different errors. If we ever do want to wrap those it will take some care and thought.
fabric_fabric
train
e2a39fbeda96a43a312389dc55daa214e26bbf32
diff --git a/utool/util_const.py b/utool/util_const.py index <HASH>..<HASH> 100644 --- a/utool/util_const.py +++ b/utool/util_const.py @@ -1,54 +1,122 @@ # -*- coding: utf-8 -*- +# util_const.py from __future__ import absolute_import, division, print_function, unicode_literals class _NoParamType(object): ""...
Big update to NoParam. Now works through reload, pickle, and copy
Erotemic_utool
train
5643e04d6ec85d16276adbf26084dc7fd9b68780
diff --git a/bcbio/pipeline/config_utils.py b/bcbio/pipeline/config_utils.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/config_utils.py +++ b/bcbio/pipeline/config_utils.py @@ -357,7 +357,7 @@ def adjust_cores_to_mb_target(target_mb, mem_str, cores): else: return max(1, int(math.ceil(scale * cores))...
snpEff: cap memory usage to avoid ><I>bit segfaults Avoids excessive memory specifications on larger machines that can lead to core dumps.
bcbio_bcbio-nextgen
train
b15f80dcfa1045e781614dc28d97b4ae17f2f3ce
diff --git a/tests/test_read_simple_percent.py b/tests/test_read_simple_percent.py index <HASH>..<HASH> 100644 --- a/tests/test_read_simple_percent.py +++ b/tests/test_read_simple_percent.py @@ -405,3 +405,21 @@ def test_single_triple_quote_works(no_jupytext_version_number, text='''# --- print("hello") ''', notebook=...
Add test that reproduces #<I>
mwouts_jupytext
train
c32735bc9f9aa1e82fe2ff3500b09b26a1d4ced0
diff --git a/ezinfo.php b/ezinfo.php index <HASH>..<HASH> 100644 --- a/ezinfo.php +++ b/ezinfo.php @@ -39,10 +39,10 @@ class eZFindInfo { return array( 'Name' => "eZ Find", - 'Version' => '2.3.0', + 'Version' => '//autogentag//', 'Copyright' => "Copyright (C...
Updated ezinfo.php with proper version number tag
ezsystems_ezfind
train
051cd853cb05a334151e8df719b28c2b4d4ebecd
diff --git a/org.jenetix/src/main/java/org/jenetix/BigIntegerGene.java b/org.jenetix/src/main/java/org/jenetix/BigIntegerGene.java index <HASH>..<HASH> 100644 --- a/org.jenetix/src/main/java/org/jenetix/BigIntegerGene.java +++ b/org.jenetix/src/main/java/org/jenetix/BigIntegerGene.java @@ -36,6 +36,7 @@ import javax.xm...
Implement 'hashCode', 'equals' and 'toString' methods.
jenetics_jenetics
train
3d1216eb0f395995ce9c9b9d566eb5cb48c1f383
diff --git a/src/Bartlett/Reflect/Api/Analyser.php b/src/Bartlett/Reflect/Api/Analyser.php index <HASH>..<HASH> 100644 --- a/src/Bartlett/Reflect/Api/Analyser.php +++ b/src/Bartlett/Reflect/Api/Analyser.php @@ -50,19 +50,9 @@ class Analyser extends BaseApi * @return array metrics * @throws \InvalidArgumentE...
revert to previous fix of issue gh-<I>
llaville_php-reflect
train
b01191074e22304851494a74c2accd6fbf78b53f
diff --git a/features/cli.feature b/features/cli.feature index <HASH>..<HASH> 100644 --- a/features/cli.feature +++ b/features/cli.feature @@ -3,7 +3,6 @@ Feature: Adhearsion Ahn CLI I want a cli command (ahn) So that I can create and interact with adhearsion apps - Scenario: No arguments given When I r...
[BUGFIX] Get some CLI features passing again
adhearsion_adhearsion
train
53a84b0c0197067a4bdc893e0986d046378b94a0
diff --git a/presto-hive/src/test/java/com/facebook/presto/hive/TestHivePushdownFilterQueries.java b/presto-hive/src/test/java/com/facebook/presto/hive/TestHivePushdownFilterQueries.java index <HASH>..<HASH> 100644 --- a/presto-hive/src/test/java/com/facebook/presto/hive/TestHivePushdownFilterQueries.java +++ b/presto-...
Add test to verify the size of all-null blocks returned
prestodb_presto
train
5348d52e03efdfa155fa013741d312c214272ae8
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -12,12 +12,27 @@ const assert = require('assert'); const has = require('./'); describe('has', function() { - it('should support null', function() { - assert(has(null)); + it('should support arguments', function() { + f...
re-organize tests, add unit tests
jonschlinkert_has-values
train
00c2400077dad46805dbb5b6d83f01bc9ba9a19b
diff --git a/spoon-maven-plugin/src/main/java/com/squareup/spoon/SpoonMojo.java b/spoon-maven-plugin/src/main/java/com/squareup/spoon/SpoonMojo.java index <HASH>..<HASH> 100644 --- a/spoon-maven-plugin/src/main/java/com/squareup/spoon/SpoonMojo.java +++ b/spoon-maven-plugin/src/main/java/com/squareup/spoon/SpoonMojo.ja...
Once correct dependency found, its converted to Aether and getFile request made on it. Issue #<I>
square_spoon
train
5b7c1191f6da03890748c7ee9a560eb0ecb3b93a
diff --git a/examples/advanced_test.go b/examples/advanced_test.go index <HASH>..<HASH> 100644 --- a/examples/advanced_test.go +++ b/examples/advanced_test.go @@ -74,6 +74,6 @@ func TestMultipleSnapshots(t *testing.T) { t.Run("world", func(t *testing.T) { result2 := "World" - cupaloy.SnapshotT(t, result2) + cu...
Improve test coverage (#<I>)
bradleyjkemp_cupaloy
train
2ab850f56e463c66ca78ebacba70c3aec907db0c
diff --git a/cmd/torrent-metainfo-pprint/main.go b/cmd/torrent-metainfo-pprint/main.go index <HASH>..<HASH> 100644 --- a/cmd/torrent-metainfo-pprint/main.go +++ b/cmd/torrent-metainfo-pprint/main.go @@ -47,6 +47,7 @@ func main() { "TotalLength": info.TotalLength(), "Announce": metainfo.Announce, "Annou...
cmd/torrent-metainfo-pprint: Include metainfo's url-list in output Helps with testing #<I>.
anacrolix_torrent
train
91a4e4b282023912750e80689981e748ff6b8539
diff --git a/rapidoid-app/src/main/java/org/rapidoid/app/Dollar.java b/rapidoid-app/src/main/java/org/rapidoid/app/Dollar.java index <HASH>..<HASH> 100644 --- a/rapidoid-app/src/main/java/org/rapidoid/app/Dollar.java +++ b/rapidoid-app/src/main/java/org/rapidoid/app/Dollar.java @@ -18,7 +18,6 @@ import org.rapidoid.plu...
Removed the lifecycle plugin from the script context.
rapidoid_rapidoid
train
8285477b1c871a732e99dea72094d615c86205e7
diff --git a/src/util/KnowledgeGraphUtils.js b/src/util/KnowledgeGraphUtils.js index <HASH>..<HASH> 100644 --- a/src/util/KnowledgeGraphUtils.js +++ b/src/util/KnowledgeGraphUtils.js @@ -158,11 +158,15 @@ export default class KnowledgeGraphUtils { } static makeDocNode(doc: SearchDocument, id: number, isPrimary:...
PLAT-<I>: Documents in the graph without titles now say so
attivio_suit
train
534749e021e6d195515991c3ffa6ec67d164a3e5
diff --git a/spec/view_helpers_spec.rb b/spec/view_helpers_spec.rb index <HASH>..<HASH> 100644 --- a/spec/view_helpers_spec.rb +++ b/spec/view_helpers_spec.rb @@ -143,4 +143,8 @@ describe Leaflet::ViewHelpers do result.should match(Regexp.quote("map.fitBounds(L.latLngBounds([[51.5, -0.08], [-51.5, 0.08]]));")) ...
added test for making center optional on map generation
axyjo_leaflet-rails
train
2951e6843f1e8794c6915750e4633ea3446e78cc
diff --git a/packages/table/src/table-store.js b/packages/table/src/table-store.js index <HASH>..<HASH> 100644 --- a/packages/table/src/table-store.js +++ b/packages/table/src/table-store.js @@ -19,12 +19,12 @@ const sortData = (data, states) => { return orderBy(data, states.sortProp, states.sortOrder, sortingColumn...
Table: fire selection-change when row is removed.
ElemeFE_element
train
69bfa438f4036fe44cc6deee6ebeff0c1202645e
diff --git a/src/models/Settings.php b/src/models/Settings.php index <HASH>..<HASH> 100644 --- a/src/models/Settings.php +++ b/src/models/Settings.php @@ -19,6 +19,7 @@ class Settings extends \craft\base\Model public $optimizeContent = 0; public $cacheDuration = 3600; public $purgeCache = 0; + public ...
add table in settings panel to define excluded URL paths with, also implement corresponding check in HtmlcacheService for that setting
boldenamsterdam_htmlcache
train
5e060055912fa2fd75a3a98335bb6b3e9530c523
diff --git a/salt/returners/smtp_return.py b/salt/returners/smtp_return.py index <HASH>..<HASH> 100644 --- a/salt/returners/smtp_return.py +++ b/salt/returners/smtp_return.py @@ -12,11 +12,15 @@ The following fields can be set in the minion conf file: smtp.password (optional) smtp.tls (optional, defaults to F...
implemented some basic gpg encryption
saltstack_salt
train
fff94c64b27250f7902a0232786efbe372b69ec5
diff --git a/src/App/Model/Board/Board.php b/src/App/Model/Board/Board.php index <HASH>..<HASH> 100644 --- a/src/App/Model/Board/Board.php +++ b/src/App/Model/Board/Board.php @@ -19,6 +19,11 @@ use React\EventLoop\Factory; class Board { /** + * @var array[GPIO] + */ + protected $gpios; + + /** * @var array[GP...
Wire event emission on change so far
devgiants_filesystem-gpio
train
bc4efdfafbc876e9b42d2b7f6c6a802cfea7e6d4
diff --git a/pandora/transport.py b/pandora/transport.py index <HASH>..<HASH> 100644 --- a/pandora/transport.py +++ b/pandora/transport.py @@ -24,6 +24,65 @@ from .errors import PandoraException DEFAULT_API_HOST = "tuner.pandora.com/services/json/" +def retries(max_tries, exceptions=(Exception,)): + """Function...
Move decorator to top of class file.
mcrute_pydora
train
2caa23564a70e0aeb76b93ae5ff36b65dd2dffd3
diff --git a/invstmt.go b/invstmt.go index <HASH>..<HASH> 100644 --- a/invstmt.go +++ b/invstmt.go @@ -103,7 +103,7 @@ type InvSell struct { Taxes Amount `xml:"TAXES,omitempty"` Fees Amount `xml:"FEES,omitempty"` Load Amount `xml:"LOAD,omitempty"` - Witholding Amount `...
Fix spelling of 'Withholding'
aclindsa_ofxgo
train
759c71b6560f6bda05202c1ef9b058e286c2f639
diff --git a/src/AccordionItemBody/accordion-item-body.js b/src/AccordionItemBody/accordion-item-body.js index <HASH>..<HASH> 100644 --- a/src/AccordionItemBody/accordion-item-body.js +++ b/src/AccordionItemBody/accordion-item-body.js @@ -19,7 +19,7 @@ type AccordionItemBodyProps = { itemkey: string | number, }; ...
No named export in AccordionItemBody
springload_react-accessible-accordion
train
0b06776404a438aa0e1d92918f992503f0cf5119
diff --git a/core/field.js b/core/field.js index <HASH>..<HASH> 100644 --- a/core/field.js +++ b/core/field.js @@ -267,8 +267,9 @@ Blockly.Field.prototype.setValue = function(text) { */ Blockly.Field.prototype.onMouseUp_ = function(e) { if ((goog.userAgent.IPHONE || goog.userAgent.IPAD) && - e.layerX !== 0 &...
Don't ignore touch events on iOS <I> or later.
LLK_scratch-blocks
train
1a43078bf7890c70e6124541b4365c7fd983f40f
diff --git a/lettuce_webdriver/util.py b/lettuce_webdriver/util.py index <HASH>..<HASH> 100644 --- a/lettuce_webdriver/util.py +++ b/lettuce_webdriver/util.py @@ -292,6 +292,8 @@ def find_field_by_value(browser, field, name): elems = sorted(elems, key=lambda elem: len(elem.get_attribute...
Revert the behaviour of "Find field by value"
aloetesting_aloe_webdriver
train
33adf311c767b3a06e499aff17d0e2018d4ac1e3
diff --git a/exchangelib/items/item.py b/exchangelib/items/item.py index <HASH>..<HASH> 100644 --- a/exchangelib/items/item.py +++ b/exchangelib/items/item.py @@ -349,6 +349,9 @@ class Item(BaseItem): """ if not is_iterable(attachments, generators_allowed=True): attachments = [attachments...
Don't risk iterating the same list that we are removing from. Fixes #<I>
ecederstrand_exchangelib
train
d4a9d286fcc4c2ee8801f5298a0c6040c3895105
diff --git a/zipline/pipeline/factors/factor.py b/zipline/pipeline/factors/factor.py index <HASH>..<HASH> 100644 --- a/zipline/pipeline/factors/factor.py +++ b/zipline/pipeline/factors/factor.py @@ -1468,7 +1468,9 @@ class CustomFactor(PositiveWindowLengthMixin, CustomTermMixin, Factor): class RecarrayField(Single...
DOC: Add a docstring for RecarrayField.
quantopian_zipline
train
2c245de35aaf731acb0544a10b9d1308e70539b3
diff --git a/backtrader/broker.py b/backtrader/broker.py index <HASH>..<HASH> 100644 --- a/backtrader/broker.py +++ b/backtrader/broker.py @@ -111,14 +111,24 @@ class BrokerBack(six.with_metaclass(MetaParams, object)): self.pending.append(order) return order - def buy(self, owner, data, size, pri...
Improvements to order api from strategy
backtrader_backtrader
train
5a5bc8390858d4a63b94cbcbf0b09c3d901a1ee7
diff --git a/src/Service/ViewStream.php b/src/Service/ViewStream.php index <HASH>..<HASH> 100644 --- a/src/Service/ViewStream.php +++ b/src/Service/ViewStream.php @@ -283,13 +283,12 @@ class ViewStream implements ViewStreamInterface */ public function write($string) { - $fp = $this->getResour...
just changed variable names and if statements so that they don't look like duplicated codes.
TuumPHP_Respond
train
7b963b0dc0be5f0028e89dea6b5d45ddeac3218b
diff --git a/protempa-framework/src/main/java/org/protempa/AbstractionFinder.java b/protempa-framework/src/main/java/org/protempa/AbstractionFinder.java index <HASH>..<HASH> 100644 --- a/protempa-framework/src/main/java/org/protempa/AbstractionFinder.java +++ b/protempa-framework/src/main/java/org/protempa/AbstractionF...
Dial down a little bit of the logging at the FINE level.
eurekaclinical_protempa
train
fc432ceab81c2681a08bf95e393318f49007a4bf
diff --git a/src/define/factory.js b/src/define/factory.js index <HASH>..<HASH> 100644 --- a/src/define/factory.js +++ b/src/define/factory.js @@ -3,7 +3,7 @@ */ /*#ifndef(UMD)*/ "use strict"; -/*global _GpfClassDefinition*/ // GPF class definition +/*global _GpfOldClassDefinition*/ // (OLD) GPF class definition /...
Renames soon-to-be-removed _GpfClassDefinition
ArnaudBuchholz_gpf-js
train
0a2868a70253814df8fe5c45ed84335b9648c49b
diff --git a/examples/experiments/bartlett1932/custom_experiments.py b/examples/experiments/bartlett1932/custom_experiments.py index <HASH>..<HASH> 100644 --- a/examples/experiments/bartlett1932/custom_experiments.py +++ b/examples/experiments/bartlett1932/custom_experiments.py @@ -55,4 +55,4 @@ class Bartlett1932(wall...
Squash bug in experiment stopping rule
Dallinger_Dallinger
train
f1f3ed1f823b525af0f0c72abb087e967cc9b3c6
diff --git a/Framework/Bootstrap.php b/Framework/Bootstrap.php index <HASH>..<HASH> 100644 --- a/Framework/Bootstrap.php +++ b/Framework/Bootstrap.php @@ -97,7 +97,6 @@ else { } $path = str_replace("//", "/", "/$dirName/$fileName"); -var_dump($dirName, $path, $fileName);die(); define("URL", $pageUrl); define("...
Removed debug line from bootstrap
PhpGt_WebEngine
train
b6e7ce9d15b39abf9de1051b245a74edbabb1390
diff --git a/java/src/com/google/template/soy/plugin/java/internal/JavaPluginValidator.java b/java/src/com/google/template/soy/plugin/java/internal/JavaPluginValidator.java index <HASH>..<HASH> 100644 --- a/java/src/com/google/template/soy/plugin/java/internal/JavaPluginValidator.java +++ b/java/src/com/google/template...
Have CollectCssRuntime return a map directly The soy plugin infrastructure was recently enhanced to support this and do the coercion implicitly. GITHUB_BREAKING_CHANGES=none ------------- Created by MOE: <URL>
google_closure-templates
train
0c66cfae3d496b4b29a6d402a05ae4625134a6b6
diff --git a/src/drivers/redis/Queue.php b/src/drivers/redis/Queue.php index <HASH>..<HASH> 100644 --- a/src/drivers/redis/Queue.php +++ b/src/drivers/redis/Queue.php @@ -84,11 +84,10 @@ class Queue extends CliQueue */ protected function reserve($wait) { - // Move delayed messages into waiting - ...
#<I>: Moving of delayed and reserved jobs into waiting list with lock
yiisoft_yii2-queue
train
d6e1cb7cbfe4b604d074814f00f654f5c545a71a
diff --git a/daemon/volumes.go b/daemon/volumes.go index <HASH>..<HASH> 100644 --- a/daemon/volumes.go +++ b/daemon/volumes.go @@ -281,6 +281,7 @@ func (daemon *Daemon) backportMountSpec(container *container.Container) { from, _, err := volume.ParseVolumesFrom(fromSpec) if err != nil { logrus.WithError(err).W...
Add continue on error in mountspec backport
moby_moby
train
21a5836178ac9aa26841f0eb47d7cba42ba8eed9
diff --git a/lib/parse/model/core/schema.rb b/lib/parse/model/core/schema.rb index <HASH>..<HASH> 100644 --- a/lib/parse/model/core/schema.rb +++ b/lib/parse/model/core/schema.rb @@ -4,7 +4,7 @@ require_relative "properties" module Parse def self.auto_upgrade! - klassModels = Parse::Object.descendants - [Parse...
Allow auto-upgrade of all classes.
modernistik_parse-stack
train
93e0948e86c1e17fc8c57799300fdac82f3a6285
diff --git a/pyautogui/__init__.py b/pyautogui/__init__.py index <HASH>..<HASH> 100644 --- a/pyautogui/__init__.py +++ b/pyautogui/__init__.py @@ -306,7 +306,9 @@ def size(): def onScreen(x, y=None): - """Returns whether the given xy coordinates are on the screen or not. + """Returns whether the given xy coo...
Changed displayMousePosition() so that it doesn't print backspaces in idle.
asweigart_pyautogui
train
8aa3159037488d8b28b0020aeae38f290589ca4f
diff --git a/lib/Cake/I18n/I18n.php b/lib/Cake/I18n/I18n.php index <HASH>..<HASH> 100644 --- a/lib/Cake/I18n/I18n.php +++ b/lib/Cake/I18n/I18n.php @@ -20,6 +20,7 @@ /** * Included libraries. */ +App::uses('CakePlugin', 'Core'); App::uses('L10n', 'I18n'); App::uses('Multibyte', 'I18n');
Fixing Fatal error: Class 'CakePlugin' not found in \lib\Cake\I<I>n\I<I>n.php on line <I>
cakephp_cakephp
train
cb8389863edbec89c41553e066732952e8cb8138
diff --git a/src/Site_Command.php b/src/Site_Command.php index <HASH>..<HASH> 100644 --- a/src/Site_Command.php +++ b/src/Site_Command.php @@ -686,7 +686,7 @@ class Site_Command extends \WP_CLI\CommandWithDBObject { * @subcommand general */ public function general( $args ) { - $this->update_site_status( $args,...
GH#<I> Added correct value for non-mature blog type
wp-cli_entity-command
train
169d901d0e0b73d865862ed80b035f4630a570bf
diff --git a/samples/core/src/test/java/io/oasp/gastronomy/restaurant/offermanagement/logic/impl/OffermanagementImplTest.java b/samples/core/src/test/java/io/oasp/gastronomy/restaurant/offermanagement/logic/impl/OffermanagementImplTest.java index <HASH>..<HASH> 100644 --- a/samples/core/src/test/java/io/oasp/gastronomy...
OffermanagementImplTest.java finalized and commented via javadocs
oasp_oasp4j
train
7f98661a541b93283e1b6ac88f090b2b50bd7780
diff --git a/profile/profile_default/static/genepattern/navigation.js b/profile/profile_default/static/genepattern/navigation.js index <HASH>..<HASH> 100644 --- a/profile/profile_default/static/genepattern/navigation.js +++ b/profile/profile_default/static/genepattern/navigation.js @@ -640,6 +640,13 @@ GenePattern.note...
GP-<I> - Added the "Download" option to file menus in the notebook
genepattern_genepattern-notebook
train
5a9395188c744b03683d79273041b72e93f25b66
diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/MultipleTopLevelClasses.java b/core/src/main/java/com/google/errorprone/bugpatterns/MultipleTopLevelClasses.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/MultipleTopLevelClasses.java +++ b/core/src/main/java/...
Have MultipleTopLevelClasses report findings on _every_ top level class, not just the first. Given JavaStyle shows on changed lines, you otherwise don't get findings when adding a second top level class to a file. PiperOrigin-RevId: <I>
google_error-prone
train
06116434c8f34edaa644fb2ae45f078611708324
diff --git a/dql/cli.py b/dql/cli.py index <HASH>..<HASH> 100644 --- a/dql/cli.py +++ b/dql/cli.py @@ -761,10 +761,12 @@ class DQLClient(cmd.Cmd): @repl_command def do_clear(self): + """Clear the screen. Add a visual break (2 spaces and 1 horizontal rule).""" return self._do_clear() @...
help docs for clear and cls
stevearc_dql
train
525dcbcf80b0d2707f90195c49e4bdf9229144e3
diff --git a/cli.js b/cli.js index <HASH>..<HASH> 100755 --- a/cli.js +++ b/cli.js @@ -12,15 +12,15 @@ var yargs = require("yargs") .boolean("clean-cache") .boolean("clean-output") .boolean("clean") - .boolean("quite") + .boolean("quiet") .boolean("debug") .describe("cache", "path to cach...
Typo: quite -> quiet Closes #<I> Technically this is a backward-incompatible change, but I'm not going to cut a major version just for that, it's too embarrassing ;) Thanks, @ericlathrop
gluckgames_pixi-packer
train
c2242ad23a35babcd1e7584fc1ea527a2a5eb655
diff --git a/spec/index.spec.js b/spec/index.spec.js index <HASH>..<HASH> 100644 --- a/spec/index.spec.js +++ b/spec/index.spec.js @@ -80,6 +80,35 @@ describe('phonegap-plugin-contentsync', function() { expect(function(){ contentSync.sync( { nimbly: 'bimbly' } ); }).toThrow(new Error('An options object wit...
[#3] - added cancel tests
phonegap_phonegap-plugin-contentsync
train
3e844d6f5a1daa4ecbcc69429a294b393df1d640
diff --git a/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/AddLocalExchanges.java b/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/AddLocalExchanges.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/AddLocalE...
Improve local aggregation parallelism Previously queries with empty grouping set had reduced local parallelism to single node. This commit improves local parallelism of such queries by using the same rules in AddLocalExchanges as in AddExchanges.
prestodb_presto
train
9af0f86b33c5311a1ea2b138c4f3511099039f34
diff --git a/openquake/engine/calculators/hazard/general.py b/openquake/engine/calculators/hazard/general.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/general.py +++ b/openquake/engine/calculators/hazard/general.py @@ -67,7 +67,8 @@ def make_gsim_lt(hc, trts): """ fname = os.path.j...
Reflected changes in commonlib.logictree
gem_oq-engine
train
4ca0b2dffcc39da3c562f178e28eff917937d03d
diff --git a/oa-core/lib/omniauth/strategy.rb b/oa-core/lib/omniauth/strategy.rb index <HASH>..<HASH> 100644 --- a/oa-core/lib/omniauth/strategy.rb +++ b/oa-core/lib/omniauth/strategy.rb @@ -38,12 +38,19 @@ module OmniAuth return mock_call!(env) if OmniAuth.config.test_mode + return options_call if on_a...
Core: added support for OPTIONS requests. Closes #<I>
omniauth_omniauth
train
5845d82c679692902c1f5e6d137d37a81dca936b
diff --git a/main.js b/main.js index <HASH>..<HASH> 100644 --- a/main.js +++ b/main.js @@ -21,8 +21,10 @@ function zip_dir(dir, zipped_dir) { fs.readdir(dir, function (err, entries) { - if (err) + if (err) { deferred.reject(err); + return; + } var entries...
marked function's end when callback is invoked with error to stop the function from carrying any extra work
Mostafa-Samir_zip-local
train
e57ee37e0695984d18d43d334936bb802c49143b
diff --git a/xclim/core/locales.py b/xclim/core/locales.py index <HASH>..<HASH> 100644 --- a/xclim/core/locales.py +++ b/xclim/core/locales.py @@ -68,18 +68,16 @@ TRANSLATABLE_ATTRS = [ "keywords", ] +_LOCALES = {} -def list_locales(): - """Return a list of available locales in xclim.""" - locale_list =...
stop in middle of draft to deal with urgent matters
Ouranosinc_xclim
train
05315f14bd0e19a3bc233259e0c9dfc57ae0a172
diff --git a/lib/jss/api_object.rb b/lib/jss/api_object.rb index <HASH>..<HASH> 100644 --- a/lib/jss/api_object.rb +++ b/lib/jss/api_object.rb @@ -278,8 +278,17 @@ module JSS !valid_id(identifier, refresh, api: api).nil? end - # Return an id or nil if an object of this subclass - # with the given na...
APIObject.valid_id : matches are now case-insensitive.
PixarAnimationStudios_ruby-jss
train
ac4cc1f2215679b1b66a021cee4fe2304845a022
diff --git a/jOOX/src/main/java/org/joox/JOOX.java b/jOOX/src/main/java/org/joox/JOOX.java index <HASH>..<HASH> 100644 --- a/jOOX/src/main/java/org/joox/JOOX.java +++ b/jOOX/src/main/java/org/joox/JOOX.java @@ -816,11 +816,15 @@ public final class JOOX { } /** - * Get a document builder + * Get ...
[#<I>] JOOX's internal DocumentBuilder should be namespace-aware in order to support those featuers
jOOQ_jOOX
train
930a1aa523d049cf6ecd5247728af37cbbe088f9
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ - [#3335](https://github.com/influxdb/influxdb/pull/3335): Don't drop all data on DROP DATABASE. Thanks to @PierreF for the report - [#2761](https://github.com/influxdb/influxdb/issues/2761): M...
Require a regex after a regex operator when parsing. Previously, parseRegex could return an empty RegexLiteral and the expression parser would put that into the right-hand side of the expression, causing a nil-pointer panic when the query was later executed. This change adds a check at the parsing level and returns an...
influxdata_influxdb
train
2479d5958b2066ff455d42834d72f1e240bfd6a7
diff --git a/spec/slather/coverage_file_spec.rb b/spec/slather/coverage_file_spec.rb index <HASH>..<HASH> 100644 --- a/spec/slather/coverage_file_spec.rb +++ b/spec/slather/coverage_file_spec.rb @@ -111,7 +111,7 @@ OBJC describe "gcov_data" do it "should process the gcno file with gcov and return the contents...
[xcode7] Make specs less precise in order to conform to Xcode 7 gcov bug
SlatherOrg_slather
train
2fba44b179be0b995042f7c0bc6b05acf4e05309
diff --git a/src/aspectlib/debug.py b/src/aspectlib/debug.py index <HASH>..<HASH> 100644 --- a/src/aspectlib/debug.py +++ b/src/aspectlib/debug.py @@ -2,6 +2,10 @@ import logging import os import string import sys +try: + from types import InstanceType +except ImportError: + InstanceType = type(None) from ite...
Do a more reliable check for old-style classes in debug.log.
ionelmc_python-aspectlib
train
7f2bed3376d89426bc2cbb0739bd204d83d7c5bb
diff --git a/skosprovider/registry.py b/skosprovider/registry.py index <HASH>..<HASH> 100644 --- a/skosprovider/registry.py +++ b/skosprovider/registry.py @@ -131,16 +131,22 @@ class Registry: # marked with the subject 'architecture'. registry.find({'label': 'church'}, providers={'subject': 'a...
Update the docs slightly. Refs #<I>.
koenedaele_skosprovider
train
df7b25aea98254b5b53046df1cdf51f074882145
diff --git a/app/models/spree/adyen/notification_processor.rb b/app/models/spree/adyen/notification_processor.rb index <HASH>..<HASH> 100644 --- a/app/models/spree/adyen/notification_processor.rb +++ b/app/models/spree/adyen/notification_processor.rb @@ -72,7 +72,7 @@ module Spree refund_reason_id: ::Spree...
If a refund is made from Adyen we still get a notification. However the payment will already be complete, which causes state machine errors. This fixes that.
StemboltHQ_solidus-adyen
train
0b63e4149dc81acbf56a40aebe3be29a7d04f5c6
diff --git a/lib/Drivers/mysql.js b/lib/Drivers/mysql.js index <HASH>..<HASH> 100644 --- a/lib/Drivers/mysql.js +++ b/lib/Drivers/mysql.js @@ -55,7 +55,7 @@ Driver.prototype.find = function (fields, table, conditions, opts, cb) { this.QuerySelect.order(opts.order[0], opts.order[1]); } for (var k in conditions) {...
Fixes indentation on mysql driver file
dresende_node-orm2
train
e421e4dda8cbdf98896364b4fb8371cf64e9257a
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -280,6 +280,9 @@ class SSH(object): 'ssh_identities_only', salt.config.DEFAULT_MASTER_OPTS['ssh_identities_only'] ...
Support remote port forwarding with salt-ssh
saltstack_salt
train
482a8978c56549b3eb5f24620dd7f4a7cf0c49a5
diff --git a/src/feat/agencies/replay.py b/src/feat/agencies/replay.py index <HASH>..<HASH> 100644 --- a/src/feat/agencies/replay.py +++ b/src/feat/agencies/replay.py @@ -545,6 +545,16 @@ class BaseReplayDummy(log.LogProxy, log.Logger): def snapshot(self): return self._dummy_id + def __eq__(self, oth...
Fix problems with replayability of Retrying protocols. * Use busy flag for call_later. * Implement __eq__ function to make it pass when we store reference in state.
f3at_feat
train
daaf7bcb6415b6f8b8a5088bba11fa0263c9f84c
diff --git a/src/PaymentPeriods.php b/src/PaymentPeriods.php index <HASH>..<HASH> 100644 --- a/src/PaymentPeriods.php +++ b/src/PaymentPeriods.php @@ -71,19 +71,6 @@ class PaymentPeriods implements PaymentPeriodsInterface return $ratePerPeriod; } - private function getCurrentPeriod($period, int $calc...
Additional refactoring, removed some complexity.
kaurikk_loan-payment-period
train
beb2e4aae324cd89038aabf9718c01a3607bc1a1
diff --git a/graphene_django/utils/testing.py b/graphene_django/utils/testing.py index <HASH>..<HASH> 100644 --- a/graphene_django/utils/testing.py +++ b/graphene_django/utils/testing.py @@ -28,7 +28,9 @@ def graphql_query( variables (dict) - If provided, the "variables" field in GraphQL will be ...
Doc clarification for headers arg in testing utils (#<I>) I think it might be helpful to add an explicit hint that HTTP headers should be prepended with `HTTP_` as required by `django.test.Client` (at least it was not super obvious to me when I tried to use it).
graphql-python_graphene-django
train
bc9aeb974ec58f174df3c343cac267739c4b4e8c
diff --git a/tests/unit/LexerTest.php b/tests/unit/LexerTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/LexerTest.php +++ b/tests/unit/LexerTest.php @@ -16,33 +16,9 @@ class LexerTest extends \PHPUnit_Framework_TestCase { function provideInvalidEdn() { return [ - ['##'], - ['...
Remove invalid test cases (they were submitted upstream)
igorw_edn
train