hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
2b70ccaac89a719740eea6d660b791031a55686e
diff --git a/lib/rspec-puppet/example/define_example_group.rb b/lib/rspec-puppet/example/define_example_group.rb index <HASH>..<HASH> 100644 --- a/lib/rspec-puppet/example/define_example_group.rb +++ b/lib/rspec-puppet/example/define_example_group.rb @@ -31,7 +31,11 @@ module RSpec::Puppet Puppet[:code] = import...
Populate $hostname and $fqdn facts automatically from the node name
rodjek_rspec-puppet
train
5cadfaa70b843d376d83df1eb2d8d0ba1aa1cc3a
diff --git a/server/snapshot.go b/server/snapshot.go index <HASH>..<HASH> 100644 --- a/server/snapshot.go +++ b/server/snapshot.go @@ -33,6 +33,17 @@ func (s *Server) doSnapshotCreate(version string, w http.ResponseWriter, r *http if err := util.CheckUUID(volumeUUID); err != nil { return err } + snapshotName := ...
server: Don't automatically generate name for snapshot The chance of collision is much higher than volumes. Also add name collision check for snapshot.
rancher_convoy
train
6c268028b45903767ff7fbc1d287333fc1f4d6c0
diff --git a/hawk/src/main/java/com/orhanobut/hawk/SharedPreferencesStorage.java b/hawk/src/main/java/com/orhanobut/hawk/SharedPreferencesStorage.java index <HASH>..<HASH> 100644 --- a/hawk/src/main/java/com/orhanobut/hawk/SharedPreferencesStorage.java +++ b/hawk/src/main/java/com/orhanobut/hawk/SharedPreferencesStorag...
Removing redundant ivars.
orhanobut_hawk
train
e1d02b38251f60e9739635aa90818ed72c61bc1d
diff --git a/i18n/__init__.py b/i18n/__init__.py index <HASH>..<HASH> 100644 --- a/i18n/__init__.py +++ b/i18n/__init__.py @@ -4,6 +4,8 @@ Tool to be used by other IDAs for internationalization. import argparse import sys +from . import config + __version__ = '0.3.6' @@ -41,8 +43,6 @@ class Runner: ra...
Fixes to keep the latest refactoring working for edx-platform
edx_i18n-tools
train
0978cd77901e3392ddffcf8138bb0b47f22e66ce
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,17 @@ var env = file.createEnv({ base: 'my/scoped/path', dest: 'destination/path' // optionnal }); + +// Alternatively, they can be functions returning a path: + +var env = file.createEnv({ + base: functi...
Allow base and destBase to be function returning a string
SBoudrias_file-utils
train
5591873aba460582c4da5420405964ce6a493fc6
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js b/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js +++ b/bundles/org.eclipse.orion.client.ui/web/orion/searchExplorer.js @@ -172,6...
Bug <I> - Search: filter on detail matches and show makers.-- Go in-file search silently during start up.
eclipse_orion.client
train
d8333c062ba302a88599bc114d5eff1f78d795c7
diff --git a/lib/archivers/zip/zip-archive-entry.js b/lib/archivers/zip/zip-archive-entry.js index <HASH>..<HASH> 100644 --- a/lib/archivers/zip/zip-archive-entry.js +++ b/lib/archivers/zip/zip-archive-entry.js @@ -304,9 +304,16 @@ ZipArchiveEntry.prototype.setMethod = function(method) { * Sets the name of the entry....
Allow prepending forward slash in entry name (#<I>)
archiverjs_node-compress-commons
train
42dc0868cdfb47ebb556b52aa2300e2c32e726a2
diff --git a/lib/negasonic/dsl.rb b/lib/negasonic/dsl.rb index <HASH>..<HASH> 100644 --- a/lib/negasonic/dsl.rb +++ b/lib/negasonic/dsl.rb @@ -16,6 +16,11 @@ module Negasonic end def with_instrument(name, synth:, volume: nil, fx: Negasonic::Instrument::EffectsSet.new, &block) + fx_set = if fx.is_a?(Neg...
add effects as an array in `with_instrument`
merongivian_negasonic
train
d966cf1b65715294ea6cb0e66b2397bd3cd860b6
diff --git a/lib/i18n/backend/key_value.rb b/lib/i18n/backend/key_value.rb index <HASH>..<HASH> 100644 --- a/lib/i18n/backend/key_value.rb +++ b/lib/i18n/backend/key_value.rb @@ -127,6 +127,7 @@ module I18n if subtrees? super else + return entry unless entry.is_a?(Hash) ...
fix pluralization behavior for KeyValue backend with subtrees disabled
ruby-i18n_i18n
train
287246c0d469a98215fec67f97163ddb4142200b
diff --git a/wikidataintegrator/wdi_core.py b/wikidataintegrator/wdi_core.py index <HASH>..<HASH> 100755 --- a/wikidataintegrator/wdi_core.py +++ b/wikidataintegrator/wdi_core.py @@ -2078,19 +2078,13 @@ class WDTime(WDBaseDataType): super(WDTime, self).set_value(value=self.time) if self.time is not ...
remove datetime WDTime validation because not all dates are supported. fix #<I>
SuLab_WikidataIntegrator
train
576665f0bbf63a478ab857f48f6dfa03d0919234
diff --git a/lib/stealth/service_reply.rb b/lib/stealth/service_reply.rb index <HASH>..<HASH> 100644 --- a/lib/stealth/service_reply.rb +++ b/lib/stealth/service_reply.rb @@ -15,8 +15,22 @@ module Stealth raise(Stealth::Errors::UndefinedVariable, e.message) end - @replies = YAML.load(erb_reply) +...
Load replies into Reply objects
hellostealth_stealth
train
d1424b6cb77aba2e97b19eba2e3a1273b000ca5e
diff --git a/src/piplint/__init__.py b/src/piplint/__init__.py index <HASH>..<HASH> 100644 --- a/src/piplint/__init__.py +++ b/src/piplint/__init__.py @@ -68,7 +68,7 @@ def check_requirements(requirement_files, strict=False): for r_package, r_compare, r_version, r_line in listed_reqs: if not strict: - ...
Fix to make non-strict checking work.
dcramer_piplint
train
3d0fe0d2c3671dfb8fe97373a711d9ea23c06eac
diff --git a/src/main/webapp/scripts/core/augmented.js b/src/main/webapp/scripts/core/augmented.js index <HASH>..<HASH> 100644 --- a/src/main/webapp/scripts/core/augmented.js +++ b/src/main/webapp/scripts/core/augmented.js @@ -44,7 +44,7 @@ return arguments[0]; }; - //extend(Augmented, Backbone); + e...
Added base extend from Backbone.js
Augmentedjs_augmented
train
b77f163d837ee1fd9fdc3816200ff661d1589d32
diff --git a/packages/metascraper-clearbit/index.js b/packages/metascraper-clearbit/index.js index <HASH>..<HASH> 100644 --- a/packages/metascraper-clearbit/index.js +++ b/packages/metascraper-clearbit/index.js @@ -17,8 +17,7 @@ const appendQuery = (data, query) => { return { ...data, logo: `${logoUrl}?${stringify(q...
refactor(metascraper): use domain as key
microlinkhq_metascraper
train
edaf24c2a0a0d4f93a4b35017be8fc2f365a865c
diff --git a/android/src/main/java/com/swmansion/reanimated/ReanimatedModule.java b/android/src/main/java/com/swmansion/reanimated/ReanimatedModule.java index <HASH>..<HASH> 100644 --- a/android/src/main/java/com/swmansion/reanimated/ReanimatedModule.java +++ b/android/src/main/java/com/swmansion/reanimated/ReanimatedM...
Make `ReanimatedModule.NAME` public (#<I>) This allow using the constant directly with `TurboReactPackage`.
kmagiera_react-native-reanimated
train
fd057dd9c5a39c1a51818cd8698a5f836f989333
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -9,9 +9,9 @@ paths = ['../param/', '.', '..'] add_paths(paths) # # General information about the project. -project = u'CubeExplorer' -copyright = u'2016, CubeExplorer developers' -authors = u'CubeExplorer devel...
Updated conf.py to refer to HoloCube instead of CubeExplorer
pyviz_geoviews
train
dc138fbce38c29f9f66d91d964448b2804d3b888
diff --git a/commerce-price-list-web/src/main/java/com/liferay/commerce/price/list/web/internal/display/context/CommercePriceListDisplayContext.java b/commerce-price-list-web/src/main/java/com/liferay/commerce/price/list/web/internal/display/context/CommercePriceListDisplayContext.java index <HASH>..<HASH> 100644 --- a...
COMMERCE-<I> Check for nullness
liferay_com-liferay-commerce
train
81ae05c84f70d8b2a82768959b204870815f4c28
diff --git a/eureka-examples/src/main/java/com/netflix/eureka/ExampleEurekaGovernatedService.java b/eureka-examples/src/main/java/com/netflix/eureka/ExampleEurekaGovernatedService.java index <HASH>..<HASH> 100644 --- a/eureka-examples/src/main/java/com/netflix/eureka/ExampleEurekaGovernatedService.java +++ b/eureka-exa...
Binding exception due EurekaInstanceConfig was already configured in EurekaModule
Netflix_eureka
train
4fe155e17c17db5b8ccc2908770dfabded797899
diff --git a/lib.go b/lib.go index <HASH>..<HASH> 100644 --- a/lib.go +++ b/lib.go @@ -58,7 +58,7 @@ func (c *Cell) GetStyle() *Style { fill.PatternType = c.styles.Fills[xf.FillId].PatternFill.PatternType fill.BgColor = c.styles.Fills[xf.FillId].PatternFill.BgColor.RGB fill.FgColor = c.styles.Fills[xf.FillI...
* Change Style.Fills -> Style.Fill (a better name for a singular element) * Add test for Fills getting copied into user facing Style struct.
tealeg_xlsx
train
dd1ba2a2521dca5f25bbe34314a8d66fe462b053
diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java index <HASH>..<HASH> 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java +++ b/codec-http/src/main/java/io/netty/han...
HttpObjectDecoder resetRequested not updated after reset Motivation: HttpObjectDecoder maintains a resetRequested flag which is used to determine if internal state should be reset when a decode occurs. However after a reset is done the resetRequested flag is not set to false. This leads to all data after this point be...
netty_netty
train
78108f5040e139c76195b0c756453f305c3ebeeb
diff --git a/lib/PHPSemVer/Console/AbstractCommand.php b/lib/PHPSemVer/Console/AbstractCommand.php index <HASH>..<HASH> 100644 --- a/lib/PHPSemVer/Console/AbstractCommand.php +++ b/lib/PHPSemVer/Console/AbstractCommand.php @@ -166,6 +166,10 @@ abstract class AbstractCommand extends Command return $ruleSet;...
CLI: Local configurations can be loaded without ".xml" suffix.
ScreamingDev_phpsemver
train
b937a4fba0ccbb9c09b246c6e48f81167d92a570
diff --git a/gui/src/main/java/org/jboss/as/console/client/shared/subsys/modcluster/ModclusterView.java b/gui/src/main/java/org/jboss/as/console/client/shared/subsys/modcluster/ModclusterView.java index <HASH>..<HASH> 100644 --- a/gui/src/main/java/org/jboss/as/console/client/shared/subsys/modcluster/ModclusterView.jav...
rollback previous changes from hpehl
hal_core
train
3f3d1f72430180e8794cc17de46ba3b9a150d51e
diff --git a/core/src/main/java/de/javakaffee/web/msm/MemcachedSessionService.java b/core/src/main/java/de/javakaffee/web/msm/MemcachedSessionService.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/de/javakaffee/web/msm/MemcachedSessionService.java +++ b/core/src/main/java/de/javakaffee/web/msm/MemcachedSessi...
For non-sticky session register ref on create session. This shall support the case where the request creating the session invokes another page (e.g. via forward) that then runs "in parallel". Refs #<I>
magro_memcached-session-manager
train
e32ccf795d630ef340b106dd91f0be31d8d045bb
diff --git a/meshio/msh_io/main.py b/meshio/msh_io/main.py index <HASH>..<HASH> 100644 --- a/meshio/msh_io/main.py +++ b/meshio/msh_io/main.py @@ -49,6 +49,7 @@ def _read_header(f, int_size): data-size(ASCII int; sizeof(size_t)) < int with value one; only in binary mode, to detect endianness > + thou...
DOC: while version is specified as ASCII double it's here a str #<I>
nschloe_meshio
train
d78209b396b0609c8675c2e671dc6b50c45e44d7
diff --git a/plenum/server/node.py b/plenum/server/node.py index <HASH>..<HASH> 100644 --- a/plenum/server/node.py +++ b/plenum/server/node.py @@ -2075,12 +2075,21 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage, .format(self, get_seq_no(txn), ledger_id, ...
INDY-<I>: Fix for clearing requests
hyperledger_indy-plenum
train
c5d922cc93aaa96773070d35b8a225bee772380c
diff --git a/src/python/pants/backend/jvm/tasks/junit_run.py b/src/python/pants/backend/jvm/tasks/junit_run.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/jvm/tasks/junit_run.py +++ b/src/python/pants/backend/jvm/tasks/junit_run.py @@ -26,7 +26,6 @@ from pants.java.util import execute_java from pants.ut...
Make sure junit_run task only runs on targets that are junit compaible Testing Done: Two questions: 1. any suggestions on how to write a unit test for the code change? I didn't find unittest for this class. 2. how do I test the changes? Should I just create some dummy BUILD files and only put resources targets into ...
pantsbuild_pants
train
42eeaa352768088d434bd8665d3d62ad8fe16924
diff --git a/bulkManager/code/GridFieldBulkActionEditHandler.php b/bulkManager/code/GridFieldBulkActionEditHandler.php index <HASH>..<HASH> 100644 --- a/bulkManager/code/GridFieldBulkActionEditHandler.php +++ b/bulkManager/code/GridFieldBulkActionEditHandler.php @@ -238,10 +238,7 @@ class GridFieldBulkActionEditHandler...
$dataFields needs to be indexed by the field name
colymba_GridFieldBulkEditingTools
train
c0c35b4cbe4e85c88b81129612afa6eb59c4e514
diff --git a/lib/middleman-s3_sync/commands.rb b/lib/middleman-s3_sync/commands.rb index <HASH>..<HASH> 100644 --- a/lib/middleman-s3_sync/commands.rb +++ b/lib/middleman-s3_sync/commands.rb @@ -11,10 +11,14 @@ module Middleman true end - desc "s3_sync", "Builds and push the minimum set of files ...
Add a --bucket command line to allow configuring an alternate destination bucket. fixes #2.
fredjean_middleman-s3_sync
train
39ce09865210802fd3ec95a706b6836aadc56bdf
diff --git a/org.kevoree.modeling.microframework/src/main/java/org/kevoree/modeling/memory/chunk/impl/AbstractOffHeapTree.java b/org.kevoree.modeling.microframework/src/main/java/org/kevoree/modeling/memory/chunk/impl/AbstractOffHeapTree.java index <HASH>..<HASH> 100644 --- a/org.kevoree.modeling.microframework/src/mai...
fix: improved code quality, documentation, and readability
datathings_greycat
train
0d3c4aa94383fbf308c020fb96d2c171d8d217c8
diff --git a/Branch-SDK/src/io/branch/referral/Branch.java b/Branch-SDK/src/io/branch/referral/Branch.java index <HASH>..<HASH> 100644 --- a/Branch-SDK/src/io/branch/referral/Branch.java +++ b/Branch-SDK/src/io/branch/referral/Branch.java @@ -2274,7 +2274,10 @@ public class Branch implements BranchViewHandler.IBranchVi...
Avoid race condition Fetch WeakReference value to local variable to avoid race condition which ends up in npe.
BranchMetrics_android-branch-deep-linking
train
3e537e005810b322c9e4e56435dad050d24b05d5
diff --git a/frasco_upload/__init__.py b/frasco_upload/__init__.py index <HASH>..<HASH> 100644 --- a/frasco_upload/__init__.py +++ b/frasco_upload/__init__.py @@ -6,7 +6,7 @@ import uuid import os from .utils import * from io import BytesIO -from tempfile import TemporaryFile, NamedTemporaryFile +from tempfile impor...
allow to provide a filename of save_file_temporarly()
frascoweb_frasco-upload
train
b92c7a5fd8d6fefd3374f7ae5906f1706448671a
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js +++ b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js @@ -9...
Bug <I> - [Projects] Minor bugs after changing the Deploy selection policy - problem when no selection
eclipse_orion.client
train
30134be4458d9a98c746d83487f51d6242cbd6f8
diff --git a/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js b/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js index <HASH>..<HASH> 100644 --- a/server/sonar-web/src/main/js/apps/overview/qualityGate/QualityGateConditions.js +++ b/server/sonar-web/src/main...
Fix for quality gate link redirecting to master branch
SonarSource_sonarqube
train
ec7ee380e15b66a12aa3dafb35f909f6ce733882
diff --git a/sx/pisa3/pisa_context.py b/sx/pisa3/pisa_context.py index <HASH>..<HASH> 100644 --- a/sx/pisa3/pisa_context.py +++ b/sx/pisa3/pisa_context.py @@ -153,9 +153,11 @@ def getParaFrag(style): return frag def getDirName(path): - if path and not (path.lower().startswith("http:") or path.lower().st...
try to inject some sanity in handling of base paths. This might mean that the main functionality is broken, but I don't really care.
xhtml2pdf_xhtml2pdf
train
e3ea4a02f6d2fd038f38ae3f02a27a28528ae282
diff --git a/lib/core/facade.rb b/lib/core/facade.rb index <HASH>..<HASH> 100644 --- a/lib/core/facade.rb +++ b/lib/core/facade.rb @@ -236,8 +236,8 @@ module Facade #----------------------------------------------------------------------------- # Core plugin interface - def reload(core = false, &code) - Ma...
Refactoring the reload parameters in the facade, manager, and gems interface to fix issues with the duplicate require of gem loaders.
coralnexus_nucleon
train
c9dc8d2f2cb9445602bb2bfe6bdf67f7d21948ac
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -6,9 +6,11 @@ var events = require('events'); var exec = require('child_process').exec; var executable = require('executable'); var findFile = require('find-file'); +var merge = require('mout/object/merge'); var path = req...
Add support for defining URLs for different platforms and arches Fixes #<I>.
kevva_bin-wrapper
train
cd835c4dc2baecfc62fa9d3572537fdebee15ba4
diff --git a/thrifty-java-codegen/src/main/java/com/microsoft/thrifty/gen/TypeResolver.java b/thrifty-java-codegen/src/main/java/com/microsoft/thrifty/gen/TypeResolver.java index <HASH>..<HASH> 100644 --- a/thrifty-java-codegen/src/main/java/com/microsoft/thrifty/gen/TypeResolver.java +++ b/thrifty-java-codegen/src/mai...
Remove typedef assertions from TypeResolver (#<I>)
Microsoft_thrifty
train
9e3de2bde8972ba8b9ffe6889b77463752484886
diff --git a/lib/bolt/analytics.rb b/lib/bolt/analytics.rb index <HASH>..<HASH> 100644 --- a/lib/bolt/analytics.rb +++ b/lib/bolt/analytics.rb @@ -33,7 +33,7 @@ module Bolt logger = Bolt::Logger.logger(self) begin config_file = config_path - config = load_config(config_file) + confi...
(bug) Do not warn about analytics when analytics is disabled This fixes a bug that was causing Bolt to warn about analytics collection when analytics is disabled in a config file and the `analytics.yaml` file does not exist. !bug * **Do not warn about analytics when analytics is disabled** Bolt no longer displays...
puppetlabs_bolt
train
7b278bf0d63b9648df0c965b16b586822b2373ab
diff --git a/tests/test_compiler.py b/tests/test_compiler.py index <HASH>..<HASH> 100644 --- a/tests/test_compiler.py +++ b/tests/test_compiler.py @@ -5,7 +5,7 @@ from subprocess import Popen, PIPE from sys import path as sys_path from tempfile import TemporaryDirectory from types import ModuleType -from unittest im...
Added one more test for package keyword. #PB3-<I> Fixed
Pr0Ger_protobuf3
train
7db3ec4c60d21e38e4ae0602e8b95e93d449297d
diff --git a/safe_qgis/batch/batch_dialog.py b/safe_qgis/batch/batch_dialog.py index <HASH>..<HASH> 100644 --- a/safe_qgis/batch/batch_dialog.py +++ b/safe_qgis/batch/batch_dialog.py @@ -18,6 +18,10 @@ __date__ = '01/10/2012' __copyright__ = ('Copyright 2012, Australia Indonesia Facility for ' 'Disas...
Test to see if setting sip api2 in module works for failing tests
inasafe_inasafe
train
2bfab7e6f38b782c7dc77bf80aa9da191311e2fb
diff --git a/app/services/referrals/capture_referral_action_service.rb b/app/services/referrals/capture_referral_action_service.rb index <HASH>..<HASH> 100644 --- a/app/services/referrals/capture_referral_action_service.rb +++ b/app/services/referrals/capture_referral_action_service.rb @@ -8,7 +8,7 @@ module Referrals ...
Call method directly on partner (Logic moved to partner class)
psagan_referrals
train
f18b9143391afac98af041f9e6b00ffa273bb0d4
diff --git a/jax/interpreters/xla.py b/jax/interpreters/xla.py index <HASH>..<HASH> 100644 --- a/jax/interpreters/xla.py +++ b/jax/interpreters/xla.py @@ -82,7 +82,7 @@ def _device_put_unit(_, device): device),) def _make_array_shape(a): if a.dtype is dtypes.float0: - return ...
Remove scalar float0 XLA representation. Some places in the code (e.g. lower_fun in xla.py) we need to go from an XLA shape to a ShapedArray and cannot do this if we drop shape information earlier.
tensorflow_probability
train
e3db1236de65619d26e87eb7c886e565fcc2eafc
diff --git a/contracts/chequebook/cheque_test.go b/contracts/chequebook/cheque_test.go index <HASH>..<HASH> 100644 --- a/contracts/chequebook/cheque_test.go +++ b/contracts/chequebook/cheque_test.go @@ -232,8 +232,8 @@ func TestDeposit(t *testing.T) { balance := new(big.Int).SetUint64(42) chbook.Deposit(balance) ...
contracts/chequebook: fix race in test (#<I>)
ethereum_go-ethereum
train
05da64e9c766bb0d125d0cb7405b85bf1ebc7ae7
diff --git a/qiskit/aqua/operators/primitive_ops/circuit_op.py b/qiskit/aqua/operators/primitive_ops/circuit_op.py index <HASH>..<HASH> 100644 --- a/qiskit/aqua/operators/primitive_ops/circuit_op.py +++ b/qiskit/aqua/operators/primitive_ops/circuit_op.py @@ -24,7 +24,6 @@ from qiskit.circuit import Instruction, Paramet...
PrimitiveOp @ ComposedOp to be consistent with ComposedOp @ PrimitiveOp (Qiskit/qiskit-aqua#<I>) * 1) compose in MatrixOp, PauliOp and CircuitOp enhanced, to be consistent with ComposedOp.compose 2) test_compose_consistency added to verify the consistency * DRY applied
Qiskit_qiskit-terra
train
576746d9ae27571b99b85cee4abb68dba5e9d92a
diff --git a/auth.py b/auth.py index <HASH>..<HASH> 100644 --- a/auth.py +++ b/auth.py @@ -15,9 +15,7 @@ from eth_keys import ( keys, ) -from eth_utils import ( - keccak, -) +from eth_hash.auto import keccak from p2p import ecies from p2p import kademlia diff --git a/discovery.py b/discovery.py index <HA...
Import keccak() from eth_hash instead of eth_utils The eth_utils version was intended to be a convenience wrapper adding support for arg types other than bytes, but that has a significant performance overhead and is not needed in py-evm, so import directly from eth_hash
ethereum_asyncio-cancel-token
train
085b47ed4462318c643404643b019ba90d9b27cc
diff --git a/packages/neos-ui-editors/src/TextField/index.js b/packages/neos-ui-editors/src/TextField/index.js index <HASH>..<HASH> 100644 --- a/packages/neos-ui-editors/src/TextField/index.js +++ b/packages/neos-ui-editors/src/TextField/index.js @@ -17,7 +17,7 @@ const defaultOptions = { export default class TextFiel...
BUGFIX: fix wrong proptype along the way
neos_neos-ui
train
4d7f7b77ff99d7d27518b4dad7bb0aff14efc70d
diff --git a/src/api/http/api.go b/src/api/http/api.go index <HASH>..<HASH> 100644 --- a/src/api/http/api.go +++ b/src/api/http/api.go @@ -189,7 +189,7 @@ func (self *HttpServer) query(w libhttp.ResponseWriter, r *libhttp.Request) { query := r.URL.Query().Get("q") db := r.URL.Query().Get(":db") - self.tryAsDbUser...
the http api should propagate errors properly.
influxdata_influxdb
train
dae903432dcffa8d45d42bc438e84a6ba35b8cf0
diff --git a/cli.js b/cli.js index <HASH>..<HASH> 100755 --- a/cli.js +++ b/cli.js @@ -203,15 +203,14 @@ function childize(callback) { } function undaemonize(callback) { - if(ARGV.pidfile) - fs.unlink(ARGV.pidfile, function(er) { - if(er) - LOG.error('Failed to clean PID file %j: %s', ARGV.pidfile, ...
Refactor to always unlink the pidfile since it is mandatory for daemonization
iriscouch_fastcgi
train
0f1cdef21d8c991a82fc6b5dc7f4e7feb225f953
diff --git a/src/test/java/water/JUnitRunner.java b/src/test/java/water/JUnitRunner.java index <HASH>..<HASH> 100644 --- a/src/test/java/water/JUnitRunner.java +++ b/src/test/java/water/JUnitRunner.java @@ -1,6 +1,6 @@ package water; -import hex.NeuralNetSpiralsTest; +import hex.*; import org.apache.commons.lang.Ar...
Disable NeuralNet Iris comparison against reference. Already done indirectly by comparing against NN, which is compared against the reference.
h2oai_h2o-2
train
85353d5be8612e983a7f93b522413ff6fa93e214
diff --git a/src/main/java/com/synopsys/integration/blackduck/codelocation/signaturescanner/ScanBatchBuilder.java b/src/main/java/com/synopsys/integration/blackduck/codelocation/signaturescanner/ScanBatchBuilder.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/synopsys/integration/blackduck/codelocation/signatu...
Suppress error when uploadSource is set, snippetMatching isn't, but licenseSearch is for scans
blackducksoftware_blackduck-common
train
6c43646a676c5034a555f7155b84c214e00f7e5c
diff --git a/storage/storage.go b/storage/storage.go index <HASH>..<HASH> 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -22,9 +22,6 @@ type Storage interface { // GetCookieJar returns with cookie jar that implements the // http.CookieJar interface GetCookieJar() http.CookieJar - // Close is responsi...
[mod] remove Close method from Storage interface
gocolly_colly
train
f8bb95390aee1754d36ee49ac6ecd62125fb5f3d
diff --git a/test/core/test_tasks.py b/test/core/test_tasks.py index <HASH>..<HASH> 100644 --- a/test/core/test_tasks.py +++ b/test/core/test_tasks.py @@ -144,16 +144,14 @@ class ReceiveTestRunTest(TestCase): class TestValidateTestRun(TestCase): - def test_invalid_metadata_json(self): - validate = Valida...
ValidateTestRun: refactor invalid JSON test to use common assert method
Linaro_squad
train
b0ab5c6b9c02315bc70f8f622a666e82cfe3f6bb
diff --git a/jruby/pom.xml b/jruby/pom.xml index <HASH>..<HASH> 100644 --- a/jruby/pom.xml +++ b/jruby/pom.xml @@ -9,7 +9,17 @@ <artifactId>stapler-jruby</artifactId> <name>Stapler JRuby module</name> <description>JRuby binding for Stapler</description> - + <build> + <plugins> + <plugin> + <g...
All the JRuby tests seem to fail at random, so just skip them all.
stapler_stapler
train
e20624c13275d625fe00d610b98d1f127000ae65
diff --git a/_pydevd_bundle/pydevd_vars.py b/_pydevd_bundle/pydevd_vars.py index <HASH>..<HASH> 100644 --- a/_pydevd_bundle/pydevd_vars.py +++ b/_pydevd_bundle/pydevd_vars.py @@ -593,23 +593,20 @@ def dataframe_to_xml(df, name, roffset, coffset, rows, cols, format): xml += "<headerdata rows=\"%s\" cols=\"%s\">\n" ...
PY-<I> Pandas DataFrame viewer for multiindex frames raises TypeError (cherry picked from commit <I>d<I>a)
fabioz_PyDev.Debugger
train
e1592aef48e204ba9740081846edd7571b5cbfdc
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -97,6 +97,16 @@ type RequestLogHook func(*log.Logger, *http.Request, int) // from this method, this will affect the response returned from Do(). type ResponseLogHook func(*log.Logger, *http.Response) +// CheckRetry spe...
more review changes Make a CheckRetry function type, and move the bulk of the documentation out of the Client. Initialize the CheckRetry field to DefaultRetryPolicy in the NewClient fucntion, and leave out the check in the Do method. Since Logger would panic immediately, a zero-value Client would never make it to tha...
hashicorp_go-retryablehttp
train
ce8294c4fc6212dee6c870ab92f43fb2846c3a82
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -124,8 +124,8 @@ def get_version_info(): vinfo = _version_helper.generate_git_version_info() except: vinfo = vdummy() - vinfo.version = '1.16.dev9' - vinfo.release = 'False' + vinfo....
Prepare for release (#<I>)
gwastro_pycbc
train
b52d6cbdc4a85195a4cc1d1f96df0ff613dc3d84
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -174,6 +174,10 @@ func formatUnknownMap(m map[string]interface{}) string { return s } +func (c *Client) LeaveRealm() { + c.Send(goodbyeClient) +} + func (c *Client) Close() { c.Send(goodbyeClient) c.Peer.Close()
Add the ability for the client to leave a realm
gngeorgiev_gowamp
train
0b0c13764b8dc3b56ef89b53da7d8db73779d435
diff --git a/src/ORM/DataQuery.php b/src/ORM/DataQuery.php index <HASH>..<HASH> 100644 --- a/src/ORM/DataQuery.php +++ b/src/ORM/DataQuery.php @@ -395,7 +395,12 @@ class DataQuery // format internally; then this check can be part of selectField() $selects = $query->getSelect();...
FIX allow custom SELECT to be used for sorting in DataQuery::column(). If a custom select clause (using special features such as `CASE`) is used, and it was added using `SQLSelect::selectField`, the custom select clause should be retained when calling DataQuery::column().
silverstripe_silverstripe-framework
train
91e8ef2b9ebefcb3c9c788719347ea27917ee43e
diff --git a/_bootstrap.js b/_bootstrap.js index <HASH>..<HASH> 100644 --- a/_bootstrap.js +++ b/_bootstrap.js @@ -24,9 +24,13 @@ var _GLOBAL = window; for(var index = 0; index < scripts.length; index++) { var script = scripts[index]; - if (script.src.toString().match(/ria\/_bootstrap\.js$/i)) { ...
fixed libs resolve and ria.__CFG search
viatsyshyn_emp.ria
train
27578cc0b8ba0c679d9e587ecbdfb5ff08536c35
diff --git a/src/sap.m/src/sap/m/Input.js b/src/sap.m/src/sap/m/Input.js index <HASH>..<HASH> 100644 --- a/src/sap.m/src/sap/m/Input.js +++ b/src/sap.m/src/sap/m/Input.js @@ -1789,26 +1789,35 @@ function( }; /** - * Applies Suggestion Acc + * Applies Suggestion Accessibility + * + * Adds the aria-desribedby t...
[FIX] sap.m.Input: aria-describedby announcement with delayed filtering fixed BCP: <I> Change-Id: Ib<I>fce1dcae<I>cccf9e<I>a<I>bf<I>fcac
SAP_openui5
train
6284ff5778baf2afc32a5b47c857686b4c346e83
diff --git a/compiler/src/org/apache/thrift/j2/compiler/format/java2/Java2MessageFormatter.java b/compiler/src/org/apache/thrift/j2/compiler/format/java2/Java2MessageFormatter.java index <HASH>..<HASH> 100644 --- a/compiler/src/org/apache/thrift/j2/compiler/format/java2/Java2MessageFormatter.java +++ b/compiler/src/org...
Use L not l for more longs.
morimekta_providence
train
b3f92fe2d3b9d3e3e0306be70ecfa5765cddc88e
diff --git a/spec/object_daddy_spec.rb b/spec/object_daddy_spec.rb index <HASH>..<HASH> 100644 --- a/spec/object_daddy_spec.rb +++ b/spec/object_daddy_spec.rb @@ -53,6 +53,10 @@ describe ObjectDaddy, "when registering a generator method" do lambda { @class.generator_for :foo, :first => 'baz' do end }.should_not ra...
Adding specs to ensure blocks that specifically take no args (arity of 0 instead of -1 in Ruby <I>) work just as well as blocks that implicitly take no arguments.
flogic_object_daddy
train
eb83dfe86c8d3a225efa1c6bb146bd4bfc9d8652
diff --git a/lib/dropcaster/channel_file_locator.rb b/lib/dropcaster/channel_file_locator.rb index <HASH>..<HASH> 100644 --- a/lib/dropcaster/channel_file_locator.rb +++ b/lib/dropcaster/channel_file_locator.rb @@ -27,7 +27,7 @@ module Dropcaster if sources.respond_to?(:at) # More than one source ...
Fix issue #2 (wrong directory assumed for channel file when single source directory is passed)
nerab_dropcaster
train
c4370b146b25ef93eaf1f31dea5f89f15c24d941
diff --git a/tinman/data.py b/tinman/data.py index <HASH>..<HASH> 100644 --- a/tinman/data.py +++ b/tinman/data.py @@ -85,7 +85,7 @@ class DataLayer: for connection in connections: if connections[connection]['driver'] == 'SQLAlchemy': logging.debug('Creating all for session "%s"' ...
create_all is in metadata; not session.
gmr_tinman
train
aefc2b91a4a9d249691cd03906bf8c2ea4ce4e39
diff --git a/lib/Daemon_WorkerThread.php b/lib/Daemon_WorkerThread.php index <HASH>..<HASH> 100755 --- a/lib/Daemon_WorkerThread.php +++ b/lib/Daemon_WorkerThread.php @@ -496,6 +496,9 @@ class Daemon_WorkerThread extends Thread { * @return boolean - Success. */ public function setStatus($int) { + if (Daemon::$...
Added constants WSTATE_*.
kakserpom_phpdaemon
train
547e070b3681d7c9c1ff9ca6ded1eab053161b15
diff --git a/legit/cli.py b/legit/cli.py index <HASH>..<HASH> 100644 --- a/legit/cli.py +++ b/legit/cli.py @@ -222,8 +222,8 @@ def cmd_graft(args): if not into_branch: into_branch = repo.head.ref.name - branch_names = get_branch_names(local=True, remote=False) - remote_branch_names = get_branch_na...
Configurable Remote Configure the remote that legit uses. Use `git config legit.remote "<remote name>"` to configure the remote. Raises ValueError if remote does not exist.
kennethreitz_legit
train
7fd3d1fd2b29eb60b2841ebeebc977b9fa668bf8
diff --git a/lib/plucky/collection.rb b/lib/plucky/collection.rb index <HASH>..<HASH> 100644 --- a/lib/plucky/collection.rb +++ b/lib/plucky/collection.rb @@ -15,32 +15,32 @@ module Plucky @collection = collection end - query_delegator :fields, :filter, :limit, :reverse, :skip, :sort + query_delegat...
Renamed Query#update to options. Added Collection#where for adding $where clause.
mongomapper_plucky
train
d03fcf2809ef184ceb19926a17b151cdcbf3f60d
diff --git a/tests/utils/known-browsers_tests.js b/tests/utils/known-browsers_tests.js index <HASH>..<HASH> 100644 --- a/tests/utils/known-browsers_tests.js +++ b/tests/utils/known-browsers_tests.js @@ -122,7 +122,7 @@ describe('knownBrowsers', function() { }); }); - it('a custom browser path for...
Changing the language of browser_path tests
testem_testem
train
bd44656cb56565b8ecacc79fe004fc4ec8090540
diff --git a/stanza/utils/confusion.py b/stanza/utils/confusion.py index <HASH>..<HASH> 100644 --- a/stanza/utils/confusion.py +++ b/stanza/utils/confusion.py @@ -1,3 +1,27 @@ + +from collections import defaultdict + +def condense_ner_labels(confusion, labels): + new_confusion = defaultdict(lambda: defaultdict(int))...
Make the matrix more readable when there are a ton of categories
stanfordnlp_stanza
train
09c554aada6fbb966f1bd46e02109f0fe6e92c7d
diff --git a/slave/buildslave/test/unit/test_commands_mtn.py b/slave/buildslave/test/unit/test_commands_mtn.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/test/unit/test_commands_mtn.py +++ b/slave/buildslave/test/unit/test_commands_mtn.py @@ -493,6 +493,7 @@ class TestMonotone(SourceCommandTestMixin, unittest.T...
Fix missing patch that caused tests to fail for Monotone
buildbot_buildbot
train
1792b07848217b372513ba421f1e11befc407dac
diff --git a/tools/src/main/java/com/graphhopper/tools/CHMeasurement.java b/tools/src/main/java/com/graphhopper/tools/CHMeasurement.java index <HASH>..<HASH> 100644 --- a/tools/src/main/java/com/graphhopper/tools/CHMeasurement.java +++ b/tools/src/main/java/com/graphhopper/tools/CHMeasurement.java @@ -36,7 +36,6 @@ imp...
finite u-turn costs in CHMeasurement, minor fixes
graphhopper_graphhopper
train
3362db4dd065e1ad458b55a5957fcf554d0a3987
diff --git a/lib/VariantViewer.js b/lib/VariantViewer.js index <HASH>..<HASH> 100644 --- a/lib/VariantViewer.js +++ b/lib/VariantViewer.js @@ -7,11 +7,11 @@ var _ = require("underscore"); var FeatureFactory = require("./FeatureFactory"); var NonOverlappingLayout = require("./NonOverlappingLayout"); var TooltipFactor...
Use ViewerFactory.
ebi-uniprot_ProtVista
train
6cbaef165c557d45611f388d63c5964adc150698
diff --git a/src/async_store.js b/src/async_store.js index <HASH>..<HASH> 100644 --- a/src/async_store.js +++ b/src/async_store.js @@ -194,6 +194,16 @@ AsyncStore.__prototype__ = function() { } }; + this.subscribe = function(docId, role, cb) { + console.log("AsyncStore.subscribe", docId, role); + try {...
Bugfixes in replicator and support for document subscriptions.
substance_store
train
8fe70f26ded46f81a1a3440fd686063b3116ed94
diff --git a/lib/acstools/runastrodriz.py b/lib/acstools/runastrodriz.py index <HASH>..<HASH> 100755 --- a/lib/acstools/runastrodriz.py +++ b/lib/acstools/runastrodriz.py @@ -37,8 +37,8 @@ import pyfits __taskname__ = "runastrodriz" # Local variables -__version__ = "1.0.0" -__vdate__ = "(31-Aug-2011)" +__version__...
Updated version ID for runastrodriz to reflect how it now automatically generates 2 products for _asn files with both _flt and _flc inputs. git-svn-id: <URL>
spacetelescope_acstools
train
b9c12d44c3d8e5697d892c2938fe4e031c90a137
diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java index <HASH>..<HASH> 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java +++ b/smack-tcp/src/main/java/org/jivesoftware/sm...
Use InetSocketAddress in log message in XMPPTCPConnection The inetAddressAndPort String is redundant since a<I>b8a<I>e<I>f<I>adcb<I>f<I>d<I>ef<I>e1, because we now construct the InetSocketAddress earlier and can hence use it in the log statement.
igniterealtime_Smack
train
d76fadeb11fff06b58ca4d4991b7099bbc97ec45
diff --git a/zzk/docker/action.go b/zzk/docker/action.go index <HASH>..<HASH> 100644 --- a/zzk/docker/action.go +++ b/zzk/docker/action.go @@ -28,7 +28,7 @@ func (a *Action) SetVersion(version interface{}) { a.version = version } func ListenAction(conn client.Connection, hostID string) { // Make the path if it doesn...
Remove recursive createDir. conn.CreateDir should do that already
control-center_serviced
train
306427803a8c88c75aa7f20a60633d8e8dedaba3
diff --git a/crumbs/__init__.py b/crumbs/__init__.py index <HASH>..<HASH> 100644 --- a/crumbs/__init__.py +++ b/crumbs/__init__.py @@ -150,7 +150,7 @@ class Parameters(object): long_option = max(kwargs['options'], key = len) kwargs['options'].remove(long_option) - kwar...
Change _ to - in command line arguments. This fixes #3 by forcing '_' into '-' for command line arguments. This updates the help strings as well as what is read in from the command line arguments.
alunduil_crumbs
train
7f920961fdb61204000ff7705f364c128f2e3a82
diff --git a/src/Gitee/OAuth2.php b/src/Gitee/OAuth2.php index <HASH>..<HASH> 100644 --- a/src/Gitee/OAuth2.php +++ b/src/Gitee/OAuth2.php @@ -145,8 +145,20 @@ class OAuth2 extends Base */ public function refreshToken($refreshToken) { - // 不支持 - return false; + $response = $this->ht...
Support gitee refreshToken (#<I>)
Yurunsoft_YurunOAuthLogin
train
02076af2fd0e759d46aa265e5cd07b2e8565fea8
diff --git a/f90nml/parser.py b/f90nml/parser.py index <HASH>..<HASH> 100644 --- a/f90nml/parser.py +++ b/f90nml/parser.py @@ -91,7 +91,17 @@ class Parser(object): else: nml_patch = Namelist() - nml_file = open(nml_fname, 'r') + try: + nml_file = open(nml_fname, 'r') + ...
Improved open file handling on parser exceptions Previously, open files were individually closed when exceptions were raised within the namelist parsing subroutines. We now shift the parsing to a separate function (`readstream`), call it within a `try` block, and close the files within a `finally` block. Thanks to M...
marshallward_f90nml
train
d45adb99b4e444afe7ed3b92e13d1e6cd86cfb7a
diff --git a/Form/TypeExtension/FrujaxFormTypeExtension.php b/Form/TypeExtension/FrujaxFormTypeExtension.php index <HASH>..<HASH> 100644 --- a/Form/TypeExtension/FrujaxFormTypeExtension.php +++ b/Form/TypeExtension/FrujaxFormTypeExtension.php @@ -25,6 +25,7 @@ final class FrujaxFormTypeExtension extends AbstractTypeExt...
[FrujaxBundle] Added root variable to form view.
ruvents_ruwork-frujax-bundle
train
035257e425133de9368bbef268c38f179bdc68c2
diff --git a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCase.java index <HASH>..<HASH> 100644 --- a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YARNSessionCapacitySchedulerITCa...
[hotfix][tests] Fix wrong assertEquals in YARNSessionCapacitySchedulerITCase Test swapped actual and expected arguments. Remove catching Throwable in test; instead propagate all exceptions.
apache_flink
train
2238dcfe13b865cb88d65abe672b9d266c38ee5c
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -196,6 +196,22 @@ def test_load_ui_invalidxml(): finally: app.exit() +if binding("PySide") or binding("PySide2"): + def test_load_ui_overwrite_widget(): + """Checks to make sure ui file widgets super...
Added overwrite widget test only for PySide1 and 2
mottosso_Qt.py
train
807b6ffc23b60fd871c23a6b529eaaef2fe5cb94
diff --git a/CHANGES.md b/CHANGES.md index <HASH>..<HASH> 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,8 @@ The released versions correspond to PyPi releases. ## Version 4.4.0 (as yet unreleased) ### Fixes +* Reverted one Windows-specific optimization that can break tests under some + conditions (see [#573]...
Revert Windows-specific optimization for mounting c drive - can break tests under some conditions - see #<I>
jmcgeheeiv_pyfakefs
train
a2700538e6b075a6b74cdc6dbe1a6dd1da78e534
diff --git a/canvasapi/user.py b/canvasapi/user.py index <HASH>..<HASH> 100644 --- a/canvasapi/user.py +++ b/canvasapi/user.py @@ -5,6 +5,7 @@ from six import python_2_unicode_compatible from canvasapi.calendar_event import CalendarEvent from canvasapi.canvas_object import CanvasObject from canvasapi.communication_c...
Added Content Migration unit tests to user
ucfopen_canvasapi
train
1a5089ccdfa4aa3b62a06837744e6ce8c6127035
diff --git a/lib/munit.js b/lib/munit.js index <HASH>..<HASH> 100644 --- a/lib/munit.js +++ b/lib/munit.js @@ -146,9 +146,6 @@ munit.extend({ RENDER_STATE_FINISHED: 5, RENDER_STATE_COMPLETE: 6, - // These options don't inherit from parent modules - _optionReset: [ 'expect', 'queue', 'depends' ], - // Proxy all ...
No longer resetting specific options to their defaults for submodules. All modules inheirt from their parents
codenothing_munit
train
7fc3c7389946023ff6e7abe9be73be73711429a9
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java index <HASH>..<HASH> 100644 --- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/a...
[hotfix][runtime] Remove unused check for the ResourceSpec of SlotSharingGroup in calculation manage memory fraction As the resource requirement will be set to the ResourceProfile of SlotSharingGroup, the calculation of manage memory fraction should be aligned.
apache_flink
train
0e5528b023ee633182fa8f54725c970842609664
diff --git a/lib/will_paginate/collection.rb b/lib/will_paginate/collection.rb index <HASH>..<HASH> 100644 --- a/lib/will_paginate/collection.rb +++ b/lib/will_paginate/collection.rb @@ -7,8 +7,8 @@ module WillPaginate # the controller. # # This error is *not* raised when a page further than the last page is -...
Will Paginate now has the option to disable rendering of page links (only previous/next remain) or the DIV container (if the user is rolling out his own markup). [#<I> state:resolved] git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@<I> 1eaa<I>fe-a<I>a-<I>-9c2e-ae7a<I>a<I>c4
mislav_will_paginate
train
401fdb56bf5150edd01fdddf2b2eb33454deb509
diff --git a/tests/base_clf_pn53x.py b/tests/base_clf_pn53x.py index <HASH>..<HASH> 100644 --- a/tests/base_clf_pn53x.py +++ b/tests/base_clf_pn53x.py @@ -563,7 +563,7 @@ class TestDevice: CMD('4A 010300'), # InListPassiveTarget ]] - def pn53x_test_sense_ttf_no_tar...
All pn<I>x sense_ttf tests added.
nfcpy_nfcpy
train
ab94c44e2efd3fb1ebd324ea64a9452d48a9d1f3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,19 +10,9 @@ from distutils.command.build_ext import build_ext import os from subprocess import Popen, PIPE -import numpy import glob import shutil -# we allow numpy to fail import, in order to -# support egg_info f...
Don't require numpy to run the setup This relies on setuptools to install Numpy eggs with setup_requires, and uses a delayed import of Numpy to get the include_dirs.
esheldon_fitsio
train
0fbe33580195fbdea07bb7e4e07002c137482ba5
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -15,6 +15,6 @@ fs.readdirSync('./gulp/tasks') contents: require('./gulp/tasks/' + filename) }; }) - .filter(function (file) { + .forEach(function (file) { gulp.task(file.name, file...
refactor(gulpfile): use forEach instead of filter Closes #<I>.
angular_material
train
153fd110c43fffd2dcf98bf916df3a5ed55d299f
diff --git a/origin_ca.go b/origin_ca.go index <HASH>..<HASH> 100644 --- a/origin_ca.go +++ b/origin_ca.go @@ -19,6 +19,14 @@ type OriginCA struct { Csr string `json:"csr"` } +// OriginCAResponse is the APIv4 response envelop containing the OriginCA result +type OriginCAResponse struct { + Success b...
Add OriginCAResponse struct and check for successful response
cloudflare_cloudflare-go
train
a66449d85255fc3ec69aa842b8059f954d7b76e2
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb index <HASH>..<HASH> 100644 --- a/railties/test/generators_test.rb +++ b/railties/test/generators_test.rb @@ -165,15 +165,13 @@ class GeneratorsTest < GeneratorsTestCase def test_developer_options_are_overwriten_by_user_options Rai...
Ruby <I>: work around inherited hook being called before yielding to block
rails_rails
train
4c480372956622734599c8b47ca6597b33d98ec5
diff --git a/lib/Pause.php b/lib/Pause.php index <HASH>..<HASH> 100644 --- a/lib/Pause.php +++ b/lib/Pause.php @@ -10,13 +10,31 @@ use AsyncInterop\{ Loop, Promise }; final class Pause implements Promise { use Internal\Placeholder; + /** @var string Event loop watcher identifier. */ + private $watcher; + ...
Add reference/unreference methods to Pause
amphp_amp
train
9d036db32a8fb5dd71c44da59533e6ff7b082a8d
diff --git a/Embryo/Http/Message/Request.php b/Embryo/Http/Message/Request.php index <HASH>..<HASH> 100644 --- a/Embryo/Http/Message/Request.php +++ b/Embryo/Http/Message/Request.php @@ -53,8 +53,8 @@ $this->method = $this->filterMethod($method); $this->uri = is_string($uri) ?...
Fix bug Uri and body can to be null
davidecesarano_Embryo-Http
train
587ae6d442c660d9a0a0e9902711aa73e306f453
diff --git a/netpyne/sim/save.py b/netpyne/sim/save.py index <HASH>..<HASH> 100644 --- a/netpyne/sim/save.py +++ b/netpyne/sim/save.py @@ -321,6 +321,8 @@ def compactConnFormat(): del cell.conns cell.conns = newConns +_previousIntervalSaveFile = None + #---------------------------------------------...
delete data from previous interval saves after new save
Neurosim-lab_netpyne
train
e885bb82ca245b93c0562d31cae08928247036c0
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100644 --- a/runtests.py +++ b/runtests.py @@ -19,6 +19,7 @@ DEFAULT_SETTINGS = dict( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', +...
Adjust settings for Django <I>+ compatibility
5monkeys_djedi-cms
train
7f009a35bda7c345dbeab7c482f861f088c8e0ab
diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -4,7 +4,7 @@ namespace Encore\Wx; use Illuminate\Filesystem\Filesystem; use Encore\Wx\Command\Install as InstallCommand; -use Encore\View\Parser\GIML as ViewParse...
Updating service provider for new view parser binding name
encorephp_wxwidgets
train
8d95172821410dd93dd0de4c5e2bc95ebe54a314
diff --git a/.ci/ansible_tests.py b/.ci/ansible_tests.py index <HASH>..<HASH> 100755 --- a/.ci/ansible_tests.py +++ b/.ci/ansible_tests.py @@ -72,7 +72,7 @@ with ci_lib.Fold('job_setup'): with ci_lib.Fold('ansible'): playbook = os.environ.get('PLAYBOOK', 'all.yml') try: - run('./run_ansible_playbook.p...
warnings silenced, see if can put back in vvv
dw_mitogen
train
fc0c220d705009ee1bf1a526b14849be70adec9c
diff --git a/aikif/.z_prototype/ex_index_mydocs.py b/aikif/.z_prototype/ex_index_mydocs.py index <HASH>..<HASH> 100644 --- a/aikif/.z_prototype/ex_index_mydocs.py +++ b/aikif/.z_prototype/ex_index_mydocs.py @@ -1,19 +1,25 @@ -# coding: utf-8 -# ex_index_mydocs.py written by Duncan Murray 22/5/2014 +#!/usr/bin/python3 +...
index example prototype pointing to live backup of diary files
acutesoftware_AIKIF
train
51313c21a63c3ed47ba20df3ad7f26a45d5bf684
diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/http/mime_type.rb +++ b/actionpack/lib/action_dispatch/http/mime_type.rb @@ -31,7 +31,7 @@ module Mime SET = Mimes.new EX...
stop caching mime types globally Unknown mime types should not be cached globally. This global cache leads to a memory leak and a denial of service vulnerability. CVE-<I>-<I>
rails_rails
train