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
2993163e81d0fd843dc65b84040d9059f5c08d47
diff --git a/populate.py b/populate.py index <HASH>..<HASH> 100755 --- a/populate.py +++ b/populate.py @@ -215,9 +215,13 @@ def populate_directories(template_values): def main(): - template_values = get_template_values() - populate_files(template_values) - populate_directories(template_values) + try: +...
Unspecified template values is now printed as an easier to read ERROR instead of a traceback.
themattrix_python-temporary
train
py
36012519f34cbce53022e724e142279ad71150f1
diff --git a/testing/test_notebook.py b/testing/test_notebook.py index <HASH>..<HASH> 100644 --- a/testing/test_notebook.py +++ b/testing/test_notebook.py @@ -66,7 +66,9 @@ def test_xdoctest_inside_notebook(): last_cell = nb['cells'][-1] text = last_cell['outputs'][0]['text'] - assert '3 / 3 passed' in t...
dont fail if inside notebook cells didnt run
Erotemic_xdoctest
train
py
5285efe5e5c5f5803665050816f8bb68280b4f39
diff --git a/ecell4/util/viz.py b/ecell4/util/viz.py index <HASH>..<HASH> 100644 --- a/ecell4/util/viz.py +++ b/ecell4/util/viz.py @@ -323,7 +323,7 @@ def plot_number_observer_with_nya(obs, config={}, width=600, height=400, x=None, "diagrams": data2, "options": {"width": width, "...
surround uuid with str
ecell_ecell4
train
py
217c7fa8a0e9f98ec75d3f5525880d37ade543ef
diff --git a/buildinfo/buildinfo_test.go b/buildinfo/buildinfo_test.go index <HASH>..<HASH> 100644 --- a/buildinfo/buildinfo_test.go +++ b/buildinfo/buildinfo_test.go @@ -15,11 +15,11 @@ func setUp() { repository = "https://github.com/Financial-Times/a-ft-service" commit = "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12"...
Update test to use new dateTime format
Financial-Times_service-status-go
train
go
9791a44ae9b254af5c012c52ab4495ad8c79dac4
diff --git a/lxc/main.go b/lxc/main.go index <HASH>..<HASH> 100644 --- a/lxc/main.go +++ b/lxc/main.go @@ -323,9 +323,10 @@ func (p *ProgressRenderer) Done(msg string) { if len(msg) > p.maxLength { p.maxLength = len(msg) } else { - fmt.Printf("%s\r", strings.Repeat(" ", p.maxLength)) + fmt.Printf("\r%s", strin...
On progress updates, keep cursor at end of line
lxc_lxd
train
go
248dff84f3b32725226c0f719fa4764c306f89c8
diff --git a/admin/context.go b/admin/context.go index <HASH>..<HASH> 100644 --- a/admin/context.go +++ b/admin/context.go @@ -365,7 +365,7 @@ func (context *Context) funcMap() template.FuncMap { "javascript_tag": context.JavaScriptTag, "stylesheet_tag": context.StyleSheetTag, "equal": Equal,...
admin: rename view helper patch_url to patch_current_url
qor_qor
train
go
110688e99a4e9ba12539dce1a0ae4c8a5a2c71a4
diff --git a/pvlib/pvsystem.py b/pvlib/pvsystem.py index <HASH>..<HASH> 100644 --- a/pvlib/pvsystem.py +++ b/pvlib/pvsystem.py @@ -603,7 +603,8 @@ def sapm(module, poa_direct, poa_diffuse, temp_cell, airmass_absolute, aoi): Parameters ---------- module : Series or dict - A DataFrame defining the S...
Add hint that cec-database does not provide coefficients for sapm
pvlib_pvlib-python
train
py
9c44a1c97b1ba60fd7340c15dd82ebe1ceb6d8c3
diff --git a/icekit/project/settings/_production.py b/icekit/project/settings/_production.py index <HASH>..<HASH> 100644 --- a/icekit/project/settings/_production.py +++ b/icekit/project/settings/_production.py @@ -15,19 +15,6 @@ CACHES['default'].update({ LOGGING['handlers']['logfile']['backupCount'] = 100 -MIDDL...
Disable cache middleware and template loader by default. Avoid premature optimisation.
ic-labs_django-icekit
train
py
cff1af300ed29e1512220fe4a285f11f6e7b03e1
diff --git a/ashley/src/com/badlogic/ashley/core/Engine.java b/ashley/src/com/badlogic/ashley/core/Engine.java index <HASH>..<HASH> 100644 --- a/ashley/src/com/badlogic/ashley/core/Engine.java +++ b/ashley/src/com/badlogic/ashley/core/Engine.java @@ -53,7 +53,7 @@ public class Engine { /** * Creates a new Entity o...
Prettifies Engine.java Aligns "*/" end comment.
libgdx_ashley
train
java
1a108009e560b6d5e989bb2bd1555ec62e6795d0
diff --git a/osprey/eval_scopes.py b/osprey/eval_scopes.py index <HASH>..<HASH> 100644 --- a/osprey/eval_scopes.py +++ b/osprey/eval_scopes.py @@ -8,7 +8,7 @@ import importlib from sklearn.base import BaseEstimator -__all__ = ['msmbuilder', 'import_all_estimators'] +__all__ = ['msmbuilder', 'import_all_estimators'...
Added pyemma as special case for eval_scopes (similar to msmbuilder)
msmbuilder_osprey
train
py
2f3a022cf868c96cc7ae162bd48b348d9083036e
diff --git a/core-bundle/contao/library/Contao/Model.php b/core-bundle/contao/library/Contao/Model.php index <HASH>..<HASH> 100644 --- a/core-bundle/contao/library/Contao/Model.php +++ b/core-bundle/contao/library/Contao/Model.php @@ -430,6 +430,8 @@ abstract class Model $this->arrModified = array(); + $this-...
[Core] Register model, after insert a new row into database.
contao_contao
train
php
e3d054086b211a0f51409afb4ba21e0b5e4c31e4
diff --git a/tests/check_consistency.py b/tests/check_consistency.py index <HASH>..<HASH> 100755 --- a/tests/check_consistency.py +++ b/tests/check_consistency.py @@ -11,6 +11,7 @@ nodeBlacklistFile = '../src/nodeswig_blacklist' class BlacklistConsistency(u.TestCase): + @u.expectedFailure def test_java_bla...
tests: reenable java blacklist until tinyb.java is formally integrated
intel-iot-devkit_upm
train
py
e92c2e0ca0d887825898cb584e4e258a04850302
diff --git a/lib/polisher/component.rb b/lib/polisher/component.rb index <HASH>..<HASH> 100644 --- a/lib/polisher/component.rb +++ b/lib/polisher/component.rb @@ -18,10 +18,16 @@ module Polisher end # class MissingComponent def self.verify(polisher_klass, *dependencies) - dependencies.each do |dep| - ...
Extract the loop contents into a method to avoid the instance variable.
ManageIQ_polisher
train
rb
dea23e8c6d11cfad0554f3e846cbe245578781fd
diff --git a/pythonforandroid/recipes/pygame/__init__.py b/pythonforandroid/recipes/pygame/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/pygame/__init__.py +++ b/pythonforandroid/recipes/pygame/__init__.py @@ -13,7 +13,7 @@ class Pygame2Recipe(CompiledComponentsPythonRecipe): not part ...
Updated version of pygame from <I> to <I> (#<I>) Changed the version of pygame in the recipe from <I> (released in Dec <I>) to the latest release <I> (released in Nov <I>).
kivy_python-for-android
train
py
1a7191e0e456c6e6efc721a07b31c3becdc32126
diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -320,7 +320,7 @@ class TargetAndroid(Target): super().check_configuration_tokens(errors) def _p4a_have_aab_support(self): - ...
Show output during aab support check, as p4a may require the user input (#<I>)
kivy_buildozer
train
py
cb7df4cc505bdf22a4ef3499bada6b1ec807e79f
diff --git a/lib/codemirror.js b/lib/codemirror.js index <HASH>..<HASH> 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -66,6 +66,9 @@ window.CodeMirror = (function() { // Initialize the content. this.setValue(options.value || ""); + // Override magic textarea content restore that IE sometimes ...
Fix reload-while-focused corruption problem in IE9
codemirror_CodeMirror
train
js
aca497fb4fa3370f1e284aa7e6f5e9080bd009ec
diff --git a/treetime/gtr.py b/treetime/gtr.py index <HASH>..<HASH> 100644 --- a/treetime/gtr.py +++ b/treetime/gtr.py @@ -500,7 +500,10 @@ class GTR(object): if fixed_pi is None: pi = (np.sum(nij+pc_mat,axis=1)+root_state)/(ttconf.TINY_NUMBER + mu*np.dot(W_ij,Ti)+root_state.sum()+np.sum(p...
gtr: if equilibrium frequencies are held fixed during GTR estimation, use expected time in tree instead of observed time in tree.
neherlab_treetime
train
py
5ab85e5c9e683c12e8e64ab064e35b052de49637
diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/project.py +++ b/gns3server/controller/project.py @@ -609,7 +609,7 @@ class Project: def _topology_file(self): return os.path.join(self.path, self._filename) - @asy...
Avoid crash due to persmission error on the .backup file
GNS3_gns3-server
train
py
49c9320ad706feb0f2573ac88d57e02a19a25674
diff --git a/datagrid.datefilter.js b/datagrid.datefilter.js index <HASH>..<HASH> 100644 --- a/datagrid.datefilter.js +++ b/datagrid.datefilter.js @@ -1,5 +1,6 @@ define([ 'jquery', + 'jqueryui', 'handlebars', 'filter_base' ], function ($, handlebars, filter_base) { diff --git a/datagrid.js b/datagr...
Adding jqueryui as a dependency for the date filter.
quantopian_qgrid
train
js,js
010f727c7cab64890273f9acbf5423c1cf9af3bd
diff --git a/src/ORM/Rule/IsUnique.php b/src/ORM/Rule/IsUnique.php index <HASH>..<HASH> 100644 --- a/src/ORM/Rule/IsUnique.php +++ b/src/ORM/Rule/IsUnique.php @@ -57,7 +57,7 @@ class IsUnique if (isset($options['allowMultipleNulls'])) { $allowMultipleNulls = $options['allowMultipleNulls'] === true...
Remove duplicate code. This code was causing conditions ending in `IS IS`. Remove it as we don't need it now.
cakephp_cakephp
train
php
13b9a88054889850823f5a249a889622009d0ce2
diff --git a/system/load.php b/system/load.php index <HASH>..<HASH> 100755 --- a/system/load.php +++ b/system/load.php @@ -32,6 +32,6 @@ class Load { extract($data); } - return require_once APPLICATION . 'views/' . $file; + require_once APPLICATION . 'views/' . $file; } } \ No newline at end ...
removed 'return' from Load::view() method
rougin_slytherin
train
php
8f75a95a6cddd620294854bd40f77e1bf56d85e9
diff --git a/src/LedgerWallet.js b/src/LedgerWallet.js index <HASH>..<HASH> 100644 --- a/src/LedgerWallet.js +++ b/src/LedgerWallet.js @@ -201,6 +201,7 @@ class LedgerWallet { const addresses = {}; for (let i = startingIndex; i < startingIndex + accountsNo; i += 1) { const path = `${derivationPath}${i}...
Disable eslint for places we wont fix now
Neufund_ledger-wallet-provider
train
js
4b22812d36d549bb63b7cb81a9f376b0118b88de
diff --git a/js/editors/libraries.js b/js/editors/libraries.js index <HASH>..<HASH> 100644 --- a/js/editors/libraries.js +++ b/js/editors/libraries.js @@ -6,7 +6,7 @@ var push = Array.prototype.push; var Libraries = function () { this.init(); - this.userSpecified = JSON.parse(localStorage.getItem('libraries')) |...
Fixed Opera <I> error. Since it was the only browser that didn't have native json parsing, it was deferring to the json2.js lib and trying to pass null to parse, which would bork. f:2
jsbin_jsbin
train
js
e9f0486374354febc26ec8e0550180da2a6ad96c
diff --git a/angr/analyses/forward_analysis.py b/angr/analyses/forward_analysis.py index <HASH>..<HASH> 100644 --- a/angr/analyses/forward_analysis.py +++ b/angr/analyses/forward_analysis.py @@ -463,13 +463,13 @@ class ForwardAnalysis(object): changed, output_state = self._run_on_node(n, entry_state) +...
ForwardAnalysis: always store the returned state into state_map.
angr_angr
train
py
be9e0d4bba58134b2e1d7668a506e02fcdbb8035
diff --git a/tests/Tests/WithDatabaseTestCase.php b/tests/Tests/WithDatabaseTestCase.php index <HASH>..<HASH> 100644 --- a/tests/Tests/WithDatabaseTestCase.php +++ b/tests/Tests/WithDatabaseTestCase.php @@ -112,11 +112,16 @@ abstract class WithDatabaseTestCase extends WithDbalTestCase protected function executeSta...
split executeStatements to executeStatement
eclipxe13_engineworks-dbal
train
php
defe1f71ab7b396d1c349297a7ac126bc7e78180
diff --git a/lfs/transfer_queue.go b/lfs/transfer_queue.go index <HASH>..<HASH> 100644 --- a/lfs/transfer_queue.go +++ b/lfs/transfer_queue.go @@ -262,6 +262,10 @@ func (q *TransferQueue) individualApiRoutine(apiWaiter chan interface{}) { } } + // Legacy API has no support for anything but basic transfer adap...
Always use basic adapter in legacy api route
git-lfs_git-lfs
train
go
3e6d9aa87d53f9514ffcbd9e0b5c882b98d4ea2b
diff --git a/demo/index.php b/demo/index.php index <HASH>..<HASH> 100644 --- a/demo/index.php +++ b/demo/index.php @@ -223,7 +223,7 @@ $feed->handle_content_type(); ?> <!-- If the item has a permalink back to the original post (which 99% of them do), link the item's title to it. --> - <h4><img src=...
Why we pass SimplePie_Item::get_title() an argument when we've never shipped any release with such a thing is beyond me.
simplepie_simplepie
train
php
673077f779d0626121822254f35a12064f2b70ec
diff --git a/pychromecast/socket_client.py b/pychromecast/socket_client.py index <HASH>..<HASH> 100644 --- a/pychromecast/socket_client.py +++ b/pychromecast/socket_client.py @@ -237,10 +237,16 @@ class SocketClient(threading.Thread): event.set() for handler in self._handlers.values(): -...
Catch any exceptions which might occur when tearing down controllers and closing channels All controllers must be allowed to tear down even if one or more of them triggers an exception. Similar for closing the channels.
balloob_pychromecast
train
py
28ff551a5d792993a31c8f5bdc89ac45d7c660b8
diff --git a/pysat/instruments/cnofs_ivm.py b/pysat/instruments/cnofs_ivm.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/cnofs_ivm.py +++ b/pysat/instruments/cnofs_ivm.py @@ -31,8 +31,8 @@ import pandas as pds import numpy as np import pysat -from spacepy import pycdf -import pysatCDF + + #import cdf de...
Support for pysatCDF
rstoneback_pysat
train
py
e475a7c6ed591b7d4dc91b8725a05f900bd469c0
diff --git a/join/_core.py b/join/_core.py index <HASH>..<HASH> 100644 --- a/join/_core.py +++ b/join/_core.py @@ -31,20 +31,10 @@ def join(left, right, how='inner', key=None, left_key=None, right_key=None, return key_fn if key is not None: - if callable(key): - lkey, rkey = key, key -...
simplified key function init in join()
soaxelbrooke_join
train
py
41d0f42ddf240585fe8ec2fddfa68bf3a0ebb97a
diff --git a/scripts/poly2req.js b/scripts/poly2req.js index <HASH>..<HASH> 100755 --- a/scripts/poly2req.js +++ b/scripts/poly2req.js @@ -2,7 +2,7 @@ 'use strict'; -let fs = require('fs'); +let fs = require('fs'); // Node 4.x required! let VERSION = "route_5.0"; let SAMPLE_SIZE = 20;
Show user hint on wrong Node.js version, fixes #<I>. This is more of a hack but looks like the best we can do. The reason for this is the following: 1/ we require strict mode for our v4 script 2/ <I> in strict mode marks 'let' as a reserved keyword, aborting before execution any code in the script. Thus, we c...
Project-OSRM_osrm-backend
train
js
84747cfa6d256ae37e800b737d46bad243b74929
diff --git a/spiketoolkit/comparison/basecomparison.py b/spiketoolkit/comparison/basecomparison.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/comparison/basecomparison.py +++ b/spiketoolkit/comparison/basecomparison.py @@ -17,10 +17,17 @@ class BaseComparison: sorting2_name = 'sorting 2' self....
at least one sorter must have sampling freq
SpikeInterface_spiketoolkit
train
py
2027be6f20554a82d88fdab5d6ceaf91ff2ee189
diff --git a/moban/utils.py b/moban/utils.py index <HASH>..<HASH> 100644 --- a/moban/utils.py +++ b/moban/utils.py @@ -108,7 +108,7 @@ class HashStore: if file_name in self.hashes: if content_hash == self.hashes[file_name]: ret = False - else: + if ret: ...
bug fix, update content hash when the hash is different or does not exist
moremoban_moban
train
py
be74d94c48498459814cd690be58efb06f5bd285
diff --git a/lnwallet/size_test.go b/lnwallet/size_test.go index <HASH>..<HASH> 100644 --- a/lnwallet/size_test.go +++ b/lnwallet/size_test.go @@ -97,11 +97,11 @@ func TestTxWeightEstimator(t *testing.T) { numP2SHOutputs: 1, }, { - numNestedP2WKHInputs: 1, + numNestedP2WKHInputs: 253, numP2WKHOutputs:...
lnwallet/size_test: add test exercising nested input count bug This commit modifies the NP2WKH and NP2WSH input tests to ensure the input count is properly incremented and accounted for in the size estimate. <I> is chosen because it is the lowest value that, when serialized, occupies more than one byte on the wire.
lightningnetwork_lnd
train
go
b074a8756bd388abfdc75cab5d97d8a3e0542fae
diff --git a/apiserver/facades/client/machinemanager/machinemanager.go b/apiserver/facades/client/machinemanager/machinemanager.go index <HASH>..<HASH> 100644 --- a/apiserver/facades/client/machinemanager/machinemanager.go +++ b/apiserver/facades/client/machinemanager/machinemanager.go @@ -292,7 +292,7 @@ func (mm *Mac...
Log errors if encountered but are to be ignored.
juju_juju
train
go
7d7efab7d6ddaed873a1cde660cd8157623a8fcd
diff --git a/lib/bali/dsl/map_rules_dsl.rb b/lib/bali/dsl/map_rules_dsl.rb index <HASH>..<HASH> 100644 --- a/lib/bali/dsl/map_rules_dsl.rb +++ b/lib/bali/dsl/map_rules_dsl.rb @@ -47,7 +47,7 @@ class Bali::MapRulesDsl end def can(*params) - raise Bali::DslError, "can block must be within describe block" + ...
error message referring to role, instead of describe
saveav_bali
train
rb
ea5b546110ce1de4080b6c6faa26f15cd508bf0d
diff --git a/views.py b/views.py index <HASH>..<HASH> 100644 --- a/views.py +++ b/views.py @@ -19,9 +19,12 @@ """Implementation of Blueprint for previewers.""" +from __future__ import unicode_literals + import itertools -from flask import Blueprint, request, current_app +from flask import Blueprint, current_app...
global: unicode literals for views * Forces unicode literals on views. (addresses #<I>) * PEP8/<I> code style improvements.
inveniosoftware_invenio-previewer
train
py
e187ea2af38d08e1674802133d5323578f2aac00
diff --git a/src/Storage/Query/Query.php b/src/Storage/Query/Query.php index <HASH>..<HASH> 100644 --- a/src/Storage/Query/Query.php +++ b/src/Storage/Query/Query.php @@ -2,21 +2,19 @@ namespace Bolt\Storage\Query; -use Bolt\Storage\EntityManager; - class Query { - protected $em; + protected $parser; - ...
improve the dependency specificity for the query class
bolt_bolt
train
php
88f3ebd7e9720a500e76568a9f022399872c15ef
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -541,7 +541,7 @@ class MinionBase(object): for master in opts['local_masters']: opts['master'] = master opts.update(prep_ip_port(opts)) - op...
Remove extra "connect" kwarg caught by linter
saltstack_salt
train
py
c28e671f476000d02809b85f85c0f12f24a51008
diff --git a/tests/func/plots/test_show.py b/tests/func/plots/test_show.py index <HASH>..<HASH> 100644 --- a/tests/func/plots/test_show.py +++ b/tests/func/plots/test_show.py @@ -716,7 +716,7 @@ def test_show_malformed_plots(tmp_dir, scm, dvc, caplog): tmp_dir.gen("plot.json", '[{"m":1]') with pytest.raises...
tests: plots: fix plots call (#<I>)
iterative_dvc
train
py
df7f22cd8abfa658888b291530d98ce8907780bf
diff --git a/lib/right_scraper/resources/cookbook.rb b/lib/right_scraper/resources/cookbook.rb index <HASH>..<HASH> 100644 --- a/lib/right_scraper/resources/cookbook.rb +++ b/lib/right_scraper/resources/cookbook.rb @@ -26,6 +26,9 @@ module RightScraper module Resources class Cookbook < Base + def resourc...
acu<I> - Canonicalize manifest and use for hash digestion on cookbooks
rightscale_right_scraper
train
rb
a91c78237f28d670be0fdaf70afc619758480020
diff --git a/src/main/java/io/github/lukehutch/fastclasspathscanner/classpath/ClasspathFinder.java b/src/main/java/io/github/lukehutch/fastclasspathscanner/classpath/ClasspathFinder.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/github/lukehutch/fastclasspathscanner/classpath/ClasspathFinder.java +++ b/src/mai...
Replace any "//" with "/"
classgraph_classgraph
train
java
dfb780b4f66b91e2451f71182ee02bc670dbda71
diff --git a/app/controllers/inline_forms_controller.rb b/app/controllers/inline_forms_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/inline_forms_controller.rb +++ b/app/controllers/inline_forms_controller.rb @@ -50,7 +50,7 @@ class InlineFormsController < ApplicationController # The link to 'new' ...
Squashed a nasty bug that prevented the cancel button to work on associated records
acesuares_inline_forms
train
rb,rb
b72f67ededb4342d6a8ab33b7ade3a216d633ce2
diff --git a/obdalib/obdalib-core/src/main/java/it/unibz/krdb/sql/DBMetadata.java b/obdalib/obdalib-core/src/main/java/it/unibz/krdb/sql/DBMetadata.java index <HASH>..<HASH> 100644 --- a/obdalib/obdalib-core/src/main/java/it/unibz/krdb/sql/DBMetadata.java +++ b/obdalib/obdalib-core/src/main/java/it/unibz/krdb/sql/DBMet...
Add a method to get all the table definitions from the metadata.
ontop_ontop
train
java
4d2e471ec529a217f1fa158ec84108d87413f31f
diff --git a/resources/lang/sv-SE/cachet.php b/resources/lang/sv-SE/cachet.php index <HASH>..<HASH> 100644 --- a/resources/lang/sv-SE/cachet.php +++ b/resources/lang/sv-SE/cachet.php @@ -33,6 +33,7 @@ return [ 'scheduled' => 'Planerat underhåll', 'scheduled_at' => ', schemalagda: tidsstämpel', ...
New translations cachet.php (Swedish)
CachetHQ_Cachet
train
php
9e157f51a35cf091c25c7370969f0826d9597a19
diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameConverter.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameConverter.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameConverter.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controll...
[FrameworkBundle] made a small optimization
symfony_symfony
train
php
9c9662455b1efc28bdcc0ca8a1e6b37ad7900866
diff --git a/caas/kubernetes/provider/bootstrap_test.go b/caas/kubernetes/provider/bootstrap_test.go index <HASH>..<HASH> 100644 --- a/caas/kubernetes/provider/bootstrap_test.go +++ b/caas/kubernetes/provider/bootstrap_test.go @@ -607,7 +607,7 @@ func (s *bootstrapSuite) TestBootstrap(c *gc.C) { `if [ $ipv6Disabled ...
Preserve mongod logs in juju k8s controller Currently, the startup script used in the juju container controller uses bash command substitution to launch mongod. This will suppress logs printed by mongod. Use the exec command to launch mongod instead.
juju_juju
train
go,go
30d98e2b84fcaa3e3a37754792e6eec6b1dea128
diff --git a/config/environments/production.rb b/config/environments/production.rb index <HASH>..<HASH> 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -46,4 +46,7 @@ Src::Application.configure do # Send deprecation notices to registered listeners config.active_support....
<I> - Permission errors in RPM Do not attempt to recompile SASS files in the production mode. We are going to precompile it during the RPM build process. The /usr/lib/katello/public wont be symlinked into the /var/lib/katello anymore.
Katello_katello
train
rb
2da00fe9157ba162672c18a693be75aed4c02908
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -78,7 +78,7 @@ module.exports = { }, logLintingError: function(pluginName, moduleName, message) { - this.ui.writeLine(message.yellow); + this.ui.writeLine(chalk.yellow(message)); }, init: function() {
Use chalk methods instead of prototype extension.
ember-template-lint_ember-template-lint
train
js
bd6b9864c11703cb14ee920187f1e9ae046f9795
diff --git a/indra/assemblers/sbgn_assembler.py b/indra/assemblers/sbgn_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/sbgn_assembler.py +++ b/indra/assemblers/sbgn_assembler.py @@ -267,10 +267,11 @@ def statement_consumed(stmt): elif isinstance(stmt, ist.Complex): consumed = stmt.members...
Fix deactivation/inhibition in SBGN
sorgerlab_indra
train
py
b25343c3c453a4f850c7992f009bc4092aac1b9b
diff --git a/pandas/tests/frame/test_missing.py b/pandas/tests/frame/test_missing.py index <HASH>..<HASH> 100644 --- a/pandas/tests/frame/test_missing.py +++ b/pandas/tests/frame/test_missing.py @@ -23,6 +23,7 @@ def _skip_if_no_pchip(): try: from scipy.interpolate import pchip_interpolate # noqa ex...
TST: add nose import for skipped scipy tests
pandas-dev_pandas
train
py,py
313200c8abfd2f46a51ddf20f589dd2004925d52
diff --git a/client/deis.py b/client/deis.py index <HASH>..<HASH> 100755 --- a/client/deis.py +++ b/client/deis.py @@ -14,7 +14,6 @@ Shortcut commands:: create create a new container formation scale scale container types (web=2, worker=1) - logs print most recent logs for the formation ...
remove dupe doc reference to logs
deis_deis
train
py
4cf7ffd5fca5196192dcdb40a92184828a5c8bcb
diff --git a/modules/admin/src/views/aws/flow/index.php b/modules/admin/src/views/aws/flow/index.php index <HASH>..<HASH> 100644 --- a/modules/admin/src/views/aws/flow/index.php +++ b/modules/admin/src/views/aws/flow/index.php @@ -45,7 +45,10 @@ zaa.bootstrap.register('FlowController', function($scope, $controller) { ...
added flow upload spin images #<I>
luyadev_luya
train
php
7da17640d227b73b3caf00671a6105b7fc50d3c7
diff --git a/index.android.js b/index.android.js index <HASH>..<HASH> 100644 --- a/index.android.js +++ b/index.android.js @@ -24,8 +24,8 @@ function dial(telNum,prompt) { function sms(smsNum, messageText) { return new Promise(function (resolve, reject){ - if(!smsNum instanceof Array){ - rejec...
Update index.android.js Add support for previous sms method.
msywensky_nativescript-phone
train
js
a779b18361f11d3209607938b4b0b17943e319f1
diff --git a/openxc/controllers/base.py b/openxc/controllers/base.py index <HASH>..<HASH> 100644 --- a/openxc/controllers/base.py +++ b/openxc/controllers/base.py @@ -2,6 +2,7 @@ interface. """ import numbers +import time import threading import binascii @@ -140,6 +141,8 @@ class Controller(object): sel...
Give the command response thread time to start.
openxc_openxc-python
train
py
37be4019dc4e42aef4010e98f4b8862d3541d529
diff --git a/packages/dai/src/eth/EthereumTokenService.js b/packages/dai/src/eth/EthereumTokenService.js index <HASH>..<HASH> 100644 --- a/packages/dai/src/eth/EthereumTokenService.js +++ b/packages/dai/src/eth/EthereumTokenService.js @@ -92,6 +92,8 @@ export default class EthereumTokenService extends PrivateService { ...
add token.addressOverrides to config accidentally omitted some changes from the last commit
makerdao_dai.js
train
js,js
97313832e578bdf7f4bf91d713454979a3b796a7
diff --git a/tests/ParseTest.php b/tests/ParseTest.php index <HASH>..<HASH> 100644 --- a/tests/ParseTest.php +++ b/tests/ParseTest.php @@ -739,8 +739,8 @@ class ParseTest extends TestCase ); $this->expectException(ValidateException::class); - $this->expectExceptionMessage('Audience claim is n...
Fixed tests for parse class due to changes made to audience claim validation exception message.
RobDWaller_ReallySimpleJWT
train
php
d11dd2811388d86972c35a1ffc37b13b0140d113
diff --git a/diskv.go b/diskv.go index <HASH>..<HASH> 100644 --- a/diskv.go +++ b/diskv.go @@ -299,7 +299,7 @@ type closingReader struct { rc io.ReadCloser } -func (cr *closingReader) Read(p []byte) (int, error) { +func (cr closingReader) Read(p []byte) (int, error) { n, err := cr.rc.Read(p) if err == io.EOF {...
Drop superfluous pointer on closingReader method receiver
peterbourgon_diskv
train
go
75b2274b7403d803d5074869bd974808daf400a9
diff --git a/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb b/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb index <HASH>..<HASH> 100644 --- a/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb +++ b/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb @@ -8,12 +8,12 @@ module ChefZero da...
Better indentation fix Rubocop made it worse
chef_chef-zero
train
rb
4a7c3e9a154e1592f216b9dfe1870f237d1fa119
diff --git a/app/classes/util.php b/app/classes/util.php index <HASH>..<HASH> 100644 --- a/app/classes/util.php +++ b/app/classes/util.php @@ -1264,7 +1264,6 @@ if ( ! class_exists( 'util' ) ) { if ( strpos( $number, '.' ) !== false ) { list( $number, $decimal ) = explode( '.', $number ); ...
The left and the right parts of assignment are equal
bolt_bolt
train
php
5f46971241e12b4187167dbcdde4835ae41de7d6
diff --git a/lib/svn/roots.rb b/lib/svn/roots.rb index <HASH>..<HASH> 100644 --- a/lib/svn/roots.rb +++ b/lib/svn/roots.rb @@ -51,6 +51,10 @@ module Svn #:nodoc: :svn_fs_node_prop, [ :out_pointer, :root, :path, :name, :pool ], :error + attach_function :node_proplist, + :sv...
Adding Root#node_props accessor. This returns a node's properties as a hash to pointers. This should probably be updated to pull out all of the string values in the AprHash that is returned by :svn_fs_node_proplist.
codefoundry_svn
train
rb
ac1842389f2fb545a796d2938b6a574c80f313d3
diff --git a/q.py b/q.py index <HASH>..<HASH> 100644 --- a/q.py +++ b/q.py @@ -220,9 +220,7 @@ class Q(object): # In Python 3.4 the col_offset is calculated wrong. See # https://bugs.python.org/issue21295 if isinstance(arg, self.ast.Attribute) and ( - ...
Using Python's between structure.
zestyping_q
train
py
105ff2541da66977a7169425a171803bcabe8649
diff --git a/pylp/lib/file.py b/pylp/lib/file.py index <HASH>..<HASH> 100644 --- a/pylp/lib/file.py +++ b/pylp/lib/file.py @@ -23,18 +23,37 @@ class File(): # Constructor def __init__(self, path, **options): + # Options + self.order = _inf + self.base = options.get("base", os.path.dirname(path)) + # Path of...
Add 'set_path' and 'clone' methods
pylp_pylp
train
py
9992f8a962332c4071ce9c6f0750358b1ddbf36b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -38,10 +38,10 @@ module.exports = function(val, options){ */ function parse(str) { - var m = /^((?:\d+)?\.?\d+) *(ms|seconds?|s|minutes?|m|hours?|h|days?|d|years?|y)?$/i.exec(str); - if (!m) return; - var n = parseFloa...
Fixes #<I> where minutes does not work due to an unfortunately named variable.
zeit_ms
train
js
6fa78d2596c71398b54e4b960a224479967aace6
diff --git a/factories/ContactFactory.php b/factories/ContactFactory.php index <HASH>..<HASH> 100644 --- a/factories/ContactFactory.php +++ b/factories/ContactFactory.php @@ -57,10 +57,10 @@ abstract class ContactFactory break; case 'phoneNumber': $...
Extract the phone number trough the xml __toString method.
rapidwebltd_php-google-contacts-v3-api
train
php
094021f53ee55f88de15b7e6f34b6bd889e382a5
diff --git a/peony/utils.py b/peony/utils.py index <HASH>..<HASH> 100644 --- a/peony/utils.py +++ b/peony/utils.py @@ -91,8 +91,7 @@ class ErrorHandler(metaclass=MetaErrorHandler): return ErrorHandler.RAISE async def __call__(self, future=None, **kwargs): - status = ErrorHandler.OK - while...
Explicitly leave error handler loop The `status` variable was a bit confusing as a loop condition. We really just want to leave when we get a result from the API or an exception.
odrling_peony-twitter
train
py
e7f819d68994086b61a5c12189912ca35bcf74c4
diff --git a/src/InfoViz/Native/ParallelCoordinates/index.js b/src/InfoViz/Native/ParallelCoordinates/index.js index <HASH>..<HASH> 100644 --- a/src/InfoViz/Native/ParallelCoordinates/index.js +++ b/src/InfoViz/Native/ParallelCoordinates/index.js @@ -533,7 +533,7 @@ function parallelCoordinate(publicAPI, model) { ...
fix(ParallelCoordinates): Fix bug which prevented hiding bg polys When showing an anntation where all axes involved were not displayed, we could not hide background polygons.
Kitware_paraviewweb
train
js
6e44c372c5ad37d9278beb1928fa28ab4a5c2c5b
diff --git a/tests/NotificationTest.php b/tests/NotificationTest.php index <HASH>..<HASH> 100644 --- a/tests/NotificationTest.php +++ b/tests/NotificationTest.php @@ -5,9 +5,9 @@ namespace Bugsnag\Tests; use Bugsnag\Configuration; use Bugsnag\Diagnostics; use Bugsnag\Error; +use Bugsnag\Middleware\AddEnvironmentData...
Applied fixes from StyleCI (#<I>)
bugsnag_bugsnag-php
train
php
78392540d6a3ad340be44f72c0bbdffb6c267b99
diff --git a/src/hieroglyph/builder.py b/src/hieroglyph/builder.py index <HASH>..<HASH> 100644 --- a/src/hieroglyph/builder.py +++ b/src/hieroglyph/builder.py @@ -10,6 +10,11 @@ from sphinx.builders.html import ( StandaloneHTMLBuilder, DirectoryHTMLBuilder, ) +try: + from sphinx.util.fileutil import copy_...
Remove reference to specific Sphinx version
nyergler_hieroglyph
train
py
2c6a6cd8132f8c4611bee7f57024011db531a5c5
diff --git a/lib/solrizer.rb b/lib/solrizer.rb index <HASH>..<HASH> 100644 --- a/lib/solrizer.rb +++ b/lib/solrizer.rb @@ -1,4 +1,16 @@ +require 'active_support' module Solrizer + extend ActiveSupport::Autoload + + autoload :Common + autoload :Extractor + autoload :Descriptor + autoload :FieldMapper + autoload :...
Switch to autoload to ensure order problems don't arise
samvera_solrizer
train
rb,rb
038f5005a94ff7bcac2643989ea82aff27bce8e6
diff --git a/src/components/wasd-controls.js b/src/components/wasd-controls.js index <HASH>..<HASH> 100644 --- a/src/components/wasd-controls.js +++ b/src/components/wasd-controls.js @@ -156,7 +156,7 @@ module.exports.Component = registerComponent('wasd-controls', { var rotation = new THREE.Euler(0, 0, 0, 'YXZ'); ...
getComputedAttribute is needed to calculate the direction in case rotation is defined in the defaults or via mixins
aframevr_aframe
train
js
aebd3576a678fe947f7f5c2a9d8d5b19519150e7
diff --git a/mod/assign/feedback/editpdf/classes/pdf.php b/mod/assign/feedback/editpdf/classes/pdf.php index <HASH>..<HASH> 100644 --- a/mod/assign/feedback/editpdf/classes/pdf.php +++ b/mod/assign/feedback/editpdf/classes/pdf.php @@ -677,7 +677,7 @@ class pdf extends TcpdfFpdi { $gsexec = \escapeshellarg($CFG...
MDL-<I> assignfeedback_editpdf: Add SAFER option to GS command Adds the SAFER option to the Ghostscript command to limit interaction with IO and OS commands
moodle_moodle
train
php
5f1aac5bd8d983c805bbe52d748799d9942715ac
diff --git a/pynetworktables2js/__main__.py b/pynetworktables2js/__main__.py index <HASH>..<HASH> 100644 --- a/pynetworktables2js/__main__.py +++ b/pynetworktables2js/__main__.py @@ -34,13 +34,13 @@ log_format = "%(asctime)s:%(msecs)03d %(levelname)-8s: %(name)-20s: %(message)s" def init_networktables(options): - ...
remove check for dashboard option because dashboard is not an option anymore
robotpy_pynetworktables2js
train
py
636ef28612679d27f8de55cfa4fe13c39cdb2368
diff --git a/source/factory.js b/source/factory.js index <HASH>..<HASH> 100644 --- a/source/factory.js +++ b/source/factory.js @@ -14,6 +14,8 @@ const copy = require("./interface/copyFile.js"); const putFile = require("./interface/putFile.js"); const stats = require("./interface/stat.js"); +const NOOP = () => {}; +...
Add NOOP to createWriteStream method
perry-mitchell_webdav-client
train
js
5f3fc67c2cf0200b70896879f4333696e4ef4c32
diff --git a/Module.php b/Module.php index <HASH>..<HASH> 100644 --- a/Module.php +++ b/Module.php @@ -17,15 +17,12 @@ */ namespace SanSessionToolbar; -use Zend\ModuleManager\Feature\AutoloaderProviderInterface; use Zend\ModuleManager\Feature\ConfigProviderInterface; /** * @author Abdul Malik Ikhsan <samsona...
remove Module::getAutoloaderConfig() as there is composer for that :p
samsonasik_SanSessionToolbar
train
php
de7be37743c2ac1b7060eaccfbf0b44be4d079bc
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -163,7 +163,7 @@ let extractByExtractor = function (data, extractor, { let result = data let emailRegex = /([a-zA-Z0-9._-]{0,30}@[a-zA-Z0-9._-]{0,15}\.[a-zA-Z0-9._-]{0,15})/gmi let phoneRegex = /\+?\(?\d*\)? ?\(?\d+\)?\d...
Updating the website regex :)
gahabeen_jsonframe-cheerio
train
js
cd5217d62ad2e49b05398778f63fbe727e7cdc63
diff --git a/lib/read_source/read_source.rb b/lib/read_source/read_source.rb index <HASH>..<HASH> 100644 --- a/lib/read_source/read_source.rb +++ b/lib/read_source/read_source.rb @@ -6,7 +6,7 @@ module ReadSource source = readlines[line_num-1] indent = /\A[[:space:]]*/.match(source).to_s.length sou...
Just in case def method name with attr
danielpclark_read_source
train
rb
f3d6ff3905bf3bdfa2198ad5964a35df9bce052e
diff --git a/bitrise/setup.go b/bitrise/setup.go index <HASH>..<HASH> 100644 --- a/bitrise/setup.go +++ b/bitrise/setup.go @@ -40,7 +40,7 @@ var PluginDependencyMap = map[string]PluginDependency{ }, "analytics": PluginDependency{ Source: "https://github.com/bitrise-io/bitrise-plugins-analytics.git", - MinVe...
bump analytics plugin version (#<I>)
bitrise-io_bitrise
train
go
4c04c71b496d753b634d3bd1baf63144b2496273
diff --git a/db/sqlite_pool.js b/db/sqlite_pool.js index <HASH>..<HASH> 100644 --- a/db/sqlite_pool.js +++ b/db/sqlite_pool.js @@ -81,7 +81,9 @@ module.exports = function(db_name, MAX_CONNECTIONS, bReadOnly){ last_arg = function(){}; var sql = arguments[0]; - //console.log("======= query: "+sql); + c...
Added log in sqlite_pool.js
trustnote_trustnote-pow-common
train
js
b3e20aea9b390729124550c249a45e44e75962e2
diff --git a/test/truncate_test.go b/test/truncate_test.go index <HASH>..<HASH> 100644 --- a/test/truncate_test.go +++ b/test/truncate_test.go @@ -34,24 +34,24 @@ func TestSimpleTruncate(t *testing.T) { truncate("file", 0), read("file", ""), truncate("file", mb), - read("file", string(mzero)), + preadBS...
test: Avoid some extra allocation in truncate tests
keybase_client
train
go
793a6640383654dff26ab7bd7124b751ba99b2a1
diff --git a/JWSTokenSupport.php b/JWSTokenSupport.php index <HASH>..<HASH> 100644 --- a/JWSTokenSupport.php +++ b/JWSTokenSupport.php @@ -13,13 +13,13 @@ declare(strict_types=1); namespace Jose\Component\Signature; -use Jose\Component\Checker\TokenTypeSupportInterface; +use Jose\Component\Checker\TokenTypeSupport...
* Checker Component Tests improved. * Renamed: ClaimCheckerInterface => ClaimChecker. * Renamed: HeaderCheckerInterface => HeaderChecker.
web-token_jwt-signature
train
php
2a88ddeccfa802a61fbc7f45fd4b5ca73b603c75
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100755 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -2403,7 +2403,7 @@ sprintf( $this->get_text( 'squid-sysadmin-desc' ), // We use a filter since the plugin might requ...
[api-connectivity] [troubleshooting] [fix] [important] Forgot to mention wp.freemius.com as one of the subdomains that needs to be whitelisted for outgoing traffic since we use this endpoint for premium products during license activation.
Freemius_wordpress-sdk
train
php
4ce4cc321b905330849756022d55a34cd88b4ca2
diff --git a/src/extensions/renderer.canvas.coord-ele-math.js b/src/extensions/renderer.canvas.coord-ele-math.js index <HASH>..<HASH> 100644 --- a/src/extensions/renderer.canvas.coord-ele-math.js +++ b/src/extensions/renderer.canvas.coord-ele-math.js @@ -622,7 +622,6 @@ CanvasRenderer.prototype.recalculateRenderedSty...
remove compound projection fns; not needed for #<I> anymore
cytoscape_cytoscape.js
train
js
9289758cd4e3e96331d7ee3f06b2f53968169a95
diff --git a/spec/spec_helper.js b/spec/spec_helper.js index <HASH>..<HASH> 100644 --- a/spec/spec_helper.js +++ b/spec/spec_helper.js @@ -95,4 +95,12 @@ mock.createCylinder = function(){ return cylinder; }; +var mock_sandbox_generator = function(){}; +mock_sandbox_generator.prototype.generate = function(){}; +...
Added mocks for sandbox generator and execution strategy
rehanift_engine.js
train
js
a21b91b38763585c18590ca5c0cba19c47cd0a7e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ __date__ = '$Date$'[7:-2] name = 'jaraco.windows' setup (name = name, - version = '1.6', + version = '1.7', description = 'Windows Routines by Jason R. Coombs', long_description = open('docs/in...
Bumped to <I> after <I> release.
jaraco_jaraco.windows
train
py
3464004f23728be1b1b2e319cad6d7ea683a48f3
diff --git a/examples/official-storybook/image-snapshots/storyshots-image.runner.js b/examples/official-storybook/image-snapshots/storyshots-image.runner.js index <HASH>..<HASH> 100644 --- a/examples/official-storybook/image-snapshots/storyshots-image.runner.js +++ b/examples/official-storybook/image-snapshots/storysho...
raise threshold for image snapshots using storyshots
storybooks_storybook
train
js
6e5a360ad1f57bdcffdb3f95374583f291ec8935
diff --git a/question/format/aiken/format.php b/question/format/aiken/format.php index <HASH>..<HASH> 100644 --- a/question/format/aiken/format.php +++ b/question/format/aiken/format.php @@ -70,7 +70,7 @@ class qformat_aiken extends qformat_default { $question->fraction[$rightans] = 1; ...
Question object not always initialised. Bug #<I>
moodle_moodle
train
php
ae4910687a0a321f5848a031c83e117920320f21
diff --git a/Api/ProductAttribute.php b/Api/ProductAttribute.php index <HASH>..<HASH> 100644 --- a/Api/ProductAttribute.php +++ b/Api/ProductAttribute.php @@ -16,7 +16,6 @@ use JMS\Serializer\Annotation\VirtualProperty; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\ExclusionPolicy; -us...
removed AttributeType from ProductAttribute.php
sulu_SuluProductBundle
train
php
b117bff4f7b40a3e41e029a5c8108035d62c2809
diff --git a/lib/macho/macho_file.rb b/lib/macho/macho_file.rb index <HASH>..<HASH> 100644 --- a/lib/macho/macho_file.rb +++ b/lib/macho/macho_file.rb @@ -342,7 +342,7 @@ module MachO old_lc = dylib_load_commands.find { |d| d.name.to_s == old_name } raise DylibUnknownError.new(old_name) if old_lc.nil? -...
macho_file: Preserve a dylib's type when changing it. Fixes a bug where all changed install names were turned into LC_LOAD_DYLIB commands. Closes #<I>.
Homebrew_ruby-macho
train
rb
4b8c8654cbed955cfd2524dcc18d8c7e7324f87c
diff --git a/nomad/scaling_endpoint_test.go b/nomad/scaling_endpoint_test.go index <HASH>..<HASH> 100644 --- a/nomad/scaling_endpoint_test.go +++ b/nomad/scaling_endpoint_test.go @@ -5,6 +5,7 @@ import ( "time" msgpackrpc "github.com/hashicorp/net-rpc-msgpackrpc" + "github.com/stretchr/testify/assert" "github.c...
simple test to ensure that scaling endpoint methods support IsRead for stale read support
hashicorp_nomad
train
go
0e454a92409ee594a93c362f74a3e0f42424d663
diff --git a/lib/Doctrine/Common/Annotations/AnnotationReader.php b/lib/Doctrine/Common/Annotations/AnnotationReader.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Common/Annotations/AnnotationReader.php +++ b/lib/Doctrine/Common/Annotations/AnnotationReader.php @@ -35,7 +35,7 @@ use ReflectionProperty; * @author...
Removed "final" from class declaration for Zend Framework reusing.
doctrine_common
train
php
41168183086577cace730f86a141c8f122b939a4
diff --git a/lib/excon/connection.rb b/lib/excon/connection.rb index <HASH>..<HASH> 100644 --- a/lib/excon/connection.rb +++ b/lib/excon/connection.rb @@ -274,6 +274,15 @@ module Excon end def invoke_stub(params) + + #deal with File/Tempfile body: + unless params[:body].nil? or params[:body].is_a?...
Fix mocking with tempfile as body (e.g. mocking with VCR)
excon_excon
train
rb
2e19d67aece99ade2657ef9ec80bd47afd95abee
diff --git a/src/Composer/Config.php b/src/Composer/Config.php index <HASH>..<HASH> 100644 --- a/src/Composer/Config.php +++ b/src/Composer/Config.php @@ -139,7 +139,7 @@ class Config return (int) $this->config[$key]; case 'cache-files-maxsize': - if (!preg_match('/^\s*(\d...
allow K/KB as well as KiB for cache size configuration
mothership-ec_composer
train
php
cc8c23166c1a3402b6c6a84f73e8b88d224e1b73
diff --git a/tests/Filter/ModelFilterTest.php b/tests/Filter/ModelFilterTest.php index <HASH>..<HASH> 100644 --- a/tests/Filter/ModelFilterTest.php +++ b/tests/Filter/ModelFilterTest.php @@ -180,7 +180,10 @@ class ModelFilterTest extends TestCase 'field_name' => 'field_name', 'association_mapp...
Improve tests data field_mappings field_mappings must be an array instead of boolean.
sonata-project_SonataDoctrineMongoDBAdminBundle
train
php
512b04ba7e3448f3775221b011833d89206a7198
diff --git a/packages/alexa-response/src/index.js b/packages/alexa-response/src/index.js index <HASH>..<HASH> 100644 --- a/packages/alexa-response/src/index.js +++ b/packages/alexa-response/src/index.js @@ -90,3 +90,10 @@ const outputSpeech = (text, type = PlainText) => { return { outputSpeech: { type, text } }; ...
Exporting statics for commonjs compatibility
cameronhunter_alexa
train
js
2f003f9a82da1432fa95f6725d826677a69f9104
diff --git a/src/Twig/TokenParser/Defer.php b/src/Twig/TokenParser/Defer.php index <HASH>..<HASH> 100644 --- a/src/Twig/TokenParser/Defer.php +++ b/src/Twig/TokenParser/Defer.php @@ -96,10 +96,9 @@ class Defer extends Twig_TokenParser /** * @param Twig_TokenStream $stream * @param string $name - * ...
Removed unused variable [skip ci]
boekkooi_TwigJackBundle
train
php
f17bb0be41c7892f4cbbce6b2f7d77834bb95c7b
diff --git a/polyglot/mapping/embeddings.py b/polyglot/mapping/embeddings.py index <HASH>..<HASH> 100644 --- a/polyglot/mapping/embeddings.py +++ b/polyglot/mapping/embeddings.py @@ -11,6 +11,7 @@ import tarfile import numpy as np from numpy import float32 +from six import PY2 from six import text_type as unicode ...
Numpy py3 loads latin1 by default, need more verification.
aboSamoor_polyglot
train
py
15b7a17521c69e84ebe7ae21c290bf7f55336992
diff --git a/lib/action_kit_api/action.rb b/lib/action_kit_api/action.rb index <HASH>..<HASH> 100644 --- a/lib/action_kit_api/action.rb +++ b/lib/action_kit_api/action.rb @@ -17,26 +17,25 @@ module ActionKitApi super end - # Takes a page object and a user object and records the action - # Will retur...
Made act more flexible to be able to include additional attributes in the Action
Democracy-for-America_ActionKitApi
train
rb
4b1532e34f7f1bd78532411c3b97d96ed88cd988
diff --git a/tests/fixes/token-fixes/class-hyphenate-fix-test.php b/tests/fixes/token-fixes/class-hyphenate-fix-test.php index <HASH>..<HASH> 100644 --- a/tests/fixes/token-fixes/class-hyphenate-fix-test.php +++ b/tests/fixes/token-fixes/class-hyphenate-fix-test.php @@ -199,8 +199,8 @@ class Hyphenate_Fix_Test extends ...
Tests: we're looking for object identity here
mundschenk-at_php-typography
train
php
1bd857e6950caaa0a552753e364363b33c915067
diff --git a/megafile/megafile.go b/megafile/megafile.go index <HASH>..<HASH> 100644 --- a/megafile/megafile.go +++ b/megafile/megafile.go @@ -64,7 +64,11 @@ func Walk(BasePath string, BlockSize int) (*RepoInfo, error) { onEntry := func(FullPath string, fi os.FileInfo, err error) error { // we shouldn't encounter ...
Ignore permission errors when walking with megafile
itchio_wharf
train
go