hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
7c405af5c85a49bc4fa43fac0df1555355bdd914
diff --git a/common/viewers.py b/common/viewers.py index <HASH>..<HASH> 100644 --- a/common/viewers.py +++ b/common/viewers.py @@ -105,7 +105,7 @@ class FoLiAViewer(AbstractViewer): transform = etree.XSLT(xslt_doc) #f = file.open() - xml_doc = etree.fromstring("".join(file.readlines())) + ...
attempted fix in foLiA viewer
proycon_clam
train
py
a0cfb82c31364717f41e16bfeca036646900f875
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -60,16 +60,12 @@ setup_params = dict( url="https://github.com/farzadghanei/statsd-metrics", license="MIT", classifiers=classifiers, + keywords="statsd metrics client", + test_suite="tests", + zip_safe=T...
Bring dict items to the dict() constructor in setup.py
farzadghanei_statsd-metrics
train
py
89058f6f1b99bfefb55c68217f93a64e33777dc8
diff --git a/lib/cucumber/formatter/console.rb b/lib/cucumber/formatter/console.rb index <HASH>..<HASH> 100644 --- a/lib/cucumber/formatter/console.rb +++ b/lib/cucumber/formatter/console.rb @@ -139,7 +139,9 @@ module Cucumber unknown_programming_language = runtime.unknown_programming_language? snip...
I had trouble when I had undefined steps, so I hacked it
cucumber_cucumber-ruby
train
rb
e92794f70f8a96a0c9e019cf087e10b6e909f9ca
diff --git a/xwiki-commons-tools/xwiki-commons-tool-xar/xwiki-commons-tool-xar-plugin/src/main/java/org/xwiki/tool/xar/VerifyMojo.java b/xwiki-commons-tools/xwiki-commons-tool-xar/xwiki-commons-tool-xar-plugin/src/main/java/org/xwiki/tool/xar/VerifyMojo.java index <HASH>..<HASH> 100644 --- a/xwiki-commons-tools/xwiki-c...
XCOMMONS-<I>: Verify that syntax is plain/<I> for Translations.xml documents * Fix javadoc
xwiki_xwiki-commons
train
java
f6d08e9c0415d3f02686de740e66d1932237d2dd
diff --git a/scaffolding/cms/global/global.js b/scaffolding/cms/global/global.js index <HASH>..<HASH> 100644 --- a/scaffolding/cms/global/global.js +++ b/scaffolding/cms/global/global.js @@ -1,3 +1,3 @@ -module.exports = { - company_name: "something" +{ + company_name: 'something' } \ No newline at end of file diff --...
changed scaffolding to match the new schema
Gottwik_Enduro
train
js,js
be1ac43bbea4eece5bd001da7de505216b61af7e
diff --git a/code/model/Order.php b/code/model/Order.php index <HASH>..<HASH> 100644 --- a/code/model/Order.php +++ b/code/model/Order.php @@ -214,6 +214,10 @@ class Order extends DataObject { return $this->Total = $calculator->calculate(); } + /** + * This is needed to maintain backwards compatiability with + ...
Added comment to Order->getModifier
silvershop_silvershop-core
train
php
373ecd9776dde6394528c6bc8f1c8797d7658d49
diff --git a/src/main/java/sqlline/ClassNameCompleter.java b/src/main/java/sqlline/ClassNameCompleter.java index <HASH>..<HASH> 100644 --- a/src/main/java/sqlline/ClassNameCompleter.java +++ b/src/main/java/sqlline/ClassNameCompleter.java @@ -70,7 +70,7 @@ public class ClassNameCompleter extends StringsCompleter { ...
[SQLLINE-<I>] Spaces in classpath SQLLine failed to find JDBC driver if the Java classpath has URL escape characters, e.g. space (' ') in it. Solution is to URL-decode file names from URLs.
julianhyde_sqlline
train
java
a9c88db16aff9f98331807cd74a9023bb05c67bf
diff --git a/lib/player.js b/lib/player.js index <HASH>..<HASH> 100644 --- a/lib/player.js +++ b/lib/player.js @@ -273,7 +273,7 @@ shaka.Player.prototype.destroy = async function() { * @define {string} A version number taken from git at compile time. * @export */ -shaka.Player.version = 'v2.5.0-beta2-uncompiled';...
Add -master back to version in master branch Change-Id: I8dc3d<I>c6d<I>d9b5f<I>ae5b<I>ce<I>
google_shaka-player
train
js
9c85102f489e9d83f86be747d72bda577fc469bd
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -35,12 +35,14 @@ function Monoxide() { mongoose.connect(uri, { promiseLibrary: global.Promise, useNewUrlParser: true, + }, function(err) { + if (err) { + if (_.isFunction(callback)) callback(err); + } else {...
BUGFIX: Better connection handling
hash-bang_Monoxide
train
js
a998ed6dcdfb5eddfa2846e014e91c11dba7df6e
diff --git a/visidata/fill.py b/visidata/fill.py index <HASH>..<HASH> 100644 --- a/visidata/fill.py +++ b/visidata/fill.py @@ -16,8 +16,8 @@ def fillNullValues(vd, col, rows): except Exception as e: val = e - if isNull(val) and (id(r) in rowsToFill): - if lastval: + if i...
[setcol-fill] fill with most recent non-null value Addresses #<I>
saulpw_visidata
train
py
6bb1c38d680023eb210148947059de1469807a6c
diff --git a/app/scripts/ImageTilesTrack.js b/app/scripts/ImageTilesTrack.js index <HASH>..<HASH> 100644 --- a/app/scripts/ImageTilesTrack.js +++ b/app/scripts/ImageTilesTrack.js @@ -80,6 +80,7 @@ export class ImageTilesTrack extends PixiTrack { this.maxZoom = +this.tilesetInfo.max_zoom; this.maxWidth = +...
Fix bug in calculating the correct y tiles
higlass_higlass
train
js
8339415d868b28088c5242e8661b36abdee6b4ab
diff --git a/yubico/yubico.py b/yubico/yubico.py index <HASH>..<HASH> 100644 --- a/yubico/yubico.py +++ b/yubico/yubico.py @@ -212,7 +212,7 @@ class Yubico(): if timestamp: data.append(('timestamp', '1')) - if sl: + if sl is not None: if sl not in range(0, 101) and sl ...
Allow sync level '0' (different than None).
Kami_python-yubico-client
train
py
5ec686efe6877323750ffe50dd82d85f62aa9fc1
diff --git a/tests/test_integration.py b/tests/test_integration.py index <HASH>..<HASH> 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -38,7 +38,6 @@ def test_dr_xu_integration(lmp): assert len(lmp.system.atom_types) == len(elements) # Set Atom Masses - assert np.all(np.isclose...
BUG Cannot assume that lammps initial values are initialized
costrouc_lammps-cython
train
py
9a6c301fc794535c29d932dbb42ad92ee58a0abe
diff --git a/ncpol2sdpa/sdprelaxation.py b/ncpol2sdpa/sdprelaxation.py index <HASH>..<HASH> 100644 --- a/ncpol2sdpa/sdprelaxation.py +++ b/ncpol2sdpa/sdprelaxation.py @@ -164,17 +164,19 @@ class SdpRelaxation(object): return facvar def __process_monomial(self, monomial, row, column, monomial_block_index...
Faster dictionary lookup with exceptions in Pypy
peterwittek_ncpol2sdpa
train
py
56cada6a0ceabebb351b91549f4e783a72ac6277
diff --git a/state/state.go b/state/state.go index <HASH>..<HASH> 100644 --- a/state/state.go +++ b/state/state.go @@ -253,6 +253,12 @@ func (s *State) SetBlockAndValidators(header *types.Header, blockPartsHeader typ nextParams := applyChanges(s.Params, abciResponses.EndBlock.ConsensusParamChanges) + err := next...
Validate ConsensusParams returned from abci app
tendermint_tendermint
train
go
2fd8d479794fb595ad3f39a97ecf22f2984c5ed0
diff --git a/adapter/abstract.php b/adapter/abstract.php index <HASH>..<HASH> 100644 --- a/adapter/abstract.php +++ b/adapter/abstract.php @@ -34,17 +34,12 @@ abstract class ComFilesAdapterAbstract extends KObject { parent::__construct($config); - $this->_local = $config->local; - $this->setPath(...
#<I> Code cleanup Local shouldn’t be configurable. Ditching supported wrappers check also as this check might return false positives
joomlatools_joomlatools-framework
train
php
e0126ff33ca083bf8eae11f70e914f2e426606b0
diff --git a/galpy/df_src/diskdf.py b/galpy/df_src/diskdf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/diskdf.py +++ b/galpy/df_src/diskdf.py @@ -573,7 +573,7 @@ class diskdf(df): if _APY_LOADED and isinstance(l,units.Quantity): l= l.to(units.rad).value if _APY_LOADED and isinsta...
Some fixes of Quantity input handling in sampling methods of diskdf
jobovy_galpy
train
py
e8b8a2a1f55f8220b30bc723f8b3d0fd30f5a6f5
diff --git a/modeshape-jcr/src/main/java/org/modeshape/jcr/value/binary/S3BinaryStore.java b/modeshape-jcr/src/main/java/org/modeshape/jcr/value/binary/S3BinaryStore.java index <HASH>..<HASH> 100644 --- a/modeshape-jcr/src/main/java/org/modeshape/jcr/value/binary/S3BinaryStore.java +++ b/modeshape-jcr/src/main/java/org...
[MODE-<I>] Set content length in ObjectMetadata for S3 uploads
ModeShape_modeshape
train
java
e5df8b2dd735bc14340d1bf810b5808cc4ce5528
diff --git a/src/main/java/com/coremedia/iso/boxes/mdat/SampleList.java b/src/main/java/com/coremedia/iso/boxes/mdat/SampleList.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/coremedia/iso/boxes/mdat/SampleList.java +++ b/src/main/java/com/coremedia/iso/boxes/mdat/SampleList.java @@ -40,7 +40,7 @@ public clas...
getting closer to michael NAL view. Need to get back the NA parsing code from Stanislav git-svn-id: <URL>
sannies_mp4parser
train
java
dc535ebf0c3b7b6242f376996162bf38f45b1a7a
diff --git a/rambdax.js b/rambdax.js index <HASH>..<HASH> 100644 --- a/rambdax.js +++ b/rambdax.js @@ -1,7 +1,7 @@ export * from './src/allFalse' export * from './src/allTrue' export * from './src/anyFalse' -export * from './src/anyFTrue' +export * from './src/anyTrue' export * from './src/change' export * from '....
fix@typo: in rambdax.js
selfrefactor_rambdax
train
js
8a539089087ad2491c59295338b09e83ef8714a4
diff --git a/salt/modules/rh_service.py b/salt/modules/rh_service.py index <HASH>..<HASH> 100644 --- a/salt/modules/rh_service.py +++ b/salt/modules/rh_service.py @@ -48,6 +48,10 @@ def __virtual__(): Only work on select distros which still use Red Hat's /usr/bin/service for management of either sysvinit or a...
Do not load rh_service module when booted with systemd Amazon continues to release versions of Amazon Linux 1, which boots with rh_service, but also Amazon linux 2, and both with the same versioning scheme, so we cannot depend on the date for making decisions here.
saltstack_salt
train
py
f75818a288b6b77045af608420a136b1b7fb5de6
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -39,6 +39,14 @@ gulp.task('build:package', ['clean'], () => { json.devDependencies['babel-register'] = json.dependencies['babel-register']; delete json.dependencies['babel...
Delete development sections from build package.json
postcss_autoprefixer
train
js
581baf6e1895f806f162541aac7d3b7966d9e86e
diff --git a/timeside/core/tools/gstutils.py b/timeside/core/tools/gstutils.py index <HASH>..<HASH> 100644 --- a/timeside/core/tools/gstutils.py +++ b/timeside/core/tools/gstutils.py @@ -1,4 +1,4 @@ -from numpy import getbuffer, frombuffer +from numpy import frombuffer import gi gi.require_version('Gst', '1.0') @@ ...
[core] update numpy_array_to_gst_buffer to gst-<I> The function frombuffer is not available anymore in most recent versions of numpy. Use np.array.tobytes() instead. Also avoid import in that function.
Parisson_TimeSide
train
py
187df114795035c39c08f997cb915bbd7a029cd3
diff --git a/src/main/java/com/ibm/watson/developer_cloud/language_translation/v2/LanguageTranslation.java b/src/main/java/com/ibm/watson/developer_cloud/language_translation/v2/LanguageTranslation.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/ibm/watson/developer_cloud/language_translation/v2/LanguageTransl...
fixes misstatement in doc comment Doc comments refer to old name of the class. Fixes #<I>
watson-developer-cloud_java-sdk
train
java
860b8eb08672b0f889a14c57caf8d7236cd9866c
diff --git a/test/parser.js b/test/parser.js index <HASH>..<HASH> 100644 --- a/test/parser.js +++ b/test/parser.js @@ -257,5 +257,17 @@ exports.parser = { test.ok(_.expect(expr.parse(value)).toBe(_.Failure(expected))); test.done(); + }, + 'when testing `(add (mul 10 (add 3 /)) (add 7 8))` shou...
Test to make sure that we can do nested failures.
SimonRichardson_squishy-pants
train
js
60ab0ae88aa7c3305befe487220c4264deff895e
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java +++ b/flink-runtime/src/main/java/org...
[FLINK-<I>][coordination] Release partitions on every terminal job state
apache_flink
train
java
d2828ec18a76f13827efacfde200870bf1a03e3e
diff --git a/src/Task/FilePermissionTask.php b/src/Task/FilePermissionTask.php index <HASH>..<HASH> 100644 --- a/src/Task/FilePermissionTask.php +++ b/src/Task/FilePermissionTask.php @@ -42,7 +42,7 @@ class FilePermissionTask extends AbstractConnectedTask * * @param array $paths */ - public functio...
Add missing typehint to FilePermissionTask::__construct
accompli_accompli
train
php
d1a9bd316c65829d2efd90bce575c0531702cbc3
diff --git a/xclim/indices.py b/xclim/indices.py index <HASH>..<HASH> 100644 --- a/xclim/indices.py +++ b/xclim/indices.py @@ -807,15 +807,14 @@ def prcp_tot(pr, freq='YS', units='kg m-2 s-1'): xarray.DataArray The total daily precipitation at the given time frequency in [mm]. - # FIXME: Update the prc...
changed equation in prcp_tot (#<I>)
Ouranosinc_xclim
train
py
17615e0dd52eaa21c96f36fe86a837037b63de08
diff --git a/kubetest/dump.go b/kubetest/dump.go index <HASH>..<HASH> 100644 --- a/kubetest/dump.go +++ b/kubetest/dump.go @@ -59,6 +59,7 @@ func newLogDumper(sshClientFactory sshClientFactory, artifactsDir string) (*logD "kube-scheduler", "rescheduler", "kube-controller-manager", + "kops-controller", "etc...
Kops - dump kops-controller logs The new kops-controller component in Kops <I> will log to /var/log/kops-controller.log. In order to aid in troubleshooting, we should dump its logs as job artifacts in the E2E jobs.
kubernetes_test-infra
train
go
95bd836b3aedd46988f377b2f6625b5abeac0809
diff --git a/pysat/tests/test_utils_files.py b/pysat/tests/test_utils_files.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_utils_files.py +++ b/pysat/tests/test_utils_files.py @@ -110,6 +110,10 @@ class TestFileDirectoryTranslations(TravisCICleanSetup): self.insts_kwargs):...
TST: Included feedback to prevent timeout
rstoneback_pysat
train
py
c7584b5bd2831e137235646df07dc7f4eb2d4ada
diff --git a/dingo/core/__init__.py b/dingo/core/__init__.py index <HASH>..<HASH> 100644 --- a/dingo/core/__init__.py +++ b/dingo/core/__init__.py @@ -694,8 +694,12 @@ class NetworkDingo: # TODO: current state: append LV genos to LA list "genos_collected_temp" if lv_load_area i...
fix LV geno import alloc. g eno with no la_id to random LA and move to there
openego_ding0
train
py
6eaf2fbdff78f7f2fd107191bcfbf8772418630a
diff --git a/lib/solr_ead/indexer.rb b/lib/solr_ead/indexer.rb index <HASH>..<HASH> 100644 --- a/lib/solr_ead/indexer.rb +++ b/lib/solr_ead/indexer.rb @@ -47,7 +47,7 @@ class Indexer elsif defined?(Rails.root) url = YAML.load(ERB.new(File.read(File.join(Rails.root,"config","solr.yml"))).result)[Rails.env]['...
Issue #2: elseif will fail if Rails.root is not defined
awead_solr_ead
train
rb
62f704f758fada2d4c63282c9ac13c17f482f9d5
diff --git a/provider/manual/environ.go b/provider/manual/environ.go index <HASH>..<HASH> 100644 --- a/provider/manual/environ.go +++ b/provider/manual/environ.go @@ -268,6 +268,7 @@ wait_for_jujud } [[ $stopped -ne 1 ]] && { echo jujud removal failed + logger --id $(ps -o pid,cmd,state -p $(pgrep jujud) | aw...
Add more proc logging to the manual provider clean-up
juju_juju
train
go,go
d5c781323d5534a01e42cf8fd8cf773c6f1cdff2
diff --git a/image/tarexport/save.go b/image/tarexport/save.go index <HASH>..<HASH> 100644 --- a/image/tarexport/save.go +++ b/image/tarexport/save.go @@ -316,6 +316,7 @@ func (s *saveSession) saveImage(id image.ID) (map[layer.DiffID]distribution.Desc v1Img.Parent = parent.Hex() } + v1Img.OS = img.OS src, ...
LCOW: Make sure OS is copied for docker save
moby_moby
train
go
0223b8c2f0b85c8f5e14953d291a20f9aedb1934
diff --git a/lib/beardley/report.rb b/lib/beardley/report.rb index <HASH>..<HASH> 100644 --- a/lib/beardley/report.rb +++ b/lib/beardley/report.rb @@ -41,6 +41,11 @@ module Beardley f.write(report) end end + if locale = options.delete(:locale) + locale_parts = locale.split("-")[0....
Adds a easy way to pass locale to report
ekylibre_beardley
train
rb,rb
0c33d9cef3540ed7333aa9c4eec899f310a3f84b
diff --git a/src/BaseRepositoryEloquent.php b/src/BaseRepositoryEloquent.php index <HASH>..<HASH> 100644 --- a/src/BaseRepositoryEloquent.php +++ b/src/BaseRepositoryEloquent.php @@ -146,9 +146,10 @@ class BaseRepositoryEloquent implements RepositoryInterface // with relation that is a relation name ...
Disable selecting model's foreign key
sedp-mis_base-repository
train
php
d26279c09c8196057aa3c5080f55970dd11a15a0
diff --git a/pytreebank/labeled_trees.py b/pytreebank/labeled_trees.py index <HASH>..<HASH> 100644 --- a/pytreebank/labeled_trees.py +++ b/pytreebank/labeled_trees.py @@ -11,7 +11,7 @@ try: font = ImageFont.core.getfont("/Library/Fonts/Georgia.ttf", 15) def text_size(text): return max(4, font.getsize...
now catching exceptions with fonts rather than importerrors
JonathanRaiman_pytreebank
train
py,py
9b23dd1afba58a6a7bb5fe6a29f80d219cc91809
diff --git a/Controller/DeployController.php b/Controller/DeployController.php index <HASH>..<HASH> 100755 --- a/Controller/DeployController.php +++ b/Controller/DeployController.php @@ -29,7 +29,7 @@ class DeployController extends Controller $deployer->deploy(); $response = $this->render('A...
re-enabled the commands run after the deploy
redkite-labs_RedKiteCmsBundle
train
php
03f1108f6622a8e39b20b955f54d484bda6e6c26
diff --git a/DataSet/Admin/ContactDataSet.php b/DataSet/Admin/ContactDataSet.php index <HASH>..<HASH> 100755 --- a/DataSet/Admin/ContactDataSet.php +++ b/DataSet/Admin/ContactDataSet.php @@ -12,6 +12,7 @@ namespace WellCommerce\Bundle\ContactBundle\DataSet\Admin; +use Doctrine\ORM\QueryBuilder; use WellCommerce\B...
Moved getDataSetQueryBuilder methods from repositories to datasets
WellCommerce_ContactBundle
train
php
f49151eb72b6d171036b5f59df6e2747dd934973
diff --git a/flask_appconfig/cmd.py b/flask_appconfig/cmd.py index <HASH>..<HASH> 100644 --- a/flask_appconfig/cmd.py +++ b/flask_appconfig/cmd.py @@ -2,7 +2,7 @@ import argparse import sys -def main_devrun(): +def main_flaskdev(): try: import importlib except ImportError: diff --git a/setup.py ...
Renamed devrun => flaskdev.
mbr_flask-appconfig
train
py,py
b9df8fd857162ac271aa49b211f917ebcb0b370b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -VERSION = "0.3.1" +VERSION = "0.3.2" from setuptools import setup, find_packages
Releasing the v3 API client as <I>
LuminosoInsight_luminoso-api-client-python
train
py
4e6fda82d3bc8999d19fb0e9b457df6eaff28569
diff --git a/src/opbeat.js b/src/opbeat.js index <HASH>..<HASH> 100644 --- a/src/opbeat.js +++ b/src/opbeat.js @@ -1,23 +1,18 @@ var logger = require('./lib/logger') var utils = require('./lib/utils') var config = require('./lib/config') -var Instrumentation = require('./instrumentation') var Exceptions = require('...
Don’t include instrumentation in opbeat.js
opbeat_opbeat-react
train
js
8a813c21d5c4bd1d2d9c0fe828a49ce81b206aea
diff --git a/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/Registration.java b/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/Registration.java index <HASH>..<HASH> 100644 --- a/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/Registration.java +++ b/kite-data/kite-data-core/src/ma...
CDK-<I>: Only show loader stack trace if debug is on. This updates where Registration calls each loader so that any exceptions will only produce stack traces if the log level is DEBUG. It also updates the log message to be more clear that this is not an error, it just means that some URIs could not be loaded.
kite-sdk_kite
train
java
9b5792d955cd167b5fe78cd792e8f747f39d22ac
diff --git a/libcentrifugo/engineredis.go b/libcentrifugo/engineredis.go index <HASH>..<HASH> 100644 --- a/libcentrifugo/engineredis.go +++ b/libcentrifugo/engineredis.go @@ -396,9 +396,7 @@ func (e *RedisEngine) addHistory(chID ChannelID, message Message, opts historyOp conn.Send("LPUSH", historyKey, messageJson) ...
always set last message id key in redis engine
centrifugal_centrifugo
train
go
4f09dc35600760b9e204605bc7db045b12676f9c
diff --git a/models.py b/models.py index <HASH>..<HASH> 100644 --- a/models.py +++ b/models.py @@ -256,6 +256,14 @@ class MixtureDistribution(Mixture, GibbsSampling, Distribution): This makes a Mixture act like a Distribution for use in other compound models ''' + @property + def params(self): + ...
fixed MixtureDistribution instantiation
mattjj_pybasicbayes
train
py
bede57541c468b0d929230ffdc75a74acc8331c4
diff --git a/lxd/cluster/gateway.go b/lxd/cluster/gateway.go index <HASH>..<HASH> 100644 --- a/lxd/cluster/gateway.go +++ b/lxd/cluster/gateway.go @@ -499,10 +499,10 @@ func grpcNetworkDial(ctx context.Context, addr string, cert *shared.CertInfo) (* return nil, err } - // The whole attempt should not take more t...
Increase gRPC connection timeout
lxc_lxd
train
go
f537d36edb3129c0eaeab4fb13a22392413ca037
diff --git a/tests/test_core.py b/tests/test_core.py index <HASH>..<HASH> 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1465,6 +1465,19 @@ def test_pcen(): # gain=1, bias=0, power=1, b=1, eps=1e-20 => ones yield __test, 1, 0, 1, 1.0, 0.5, 1e-20, 1, S, np.ones_like(S) + # Dynamic range co...
test dynamic range compression in pcen
librosa_librosa
train
py
bac66ada33ed5c0ef4594d8192a75d9aef3345ca
diff --git a/test/utils.py b/test/utils.py index <HASH>..<HASH> 100644 --- a/test/utils.py +++ b/test/utils.py @@ -371,7 +371,8 @@ class _TestLazyConnectMixin(object): t.start() for t in threads: - t.join(10) + t.join(30) + assert not t.isAlive() def trial...
More reliable test for lazily-connecting clients, PYTHON-<I>.
mongodb_mongo-python-driver
train
py
ef80617adba3b9da7768755cd6676b92ea700152
diff --git a/src/shims/form-number-date-ui.js b/src/shims/form-number-date-ui.js index <HASH>..<HASH> 100644 --- a/src/shims/form-number-date-ui.js +++ b/src/shims/form-number-date-ui.js @@ -563,9 +563,9 @@ webshims.register('form-number-date-ui', function($, webshims, window, document, return val; }, mont...
fixed dot splitting if monthNamesShort is used (see #<I>)
aFarkas_webshim
train
js
cb4b53d8c63640b304f9ff5a5b7056a42ec03540
diff --git a/src/main/java/hex/deeplearning/DeepLearning.java b/src/main/java/hex/deeplearning/DeepLearning.java index <HASH>..<HASH> 100644 --- a/src/main/java/hex/deeplearning/DeepLearning.java +++ b/src/main/java/hex/deeplearning/DeepLearning.java @@ -824,9 +824,18 @@ public class DeepLearning extends Job.ValidatedJ...
Revert back to using a fake job to allow model initialization without invoking a Job.
h2oai_h2o-2
train
java
2dad18c66707d3386095593045ef192a160dcbad
diff --git a/extension/express/test/expressTest.js b/extension/express/test/expressTest.js index <HASH>..<HASH> 100644 --- a/extension/express/test/expressTest.js +++ b/extension/express/test/expressTest.js @@ -9,7 +9,7 @@ var assert = require("assert"), Q = require("q"), supertest = require('supertest'); -...
usage of nedb in tests: grunt file refactoring, tests refactoring; excel-parser extension replaced dataParser.js
jsreport_jsreport-express
train
js
0f3e931d6e4c6f0027c471bb370a5440464e1718
diff --git a/SingularityService/src/main/java/com/hubspot/singularity/auth/SingularityGroupsScopesAuthorizer.java b/SingularityService/src/main/java/com/hubspot/singularity/auth/SingularityGroupsScopesAuthorizer.java index <HASH>..<HASH> 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/auth/Singula...
only have to be currently authed for request to update
HubSpot_Singularity
train
java
06eaabe6421c3366529c917e18e7f4d298eb8cc1
diff --git a/dfwinreg/registry_searcher.py b/dfwinreg/registry_searcher.py index <HASH>..<HASH> 100644 --- a/dfwinreg/registry_searcher.py +++ b/dfwinreg/registry_searcher.py @@ -21,20 +21,19 @@ class FindSpec(object): Args: key_path (Optional[str|list[str]]): key path or key path segments, where...
Changes to docstring (#<I>)
log2timeline_dfwinreg
train
py
05e92654d4ee1527455223fe422b965ecbabf19f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,13 @@ setup( 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Prog...
Added more version classifiers to setup.py
wagtail_django-modelcluster
train
py
114e54ec7c4076a8f602fc2393ee456c911022ed
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -956,6 +956,8 @@ def managed(name, Both HTTPS and HTTP are supported as well as downloading directly from Amazon S3 compatible URLs with both pre-configured and aut...
Update states.file to mention support for swift:// URLs.
saltstack_salt
train
py
9e3671a69a87a489d8ffb7280039fa9890157110
diff --git a/lib/beaker-pe/install/pe_utils.rb b/lib/beaker-pe/install/pe_utils.rb index <HASH>..<HASH> 100644 --- a/lib/beaker-pe/install/pe_utils.rb +++ b/lib/beaker-pe/install/pe_utils.rb @@ -137,7 +137,7 @@ module Beaker curl_opts << '-k' end - cmd = "export FRICTIONLESS_TRA...
(PE-<I>) Declare FRICTIONLESS_TRACE before export Older posix sh implementations, such as the one we have as the default shell on our Solaris <I> sparc hosts, will raise an error if you export and assign at the same time.
puppetlabs_beaker-pe
train
rb
8e18257bffbb47d76ae6902c85e15d3d2198d454
diff --git a/lib/secure_headers/hash_helper.rb b/lib/secure_headers/hash_helper.rb index <HASH>..<HASH> 100644 --- a/lib/secure_headers/hash_helper.rb +++ b/lib/secure_headers/hash_helper.rb @@ -1,7 +1,9 @@ +require 'base64' + module SecureHeaders module HashHelper def hash_source(inline_script, digest = :SHA2...
oops, hash_source method regressed
twitter_secure_headers
train
rb
5ae133a821ee462c669de56952bfdf28040aad28
diff --git a/src/Billable.php b/src/Billable.php index <HASH>..<HASH> 100644 --- a/src/Billable.php +++ b/src/Billable.php @@ -52,7 +52,7 @@ trait Billable * @param array $options * @return \Braintree\Transaction */ - public function invoiceFor($description, $amount, array $options = []) + pub...
Add invoiceForUpcoming method alias To keep the API the same between Braintree and the proposal for Stripe: <URL>
laravel_cashier-braintree
train
php
1d4f234b0ed8561b6eb54208f2d96d68962443e5
diff --git a/app/models/action.rb b/app/models/action.rb index <HASH>..<HASH> 100644 --- a/app/models/action.rb +++ b/app/models/action.rb @@ -81,8 +81,4 @@ class Action #SEND_FACT_CHECK is now a state - in older publications it isn't request_type == SEND_FACT_CHECK || request_type == "fact_check_requested" ?...
Remove self-referencing method This will cause a StackError if left in place.
alphagov_govuk_content_models
train
rb
e104d6e6402eac035afd74e2980574ad3a2c569d
diff --git a/angrutils/visualize.py b/angrutils/visualize.py index <HASH>..<HASH> 100644 --- a/angrutils/visualize.py +++ b/angrutils/visualize.py @@ -162,7 +162,7 @@ def plot_cfg(cfg, fname, format="png", path=None, asminst=False, vexinst=False, for node in sorted(filter(lambda _: _ != None,ccfg_graph.nodes(...
Added support for CFG normalization Normalized blocks were displayed incorrectly, since we did the assembly based on the start address. The current fix is more like a workaround to this issue, a rewrite is in progress.
axt_angr-utils
train
py
b8347752d86942ccf85a152ff373595d27a96efd
diff --git a/go/cmd/vtctldclient/internal/command/keyspaces.go b/go/cmd/vtctldclient/internal/command/keyspaces.go index <HASH>..<HASH> 100644 --- a/go/cmd/vtctldclient/internal/command/keyspaces.go +++ b/go/cmd/vtctldclient/internal/command/keyspaces.go @@ -96,7 +96,7 @@ func commandCreateKeyspace(cmd *cobra.Command, ...
Add context around flag name to all parsing errors
vitessio_vitess
train
go
5ad7bb514ebc6af8a4449587084645465db339dd
diff --git a/pyknow/engine.py b/pyknow/engine.py index <HASH>..<HASH> 100644 --- a/pyknow/engine.py +++ b/pyknow/engine.py @@ -38,7 +38,7 @@ class KnowledgeEngine: Stablises a dict with shared attributes to be used by this KE's childs on a tree """ - self.shared_attributes = sh...
Update shared attributes instead of overwriting it
buguroo_pyknow
train
py,py
3471d38b78cb6b2bd19499c66f017f60cd071c84
diff --git a/library/src/com/astuetz/PagerSlidingTabStrip.java b/library/src/com/astuetz/PagerSlidingTabStrip.java index <HASH>..<HASH> 100644 --- a/library/src/com/astuetz/PagerSlidingTabStrip.java +++ b/library/src/com/astuetz/PagerSlidingTabStrip.java @@ -266,11 +266,6 @@ public class PagerSlidingTabStrip extends Ho...
Fixed the selected tab doesn't center after rotation
pizza_MaterialTabs
train
java
be92a590919d586c4024b77b7ea034c1f90c0203
diff --git a/src/main/java/com/ning/billing/recurly/model/Usage.java b/src/main/java/com/ning/billing/recurly/model/Usage.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/ning/billing/recurly/model/Usage.java +++ b/src/main/java/com/ning/billing/recurly/model/Usage.java @@ -1,3 +1,19 @@ +/* + * Copyright 2010-2...
Added Usage object and methods to post subscription usage.
killbilling_recurly-java-library
train
java
ce68dc4e22f3c5ee666558d18378c2422b845435
diff --git a/tasks/jasmine-node-task.js b/tasks/jasmine-node-task.js index <HASH>..<HASH> 100644 --- a/tasks/jasmine-node-task.js +++ b/tasks/jasmine-node-task.js @@ -21,6 +21,7 @@ module.exports = function (grunt) { useHelpers: false, teamcity: false, coffee: false, + verbose: false, ...
Verbose option is enabled when grunt --verbose is used. Otherwise the passed in option is used. Default is false. Fixing junit file export.
jasmine-contrib_grunt-jasmine-node
train
js
3560a170dfd23bced4ff07571b9cc2b781942b62
diff --git a/www/branch.js b/www/branch.js index <HASH>..<HASH> 100644 --- a/www/branch.js +++ b/www/branch.js @@ -40,17 +40,6 @@ function execute(method, params) { var Branch = function () {}; /** - * Get installation data. - * - * @return (Object) - Installation details - */ -Branch.prototype.getInstallData = fu...
[CHORE] Removed undefined plugin method.
BranchMetrics_cordova-ionic-phonegap-branch-deep-linking
train
js
7a4250c2a30af09ea10a34f099773ff97110d4bf
diff --git a/test/unit/Query.js b/test/unit/Query.js index <HASH>..<HASH> 100644 --- a/test/unit/Query.js +++ b/test/unit/Query.js @@ -730,7 +730,7 @@ describe("Query", () => { }); }); - describe("using index of table", () => { + describe("Using index of table", () => { let LSIModel; beforeEach(() ...
Update test/unit/Query.js
dynamoosejs_dynamoose
train
js
3eef3a301cd439e4d70b65c16f5f5e3f9596cfae
diff --git a/src/android/sqlDB.java b/src/android/sqlDB.java index <HASH>..<HASH> 100644 --- a/src/android/sqlDB.java +++ b/src/android/sqlDB.java @@ -158,17 +158,26 @@ public class sqlDB extends CordovaPlugin { private void copyDbToStorage(String dbname, String dest, final CallbackContext callbackContext){ ...
Update sqlDB.java Fixed not initialized destFolder Added check for destFolder existence and error message if doesn't exist
an-rahulpandey_cordova-plugin-dbcopy
train
java
fb9f62afcba0283a68e5ef47c377222088f7e4bf
diff --git a/digitalocean/Droplet.py b/digitalocean/Droplet.py index <HASH>..<HASH> 100644 --- a/digitalocean/Droplet.py +++ b/digitalocean/Droplet.py @@ -331,3 +331,6 @@ class Droplet(BaseAPI): data = self.get_data(data[u'links'][u'pages'].get(u'next')) return kernels + + def __str__(sel...
The domain should return the ID and the name when used as string.
koalalorenzo_python-digitalocean
train
py
ee61efd0c4632ae3c56fcc7009bd9f711f13711b
diff --git a/spinner.go b/spinner.go index <HASH>..<HASH> 100644 --- a/spinner.go +++ b/spinner.go @@ -237,10 +237,13 @@ func (s *Spinner) Active() bool { // Start will start the indicator func (s *Spinner) Start() { + s.lock.Lock() if s.active { + s.lock.Unlock() return } s.active = true + s.lock.Unlock(...
eliminate a data race from spinner.Start()
briandowns_spinner
train
go
b889d3f559ce9cb8ed715ed6ad9721efa6614b42
diff --git a/transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java b/transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java index <HASH>..<HASH> 100644 --- a/transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java +++ b/transport/src/main/java/io/netty/channel/nio/A...
[#<I>] Stop reading once the NIO byte Channel was complete drained
netty_netty
train
java
8865b7bd01d62ad0db43fd174a5d490368197adb
diff --git a/byteplay.py b/byteplay.py index <HASH>..<HASH> 100644 --- a/byteplay.py +++ b/byteplay.py @@ -16,6 +16,8 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +__version__ = '0.1' + __all__ = ['opmap', ...
Merged changes from ilowe-<I> to produce <I> release code
tallforasmurf_byteplay
train
py,py
f4aba4553caeb46a0b10bdddf71a8da1d531e458
diff --git a/Facades/DB.php b/Facades/DB.php index <HASH>..<HASH> 100755 --- a/Facades/DB.php +++ b/Facades/DB.php @@ -28,6 +28,7 @@ namespace Illuminate\Support\Facades; * @method static void enableQueryLog() * @method static void disableQueryLog() * @method static void flushQueryLog() + * @method static void re...
[9.x] Remove redundant Doctrine method on schema builder (#<I>) * Remove unnecessary method * Update phpdocs
illuminate_support
train
php,php
3f0f38c4f55ffa4a4773f31e8b3fba0d43a5156c
diff --git a/lib/spatial_features/has_fusion_table_features.rb b/lib/spatial_features/has_fusion_table_features.rb index <HASH>..<HASH> 100644 --- a/lib/spatial_features/has_fusion_table_features.rb +++ b/lib/spatial_features/has_fusion_table_features.rb @@ -42,7 +42,7 @@ module SpatialFeatures def fusion_tabl...
Fix bug that prevented table updates The `:only` condition was incorrect.
culturecode_spatial_features
train
rb
4094e414b70aecdc2f7a7c0124b7c755a7cd4f47
diff --git a/src/ElephantOnCouch/Handlers/ViewHandler.php b/src/ElephantOnCouch/Handlers/ViewHandler.php index <HASH>..<HASH> 100644 --- a/src/ElephantOnCouch/Handlers/ViewHandler.php +++ b/src/ElephantOnCouch/Handlers/ViewHandler.php @@ -30,8 +30,8 @@ final class ViewHandler extends DesignHandler { const MAP_DEFINI...
The REDUCE_DEFINITION and REDUCE_REGEX were wrong.
dedalozzo_eoc-client
train
php
06b5beeefa9176d132ac28c8fcab2919c26bf9ab
diff --git a/src/php/wp-cli/utils.php b/src/php/wp-cli/utils.php index <HASH>..<HASH> 100644 --- a/src/php/wp-cli/utils.php +++ b/src/php/wp-cli/utils.php @@ -156,3 +156,26 @@ function get_upgrader( $class ) { return new $class( new \CLI_Upgrader_Skin ); } +function parse_csv( $filepath, $has_headers = true ) { + ...
A utility method for parsing a given CSV
wp-cli_export-command
train
php
235f0184a33f1d0534deed8c4d858c891aa7d371
diff --git a/Str.php b/Str.php index <HASH>..<HASH> 100644 --- a/Str.php +++ b/Str.php @@ -889,7 +889,7 @@ class Str */ public static function squish($value) { - return preg_replace('~(\s|\x{3164})+~u', ' ', preg_replace('~^\s+|\s+$~u', '', $value)); + return preg_replace('~(\s|\x{3164})+~...
[9.x] Str::squish trim ZWNBSP (#<I>) * Str::squish trim ZWNBSP * remove i, keep Str::squish same
illuminate_support
train
php
ed35ccfa866b6dde538dccd7486543028aa24cd7
diff --git a/playground/playground.js b/playground/playground.js index <HASH>..<HASH> 100644 --- a/playground/playground.js +++ b/playground/playground.js @@ -6,7 +6,17 @@ window.onload = function() { var toolbox = document.getElementById('toolbox'); var workspace = window.Blockly.inject('blocks', { ...
Add dark-mode colors to VM playground
LLK_scratch-vm
train
js
3f245c4f77f5350010e70e4a7bec6df140fa25a3
diff --git a/src/frontend/org/voltdb/DevNullSnapshotTarget.java b/src/frontend/org/voltdb/DevNullSnapshotTarget.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/DevNullSnapshotTarget.java +++ b/src/frontend/org/voltdb/DevNullSnapshotTarget.java @@ -39,6 +39,12 @@ public class DevNullSnapshotTarget impleme...
Discard snapshot buffer in DevNullSnasphotTarget.
VoltDB_voltdb
train
java
3427d7c471c7eb615cb6cbb1fe75fc1a2376ce60
diff --git a/packages/availity-workflow-settings/index.js b/packages/availity-workflow-settings/index.js index <HASH>..<HASH> 100644 --- a/packages/availity-workflow-settings/index.js +++ b/packages/availity-workflow-settings/index.js @@ -138,7 +138,11 @@ const settings = { } // Merge in ./workflow.js defau...
feat(settings): allow merge function Allows a function to be exported from the developer workflow.js which is used to merge the configuration
Availity_availity-workflow
train
js
ecc48be04b08480a8de5c1a0573271d95d21e8f9
diff --git a/tests/Language/French/Transformer/CurrencyTransformerTest.php b/tests/Language/French/Transformer/CurrencyTransformerTest.php index <HASH>..<HASH> 100644 --- a/tests/Language/French/Transformer/CurrencyTransformerTest.php +++ b/tests/Language/French/Transformer/CurrencyTransformerTest.php @@ -98,7 +98,7 @@...
Travis say: <I> | ERROR | [x] Whitespace found at end of line So I removed the space. I hope this will work now...
kwn_number-to-words
train
php
6e0c69535b59ef334e711454a5130d3588b10f43
diff --git a/lib/cli/generators/REACT_SCRIPTS/index.js b/lib/cli/generators/REACT_SCRIPTS/index.js index <HASH>..<HASH> 100644 --- a/lib/cli/generators/REACT_SCRIPTS/index.js +++ b/lib/cli/generators/REACT_SCRIPTS/index.js @@ -39,7 +39,10 @@ export default async npmOptions => { // When working with `create-react-a...
ISS-<I> Check devDep for react-scripts and make sure it exists before using semver
storybooks_storybook
train
js
700e29ab5371578ffdf3dc91cecb035564c6012e
diff --git a/_builder_lib/docsitebuilder/helpers.rb b/_builder_lib/docsitebuilder/helpers.rb index <HASH>..<HASH> 100644 --- a/_builder_lib/docsitebuilder/helpers.rb +++ b/_builder_lib/docsitebuilder/helpers.rb @@ -257,18 +257,11 @@ EOF <script type="text/javascript"> /*<![CDATA[*/ $(document).ready(function() { - ...
Fixes leftnav arrow changes on collapse events
redhataccess_ascii_binder
train
rb
ad24507b34eabaa1c849de49cba99cc97c2cd759
diff --git a/mexe.py b/mexe.py index <HASH>..<HASH> 100755 --- a/mexe.py +++ b/mexe.py @@ -1,6 +1,9 @@ import argparse import os +# make print a function in python2 +from __future__ import print_function + __version__ = "1.0" shebangs = {
make print function in python2
SanketDG_mexe
train
py
c071ad43f6dc2faa6f634a52afd2668f6b2b17f3
diff --git a/src/main/java/com/googlecode/lanterna/gui2/LinearLayout.java b/src/main/java/com/googlecode/lanterna/gui2/LinearLayout.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/googlecode/lanterna/gui2/LinearLayout.java +++ b/src/main/java/com/googlecode/lanterna/gui2/LinearLayout.java @@ -135,7 +135,7 @@ p...
Fix bug on LinearLayout with empty containers
mabe02_lanterna
train
java
97cc42517a1feda433f08c0aa3444d82bdda5dba
diff --git a/pandasdmx/reader/sdmxml.py b/pandasdmx/reader/sdmxml.py index <HASH>..<HASH> 100644 --- a/pandasdmx/reader/sdmxml.py +++ b/pandasdmx/reader/sdmxml.py @@ -854,14 +854,14 @@ class Reader(BaseReader): key = Key(**{dim: od['value']}, dsd=dsd) if len(values): - value = valu...
Handle missing Obs/ObsValue in SDMX-ML data messages (#<I>)
dr-leo_pandaSDMX
train
py
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
php
68f68f62e93fea19f5f43bd4635e7790729b8647
diff --git a/openvidu-client/src/main/java/io/openvidu/client/internal/ProtocolElements.java b/openvidu-client/src/main/java/io/openvidu/client/internal/ProtocolElements.java index <HASH>..<HASH> 100644 --- a/openvidu-client/src/main/java/io/openvidu/client/internal/ProtocolElements.java +++ b/openvidu-client/src/main/...
openvidu-client: Renamed networkQualityChanged
OpenVidu_openvidu
train
java
803e9d315cf76f98c6b75a7f638c251d79e6f620
diff --git a/goatools/cli/gosubdag_plot.py b/goatools/cli/gosubdag_plot.py index <HASH>..<HASH> 100644 --- a/goatools/cli/gosubdag_plot.py +++ b/goatools/cli/gosubdag_plot.py @@ -44,8 +44,9 @@ Options: --gpad=<file.gpad> Annotations from a gpad file --gaf=<file.gaf> Annotat...
Add arg, taxid, for use when reading NCBI's gene2go
tanghaibao_goatools
train
py
37bd6459bff3f9b079897b1392c04681c65fa24e
diff --git a/aiotg/chat.py b/aiotg/chat.py index <HASH>..<HASH> 100644 --- a/aiotg/chat.py +++ b/aiotg/chat.py @@ -18,7 +18,7 @@ class Chat: """ return self.bot.send_message(self.id, text, **options) - def reply(self, text, markup=None, parse_mode=None): + def reply(self, text, markup={}, pars...
Fix #8 chat.reply doesn't work in groups
szastupov_aiotg
train
py
6ade8d8aab37f7267ba46a2f37b91910f2333bbd
diff --git a/datalad_service/common/annex.py b/datalad_service/common/annex.py index <HASH>..<HASH> 100644 --- a/datalad_service/common/annex.py +++ b/datalad_service/common/annex.py @@ -20,6 +20,7 @@ def get_repo_files(dataset, branch=None): branch = None working_files = filter_git_files(dataset.repo.get...
Skip extra calls to repo.commit(branch) during get_repo_files.
OpenNeuroOrg_openneuro
train
py
265c32ac477e9c5e698dcd5288407c23ee9abc56
diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py index <HASH>..<HASH> 100644 --- a/gnupg/gnupg.py +++ b/gnupg/gnupg.py @@ -460,7 +460,7 @@ class GPG(object): args.append("--detach-sign") if keyid: - args.append('--default-key "%s"' % keyid) + args.append(str("--default-key %s" ...
Change keyid in _sign_file() to remove extra quoting.
isislovecruft_python-gnupg
train
py
b6e0495928fd3aae8f0c008a060622db6bbbd57c
diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php b/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php +++ b/eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php @@ -458,6 +458,12 @@ class Mapper $relat...
Fix legacy content mapper not loading sourceFieldDefinitionId for relations
ezsystems_ezpublish-kernel
train
php
e2bd4160dca8a21f498cfbdd36d9699ca7379910
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -4,3 +4,9 @@ Coveralls.wear! require 'active_interaction' Dir['./spec/support/**/*.rb'].sort.each { |f| require f } + +RSpec.configure do |config| + config.treat_symbols_as_meta...
add a :focus flag for tests
AaronLasseigne_active_interaction
train
rb
652d0d61e42dede9d44555c14d57582921e19fa4
diff --git a/mango-core/src/test/java/org/calrissian/mango/batch/BatcherTest.java b/mango-core/src/test/java/org/calrissian/mango/batch/BatcherTest.java index <HASH>..<HASH> 100644 --- a/mango-core/src/test/java/org/calrissian/mango/batch/BatcherTest.java +++ b/mango-core/src/test/java/org/calrissian/mango/batch/Batche...
Another attempt to address the timing issue.
calrissian_mango
train
java
d552e4c3962b79ff6115b9bb12919c2802ca7d8a
diff --git a/src/Symfony/Component/HttpFoundation/ApacheRequest.php b/src/Symfony/Component/HttpFoundation/ApacheRequest.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/HttpFoundation/ApacheRequest.php +++ b/src/Symfony/Component/HttpFoundation/ApacheRequest.php @@ -40,12 +40,4 @@ class ApacheRequest extend...
[HttpFoundation] do not use server variable PATH_INFO because it is already decoded and thus symfony is fragile to double encoding of the path
symfony_symfony
train
php
7556ca2d84399420131f0691faadf770cb8f8a3d
diff --git a/packages/substyle/src/defaultStyle.js b/packages/substyle/src/defaultStyle.js index <HASH>..<HASH> 100644 --- a/packages/substyle/src/defaultStyle.js +++ b/packages/substyle/src/defaultStyle.js @@ -50,7 +50,7 @@ const createDefaultStyle = ( } } - componentWillReceiveProps({ style, classNam...
use shouldComponentUpdate instead of deprecated componentWillReceiveProps
jfschwarz_substyle
train
js
7f166bda708d1f86dcd61a060820b9df9b8a9fc1
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -62,8 +62,11 @@ min_log.end(); //Write to a file var file_log = new logty(); +//Initialize the writer stream +var writer = fs.createWriteStream('./test.log', { defaultEncoding: 'utf8', flags: 'a' }); + //Pipe to a writable st...
test.js: added writer finish event listener
jmjuanes_logty
train
js
7179ee286a924765260dd03229a24ccc476dcfda
diff --git a/openstack_dashboard/dashboards/project/volumes/volumes/forms.py b/openstack_dashboard/dashboards/project/volumes/volumes/forms.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/volumes/volumes/forms.py +++ b/openstack_dashboard/dashboards/project/volumes/volumes/forms.py @@ -70,7 ...
Only insert "Any Availability Zone" if there are more than one AZs. Change-Id: Ic1c1cd5bf8ef<I>ab<I>c6b<I>fa<I>c8 Closes-Bug: #<I>
openstack_horizon
train
py
cb9e63ab20a90cd69ef4e12d7b7cf5d63e2e5e9d
diff --git a/scdl/scdl.py b/scdl/scdl.py index <HASH>..<HASH> 100755 --- a/scdl/scdl.py +++ b/scdl/scdl.py @@ -319,6 +319,7 @@ def download_track(track): print('') return title = track.title + title = title.replace("–", "-") print("Downloading " + title) #filename @@ -337,7 +338,7 ...
bugfix of windows cmd The replacement of the longdash needs to take place before the first print argument using the title string, to fix the bug on windows command line interface.
flyingrub_scdl
train
py