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
2082ff82b581dfbe252338829c1ce7c31797f66c
diff --git a/runconfig/parse.go b/runconfig/parse.go index <HASH>..<HASH> 100644 --- a/runconfig/parse.go +++ b/runconfig/parse.go @@ -336,18 +336,15 @@ func parseRestartPolicy(policy string) (RestartPolicy, error) { name = parts[0] ) + p.Name = name switch name { case "always": - p.Name = name - if len...
log: Add restart policy name to the inspect information of container Under the restart policy "--restart=no", there is no record about it in the information from docker inspect. To keep it consistent around the three(maybe more in the future) restart policies and distinguish with no restart policy specified cases, it...
moby_moby
train
go
a0459eafa566b88b7f4b61c17e4d8550195d6139
diff --git a/manybugs/php/prepare.py b/manybugs/php/prepare.py index <HASH>..<HASH> 100755 --- a/manybugs/php/prepare.py +++ b/manybugs/php/prepare.py @@ -5,6 +5,7 @@ import subprocess import multiprocessing NASTY_REVISIONS = [ + "147382033a", "e7a1d5004e", "0a1cc5f01c", "51a4ae6576",
Fixes another php bug similar to #<I>
squaresLab_BugZoo
train
py
e452ea7624878f0ba4a2557ad02ec9660dd6eaa9
diff --git a/example/node-xml/run.js b/example/node-xml/run.js index <HASH>..<HASH> 100644 --- a/example/node-xml/run.js +++ b/example/node-xml/run.js @@ -1,10 +1,10 @@ -var sys = require('sys'); -process.mixin(GLOBAL, require("../../lib/jsdom/level1/core").dom.level1.core); +var sys = require('sys'), + dom = requir...
Modified example to work without process.mixin
jsdom_jsdom
train
js
c1ed623617d18e7ec108898bf117f83aef5c9b8f
diff --git a/lib/chef_attrdoc.rb b/lib/chef_attrdoc.rb index <HASH>..<HASH> 100644 --- a/lib/chef_attrdoc.rb +++ b/lib/chef_attrdoc.rb @@ -89,11 +89,11 @@ module ChefAttrdoc def to_s strings = [] @groups.each do |code, doc| - strings << doc.gsub(/^# /, '') + strings << doc.gsub(/^#[[:bl...
handle empty comment lines comment lines with just one '#' at the beginning of the line did not have the # removed in the final output
mapleoin_chef_attrdoc
train
rb,rb
2526827b6d2700b094f6760202bb7063a5bc3043
diff --git a/lnd_test.go b/lnd_test.go index <HASH>..<HASH> 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -2129,15 +2129,16 @@ func testSphinxReplayPersistence(net *lntest.NetworkHarness, t *harnessTest) { t.Fatalf("received payment error: %v", resp.PaymentError) } - // Since the payment failed, the balance shou...
test: modify sphinx replay test to force close the final channel In this commit, we modify the sphinx replay test to actually force close that final channel. We do this, as otherwise, we'll now reject the co-op close attempt as the channel still has active HTLCs.
lightningnetwork_lnd
train
go
557886c9b7d7074275b38deacf10c5899142de57
diff --git a/pyxmpp/client.py b/pyxmpp/client.py index <HASH>..<HASH> 100644 --- a/pyxmpp/client.py +++ b/pyxmpp/client.py @@ -69,6 +69,7 @@ class Client: self.port,self.auth_methods,self.enable_tls,self.require_tls) stream.debug=self.debug stream.print_exception=self.print_exception + self.stream_create...
- stream_created and stream_closed methods to override for low-level stream setup
Jajcus_pyxmpp2
train
py
1e36cb65d88b6be5f7e58cad412dc9703e041037
diff --git a/src/java/com/threerings/presents/dobj/DSet.java b/src/java/com/threerings/presents/dobj/DSet.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/presents/dobj/DSet.java +++ b/src/java/com/threerings/presents/dobj/DSet.java @@ -1,5 +1,5 @@ // -// $Id: DSet.java,v 1.14 2002/02/08 04:44:32 mdb Exp...
Need to prefix heterogenous set elements with their classname. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
java
642de46c4edd1cc151665c0528fddce6b20dc5ac
diff --git a/client/extensions/wp-job-manager/state/data-layer/index.js b/client/extensions/wp-job-manager/state/data-layer/index.js index <HASH>..<HASH> 100644 --- a/client/extensions/wp-job-manager/state/data-layer/index.js +++ b/client/extensions/wp-job-manager/state/data-layer/index.js @@ -1,16 +1,14 @@ /** * In...
Remove use of mergeHandlers as there's currently only one
Automattic_wp-calypso
train
js
2aae6d635000ec2923c4e170792e3dcf4a4dd86d
diff --git a/tests/src/main/java/org/hibernate/beanvalidation/tck/util/TestUtil.java b/tests/src/main/java/org/hibernate/beanvalidation/tck/util/TestUtil.java index <HASH>..<HASH> 100644 --- a/tests/src/main/java/org/hibernate/beanvalidation/tck/util/TestUtil.java +++ b/tests/src/main/java/org/hibernate/beanvalidation/...
BVTCK-<I> Include TestUtil and ConstraintViolationAssert in the package deployed by Arquillian This is necessary for the incontainer build.
beanvalidation_beanvalidation-tck
train
java
66cc51b583daf137aff91928c0292fabde0be0ca
diff --git a/src/com/mebigfatguy/fbcontrib/detect/OverlyConcreteParameter.java b/src/com/mebigfatguy/fbcontrib/detect/OverlyConcreteParameter.java index <HASH>..<HASH> 100755 --- a/src/com/mebigfatguy/fbcontrib/detect/OverlyConcreteParameter.java +++ b/src/com/mebigfatguy/fbcontrib/detect/OverlyConcreteParameter.java @...
break out of a loop if found
mebigfatguy_fb-contrib
train
java
c088850b2813b9d32f4709e2bcddd585ff3ed46c
diff --git a/graphs/tests/test_analysis.py b/graphs/tests/test_analysis.py index <HASH>..<HASH> 100644 --- a/graphs/tests/test_analysis.py +++ b/graphs/tests/test_analysis.py @@ -73,6 +73,9 @@ class TestAnalysis(unittest.TestCase): for G in self.graphs: assert_array_equal(G.betweenness(kind='vertex'), [1,0,...
Adding a weighted test case for betweenness [ci skip]
all-umass_graphs
train
py
ef1eb33837c28650c5ff8954d9b85d27bbc6c586
diff --git a/src/Decoda/Decoda.php b/src/Decoda/Decoda.php index <HASH>..<HASH> 100644 --- a/src/Decoda/Decoda.php +++ b/src/Decoda/Decoda.php @@ -1372,7 +1372,7 @@ class Decoda { * @param array $wrapper * @return array */ - protected function _extractNodes(array $chunks, array $wrapper = array()) ...
Update Decoda.php Store node's depth in returned nodes in _extractNodes
milesj_decoda
train
php
42b0e28fb622acc93712c49fdff122d8cf4d5bf4
diff --git a/lib/plugin.js b/lib/plugin.js index <HASH>..<HASH> 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -12,16 +12,22 @@ module.exports = postcss.plugin('postcss-selector-namespace', (options = {}) => selfSelector = regexpToGlobalRegexp(selfSelector) return (css, result) => { + const computedNames...
Don't compute namespace for each rule
topaxi_postcss-selector-namespace
train
js
c3bbce3bd2e5aae28101a8ea3539432aa6988fd3
diff --git a/lib/ronin/ui/command_line/command_line.rb b/lib/ronin/ui/command_line/command_line.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/ui/command_line/command_line.rb +++ b/lib/ronin/ui/command_line/command_line.rb @@ -49,6 +49,10 @@ module Ronin Installation.each_file_in(commands_dir) do |path| ...
Begin supporting the listing of commands within sub-directories of 'lib/ronin/ui/command_line/commands'.
ronin-ruby_ronin
train
rb
fbdf7fa03db5ea08b6820ba13584edad9f0c1baa
diff --git a/src/sos/hosts.py b/src/sos/hosts.py index <HASH>..<HASH> 100755 --- a/src/sos/hosts.py +++ b/src/sos/hosts.py @@ -129,7 +129,8 @@ class LocalHost: '''For local host, no path map, send and receive ...''' def __init__(self, config): - self.alias = config['alias'] if 'alias' in config else ...
Fix alias of localhost to avoid confusion
vatlab_SoS
train
py
ecd33018effd36e80819bc3d72ae0f76985bb13d
diff --git a/raven/handlers/logbook.py b/raven/handlers/logbook.py index <HASH>..<HASH> 100644 --- a/raven/handlers/logbook.py +++ b/raven/handlers/logbook.py @@ -41,7 +41,7 @@ class SentryHandler(logbook.Handler): def emit(self, record): try: # Avoid typical config issues by overriding logge...
Exclude raven from SentryHandler
getsentry_raven-python
train
py,py
e8a6731495902c8a0c9f603e5ffcd42204e0b7d8
diff --git a/app/src/js/.eslintrc.js b/app/src/js/.eslintrc.js index <HASH>..<HASH> 100644 --- a/app/src/js/.eslintrc.js +++ b/app/src/js/.eslintrc.js @@ -35,6 +35,8 @@ module.exports = { "wrap-iife": ["error", "any"], // Disallow the use of arguments.caller or arguments.callee "no-caller": "...
Add an exception to allow reassign console
bolt_bolt
train
js,js
b0f884616f8bd760cca6d203a8ff6c0142ff8610
diff --git a/ui/ToggleTool.js b/ui/ToggleTool.js index <HASH>..<HASH> 100644 --- a/ui/ToggleTool.js +++ b/ui/ToggleTool.js @@ -60,7 +60,7 @@ class ToggleTool extends Component { let commandState = this.props.commandState let Button = this.getComponent('button') let btn = $$(Button, { - icon: this.pr...
Allow Tools to override icon name.
substance_substance
train
js
0771f4975eef12e97256dc8c7768c0c7a678fdbd
diff --git a/test/test_examples.py b/test/test_examples.py index <HASH>..<HASH> 100644 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -3,6 +3,7 @@ import os import watson_developer_cloud import pytest +import sys from os import getcwd from subprocess import Popen, PIPE from os.path import join, dirnam...
skip integration tests in Python <I>
watson-developer-cloud_python-sdk
train
py
5ecbbb95f8a2f6b9491942b2013ff013b52f4615
diff --git a/src/Application/Config/Parser/Xml/Mail.php b/src/Application/Config/Parser/Xml/Mail.php index <HASH>..<HASH> 100644 --- a/src/Application/Config/Parser/Xml/Mail.php +++ b/src/Application/Config/Parser/Xml/Mail.php @@ -35,8 +35,11 @@ class Mail implements XmlParserInterface if($childNode->n...
fix: parsing of mailer settings; added a check for mailer host as minimal requirement
Vectrex_vxPHP
train
php
352d64ab0d88311e42f99dc50ff77a28aacd17e5
diff --git a/pkg/registry/core/service/rest.go b/pkg/registry/core/service/rest.go index <HASH>..<HASH> 100644 --- a/pkg/registry/core/service/rest.go +++ b/pkg/registry/core/service/rest.go @@ -556,6 +556,8 @@ func shouldAssignNodePorts(service *api.Service) bool { return true case api.ServiceTypeClusterIP: re...
Eliminate "Unknown service type: ExternalName" As the ExternalName service is supported, the warning message: "Unknown service type: ExternalName" should be eliminated from rest.go.
kubernetes_kubernetes
train
go
96eff0096dc173c93cec3bde09a245dfc33468b2
diff --git a/internal/buffer_pool.go b/internal/buffer_pool.go index <HASH>..<HASH> 100644 --- a/internal/buffer_pool.go +++ b/internal/buffer_pool.go @@ -44,7 +44,7 @@ type BufferPool struct { maxBuffersPerHandle int64 } -const BUF_SIZE = 5 * 1024 * 1024 +const BUF_SIZE = 10 * 1024 * 1024 func NewBufferPool(ma...
up the part size to allow for larger files ref #<I>
kahing_goofys
train
go
9eb952b84cf3d6bb5aa95eaf249e6871172a0b17
diff --git a/src/styles/points/points.js b/src/styles/points/points.js index <HASH>..<HASH> 100755 --- a/src/styles/points/points.js +++ b/src/styles/points/points.js @@ -385,6 +385,7 @@ Object.assign(Points, { draw.text.repeat_group = draw.text.repeat_group || draw.repeat_group; // inherit repeat group by...
`interactive` flag on `points`-nested `text` should inherit from parent point NB: better default behavior and matches ES, but may create a slightly larger than desirable hit area given the transparent buffer around the text label - leaving as-is for now
tangrams_tangram
train
js
0b4ce9b7e22ddfcdb99596d82a8efffcb0957e9f
diff --git a/examples/pyreto/opf.py b/examples/pyreto/opf.py index <HASH>..<HASH> 100644 --- a/examples/pyreto/opf.py +++ b/examples/pyreto/opf.py @@ -21,7 +21,7 @@ logger.setLevel(logging.DEBUG) case = pylon.Case.load("../data/case6ww.pkl") # Assume initial demand is peak demand and save it. -Pd0 = [b.p_demand for...
Fixing Pylon import in RL OPF.
rwl_pylon
train
py
a79a73fe5b596db2ac8c36297dacb28981ffdbee
diff --git a/src/googleclouddebugger/deferred_modules.py b/src/googleclouddebugger/deferred_modules.py index <HASH>..<HASH> 100644 --- a/src/googleclouddebugger/deferred_modules.py +++ b/src/googleclouddebugger/deferred_modules.py @@ -245,12 +245,14 @@ def _FindBestMatch(source_path, module_name, paths): best_suffix...
Close file opened by imp.find_module ------------- Created by MOE: <URL>
GoogleCloudPlatform_cloud-debug-python
train
py
c88c8ba668a1316608bcf06827a9e10b9822c02b
diff --git a/mov.py b/mov.py index <HASH>..<HASH> 100755 --- a/mov.py +++ b/mov.py @@ -145,6 +145,8 @@ def play(): connection.text_factory = str cursor = connection.cursor() if args.pattern: + if not args.strict: + args.pattern = '%{0}%'.format(args.pattern) ...
Always be greedy unless --strict is used
hph_mov
train
py
fbbe56b6b61487cbbfe47aa41a57e9c86018b994
diff --git a/src/tracing/timing_tool.js b/src/tracing/timing_tool.js index <HASH>..<HASH> 100644 --- a/src/tracing/timing_tool.js +++ b/src/tracing/timing_tool.js @@ -122,7 +122,7 @@ base.exportTo('tracing', function() { if (e.button !== 0) return; - if (!this.activeMarker_.selected) + if (!...
Fix error in timing tool when dragging outside the timeline track view BUG= R=<EMAIL> Review URL: <URL>
catapult-project_catapult
train
js
5f562cf862856fd04f860be997382036a1b98e42
diff --git a/prow/apis/prowjobs/v1/types.go b/prow/apis/prowjobs/v1/types.go index <HASH>..<HASH> 100644 --- a/prow/apis/prowjobs/v1/types.go +++ b/prow/apis/prowjobs/v1/types.go @@ -484,9 +484,10 @@ func (d *DecorationConfig) Validate() error { if d.GCSConfiguration == nil { return errors.New("GCS upload configur...
Allow pod utilities to upload to GCS with implicit Workload Identity credentials.
kubernetes_test-infra
train
go
638df724cdcf70b444ea91d5e970c09b464ab730
diff --git a/Generator/Base.php b/Generator/Base.php index <HASH>..<HASH> 100644 --- a/Generator/Base.php +++ b/Generator/Base.php @@ -182,7 +182,7 @@ abstract class BaseGenerator { * @param $property_name * The name of a property in $component_data. */ - function getComponentDataDefaultValue($component_d...
Issue #<I> by pokap: Fixed inconsistent declaration of getComponentDataDefaultValue().
drupal-code-builder_drupal-code-builder
train
php
60b4af005b32269b4105454b4228bd8bf39515f4
diff --git a/lib/meurio_ui/version.rb b/lib/meurio_ui/version.rb index <HASH>..<HASH> 100644 --- a/lib/meurio_ui/version.rb +++ b/lib/meurio_ui/version.rb @@ -1,5 +1,5 @@ module MeurioUi module Rails - VERSION = "1.3.5" + VERSION = "1.3.6" end end
[#<I>] release version <I>
nossas_meurio_ui
train
rb
50703703b4af9730d8e32b69a28ebed877d1b96a
diff --git a/actionpack/lib/action_view/dependency_tracker.rb b/actionpack/lib/action_view/dependency_tracker.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_view/dependency_tracker.rb +++ b/actionpack/lib/action_view/dependency_tracker.rb @@ -22,7 +22,7 @@ module ActionView @trackers.delete(handler) ...
Rename ErbTracker to ERBTracker
rails_rails
train
rb
217aeea0bb15cc4d24cf7fe1805fd7b4beccfce7
diff --git a/safe/impact_function_v4/impact_function.py b/safe/impact_function_v4/impact_function.py index <HASH>..<HASH> 100644 --- a/safe/impact_function_v4/impact_function.py +++ b/safe/impact_function_v4/impact_function.py @@ -419,7 +419,7 @@ class ImpactFunction(object): """Return the current datastore. ...
Small change to make PyCharm knows the type.
inasafe_inasafe
train
py
56fdc4a28f252b2ef2e4fee2c885c3adfc5fd8e7
diff --git a/lib/podio/models/experiment.rb b/lib/podio/models/experiment.rb index <HASH>..<HASH> 100644 --- a/lib/podio/models/experiment.rb +++ b/lib/podio/models/experiment.rb @@ -42,6 +42,10 @@ class Podio::Experiment < ActivePodio::Base list Podio.connection.get('/experiment/').body end + def find...
Added method to get single experiment to Experiment model
podio_podio-rb
train
rb
d4b587af8e63253c775c8b9e13c9eb00cd24f42c
diff --git a/src/currencyEngine/indexEngine.js b/src/currencyEngine/indexEngine.js index <HASH>..<HASH> 100644 --- a/src/currencyEngine/indexEngine.js +++ b/src/currencyEngine/indexEngine.js @@ -683,6 +683,8 @@ export default (bcoin:any, txLibInfo:any) => class CurrencyEngine implements Abc } async subscribeToA...
ugly hack for now until we stop using address all together and only use hashs
EdgeApp_edge-currency-bitcoin
train
js
b2668bf3c460b26c2adaddc13aca556e24979238
diff --git a/sporco/linalg.py b/sporco/linalg.py index <HASH>..<HASH> 100644 --- a/sporco/linalg.py +++ b/sporco/linalg.py @@ -55,6 +55,30 @@ def complex_dtype(dtype): +def pyfftw_byte_aligned(array, dtype=None, n=None): + """ + Construct a byte-aligned array for efficient use by :mod:`pyfftw`. + This fu...
Added pyfftw_byte_aligned function
bwohlberg_sporco
train
py
56bf1ade7987c4b41cffd9c795f7c60575fc5b62
diff --git a/Generator/File.php b/Generator/File.php index <HASH>..<HASH> 100644 --- a/Generator/File.php +++ b/Generator/File.php @@ -54,8 +54,9 @@ class File extends BaseGenerator { * @return * An array keyed by an arbitrary ID for the file, whose value is an array * of file info. Values in this array a...
Fixed omission in docs.
drupal-code-builder_drupal-code-builder
train
php
152193aaea26bc10509305b0a3637e793011c832
diff --git a/src/python/pants/backend/jvm/tasks/checkstyle.py b/src/python/pants/backend/jvm/tasks/checkstyle.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/jvm/tasks/checkstyle.py +++ b/src/python/pants/backend/jvm/tasks/checkstyle.py @@ -35,6 +35,8 @@ class Checkstyle(NailgunTask): register('--con...
JVM checkstyle should obey jvm_options - Local fix for checkstyle not accepting jvm_options We're interested in following up to get this option from a jvm Subsystem sometime soon, but for now we need a brief fix for an upcoming release. Testing Done: local tests that both DEFAULT and local jvm_options are respected ...
pantsbuild_pants
train
py
44c51bfb2cb08fce0cd164e0f24ba9e5adbd4f6e
diff --git a/src/main/resources/META-INF/resources/primefaces/schedule/1-schedule.js b/src/main/resources/META-INF/resources/primefaces/schedule/1-schedule.js index <HASH>..<HASH> 100644 --- a/src/main/resources/META-INF/resources/primefaces/schedule/1-schedule.js +++ b/src/main/resources/META-INF/resources/primefaces/...
#<I> fix typo, use url of event (#<I>)
primefaces_primefaces
train
js
254c11656911083e26eb767579618050a1e39815
diff --git a/peer.go b/peer.go index <HASH>..<HASH> 100644 --- a/peer.go +++ b/peer.go @@ -241,8 +241,12 @@ func (l *PeerList) updatePeer(p *Peer) { type peerScore struct { *Peer + // score according to the current peer list's ScoreCalculator. score uint64 + // index of the peerScore in the peerHeap. Used to int...
Better documentation of fields in peerScore
uber_tchannel-go
train
go
ad340ad9d01ae498f7ea911034557363b777b12d
diff --git a/openid/consumer/interface.py b/openid/consumer/interface.py index <HASH>..<HASH> 100644 --- a/openid/consumer/interface.py +++ b/openid/consumer/interface.py @@ -75,8 +75,28 @@ the fallback cases are much more secure than pure dumb mode, as they still are making use the consumer's ability to store state. ...
[project @ continuing doc project]
openid_python-openid
train
py
f72c824d7d5af687f78527cf90216e9a8a9220d8
diff --git a/cli/src/main/java/org/jboss/as/cli/CommandLineMain.java b/cli/src/main/java/org/jboss/as/cli/CommandLineMain.java index <HASH>..<HASH> 100644 --- a/cli/src/main/java/org/jboss/as/cli/CommandLineMain.java +++ b/cli/src/main/java/org/jboss/as/cli/CommandLineMain.java @@ -706,6 +706,7 @@ public class CommandL...
reset the client and host/port variables if connection failed (otherwise the prompt will be misleading)
wildfly_wildfly
train
java
ba1de8136ce4c62f93465814919a62ebaff968e9
diff --git a/test/test_example_match.rb b/test/test_example_match.rb index <HASH>..<HASH> 100755 --- a/test/test_example_match.rb +++ b/test/test_example_match.rb @@ -974,7 +974,7 @@ class TestExampleMatch < Test::Unit::TestCase format3 = workbook.add_format( :color => ...
* typo in test_example_match.rb method(a=>b, c=>d,) accepted on ruby <I> and <I> but fail on ruby <I> method(a=>b, c=>d) passes all ruby version.
cxn03651_write_xlsx
train
rb
03bea1a018126e33ba8a48034bced956d0fd5069
diff --git a/lib/gem/release/version.rb b/lib/gem/release/version.rb index <HASH>..<HASH> 100644 --- a/lib/gem/release/version.rb +++ b/lib/gem/release/version.rb @@ -1,5 +1,5 @@ module Gem module Release - VERSION = '2.0.0.rc.2' + VERSION = '2.0.0.rc.3' end end
Bump gem-release to <I>.rc<I>
svenfuchs_gem-release
train
rb
57ffe3ead4b9b7499fc97140cd843d845a250e38
diff --git a/test/function.js b/test/function.js index <HASH>..<HASH> 100644 --- a/test/function.js +++ b/test/function.js @@ -94,8 +94,8 @@ describe('function declarations', () => { const info = getInstrumentedVersion(contract, filePath); const coverage = new CoverageMap(); coverage.addContract(info, fi...
Clarify comment explaining what test is doing
sc-forks_solidity-coverage
train
js
025968a0e7f471952ec35f19c7d226299960bd1c
diff --git a/src/Rocketeer/Igniter.php b/src/Rocketeer/Igniter.php index <HASH>..<HASH> 100644 --- a/src/Rocketeer/Igniter.php +++ b/src/Rocketeer/Igniter.php @@ -57,6 +57,11 @@ class Igniter */ public function getConfigurationPath() { + $laravel = $this->app['path'].'/config/packages/anahkiasen/rocketeer'; + ...
Return correct path for Laravel configurations
rocketeers_rocketeer
train
php,php
a989b09b3c0112332ac6110625f0f06538ca0083
diff --git a/fuzzy/node.go b/fuzzy/node.go index <HASH>..<HASH> 100644 --- a/fuzzy/node.go +++ b/fuzzy/node.go @@ -6,7 +6,6 @@ import ( "time" "github.com/hashicorp/go-hclog" - "github.com/hashicorp/raft" rdb "github.com/hashicorp/raft-boltdb" ) @@ -21,14 +20,14 @@ type raftNode struct { dir string ...
Fix: Failed to build since the inappropriate logger parameter (#<I>)
hashicorp_raft
train
go
241d234e44afc4422f346f2f3f15a034e5b3a37f
diff --git a/test/functional/associations/test_many_documents_as_proxy.rb b/test/functional/associations/test_many_documents_as_proxy.rb index <HASH>..<HASH> 100644 --- a/test/functional/associations/test_many_documents_as_proxy.rb +++ b/test/functional/associations/test_many_documents_as_proxy.rb @@ -141,7 +141,7 @@ c...
Minor: Order by something more predictable than $natural in test for many documents as proxy.
mongomapper_mongomapper
train
rb
a7a5c745b8c6a358c5a5a1fb835cf99274d7aea8
diff --git a/lib/Message.php b/lib/Message.php index <HASH>..<HASH> 100644 --- a/lib/Message.php +++ b/lib/Message.php @@ -52,9 +52,8 @@ abstract class Message implements MessageInterface { fwrite($stream, $body); rewind($stream); return $stream; - } else { - ret...
Remove unnecessary else and elseif with return.
sabre-io_http
train
php
f6bdeea6e24abeb1dd9f00d7e947001e232d175f
diff --git a/Pdf/Engine/WkHtmlToPdfEngine.php b/Pdf/Engine/WkHtmlToPdfEngine.php index <HASH>..<HASH> 100644 --- a/Pdf/Engine/WkHtmlToPdfEngine.php +++ b/Pdf/Engine/WkHtmlToPdfEngine.php @@ -44,7 +44,7 @@ class WkHtmlToPdfEngine extends AbstractPdfEngine { throw new CakeException("WKHTMLTOPDF didn't return any data...
Fixing edge case where wkhtmltopdf returns an exit code 2 on success too
FriendsOfCake_CakePdf
train
php
b273b47a1972c84ae0bfe3fc73e46121306a17e6
diff --git a/src/info/digibyte.js b/src/info/digibyte.js index <HASH>..<HASH> 100644 --- a/src/info/digibyte.js +++ b/src/info/digibyte.js @@ -10,7 +10,7 @@ const bcoinInfo: BcoinCurrencyInfo = { formats: ['bip49', 'bip84', 'bip44', 'bip32'], forks: [], keyPrefix: { - privkey: 0x80, + privkey: 0x9e, ...
set the correct digibyte param
EdgeApp_edge-currency-bitcoin
train
js
0cfecbf244e001efc11736269003e5c4a5a9c823
diff --git a/lib/large_hadron_migration.rb b/lib/large_hadron_migration.rb index <HASH>..<HASH> 100644 --- a/lib/large_hadron_migration.rb +++ b/lib/large_hadron_migration.rb @@ -101,9 +101,9 @@ class LargeHadronMigration < ActiveRecord::Migration raise "chunk_size must be >= 1" unless chunk_size >= 1 start...
rename table schema to lhmj to keep conistency
soundcloud_lhm
train
rb
4d28ddb87b5c0a8766ce885ab95428759b8818f1
diff --git a/src/playground/playground.go b/src/playground/playground.go index <HASH>..<HASH> 100644 --- a/src/playground/playground.go +++ b/src/playground/playground.go @@ -138,7 +138,15 @@ const js_evalScript = ` throw new Go$Panic("Syscall not supported: " + trap); } }; - eval(script); + try { + eva...
playground: Handling of runtime errors.
gopherjs_gopherjs
train
go
3ed5ba12d710df2cc003787bf198aa6b40e1417c
diff --git a/src/extensions/fanart-tv/loader.js b/src/extensions/fanart-tv/loader.js index <HASH>..<HASH> 100644 --- a/src/extensions/fanart-tv/loader.js +++ b/src/extensions/fanart-tv/loader.js @@ -40,7 +40,7 @@ export default function createLoader(options) { }) .then(body => { ...
Fix for missing albums property on fanart.tv artists
exogen_graphbrainz
train
js
224d632e7eb29d7632883fb59bf0538cfee32a67
diff --git a/new-src/util2.js b/new-src/util2.js index <HASH>..<HASH> 100644 --- a/new-src/util2.js +++ b/new-src/util2.js @@ -27,7 +27,7 @@ export const record2tuple = ({nodeType, position, ...data}) => { const {nodeName, nodeValue, childNodes} = data return [nodeType, position, nodeName, nodeValue, childNodes] ...
allow traverse skip node with traverseAll=true
baixing_jedi
train
js
6534a3d93cdbaaf49ff7c6ef43849e81dbddc115
diff --git a/src/Command/Snapshot/SnapshotCreateCommand.php b/src/Command/Snapshot/SnapshotCreateCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/Snapshot/SnapshotCreateCommand.php +++ b/src/Command/Snapshot/SnapshotCreateCommand.php @@ -20,6 +20,7 @@ class SnapshotCreateCommand extends CommandBase ...
Recommend --no-wait if snapshot:create is run in a non-TTY
platformsh_platformsh-cli
train
php
8f52baaf70b8b57b5d8f1d048e862757b141a361
diff --git a/bumpr/config.py b/bumpr/config.py index <HASH>..<HASH> 100644 --- a/bumpr/config.py +++ b/bumpr/config.py @@ -165,7 +165,7 @@ class Config(ObjectDict): if hasattr(parsed_args, 'nocommit'): self.commit = not parsed_args.nocommit - for attr in 'bump_only' 'prepare_only', 'push'...
Fix small issue in config.py Add a comma to separate strings in a 'for' in override_from_args
noirbizarre_bumpr
train
py
8e0e862c84f44dfa3e429275b3a3a5d29b5836a8
diff --git a/testing/test_pytester.py b/testing/test_pytester.py index <HASH>..<HASH> 100644 --- a/testing/test_pytester.py +++ b/testing/test_pytester.py @@ -418,7 +418,7 @@ def test_testdir_run_with_timeout(testdir): duration = end - start assert result.ret == EXIT_OK - assert duration < 1 + assert ...
Stretch out the time assertion for slow AppVeyor
pytest-dev_pytest
train
py
7d5937c07032b7a08ca0999a289285dd12aec243
diff --git a/pystatsd/server.py b/pystatsd/server.py index <HASH>..<HASH> 100644 --- a/pystatsd/server.py +++ b/pystatsd/server.py @@ -112,6 +112,16 @@ class Server(object): self.counters[key] = 0 self.counters[key] += float(fields[0] or 1) * (1 / sample_rate) + def on_timer(s...
Improve exception handling Ignore exceptions while flushing and make sure a new timer is always set. With the old code if there was any exception while flushing, e.g. an error while connecting to Graphite, the process would not flush anymore.
sivy_pystatsd
train
py
c4542fa6c28d6445b810aa4dbfc119c08e274f1f
diff --git a/tests/View/SummaryDoc.php b/tests/View/SummaryDoc.php index <HASH>..<HASH> 100644 --- a/tests/View/SummaryDoc.php +++ b/tests/View/SummaryDoc.php @@ -91,7 +91,10 @@ class SummaryDoc */ public function doc3() { - // {{ i + 1 }} + /* + # _ + {{ i + 1 }} + */...
docs<view>: add summary doc for view component
hunzhiwange_framework
train
php
e937375e1e605e3157283c6d59a827d81feb1d76
diff --git a/molgenis-core-ui/src/main/resources/js/settingsmanager.js b/molgenis-core-ui/src/main/resources/js/settingsmanager.js index <HASH>..<HASH> 100644 --- a/molgenis-core-ui/src/main/resources/js/settingsmanager.js +++ b/molgenis-core-ui/src/main/resources/js/settingsmanager.js @@ -23,7 +23,7 @@ query : { ...
fix the name of the settings package (settings -> sys_set)
molgenis_molgenis
train
js
08110da980c017a8ccd51e1395c5550ac1087ea9
diff --git a/org.jrebirth/core/src/test/java/org/jrebirth/core/concurrent/ThreadTest.java b/org.jrebirth/core/src/test/java/org/jrebirth/core/concurrent/ThreadTest.java index <HASH>..<HASH> 100644 --- a/org.jrebirth/core/src/test/java/org/jrebirth/core/concurrent/ThreadTest.java +++ b/org.jrebirth/core/src/test/java/or...
Headless not available yet .... for full integration purposes
JRebirth_JRebirth
train
java
8b2a3417e380a95b3a3b9a20cfbb5b03b9354c15
diff --git a/openstack_dashboard/test/helpers.py b/openstack_dashboard/test/helpers.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/test/helpers.py +++ b/openstack_dashboard/test/helpers.py @@ -24,6 +24,7 @@ import unittest from ceilometerclient.v2 import client as ceilometer_client from cinderclient impor...
[Django <I>] Remove testserver from expected_url This patch removes the 'http://testserver' section from the test URLs Ref: <URL>
openstack_horizon
train
py
f4214437000086ee14afaf16e45fcb7c15f04107
diff --git a/lib/express/collection.js b/lib/express/collection.js index <HASH>..<HASH> 100644 --- a/lib/express/collection.js +++ b/lib/express/collection.js @@ -256,10 +256,9 @@ Collection = Class({ */ keys: function() { - return $(this.reduce([], function(array, val, key){ - array.push(key) - ...
Refactored Collection#keys() with #map()
expressjs_express
train
js
7dae8b4459047aa57132260e5e7d863d29a667d8
diff --git a/ReText/editor.py b/ReText/editor.py index <HASH>..<HASH> 100644 --- a/ReText/editor.py +++ b/ReText/editor.py @@ -182,7 +182,7 @@ class ReTextEdit(QTextEdit): def resizeEvent(self, event): QTextEdit.resizeEvent(self, event) - if not globalSettings.lineNumbersEnabled: + if not hasattr(self, 'lineN...
Correctly handle resize after line numbers area has been activated.
retext-project_retext
train
py
ae5484dd73a1a0e21fe66252668859b2aa642daf
diff --git a/karma.conf.js b/karma.conf.js index <HASH>..<HASH> 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,10 +1,12 @@ -var references = require('./gulp/resolve'); +var references = require('gulp-utilities').resolve; + +var libraries = require('./libReferences.json'); // Karma configuration module.exports...
Update karma config to use new gulp utility tools for resolve references.
RenovoSolutions_TypeScript-Angular-Utilities
train
js
ea038726ba51909a268784620766e914de626c47
diff --git a/app/code/community/Varien/Profiler.php b/app/code/community/Varien/Profiler.php index <HASH>..<HASH> 100755 --- a/app/code/community/Varien/Profiler.php +++ b/app/code/community/Varien/Profiler.php @@ -173,7 +173,7 @@ class Varien_Profiler 'type' => $type, ); - if ($name == '...
CaptureModelInfo may not exist Profiler can be enabled without config file and without captureModelInfo setting. In this instance a notice is thrown. Using empty instead avoids this but maintains original boolean check.
AOEpeople_Aoe_Profiler
train
php
cf82b0d3a9ba6179ff07a772d7af520f0a2d695f
diff --git a/openquake/server/dbserver.py b/openquake/server/dbserver.py index <HASH>..<HASH> 100644 --- a/openquake/server/dbserver.py +++ b/openquake/server/dbserver.py @@ -16,6 +16,7 @@ # You should have received a copy of the GNU Affero General Public License # along with OpenQuake. If not, see <http://www.gnu...
The dbserver now performs a makedirs call if needed
gem_oq-engine
train
py
6b92b55cdfc1dec76e419b4c313eca42df852a99
diff --git a/evergreen/core/loop.py b/evergreen/core/loop.py index <HASH>..<HASH> 100644 --- a/evergreen/core/loop.py +++ b/evergreen/core/loop.py @@ -248,7 +248,7 @@ class EventLoop(object): def switch(self): if not self._started: - self._run(forever=False) + self.run() ...
Fixed staring loop if switch() was called and it wasn't started yet
saghul_evergreen
train
py
afd4b95ed046379076a170e3f0da7d58d87616b9
diff --git a/org/mozilla/javascript/regexp/RegExpImpl.java b/org/mozilla/javascript/regexp/RegExpImpl.java index <HASH>..<HASH> 100644 --- a/org/mozilla/javascript/regexp/RegExpImpl.java +++ b/org/mozilla/javascript/regexp/RegExpImpl.java @@ -34,6 +34,11 @@ public class RegExpImpl implements RegExpProxy { retu...
Added method to construct a new RegExp.
mozilla_rhino
train
java,java
08aebcec9f477f8ba15f0d1cecf92c16f2b470a2
diff --git a/jss/distribution_points.py b/jss/distribution_points.py index <HASH>..<HASH> 100644 --- a/jss/distribution_points.py +++ b/jss/distribution_points.py @@ -130,8 +130,6 @@ class DistributionPoints(object): share_name = repo['share_name'] # Domain is not used for AFP....
Set port based on type -- <I> for AFP / <I> for SMB
jssimporter_python-jss
train
py
d22b30152a883539425bdd358965f61f31f58963
diff --git a/weld/src/main/java/org/jboss/as/weld/WeldDeploymentMarker.java b/weld/src/main/java/org/jboss/as/weld/WeldDeploymentMarker.java index <HASH>..<HASH> 100644 --- a/weld/src/main/java/org/jboss/as/weld/WeldDeploymentMarker.java +++ b/weld/src/main/java/org/jboss/as/weld/WeldDeploymentMarker.java @@ -40,11 +40...
Fix weld merker issue
wildfly_wildfly
train
java
3ad290f7eb1f75b2fea3b3db587ccb6a6b71db8c
diff --git a/Generative-Adversarial-Networks/pygan/generativemodel/conditionalgenerativemodel/conditional_convolutional_model.py b/Generative-Adversarial-Networks/pygan/generativemodel/conditionalgenerativemodel/conditional_convolutional_model.py index <HASH>..<HASH> 100644 --- a/Generative-Adversarial-Networks/pygan/g...
Update for pre learning, typo, and verbose.
chimera0_accel-brain-code
train
py
33b4839eb2fff1aba62a26362b0e7e273bbf321a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,8 @@ from urllib.request import urlopen from setuptools import setup, find_packages, Extension from setuptools.command.build_ext import build_ext -VERSION = "2.11.1" -LIBUAST_VERSION = "v1.9.4" +VERSION = "2.11.2...
Bump libuast dependency version
bblfsh_client-python
train
py
f1810b31c4c5aa356921bb6f8b6d362c78d41805
diff --git a/Context/AbstractShopContext.php b/Context/AbstractShopContext.php index <HASH>..<HASH> 100755 --- a/Context/AbstractShopContext.php +++ b/Context/AbstractShopContext.php @@ -29,14 +29,6 @@ abstract class AbstractShopContext /** * {@inheritdoc} */ - public function setCurrentShop(ShopInt...
Code reformatted (cherry picked from commit 1af<I>b<I>c<I>a<I>deaa<I>bca1d4a0)
WellCommerce_WishlistBundle
train
php
0017346306c917cfc93035dc6382a917d17ed437
diff --git a/shared/subprocess/proc.go b/shared/subprocess/proc.go index <HASH>..<HASH> 100644 --- a/shared/subprocess/proc.go +++ b/shared/subprocess/proc.go @@ -47,16 +47,20 @@ func (p *Process) Stop() error { if err == nil { err = pr.Kill() if err == nil { + if p.hasMonitor { + <-p.chExit + } + re...
shared/subprocess: Fix Stop handling
lxc_lxd
train
go
9bc6a5ff453966172077abc28720b3e6f3f096d1
diff --git a/src/sap.ui.core/src/sap/ui/base/ManagedObject.js b/src/sap.ui.core/src/sap/ui/base/ManagedObject.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.core/src/sap/ui/base/ManagedObject.js +++ b/src/sap.ui.core/src/sap/ui/base/ManagedObject.js @@ -3361,7 +3361,7 @@ sap.ui.define([ } // if property is alr...
[FIX] sap/ui/base/ManagedObject: Check for isBound - Revert check for getBinding to isBound in bindProperty and bindAggregration BCP: <I> Change-Id: I1c7c<I>c<I>e7e<I>fa<I>f<I>be8a<I>ff
SAP_openui5
train
js
fa246a1c81e21d30668198e8a351fe43ff81a6fb
diff --git a/spec/e2e/active_rel_spec.rb b/spec/e2e/active_rel_spec.rb index <HASH>..<HASH> 100644 --- a/spec/e2e/active_rel_spec.rb +++ b/spec/e2e/active_rel_spec.rb @@ -32,6 +32,16 @@ describe 'ActiveRel' do let(:from_node) { FromClass.create } let(:to_node) { ToClass.create } + describe 'unpersisted nodes' ...
failing spec for activerel w/unpersisted nodes
neo4jrb_neo4j
train
rb
1c3d70cce795fe2daaeb4b57ce4013fd08b997aa
diff --git a/src/utils/innerSliderUtils.js b/src/utils/innerSliderUtils.js index <HASH>..<HASH> 100644 --- a/src/utils/innerSliderUtils.js +++ b/src/utils/innerSliderUtils.js @@ -259,6 +259,7 @@ export const changeSlide = (spec, options) => { slidesToShow, slideCount, currentSlide, + targetSlide: prev...
fix in an issue with changing slides with keys in finite mode
akiran_react-slick
train
js
0de30334148e2d5a8b980ea4bf95c7828d2c391d
diff --git a/rtv/__main__.py b/rtv/__main__.py index <HASH>..<HASH> 100644 --- a/rtv/__main__.py +++ b/rtv/__main__.py @@ -45,7 +45,10 @@ def main(): config = Config() config.update(**fargs) config.update(**args) - config.keymap.update(**bindings) + + # If key bindings are supplied in the config fi...
Updated bindings in __main__.
michael-lazar_rtv
train
py,py
dc3d9f5edb388db8665a9b666b6477749746faaf
diff --git a/nolds/test_measures.py b/nolds/test_measures.py index <HASH>..<HASH> 100644 --- a/nolds/test_measures.py +++ b/nolds/test_measures.py @@ -132,7 +132,7 @@ class TestNoldsLyap(unittest.TestCase): "trajectory_len": np.random.randint(2,10) } min_len = nolds.lyap_r_len(**kwargs) - fo...
bugfix: enures that we do not try to test with negative sequence lengths
CSchoel_nolds
train
py
423dbae884eb049e33835393af8ebee5d00383ff
diff --git a/lxd/storage/backend_lxd.go b/lxd/storage/backend_lxd.go index <HASH>..<HASH> 100644 --- a/lxd/storage/backend_lxd.go +++ b/lxd/storage/backend_lxd.go @@ -1277,7 +1277,7 @@ func (b *lxdBackend) CreateCustomVolumeFromCopy(volName, desc string, config map // to negotiate a common transfer method between poo...
lxd/storage/backend/lxd: Comment consistency in CreateCustomVolumeFromCopy
lxc_lxd
train
go
3a5a61c762baa81ef3dcb057fe8cbaa8c8a9f9d1
diff --git a/src/common/View.js b/src/common/View.js index <HASH>..<HASH> 100644 --- a/src/common/View.js +++ b/src/common/View.js @@ -330,7 +330,7 @@ var View = FC.View = Class.extend({ this.clearView(); this.displayView(); if (wasEventsRendered) { // only render and trigger handlers if events previously r...
fix bug with View::redisplay after events rendered (needed for Scheduler bug)
fullcalendar_fullcalendar
train
js
fa6c9d2334431193c029b0e316ba5b43f9958d71
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup( long_description=read('README.rst'), long_description_content_type='text/x-rst', classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stab...
Set as Production/Stable in setup.py
lipoja_URLExtract
train
py
3f7b0482d8be78066f6d14eb34b22c4a70332d12
diff --git a/dataviews/ndmapping.py b/dataviews/ndmapping.py index <HASH>..<HASH> 100644 --- a/dataviews/ndmapping.py +++ b/dataviews/ndmapping.py @@ -487,24 +487,7 @@ class NdIndexableMapping(param.Parameterized, Dimensional): def __iter__(self): - return self - - def next(self): # For Python 2 and ...
Simplified the iterator interface for NdIndexableMapping
pyviz_holoviews
train
py
ee0cefda33132494aa1e41da193d22cb274b70af
diff --git a/src/App.php b/src/App.php index <HASH>..<HASH> 100644 --- a/src/App.php +++ b/src/App.php @@ -141,13 +141,6 @@ class App public $call_exit = true; /** - * Error types to be in set_error_handler. - * - * @var int - */ - protected $catch_error_types = E_ALL & ~E_NOTICE; - - ...
Catch all errors by App handler incl. php notices (#<I>) * Catch all errors by App handler incl. php notices * improve constant loopkup
atk4_ui
train
php
4b81c77e3d11229fbfe96f9fd357548457e68d5d
diff --git a/context.go b/context.go index <HASH>..<HASH> 100644 --- a/context.go +++ b/context.go @@ -128,12 +128,11 @@ func (ctx *Context) Write(content string) { ctx.Body = []byte(content) } -// Return a 404 not found response. // Retuns an HTTP Error by indicating the status code, the corresponding // handle...
Change `Context.Error` to `Context.Abort`, and fix the problem that context always set the status code to <I>.
dinever_golf
train
go
1ef37c556dc93ccff44d2e1e32a3a1b78bfb126a
diff --git a/raiden/tests/integration/api/test_restapi.py b/raiden/tests/integration/api/test_restapi.py index <HASH>..<HASH> 100644 --- a/raiden/tests/integration/api/test_restapi.py +++ b/raiden/tests/integration/api/test_restapi.py @@ -951,26 +951,6 @@ def test_api_payments_conflicts(test_api_server, raiden_network,...
Fix test_api_payments_conflicts The test was previously using a direct transfer to compare direct and mediated transfers in flight. This is no longer needed.
raiden-network_raiden
train
py
bfea955904b0eeed4088fbd3155a49a17c70c47b
diff --git a/ddsc/core/d4s2.py b/ddsc/core/d4s2.py index <HASH>..<HASH> 100644 --- a/ddsc/core/d4s2.py +++ b/ddsc/core/d4s2.py @@ -115,7 +115,8 @@ class D4S2Api(object): if response.status_code == 401: raise D4S2Error(UNAUTHORIZED_MESSAGE) if not 200 <= response.status_code < 300: - ...
Include response text in D4S2Error for more diagnostic information
Duke-GCB_DukeDSClient
train
py
a4e77666ae6bd07cc359797c98a5c9b31cec5a4f
diff --git a/lib/helpers/index.js b/lib/helpers/index.js index <HASH>..<HASH> 100644 --- a/lib/helpers/index.js +++ b/lib/helpers/index.js @@ -12,7 +12,6 @@ module.exports = { render: require('./render'), sanitizeFormData: require('./sanitize-form-data'), setTempCookie: require('./set-temp-cookie'), - title: ...
remove broken require this file does not exist
stormpath_express-stormpath
train
js
a1a35f43175187091f028474db2ebef5bfc77bc0
diff --git a/semantic_release/pypi.py b/semantic_release/pypi.py index <HASH>..<HASH> 100644 --- a/semantic_release/pypi.py +++ b/semantic_release/pypi.py @@ -2,7 +2,7 @@ from invoke import run from twine.commands import upload as twine_upload -def upload_to_pypi(dists='bdist_wheel'): +def upload_to_pypi(dists='sd...
fix(pypi): Add sdist as default in addition to bdist_wheel There are a lot of outdated pip installations around which leads to confusions if a package have had an sdist release at some point and then suddenly is only available as wheel packages, because old pip clients will then download the latest sdist package avail...
relekang_python-semantic-release
train
py,py
196b81600aba62edf389acd76127d8290b665ae6
diff --git a/test/io_tests.rb b/test/io_tests.rb index <HASH>..<HASH> 100644 --- a/test/io_tests.rb +++ b/test/io_tests.rb @@ -7,7 +7,7 @@ class TestSensuIO < TestCase end def test_popen_timed_out_command - output, status = Sensu::IO.popen('sleep 2 && echo "Ruby 1.8"', 'r', 0.25) + output, status = Sensu:...
[popen] use echo -n to not produce \n in test output
sensu_sensu
train
rb
a2a6fadf6c536eb22ff011075edf6f657da4fda1
diff --git a/devices/gledopto.js b/devices/gledopto.js index <HASH>..<HASH> 100644 --- a/devices/gledopto.js +++ b/devices/gledopto.js @@ -537,6 +537,7 @@ module.exports = [ zigbeeModel: ['GL-D-006P'], model: 'GL-D-006P', vendor: 'Gledopto', + ota: ota.zigbeeOTA, description: ...
Support OTA for Gledopto GL-D-<I>P (#<I>)
Koenkk_zigbee-shepherd-converters
train
js
7c66e369f2302fcfa93385964e9bf62f6ed05bbf
diff --git a/lib/feedisco/checks.rb b/lib/feedisco/checks.rb index <HASH>..<HASH> 100644 --- a/lib/feedisco/checks.rb +++ b/lib/feedisco/checks.rb @@ -8,8 +8,6 @@ module Feedisco::Checks feed_content_type?(url) end - private - # Determines if the specified URL looks like a feed. We consider it does if: ...
Method made public again. Specs green again
rchampourlier_feedisco
train
rb
2053ea9d3c25420004d9c2a5f6b3c0d4cab5def7
diff --git a/lib/lumber/transports/file.js b/lib/lumber/transports/file.js index <HASH>..<HASH> 100644 --- a/lib/lumber/transports/file.js +++ b/lib/lumber/transports/file.js @@ -183,6 +183,12 @@ File.prototype._drain = function(cb) { File.prototype._flush = function(cb) { var self = this; + if(self._buffer....
Fixed an issue with flush never emitting on empty buffer
englercj_lumber
train
js
eccd55dd6b971c1a488e351072a429045152a48a
diff --git a/grs/realtime.py b/grs/realtime.py index <HASH>..<HASH> 100644 --- a/grs/realtime.py +++ b/grs/realtime.py @@ -61,6 +61,7 @@ class RealtimeStock(object): crosspic: K線圖 by Google Chart """ def __init__(self, no): + assert isinstance(no, str), '`no` must be a string' sel...
Add assert into realtime. #9
toomore_grs
train
py
de8e746959d2e92b8a465761aa87c9eab0e4e062
diff --git a/lib/socket.js b/lib/socket.js index <HASH>..<HASH> 100644 --- a/lib/socket.js +++ b/lib/socket.js @@ -100,6 +100,10 @@ Socket.prototype.emit = function(ev){ // access last argument to see if it's an ACK callback if ('function' == typeof args[args.length - 1]) { + if (this.rooms || (this.fl...
socket: rooms and flags are now hashes
socketio_socket.io
train
js
7d6d4385663222b0f517d859db6be330c747132a
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -4,7 +4,7 @@ # fmt: off __title__ = "spacy" -__version__ = "2.2.0.dev1" +__version__ = "2.2.0.dev2" __summary__ = "Industrial-strength Natural Language Processing (NLP) with Python and Cython" __u...
Set version to <I>.dev2
explosion_spaCy
train
py
08a273f77309f49d5119ea0a5b914e1f510e5044
diff --git a/test/db/derby/xml_column_test.rb b/test/db/derby/xml_column_test.rb index <HASH>..<HASH> 100644 --- a/test/db/derby/xml_column_test.rb +++ b/test/db/derby/xml_column_test.rb @@ -5,7 +5,7 @@ class DerbyXmlColumnTest < Test::Unit::TestCase include FixtureSetup include XmlColumnTestMethods - def xml_...
ActiveRecord <I> reports xml columns as XML(<I>)
jruby_activerecord-jdbc-adapter
train
rb
f1dc39a01c01269f798fa9c61a3bc834175f0d43
diff --git a/lib/github/html/email_reply_filter.rb b/lib/github/html/email_reply_filter.rb index <HASH>..<HASH> 100644 --- a/lib/github/html/email_reply_filter.rb +++ b/lib/github/html/email_reply_filter.rb @@ -39,9 +39,9 @@ module GitHub::HTML def call found_hidden = nil paragraphs = EmailReplyParse...
strip > from the front of email replies
jch_html-pipeline
train
rb
13a0b312790749089e3db27b722b9365acedb931
diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py index <HASH>..<HASH> 100644 --- a/spacy/en/__init__.py +++ b/spacy/en/__init__.py @@ -37,7 +37,9 @@ class English(Language): def _fix_deprecated_glove_vectors_loading(overrides): if 'data_dir' in overrides and 'path' not in overrides: raise ValueEr...
Another tweak to GloVe path hackery.
explosion_spaCy
train
py