hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
a743c006d511354c0c13842137013df38a5cdc71
diff --git a/lib/serverspec.rb b/lib/serverspec.rb index <HASH>..<HASH> 100644 --- a/lib/serverspec.rb +++ b/lib/serverspec.rb @@ -43,7 +43,12 @@ if defined?(RSpec::Core::Formatters::ExceptionPresenter) begin lines = [] lines << "On host `#{host}'" if host - lines << failure_slas...
Update the exception monkeypatch to work with RSpec <I> <URL>. Untested, just trying to get something up for the record.
mizzy_serverspec
train
5cdde0ef7d04e0faf58c51e696cbedcd6e36be7a
diff --git a/Algorithmia/client.py b/Algorithmia/client.py index <HASH>..<HASH> 100644 --- a/Algorithmia/client.py +++ b/Algorithmia/client.py @@ -36,7 +36,7 @@ class client(object): if input_object is None: input_json = json.dumps(None) headers['Content-Type'] = 'application/json' - ...
First pass to make tests pass with python3
algorithmiaio_algorithmia-python
train
8720d541fd35fb1eaf9fcc341c5d0abc13f11789
diff --git a/Code/Version1.0/test.py b/Code/Version1.0/test.py index <HASH>..<HASH> 100644 --- a/Code/Version1.0/test.py +++ b/Code/Version1.0/test.py @@ -4,19 +4,19 @@ import os import matplotlib.pyplot as plt import numpy as np +from dataset import Dataset from aspcap import get_spectra from aspcap import conti...
can construct training and test set for apogee
annayqho_TheCannon
train
38a719a8c270cba6b2f3306bde46401bc485869f
diff --git a/tests/TestCase/ConfigurationTraitTest.php b/tests/TestCase/ConfigurationTraitTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/ConfigurationTraitTest.php +++ b/tests/TestCase/ConfigurationTraitTest.php @@ -26,8 +26,13 @@ class ConfigurationTraitTest extends PHPUnit_Framework_TestCase public fu...
Fixing integration tests (task #<I>)
QoboLtd_cakephp-csv-migrations
train
1163c1bdcacfb63c8f7e96715fb341aa8cd0e209
diff --git a/lib/migration.js b/lib/migration.js index <HASH>..<HASH> 100644 --- a/lib/migration.js +++ b/lib/migration.js @@ -97,7 +97,8 @@ module.exports = redefine.Class(/** @lends Migration.prototype */{ */ _exec: function (method, args) { var migration = this.migration(); - var fun = migrati...
Reject migration if umzug can't find the migration method
sequelize_umzug
train
75757680eddd112e759d0b1c49ffda77859f7808
diff --git a/examples/file-transfer.js b/examples/file-transfer.js index <HASH>..<HASH> 100644 --- a/examples/file-transfer.js +++ b/examples/file-transfer.js @@ -36,7 +36,7 @@ quickconnect('http://rtc.io/switchboard', { room: 'filetx-test' }) dropkick(document.body).on('file', function(file) { channels.map(creat...
Update file transfer example to match updates to filestream
rtc-io_rtc-dcstream
train
8891f67b5a5cd9de67357a9d9ffb2d8d92811f4e
diff --git a/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/RefreshListener.java b/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/RefreshListener.java index <HASH>..<HASH> 100644 --- a/spring-cloud-bus/src/main/java/org/springframework/cloud/bus/event/RefreshListener.java +++ b/s...
Maintaining refresh behavior when there isn't a ServiceMatcher
spring-cloud_spring-cloud-bus
train
37cd661318e8aede6a50db7247c7f74bb0668495
diff --git a/angular-hal.js b/angular-hal.js index <HASH>..<HASH> 100644 --- a/angular-hal.js +++ b/angular-hal.js @@ -80,7 +80,8 @@ angular.module('angular-hal', []) Object.defineProperty(this, key, { configurable: false, enumerable: true, - ...
Make properties writables. Mainly for performance reasons. This ought however to be something passed in the "options" object.
LuvDaSun_angular-hal
train
a1ca8ebd0865d1e3d7fb7686469cb7408c957232
diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index <HASH>..<HASH> 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -121,13 +121,24 @@ OpenLayers.Layer.Google.prototype = // create GMap, hide nav controls this.gmap = new GMap2( ...
Move the branding/ToS stuff up to the event pane in Layer.Google. Fixes #<I>. A big hurrah for the Uzmeister and his suggestion that solved this conundrum. git-svn-id: <URL>
openlayers_openlayers
train
4b514a69ed5d97fc734ee5e197d4b70f4b0f142e
diff --git a/lib/dynamoid/associations/single_association.rb b/lib/dynamoid/associations/single_association.rb index <HASH>..<HASH> 100644 --- a/lib/dynamoid/associations/single_association.rb +++ b/lib/dynamoid/associations/single_association.rb @@ -59,6 +59,7 @@ module Dynamoid #:nodoc: # # @since 0.2.0...
don't call find with nil
Dynamoid_dynamoid
train
8c1adee84c86d9c392dd1f91cc259f52a1e3be16
diff --git a/schedula/dispatcher.py b/schedula/dispatcher.py index <HASH>..<HASH> 100644 --- a/schedula/dispatcher.py +++ b/schedula/dispatcher.py @@ -130,6 +130,12 @@ class Dispatcher(Base): Solution([('a', 0), ('b', 1), ('c', 1), ('d', 2.0)]) """ + def __getstate__(self): + state = self.__di...
fix(asy): Do not dill the Dispatcher solution.
vinci1it2000_schedula
train
020768921678227472aca4f52c4356d11abbb268
diff --git a/java/org/opensha/gem/GEM1/calc/gemCommandLineCalculator/CommandLineCalculator.java b/java/org/opensha/gem/GEM1/calc/gemCommandLineCalculator/CommandLineCalculator.java index <HASH>..<HASH> 100644 --- a/java/org/opensha/gem/GEM1/calc/gemCommandLineCalculator/CommandLineCalculator.java +++ b/java/org/opensha...
ERFLogicTreeData and GmpeLogicTreeData objects are created by one only method now and there for all data files are loaded the same way
gem_oq-engine
train
150d7f551a34da3d90efa4285ca47c3219f7e185
diff --git a/lib/mongo/rails/instrumentation/controller_runtime.rb b/lib/mongo/rails/instrumentation/controller_runtime.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/rails/instrumentation/controller_runtime.rb +++ b/lib/mongo/rails/instrumentation/controller_runtime.rb @@ -8,6 +8,11 @@ module Mongo::Rails::Instrumenta...
Ensure the runtime is reset at the start of every request Previously the runtime was reset implicitly within `cleanup_view_runtime`, but this method isn't called following a redirect, send_file, or other cases where the view isn't rendered. By resetting the timer at the start of each action we ensure that it always s...
tomafro_mongo-rails-instrumentation
train
a79aa7868e472cff884a6fdac6b1b83091b8aff3
diff --git a/tests/test_07_control.py b/tests/test_07_control.py index <HASH>..<HASH> 100644 --- a/tests/test_07_control.py +++ b/tests/test_07_control.py @@ -88,6 +88,26 @@ class Test(object): os.rename(fname, env.roles_file) self.log.info("Set roles to: %s", roles) + def start_client(self, address, use_ssl=No...
better recovery of http client connection after reset
akfullfo_taskforce
train
febadaa803d035e20f36f15536e1ea5f8ffdf7a2
diff --git a/eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php b/eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php +++ b/eZ/Publish/Core/MVC/Legacy/Kernel/CLIHandler.php @@ -94,6 +94,25 @@ class CLIHandler implements ezpKernelHandler ...
Fix EZP-<I>: unwanted "shebang" line running ezpublish:legacy:script
ezsystems_ezpublish-kernel
train
376e004084afdee62588f23c14f2c6fe130212cb
diff --git a/python/ledtable/SerialLEDTable.py b/python/ledtable/SerialLEDTable.py index <HASH>..<HASH> 100644 --- a/python/ledtable/SerialLEDTable.py +++ b/python/ledtable/SerialLEDTable.py @@ -52,6 +52,14 @@ class SerialLEDTable(threading.Thread): self.command_line(line[1:]) def default_line(s...
trying to print decoded version instead of bytes
niccokunzmann_ledtable
train
e9b76dda6519dda5008801aabddaf87b79f6a136
diff --git a/lib/configuration.js b/lib/configuration.js index <HASH>..<HASH> 100644 --- a/lib/configuration.js +++ b/lib/configuration.js @@ -102,13 +102,16 @@ function applyConfiguration(config) { configuration.options = applyLoggingOptions(configuration.options); - if (config.hooksData || config.options.b ||...
fix: don't make assumptions about the input 'config' object
apiaryio_dredd
train
4072945bf41ee9d9a5382a60c37c37157c83b90c
diff --git a/logger.go b/logger.go index <HASH>..<HASH> 100644 --- a/logger.go +++ b/logger.go @@ -10,7 +10,7 @@ import ( func Logger() Handler { return func(res http.ResponseWriter, req *http.Request, c Context, log *log.Logger) { start := time.Now() - log.Printf("\033[32;1mStarted %s %s\033[0m\n", req.Method, ...
Remove escape sequences to support mulitple platforms.
go-martini_martini
train
1c513eb6b2fa5c4293c576bf9e6b40a667b7042d
diff --git a/tests/TestCase/View/Form/EntityContextTest.php b/tests/TestCase/View/Form/EntityContextTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/View/Form/EntityContextTest.php +++ b/tests/TestCase/View/Form/EntityContextTest.php @@ -449,7 +449,7 @@ class EntityContextTest extends TestCase { * * @retur...
Added test for extracting custom primary keys in EntityContext
cakephp_cakephp
train
3f2b8c41290f0dbe0f7667b19a619d51eb8c2883
diff --git a/lib/adminlib.php b/lib/adminlib.php index <HASH>..<HASH> 100644 --- a/lib/adminlib.php +++ b/lib/adminlib.php @@ -2052,6 +2052,7 @@ class admin_setting_configpasswordunmask extends admin_setting_configtext { $unmaskjs = '<script type="text/javascript"> //<![CDATA[ document.write(\'<span class="u...
MDL-<I> force autocomplete off for unmaskable password fields; merged from MOODLE_<I>_STABLE
moodle_moodle
train
5a31c75289db801fade349805d6fcee299c28da1
diff --git a/src/Composer/Util/Bitbucket.php b/src/Composer/Util/Bitbucket.php index <HASH>..<HASH> 100644 --- a/src/Composer/Util/Bitbucket.php +++ b/src/Composer/Util/Bitbucket.php @@ -161,6 +161,8 @@ class Bitbucket "consumer-secret" => $consumerSecret, ); $this->config->getAuthConfigS...
Fix some of the remaining OAuth issues. - Bitbucket will silently redirect to a login page when downloading a zip. Added a check to see if the content-type is not text/html - Make the path from Basic Authentication to OAuth as smooth as possible.
composer_composer
train
2c27e3a3d566a86a106bacd21e172ffb9ada4421
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ except IOError: setup( name='python-skydrive', - version='14.03.1', + version='14.03.2', author='Mike Kazantsev, Antonio Chen', author_email='mk.fraggod@gmail.com', license='WTFPL', ...
One more fix for urllib3 issues with systems that do unbundle it. Fix for #<I>.
mk-fg_python-onedrive
train
67169a4e8dd17e4122137e5635e996aa3a28f8b4
diff --git a/lib/WebSocketConnection.js b/lib/WebSocketConnection.js index <HASH>..<HASH> 100644 --- a/lib/WebSocketConnection.js +++ b/lib/WebSocketConnection.js @@ -359,7 +359,7 @@ WebSocketConnection.prototype.processFrame = function(frame) { if (frame.binaryPayload) { l...
Commenting out a console.error line that made it through the last commit.
theturtle32_WebSocket-Node
train
43271dba869c69b85f25d62cf8a22c6cfb1b5524
diff --git a/src/common/engine.js b/src/common/engine.js index <HASH>..<HASH> 100644 --- a/src/common/engine.js +++ b/src/common/engine.js @@ -347,6 +347,7 @@ sre.Engine.prototype.setDynamicCstr = function(opt_dynamic) { } } } + sre.Engine.DOMAIN_TO_STYLES[this.domain] = this.style; var dynamic = [th...
Integrates clearspeak preferences with menu.
zorkow_speech-rule-engine
train
024cb7fb594b0c463b7731b0f755f52dd4dab8c9
diff --git a/packages/mendel-transform-buble/index.js b/packages/mendel-transform-buble/index.js index <HASH>..<HASH> 100644 --- a/packages/mendel-transform-buble/index.js +++ b/packages/mendel-transform-buble/index.js @@ -1,9 +1,12 @@ +const path = require('path'); const {transform} = require('buble'); -const {EOL} =...
Improve sourcemaps support for buble
yahoo_mendel
train
90721d75aa77aad032e82c14bb789afa3296568c
diff --git a/src/Modules/Extractors/ImageExtractor.php b/src/Modules/Extractors/ImageExtractor.php index <HASH>..<HASH> 100644 --- a/src/Modules/Extractors/ImageExtractor.php +++ b/src/Modules/Extractors/ImageExtractor.php @@ -604,6 +604,10 @@ class ImageExtractor extends AbstractModule implements ModuleInterface { ...
Extract images: add part of article url path when image urls are relative and not starting with / (#<I>)
scotteh_php-goose
train
9d9a6eff63f39e41c9cdb8c633f8525bcb11e83d
diff --git a/cumulusci/newcli/cli.py b/cumulusci/newcli/cli.py index <HASH>..<HASH> 100644 --- a/cumulusci/newcli/cli.py +++ b/cumulusci/newcli/cli.py @@ -36,7 +36,10 @@ class CliConfig(object): def _load_keychain(self): self.keychain_key = os.environ.get('CUMULUSCI_KEY') if self.project_config a...
Make keychain class pluggable in cumulusci2 via CUMULUSCI_KEYCHAIN_CLASS environment variable
SFDO-Tooling_CumulusCI
train
daa004f214956ee0e906540313bdb84b8e31a3e8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( long_description=long_description, long_description_content_type='text/markdown', keywords='arcgis,fgdc,iso,ISO-19115,ISO-19139,gis,metadata,parser,xml,gis_metadata,gis_metadata_parser', - ...
Increment version after making parser properties non-private
consbio_gis-metadata-parser
train
707d95b89c458e40e9d210abaa5fbc7e9866831a
diff --git a/lib/processors/index.js b/lib/processors/index.js index <HASH>..<HASH> 100644 --- a/lib/processors/index.js +++ b/lib/processors/index.js @@ -4,8 +4,8 @@ var path = require('path'), jade = require('jade'), coffee = require(root + '/public/js/vendor/coffee-script').CoffeeScript, mar...
Removed stylus support from the server
jsbin_jsbin
train
f4fadcebaf7b70f52ea061bd38f8f3c5627c8bcc
diff --git a/TodoList.py b/TodoList.py index <HASH>..<HASH> 100644 --- a/TodoList.py +++ b/TodoList.py @@ -110,8 +110,10 @@ class TodoList(object): """ if len(p_string) > 0: todo = self.todo(p_number) - new_text = todo.source() + ' ' + p_string - todo.set_text(new_te...
Be more defensive about invalid task numbers.
bram85_topydo
train
25df5ec588f7a3f89d7d0640efbfb5ea310ed53c
diff --git a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/AbstractOperations.java b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/AbstractOperations.java index <HASH>..<HASH> 100644 --- a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/AbstractOperations.java +...
Refactor AbstractOperations This commit moves a constructor argument that isn't used down to the sub-classes.
cloudfoundry_cf-java-client
train
ae28507f30b78ac99f3d020cdadbcc6a28eb31bd
diff --git a/tracker/udp/udp_tracker_test.go b/tracker/udp/udp_tracker_test.go index <HASH>..<HASH> 100644 --- a/tracker/udp/udp_tracker_test.go +++ b/tracker/udp/udp_tracker_test.go @@ -105,6 +105,7 @@ func TestUDPTracker(t *testing.T) { } } +// TODO: Create a fake UDP tracker to make these requests to. func Tes...
tracker/udp: Triage errors in tests to real hosts
anacrolix_torrent
train
149015a93c3f380f0a539d1839f73b694805a01c
diff --git a/database.go b/database.go index <HASH>..<HASH> 100644 --- a/database.go +++ b/database.go @@ -714,9 +714,8 @@ func NewFieldCodec(m *Measurement) *FieldCodec { // If a field exists in the codec, but its type is different, an error is returned. If // a field is not present in the codec, the system panics. ...
Remove field value count when writing to disk Fixes issue #<I>
influxdata_influxdb
train
5b8e1a7ad3ab0a533918b25dae446bbc196fb74a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ except ImportError: setup( name='CoilMQ', - version='0.3.2', + version='0.4', description='STOMP message broker', long_description=__doc__, keywords='stomp server broker', @@ -39,7 +...
Bumping version to <I>
hozn_coilmq
train
a9585bb11cf5bca52069c8f88ff95fa9c469b1a4
diff --git a/command_test.go b/command_test.go index <HASH>..<HASH> 100644 --- a/command_test.go +++ b/command_test.go @@ -28,7 +28,7 @@ func TestCommandDoNotIgnoreFlags(t *testing.T) { func TestCommandIgnoreFlags(t *testing.T) { app := NewApp() set := flag.NewFlagSet("test", 0) - test := []string{"blah", "blah"} ...
Added a flag for TestCommandIgnoreFlags
urfave_cli
train
2a0486cb3c0f7a4dc69f5179ebec6790d1b6f386
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ specifying the optional data will receive it as the third parameter to associated when() callbacks. If not specified callbacks are passed null at Argument 3. +- New `Amp\pipe()` function a...
Add Amp\pipe() function to pipe eventual results through a functor
amphp_amp
train
2f63dc2477cf5ef63a3fef73bf9c470e4fcba0a5
diff --git a/src/main/java/net/openhft/chronicle/network/cluster/HostConnector.java b/src/main/java/net/openhft/chronicle/network/cluster/HostConnector.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/openhft/chronicle/network/cluster/HostConnector.java +++ b/src/main/java/net/openhft/chronicle/network/cluster/...
set `nc` to null after close
OpenHFT_Chronicle-Network
train
3051260d70749ae70fcf8e13ee3b07afbbb2f30c
diff --git a/src/Controller/SelfServiceController.php b/src/Controller/SelfServiceController.php index <HASH>..<HASH> 100644 --- a/src/Controller/SelfServiceController.php +++ b/src/Controller/SelfServiceController.php @@ -44,6 +44,10 @@ class SelfServiceController extends FrontendController $this->set('ke...
fix: product is shown after self service scan with price per unit
foodcoopshop_foodcoopshop
train
3787c424df3b9b98199b5463bb41ebaa694150bd
diff --git a/tests/fixture/app/Providers/FixtureServiceProvider.php b/tests/fixture/app/Providers/FixtureServiceProvider.php index <HASH>..<HASH> 100644 --- a/tests/fixture/app/Providers/FixtureServiceProvider.php +++ b/tests/fixture/app/Providers/FixtureServiceProvider.php @@ -14,7 +14,7 @@ class FixtureServiceProvide...
ITT: Alias fixed.
dmitry-ivanov_laravel-testing-tools
train
dbf55275fb397fe96e2dc93e2f6184d653a906d4
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100644 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -1277,7 +1277,7 @@ def compile(toolchain=None, mcu=None, source=False, build=False, compile_library if compile_tests: # Compile tests if not build: - build = os.path.join(os.pa...
Changing build directory for tests to .build/tests. This change is necessary because it allows mbed-cli to properly place the build artifacts for each test case. Before, there were left over build artifacts from previous builds in the main build directory that caused issues for the next builds.
ARMmbed_mbed-cli
train
36dd6a25b3ff5f8ae033665cd200f33f2a1344d8
diff --git a/__tests__/PaginationBoxView-test.js b/__tests__/PaginationBoxView-test.js index <HASH>..<HASH> 100755 --- a/__tests__/PaginationBoxView-test.js +++ b/__tests__/PaginationBoxView-test.js @@ -153,7 +153,7 @@ describe('Test clicks', () => { }); describe('Test pagination behaviour', () => { - it('should d...
PageRangeDisplayed=2 not working when first page is selected - Added check on index to display correct number of items
AdeleD_react-paginate
train
84c420bd0d3c9ef3e8bfb10e8c6d31157717b5a1
diff --git a/src/Utility/Export.php b/src/Utility/Export.php index <HASH>..<HASH> 100644 --- a/src/Utility/Export.php +++ b/src/Utility/Export.php @@ -215,11 +215,14 @@ class Export */ protected function getRows($page, $limit) { - $result = []; + $displayColumns = $this->getDisplayColumns(...
Adjusted export functionality to support grouped results (task #<I>)
QoboLtd_cakephp-search
train
3d9eb3edacc95cdc5b66b4930c45cb09a9a80009
diff --git a/src/java/com/threerings/media/tile/TileSet.java b/src/java/com/threerings/media/tile/TileSet.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/media/tile/TileSet.java +++ b/src/java/com/threerings/media/tile/TileSet.java @@ -1,5 +1,5 @@ // -// $Id: TileSet.java,v 1.29 2002/06/19 08:27:06 mdb ...
Cache the tiles that have been fetched from this tileset. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
d29729c3ab8cdcc912a13bb6a187db4b741ac719
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -321,7 +321,10 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/': None} +intersphinx_mapping = { + ...
ext: set kvsessionstore at config loading * Updates configuration setting ACCOUNTS_SESSION_REDIS_URL to empty string by default, what makes Invenio-Accounts use in memory store. Documentation updated accordingly. * Moves kvsession initialization logic inside init_config so configuration to use Redis when runnin...
inveniosoftware_invenio-accounts
train
975c90df95a4e25c52adaa96222403bc6cb158dc
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ 'use strict'; -var chalk = require('chalk'); +var chalk = require('chalk'); var logUtil = require('./logUtil'); var linesUtil = require('./linesUtil'); @@ -8,18 +8,18 @@ var m = { ////////////////// ...
actually fixing tabs vs spaces
vajahath_lme
train
682697e50a1e4b73e8367419410f78a403857d81
diff --git a/src/DocBlox/Reflection/Constant.php b/src/DocBlox/Reflection/Constant.php index <HASH>..<HASH> 100644 --- a/src/DocBlox/Reflection/Constant.php +++ b/src/DocBlox/Reflection/Constant.php @@ -37,13 +37,43 @@ class DocBlox_Reflection_Constant extends DocBlox_Reflection_DocBlockedAbstract { // find...
Added support for the 'define' code construct as a way to define constants
phpDocumentor_phpDocumentor2
train
42a6796b1500e67a905be982f5a4edbcfaa1066a
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index <HASH>..<HASH> 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -7,13 +7,6 @@ require File.expand_path('../../lib/presenter', __FILE__) abort("The Rails environment is running in production mode!") if Rails.env.production? require 'rspec/ra...
Removed the user presenter from the dummy rails project
samsarge_presenter-rails
train
f0caf6748171dbd55705a57ec887eee55a03324f
diff --git a/generators/generator-constants.js b/generators/generator-constants.js index <HASH>..<HASH> 100644 --- a/generators/generator-constants.js +++ b/generators/generator-constants.js @@ -1,7 +1,7 @@ 'use strict'; // version of docker images -const DOCKER_JHIPSTER_REGISTRY = 'jhipster/jhipster-registry:v2.5....
Upgrade to the latest JHipster Registry
jhipster_generator-jhipster
train
134980c66cca15585128f31a0717907700643852
diff --git a/spec/constellation_spec.rb b/spec/constellation_spec.rb index <HASH>..<HASH> 100644 --- a/spec/constellation_spec.rb +++ b/spec/constellation_spec.rb @@ -160,6 +160,21 @@ describe "A Constellation instance" do names.sort.should == expected end + it "should support string capitalisation functions...
Towards <I>% test coverage
cjheath_activefacts-api
train
b21c756e5a66fcfa2e79e0da324c276733310df2
diff --git a/packages/cwp-template-full/hooks/api.js b/packages/cwp-template-full/hooks/api.js index <HASH>..<HASH> 100644 --- a/packages/cwp-template-full/hooks/api.js +++ b/packages/cwp-template-full/hooks/api.js @@ -1,5 +1,6 @@ const { green, blue } = require("chalk"); const fs = require("fs"); +const path = requi...
fix: use path.join to construct file paths
Webiny_webiny-js
train
d44b69054a9bd5e62b46822176cdd0f41c22bf55
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 @@ -1,5 +1,5 @@ -require "./lib/rapidash" -require "ostruct" require "simplecov" - SimpleCov.start + +require "./lib/rapidash" +require "ostruct"
Fix: Ensure simplecov does coverage of all the files and not just the spec files.
Gazler_rapidash
train
ab2c5dc2cff5867c1e972d17427e30d89b20b008
diff --git a/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb b/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb index <HASH>..<HASH> 100644 --- a/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +++ b/lib/fog/vcloud_directo...
add id in xml only if present. Else an id is generated from xsd generation
fog_fog
train
2e4d0525abd92c87456e67090bd6ef0e6e485fca
diff --git a/rope/refactor/inline.py b/rope/refactor/inline.py index <HASH>..<HASH> 100644 --- a/rope/refactor/inline.py +++ b/rope/refactor/inline.py @@ -121,8 +121,9 @@ class InlineMethod(_Inliner): if result is not None: result = _add_imports(self.pycore, result, ...
inline: removing old from imports only when removing the definition
python-rope_rope
train
82975b3e49586a7343115af9f5f319b8d2dd36ba
diff --git a/wayback-core/src/main/java/org/archive/wayback/accesspoint/AccessPointAdapter.java b/wayback-core/src/main/java/org/archive/wayback/accesspoint/AccessPointAdapter.java index <HASH>..<HASH> 100644 --- a/wayback-core/src/main/java/org/archive/wayback/accesspoint/AccessPointAdapter.java +++ b/wayback-core/src...
FIXES: CompositeAccessPoint/AccessPointAdapter ability to run CompositeAccessPoint at non-root context, just concatenate request context paths for each config. FIX: AccessPointAdapter just serves to single static prefix, static prefix is not per collection
iipc_openwayback
train
53bfa8365ce2041fbdffdfa4a074893bd0ef7434
diff --git a/chalice/app.py b/chalice/app.py index <HASH>..<HASH> 100644 --- a/chalice/app.py +++ b/chalice/app.py @@ -1,6 +1,7 @@ """Chalice app and routing code.""" import re import sys +import os import logging import json import traceback @@ -415,7 +416,7 @@ class Chalice(object): FORMAT_STRING = '%(na...
Add user agent to AWS_EXECUTION_ENV
aws_chalice
train
4866a36714cce1c7fb13fd1328c7ac4a6fd7ebb7
diff --git a/lib/weblib.php b/lib/weblib.php index <HASH>..<HASH> 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1729,6 +1729,7 @@ function navmenu($course, $cm=NULL, $targetwindow="self") { $previousmod = NULL; $backmod = NULL; $nextmod = NULL; + $selectmod = NULL; $logslink = NULL; $...
Initilize selectmod in navmenu() function to avoid some warnings when showing the menu and no cm has been selected. No risk with this change, I suppose. :-)
moodle_moodle
train
51a91ac152ba149439f39b99fb51d9898cc6aea2
diff --git a/integration/transfer.py b/integration/transfer.py index <HASH>..<HASH> 100644 --- a/integration/transfer.py +++ b/integration/transfer.py @@ -63,7 +63,7 @@ class Transfer_(Spec): local = self._tmp('funky-perms.txt') remote = self._support('funky-perms.txt') self.c.get...
Python 3 requires modern '0oXXX' octal literal style. Seems compatible with <I> too, yay
fabric_fabric
train
21c8bdd09fccb513adef8bf9b653d818e792ac85
diff --git a/src/kernel/_fisheryates.js b/src/kernel/_fisheryates.js index <HASH>..<HASH> 100644 --- a/src/kernel/_fisheryates.js +++ b/src/kernel/_fisheryates.js @@ -1,7 +1,24 @@ /** - * Sample array using Fisher-Yates method. + * Sample element from an array using Fisher-Yates method. + * + * NOTE: The original desc...
:books: docs(_fisheryates): Add references.
aureooms_js-random
train
983a99ca6c27857e904b740314268c04a190b355
diff --git a/lib/request.js b/lib/request.js index <HASH>..<HASH> 100644 --- a/lib/request.js +++ b/lib/request.js @@ -102,19 +102,10 @@ ClientRequest.prototype._onFinish = function () { var headersObj = self._headers var body = null if (opts.method !== 'GET' && opts.method !== 'HEAD') { - if (capability.arraybu...
fix: fix ><I>mb bodies from crashing
jhiesey_stream-http
train
7253921d105815f8ce6ffec6960e4b2935a09869
diff --git a/src/Propel/Runtime/ActiveQuery/ModelCriteria.php b/src/Propel/Runtime/ActiveQuery/ModelCriteria.php index <HASH>..<HASH> 100644 --- a/src/Propel/Runtime/ActiveQuery/ModelCriteria.php +++ b/src/Propel/Runtime/ActiveQuery/ModelCriteria.php @@ -193,12 +193,15 @@ class ModelCriteria extends BaseModelCriteria ...
Only use 'literal-string' for PHPStan and Psalm (for now)
propelorm_Propel2
train
0bbb7525b0602985d27c81fb04e54dd344c055b1
diff --git a/gwpy/table/tests/test_table.py b/gwpy/table/tests/test_table.py index <HASH>..<HASH> 100644 --- a/gwpy/table/tests/test_table.py +++ b/gwpy/table/tests/test_table.py @@ -26,8 +26,6 @@ from io import BytesIO from ssl import SSLError from urllib.error import URLError -from six import PY2 - import pytest...
Remove references to six.PY2
gwpy_gwpy
train
92308131ebfe1acae373e9b0a15dcb57ed25e9af
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,9 @@ here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), 'r') as readme: + # use the contents of the readme as the long_description for the module + # strip the first line (n...
Clarify the reason for reading README.rst, strip first line omit badges from long description
HolmesNL_confidence
train
2cf23504a289efc4e435f8085c7b32e501db97d9
diff --git a/packages/Photos/src/site/components/com_photos/controllers/toolbars/photo.php b/packages/Photos/src/site/components/com_photos/controllers/toolbars/photo.php index <HASH>..<HASH> 100644 --- a/packages/Photos/src/site/components/com_photos/controllers/toolbars/photo.php +++ b/packages/Photos/src/site/compon...
added view action for photos that are editable by the viewer
anahitasocial_anahita
train
19a020c59956d1f430c41ca9d168a7417dc33490
diff --git a/tools/check/ut.go b/tools/check/ut.go index <HASH>..<HASH> 100644 --- a/tools/check/ut.go +++ b/tools/check/ut.go @@ -15,6 +15,7 @@ package main import ( + "bufio" "bytes" "fmt" "io" @@ -267,10 +268,59 @@ func cmdRun(args ...string) bool { return false } } + if coverprofile != "" { + co...
tools/bin/ut: support generate the test coverage file (#<I>) close pingcap/tidb#<I>
pingcap_tidb
train
0f350120494765586695954694817c213bbfd7f3
diff --git a/src/Assetic/Filter/LessFilter.php b/src/Assetic/Filter/LessFilter.php index <HASH>..<HASH> 100644 --- a/src/Assetic/Filter/LessFilter.php +++ b/src/Assetic/Filter/LessFilter.php @@ -72,9 +72,9 @@ JAVASCRIPT; // parser options $parserOptions = array(); if ($sourceUrl && false === ...
Don't prepend a / to absolute source paths.
kriswallsmith_assetic
train
d74322f7dfe8ee8265571d3422432555b7294be0
diff --git a/app/index.js b/app/index.js index <HASH>..<HASH> 100644 --- a/app/index.js +++ b/app/index.js @@ -150,7 +150,7 @@ module.exports = generators.Base.extend({ directories: { lib: this.props.folder }, - configDependencies: [ 'live-reload' ] + configDependencies: [ 'li...
Add can-zone/register as a configDependency
donejs_generator-donejs
train
a1084689f64c6f58c154dedb095e671c2706ec1a
diff --git a/platform/html5/html.js b/platform/html5/html.js index <HASH>..<HASH> 100644 --- a/platform/html5/html.js +++ b/platform/html5/html.js @@ -315,7 +315,7 @@ ElementPrototype.updateStyle = function(updated) { var cache = this._context._styleClassifier var rules = [] - for(var name in this._styles) { + fo...
update only changed styles, do not rewrite style attribute, use .style object
pureqml_qmlcore
train
4cccd1cf380075d04306f60931fa6e59beda66dd
diff --git a/web_service_container.go b/web_service_container.go index <HASH>..<HASH> 100644 --- a/web_service_container.go +++ b/web_service_container.go @@ -30,6 +30,7 @@ func Dispatch(httpWriter http.ResponseWriter, httpRequest *http.Request) { dispatcher, finalMatch, err := detectDispatcher(httpRequest.URL.Path, ...
fixed <I> bug in Dispatch
emicklei_go-restful
train
2bb4b4877d96ebec2a17c4633988201384e1fdcf
diff --git a/scvelo/tools/rank_velocity_genes.py b/scvelo/tools/rank_velocity_genes.py index <HASH>..<HASH> 100644 --- a/scvelo/tools/rank_velocity_genes.py +++ b/scvelo/tools/rank_velocity_genes.py @@ -1,6 +1,7 @@ from .. import settings from .. import logging as logg from .utils import strings_to_categoricals, vco...
sort velocity_clusters by pseudotime and match with cluster names
theislab_scvelo
train
e99e8d6f050e1ee868396e8540cbdb2e8be760a9
diff --git a/build-support/bin/packages.py b/build-support/bin/packages.py index <HASH>..<HASH> 100644 --- a/build-support/bin/packages.py +++ b/build-support/bin/packages.py @@ -245,7 +245,9 @@ def get_git_branch() -> str: def get_pgp_key_id() -> str: return ( - subprocess.run(["git", "config", "--get",...
[internal] Fix uploading wheels command (#<I>) [ci skip-rust] [ci skip-build-wheels]
pantsbuild_pants
train
4a452686e0f29b45643c3624c6785d350798514c
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -242,7 +242,6 @@ def pytest_configure(config): config.addinivalue_line( "markers", "credential_file(name): mark tests that require credential file in CREDENTIALS_DIR" ) - ...
Remove unused "airflow_2" test marker (#<I>) This hasn't every really been used.
apache_airflow
train
c023ff5b6543b42a364a3f9e0200be5b63fbbc06
diff --git a/src/patterns/elman.js b/src/patterns/elman.js index <HASH>..<HASH> 100644 --- a/src/patterns/elman.js +++ b/src/patterns/elman.js @@ -4,6 +4,7 @@ const FreeformNetwork = require(PATHS.FREEFORM + 'network'); const NeuralNetworkPattern = require(PATHS.PATTERNS + 'neuralNetwork'); const NeuralNetworkError =...
fix on elman and jordan activation functions
redsoul_encog
train
03fc431e8e639f6960b4a71c2047adeeef826bb2
diff --git a/tests/Client/Storage/RedisAdapterTest.php b/tests/Client/Storage/RedisAdapterTest.php index <HASH>..<HASH> 100644 --- a/tests/Client/Storage/RedisAdapterTest.php +++ b/tests/Client/Storage/RedisAdapterTest.php @@ -10,7 +10,7 @@ class RedisAdapterTest extends TestCase { use AdapterTrait; - privat...
[FEATURE] change to localhost
tweedegolf_prometheus-client
train
f433c288f0eca5d97af85411a26e7188fbe4f461
diff --git a/Sami/Parser/DocBlockParser.php b/Sami/Parser/DocBlockParser.php index <HASH>..<HASH> 100644 --- a/Sami/Parser/DocBlockParser.php +++ b/Sami/Parser/DocBlockParser.php @@ -91,7 +91,7 @@ class DocBlockParser switch ($type = $match[1]) { case 'param': - if (!p...
Param matching regex to include references Like `@param &$var Bla blah...`
FriendsOfPHP_Sami
train
e25a5e5947c69492954ecd83aa458aae31ee021f
diff --git a/lib/solargraph/source/cursor.rb b/lib/solargraph/source/cursor.rb index <HASH>..<HASH> 100644 --- a/lib/solargraph/source/cursor.rb +++ b/lib/solargraph/source/cursor.rb @@ -59,6 +59,10 @@ module Solargraph end end + def start_of_constant? + source.code[offset-2, 2] == '::' + ...
Clip#complete checks Cursor#start_of_constant? to filter methods.
castwide_solargraph
train
15c0269ed21097cf943faaf4e244c14ed66cda64
diff --git a/libargos/inspector/pgplugins/__init__.py b/libargos/inspector/pgplugins/__init__.py index <HASH>..<HASH> 100644 --- a/libargos/inspector/pgplugins/__init__.py +++ b/libargos/inspector/pgplugins/__init__.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- + +# This file is part of Argos. +# +# Argos is free softw...
Set common PyQtGraph options at import.
titusjan_argos
train
0e5717582582ae741131d545c2cfd0cfb3a238dc
diff --git a/lib/devise_openid_authenticatable.rb b/lib/devise_openid_authenticatable.rb index <HASH>..<HASH> 100644 --- a/lib/devise_openid_authenticatable.rb +++ b/lib/devise_openid_authenticatable.rb @@ -2,8 +2,10 @@ require 'devise' require 'devise_openid_authenticatable/schema' require 'devise_openid_authentic...
Fix routes to work with both Rails 2 and 3
nbudin_devise_openid_authenticatable
train
af678231ccb0d9b54b0e37685b2433d0e719d17e
diff --git a/lib/puppet/reference/configuration.rb b/lib/puppet/reference/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/reference/configuration.rb +++ b/lib/puppet/reference/configuration.rb @@ -32,7 +32,7 @@ config = Puppet::Util::Reference.newreference(:configuration, :depth => 1, :doc val = '...
(docs) Fix the hiera_config default value fix in configuration reference I tried to fix this earlier in commit f9df9c4a2, but apparently my brain glitched out and I didn't use the correct setting name. This fixes the fix.
puppetlabs_puppet
train
4725b7f38e725c808e76fcb762cb1c4ee3faa1fa
diff --git a/jaraco/text/__init__.py b/jaraco/text/__init__.py index <HASH>..<HASH> 100644 --- a/jaraco/text/__init__.py +++ b/jaraco/text/__init__.py @@ -109,7 +109,7 @@ class FoldedCase(str): return hash(self.lower()) def __contains__(self, other): - return super(FoldedCase, self).lower().__con...
Drop Python 2 compatibility in FoldedCase
jaraco_jaraco.text
train
5a9e2b085295e2a0f44edf4d2b8b7af00f0612b3
diff --git a/dynamodb_sessions/backends/dynamodb.py b/dynamodb_sessions/backends/dynamodb.py index <HASH>..<HASH> 100644 --- a/dynamodb_sessions/backends/dynamodb.py +++ b/dynamodb_sessions/backends/dynamodb.py @@ -100,7 +100,6 @@ class SessionStore(SessionBase): have anything in it. """ whil...
Removed the _get_or_create_session_key call in the create method since it will be called in save method
gtaylor_django-dynamodb-sessions
train
fa813ef30b2fbcc4ba3ce9f727aa8e4520b52418
diff --git a/e2e/components/Slider/Slider-test.e2e.js b/e2e/components/Slider/Slider-test.e2e.js index <HASH>..<HASH> 100644 --- a/e2e/components/Slider/Slider-test.e2e.js +++ b/e2e/components/Slider/Slider-test.e2e.js @@ -7,9 +7,9 @@ 'use strict'; -const { expect, test } = require('@playwright/test'); +const { ex...
chore(react): comment out tests failing due to bug in AC checker (#<I>)
carbon-design-system_carbon-components
train
55c434665617461cf369fa1bc47d5ce5b93a6b09
diff --git a/examples/dot_notation.js b/examples/dot_notation.js index <HASH>..<HASH> 100644 --- a/examples/dot_notation.js +++ b/examples/dot_notation.js @@ -14,7 +14,7 @@ var dot_notation = { availability:{ status: true, text: "In Stock" - } + }, // And now, some truthy false values truthy: { ...
Add missing comma to dot_notation test's object literal.
janl_mustache.js
train
6d429438756d85a161edcbf194211e4ba7770d86
diff --git a/tests/test_datasets_local.py b/tests/test_datasets_local.py index <HASH>..<HASH> 100644 --- a/tests/test_datasets_local.py +++ b/tests/test_datasets_local.py @@ -39,9 +39,9 @@ class TestLocal(TestCase): exists.return_value = True isdir.return_value = True isfile.side_effect = (Tr...
Fix bug in LocalDatasets test
okfn-brasil_serenata-toolbox
train
1e01358b272ef7d1b2bae0eb7c9d4e33f657da35
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -6,14 +6,15 @@ some tests as dependent from other tests. These tests will then be skipped if any of the dependencies did fail or has been skipped. """ -from distutils.cmd import Command as du_cmd -import distutils.command...
Get rid of a warning from setuptools in setup.py
RKrahl_pytest-dependency
train
86dc03a440cc265d3c30eb880aef00c3a6e073ab
diff --git a/contao/dca/tl_metamodel.php b/contao/dca/tl_metamodel.php index <HASH>..<HASH> 100644 --- a/contao/dca/tl_metamodel.php +++ b/contao/dca/tl_metamodel.php @@ -124,7 +124,7 @@ $GLOBALS['TL_DCA']['tl_metamodel'] = array 'label' => &$GLOBALS['TL_LANG']['tl_metamodel']['dca_combine'], ...
Fix breadcrumbs in edit screens - Now we have correct URLs.
MetaModels_core
train
2f01d2c785f005eb5377cd8652a23116a8f1df46
diff --git a/src/main/java/com/cloudbees/jenkins/support/configfiles/SecretHandler.java b/src/main/java/com/cloudbees/jenkins/support/configfiles/SecretHandler.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/cloudbees/jenkins/support/configfiles/SecretHandler.java +++ b/src/main/java/com/cloudbees/jenkins/supp...
[JENKINS-<I>] added fallback method in case xml is wrong
jenkinsci_support-core-plugin
train
94c89e390c1676afd43e204810c5ee7fca7be790
diff --git a/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java b/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java +++ b/src/main/java/com/threerings/presents/server/PresentsDObje...
Include the longest elapsed time in the profile (not too useful if you profile from the beginning, but useful if you clear the profiles in order to record over a brief interval). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
2a519a47c930739e06577888dbc08d09f2d71206
diff --git a/samples/PhotoAlbum/main.php b/samples/PhotoAlbum/main.php index <HASH>..<HASH> 100644 --- a/samples/PhotoAlbum/main.php +++ b/samples/PhotoAlbum/main.php @@ -9,14 +9,14 @@ namespace PhotoAlbum { include 'settings.php'; // Global settings - if (array_key_exists('REQUEST_SCHEME', $_SERVER)) { + ...
sample/PhotoAlbum - fix parsing for cloudinary created_at (ISO-<I>)
cloudinary_cloudinary_php
train
d3fb9c6f1974f1f53c0258ae48b5b42718d93cd1
diff --git a/boskos/boskos.go b/boskos/boskos.go index <HASH>..<HASH> 100644 --- a/boskos/boskos.go +++ b/boskos/boskos.go @@ -36,7 +36,6 @@ import ( var ( configPath = flag.String("config", "config.yaml", "Path to init resource file") storagePath = flag.String("storage", "", "Path to persistent volum...
Cleanup flags and service account.
kubernetes_test-infra
train
0e5d69adf1af5b35f233380523229c6039a97b43
diff --git a/pycanlib/CAN.py b/pycanlib/CAN.py index <HASH>..<HASH> 100644 --- a/pycanlib/CAN.py +++ b/pycanlib/CAN.py @@ -122,18 +122,6 @@ class Message(object): return "\t".join(_field_strings) -class StandardMessage(Message): - def __init__(self, timestamp=0.0, arb_id=0, data=[], dlc=0): - ...
Removed definitions of CAN.StandardMessage and CAN.ExtendedMessage - access to the flags parameter of the message is required for other functions of CAN besides standard/extended messaging, and some of these flags are defined by the CAN standard
hardbyte_python-can
train
819f9f1afa4222d5f545b719cb4d8a4069e4e8fd
diff --git a/ansible_runner/utils.py b/ansible_runner/utils.py index <HASH>..<HASH> 100644 --- a/ansible_runner/utils.py +++ b/ansible_runner/utils.py @@ -12,6 +12,7 @@ import subprocess import base64 import threading import pipes +import uuid from collections import Iterable, Mapping from io import StringIO @@ ...
ensure verbose events get a uuid
ansible_ansible-runner
train
7434ef8a9042c89344667f6f98c61bc51307db51
diff --git a/scripts/ci/test_source.py b/scripts/ci/test_source.py index <HASH>..<HASH> 100755 --- a/scripts/ci/test_source.py +++ b/scripts/ci/test_source.py @@ -12,7 +12,7 @@ import sys import tempfile import unittest import shutil -from subprocess import check_call, CalledProcessError, PIPE +from subprocess impor...
check_call will block child_process if enough output is sent to PIPE (#<I>) * check_call will block child_process if enough output is sent to PIPE * run is unavailable in python2, opting for check_output which reads from the PIPE * remove PIPE
Azure_azure-cli-extensions
train
385406b35edd71bf9e60790fb94555f351d7449d
diff --git a/js/bitfinex.js b/js/bitfinex.js index <HASH>..<HASH> 100644 --- a/js/bitfinex.js +++ b/js/bitfinex.js @@ -246,6 +246,7 @@ module.exports = class bitfinex extends Exchange { 'Invalid order': InvalidOrder, // ? }, }, + 'significantPrecision': true...
added significantPrecision flag to bitfinex
ccxt_ccxt
train
2f8a08fc51d34a083cc486ba3841b16212784ad8
diff --git a/provision/docker/docker.go b/provision/docker/docker.go index <HASH>..<HASH> 100644 --- a/provision/docker/docker.go +++ b/provision/docker/docker.go @@ -506,13 +506,14 @@ func (c *container) start(p *dockerProvisioner, isDeploy bool) error { sharedMount, _ := config.GetString("docker:sharedfs:mountpoint...
provision/docker: provide SecurityOpt in HostConfig There's SecurityOpts and there is SecurityOpt, both are lists. Why Docker, why?
tsuru_tsuru
train
0d9fce905d5719b8ba18249c653721ffe6d7cfda
diff --git a/src/router/perf_test.go b/src/router/perf_test.go index <HASH>..<HASH> 100644 --- a/src/router/perf_test.go +++ b/src/router/perf_test.go @@ -12,8 +12,9 @@ const ( ) func BenchmarkRegister(b *testing.B) { - r := NewRegistry(config.DefaultConfig()) - p := NewProxy(r, NewVarz(r)) + c := config.DefaultCon...
Pass configuration struct to NewProxy
cloudfoundry_gorouter
train
85ec4c694594808058ac37b48258d06dcbe39326
diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index <HASH>..<HASH> 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -119,7 +119,7 @@ class Driver { } catch ( e ) { this.wappalyzer.log(error.message, 'browser', 'error'); - ...
Catch browser.html() exceptions in NPM driver
AliasIO_Wappalyzer
train
40dffebd95aa66f7e4dab08e3b2e4d5cd8851eb1
diff --git a/src/components/GraphiQL.js b/src/components/GraphiQL.js index <HASH>..<HASH> 100644 --- a/src/components/GraphiQL.js +++ b/src/components/GraphiQL.js @@ -102,7 +102,7 @@ export class GraphiQL extends React.Component { this.state.query, this.props.getDefaultFieldNames ); - if (insertio...
fixed to execute a version of query with auto-completed leafs
graphql_graphiql
train
e43330f338a43a5ec5e8e33ba8f27f69812db021
diff --git a/openquake/input/logictree.py b/openquake/input/logictree.py index <HASH>..<HASH> 100644 --- a/openquake/input/logictree.py +++ b/openquake/input/logictree.py @@ -25,6 +25,7 @@ import os import re import random from decimal import Decimal +import abc from lxml import etree @@ -50,12 +51,6 @@ class L...
input/logictree: <I>% test coverage
gem_oq-engine
train
4108388348195807f7adb60c6a8992e5ddc0956f
diff --git a/test/test_dictionary.rb b/test/test_dictionary.rb index <HASH>..<HASH> 100644 --- a/test/test_dictionary.rb +++ b/test/test_dictionary.rb @@ -5,16 +5,15 @@ class DictionaryTest < Minitest::Test def setup source = "Why did the chicken cross the road?" @order1 = MarkovChains::Dictionary.new(sour...
changed tests to suit new markov chains implementation
justindomingue_markov_chains
train
3642b02bfd12cb7573db55fa244d55dd111ca146
diff --git a/bugwarrior/config.py b/bugwarrior/config.py index <HASH>..<HASH> 100644 --- a/bugwarrior/config.py +++ b/bugwarrior/config.py @@ -31,6 +31,13 @@ def aslist(value): return [item.strip() for item in value.strip().split(',')] +def asint(value): + """ Cast config values to int, or None for empty st...
services/__init__: Refactor handling of defaults (#<I>) Our services/__init__ code used to have a lot of repeated code for handling defaults. This change refactors the repeated code out to a a _get_config_or_default method, reducing code complexity and overall line count.
ralphbean_bugwarrior
train