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
1c36243f775200167df522998ad61db0c73545a5
diff --git a/src/CCapture.js b/src/CCapture.js index <HASH>..<HASH> 100755 --- a/src/CCapture.js +++ b/src/CCapture.js @@ -716,8 +716,12 @@ function CCapture( settings ) { return this._hookedTime + _settings.startTime; }; - Object.defineProperty( HTMLVideoElement.prototype, 'currentTime', { get: hookCurren...
Don't set currentTime if it's already defined.
spite_ccapture.js
train
js
9a15ccd5567a72b653390ce63e77b7f3446dd059
diff --git a/event.go b/event.go index <HASH>..<HASH> 100644 --- a/event.go +++ b/event.go @@ -29,7 +29,8 @@ type EventStreamReader struct { // NewEventStreamReader creates an instance of EventStreamReader. func NewEventStreamReader(eventStream io.Reader, maxBufferSize int) *EventStreamReader { scanner := bufio.New...
fix inital buffer size (#<I>) Correctly handle maxBufferSize for scanner buffer
r3labs_sse
train
go
9049dea9d500a1793ab7de795a26802600b99c6f
diff --git a/perfplot/__init__.py b/perfplot/__init__.py index <HASH>..<HASH> 100644 --- a/perfplot/__init__.py +++ b/perfplot/__init__.py @@ -16,29 +16,16 @@ if pipdated.needs_checking('perfplot'): print(msg) -def show( - setup, kernels, labels, n_range, - xlabel=None, - repeat=100, -...
allow for empty labels; trivial show() signature
nschloe_perfplot
train
py
6a732fa70350aab1a372f1cc84e8dc28d7bebacb
diff --git a/xray/test/test_conventions.py b/xray/test/test_conventions.py index <HASH>..<HASH> 100644 --- a/xray/test/test_conventions.py +++ b/xray/test/test_conventions.py @@ -472,6 +472,15 @@ class TestDecodeCF(TestCase): actual = conventions.maybe_encode_dtype(original) self.assertDatasetIdentica...
Add unit test to check that multiple mising values issues warning
pydata_xarray
train
py
12f972c5e202c34a07778e84d848d6c19eb3566e
diff --git a/bsdploy/fabfile_mfsbsd.py b/bsdploy/fabfile_mfsbsd.py index <HASH>..<HASH> 100644 --- a/bsdploy/fabfile_mfsbsd.py +++ b/bsdploy/fabfile_mfsbsd.py @@ -133,6 +133,8 @@ def _bootstrap(): run('''touch /mnt/firstboot''') run('''sysrc -f /mnt/etc/rc.conf firstboot_freebsd_update_enable=YES''') ...
FIX: honour ``bootstrap-packages`` settings for mfsbsd
ployground_bsdploy
train
py
13e8e1a2ff85c158a5a94bd33accafdb45cdeb40
diff --git a/lib/manager/travis/package.js b/lib/manager/travis/package.js index <HASH>..<HASH> 100644 --- a/lib/manager/travis/package.js +++ b/lib/manager/travis/package.js @@ -41,7 +41,9 @@ async function getPackageUpdates(config) { config.rangeStrategy === 'pin' || isPinnedVersion(config.currentVersion[0]...
fix: travis get clean versions
renovatebot_renovate
train
js
51ee32c081f8b833459c0befc373f4a1a18eac96
diff --git a/keanu-python/keanu/base.py b/keanu-python/keanu/base.py index <HASH>..<HASH> 100644 --- a/keanu-python/keanu/base.py +++ b/keanu-python/keanu/base.py @@ -27,8 +27,6 @@ class JavaObjectWrapper: (python_name, self._class)) java_name = _to_camel_case_name(k) - lo...
Removed the warning you get if you call a method in camel_case that hasn't been wrapped in the JavaObjectWrapper. This is a valid thing to do if the arguments and return types are primitives.
improbable-research_keanu
train
py
a795dd73aecaba69ada08c83c23cb67351141d19
diff --git a/lib/dragonfly/data_storage/s3data_store.rb b/lib/dragonfly/data_storage/s3data_store.rb index <HASH>..<HASH> 100644 --- a/lib/dragonfly/data_storage/s3data_store.rb +++ b/lib/dragonfly/data_storage/s3data_store.rb @@ -17,10 +17,14 @@ module Dragonfly configurable_attr :url_scheme, 'http' RE...
Added some more S3 regions (taken from fog's code)
markevans_dragonfly
train
rb
acdb027c8adea2d9ee0d63af80b80906f93785a9
diff --git a/ndbench-cass-plugins/src/main/java/com/netflix/ndbench/plugin/cass/ElassandraCassJavaDriverPlugin.java b/ndbench-cass-plugins/src/main/java/com/netflix/ndbench/plugin/cass/ElassandraCassJavaDriverPlugin.java index <HASH>..<HASH> 100644 --- a/ndbench-cass-plugins/src/main/java/com/netflix/ndbench/plugin/cas...
fix elasandra id issue
Netflix_ndbench
train
java
1acc380d035728a73df6ca99fc97bc7251ae8b22
diff --git a/src/Testing/Response.php b/src/Testing/Response.php index <HASH>..<HASH> 100644 --- a/src/Testing/Response.php +++ b/src/Testing/Response.php @@ -260,9 +260,10 @@ class Response * __call * * @param string $method + * @param array $params * @return mixed */ - public func...
fix: __call() must take exactly 2 arguments
bowphp_framework
train
php
67ba6bf826a39ce99a4c46c12030719d534cb12a
diff --git a/lib/manifest.js b/lib/manifest.js index <HASH>..<HASH> 100644 --- a/lib/manifest.js +++ b/lib/manifest.js @@ -1,5 +1,6 @@ "use strict"; +let path = require("path"); let createFile = require("./util/files"); let { repr } = require("./util"); @@ -8,7 +9,15 @@ let retryTimings = [10, 50, 100, 250, 500,...
Shortcut: Provide "short" as the key to get the short version of the key
faucet-pipeline_faucet-pipeline-core
train
js
f83237ce6e4fbe5b6153d773dc2ae46253897346
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -65,7 +65,9 @@ export default function serve(options = { contentBase: '' }) { createServer(requestListener).listen(options.port); } - let running = options.verbose === false + closeServerOnTerminati...
Close the server when a termination signal is encountered
thgh_rollup-plugin-serve
train
js
e40205d22da931739a9822f5fa2930c372d2f6fe
diff --git a/src/bootstrap.php b/src/bootstrap.php index <HASH>..<HASH> 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -1,6 +1,23 @@ <?php -require_once __DIR__ . '/../vendor/autoload.php'; +$files = array( + __DIR__ . '/../vendor/autoload.php', + __DIR__ . '/../../../autoload.php' +); + +$loader = ...
UPDATE: Support installation as a vendor
camspiers_statistical-classifier
train
php
e6262fcd0dbbe22138c2a9bbbc3ed8d4ba3f8034
diff --git a/blocks/admin_bookmarks/block_admin_bookmarks.php b/blocks/admin_bookmarks/block_admin_bookmarks.php index <HASH>..<HASH> 100644 --- a/blocks/admin_bookmarks/block_admin_bookmarks.php +++ b/blocks/admin_bookmarks/block_admin_bookmarks.php @@ -31,9 +31,6 @@ class block_admin_bookmarks extends block_base { ...
MDL-<I> - save <I> database queries in the case of the admin bookmarks block without bookmarks on non-admin page Merged from MOODLE_<I>_STABLE
moodle_moodle
train
php
5dc94d5e990ece178ac51b6729595bc7e49d8fc1
diff --git a/lib/lemonad.js b/lib/lemonad.js index <HASH>..<HASH> 100644 --- a/lib/lemonad.js +++ b/lib/lemonad.js @@ -898,7 +898,7 @@ }; // Flips the first two args of a function - L.flip2 = function(fun) { + L.flip = L.flip2 = function(fun) { return function(/* args */) { var args = _.toArray(ar...
L.flip as alias for flip2
fogus_lemonad
train
js
697b186f98aa9796e6da62803c87e239090b4aae
diff --git a/support/cas-server-support-pac4j-core-clients/src/main/java/org/apereo/cas/support/pac4j/authentication/DelegatedClientFactory.java b/support/cas-server-support-pac4j-core-clients/src/main/java/org/apereo/cas/support/pac4j/authentication/DelegatedClientFactory.java index <HASH>..<HASH> 100644 --- a/support...
Pac4j delegation: Add missing setAcceptedSkew (#<I>)
apereo_cas
train
java
89da402710b95e1d657f0e8bf75aee865be9eb19
diff --git a/core/server/update-check.js b/core/server/update-check.js index <HASH>..<HASH> 100644 --- a/core/server/update-check.js +++ b/core/server/update-check.js @@ -69,7 +69,7 @@ function updateCheckData() { data.node_version = process.versions.node; data.env = process.env.NODE_ENV; ...
Fix command line error closes #<I> - added check for mailConfig
TryGhost_Ghost
train
js
4fcaced381e3102a4862461c86c1bff635aa5fe2
diff --git a/aaf2/cfb.py b/aaf2/cfb.py index <HASH>..<HASH> 100644 --- a/aaf2/cfb.py +++ b/aaf2/cfb.py @@ -14,6 +14,7 @@ import math import weakref from array import array from struct import Struct +import mmap from .utils import ( read_u8, read_u16le, @@ -567,9 +568,15 @@ class DirEntry(object): re...
use mmap in cfb when read only for slight performance increase
markreidvfx_pyaaf2
train
py
892bdddc225fdece1ada45afecdd237ffe30b511
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/GenericTransport.py +++ b/openpnm/algorithms/GenericTransport.py @@ -525,7 +525,7 @@ class GenericTransport(GenericAlgorithm): B = np.ones((self.A.shape[0], 1)) ...
Fixed a typo in pyamg args.
PMEAL_OpenPNM
train
py
4070af7648b011e32c8a183b4cce73032c024514
diff --git a/src/test/java/integration/SelenideMethodsTest.java b/src/test/java/integration/SelenideMethodsTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/integration/SelenideMethodsTest.java +++ b/src/test/java/integration/SelenideMethodsTest.java @@ -247,8 +247,14 @@ public class SelenideMethodsTest extends...
fix failing test in hmtlunit
selenide_selenide
train
java
27cb5dfd0ed96e1d6d2e8d0d5c2b3bd83263b034
diff --git a/pypiper/manager.py b/pypiper/manager.py index <HASH>..<HASH> 100644 --- a/pypiper/manager.py +++ b/pypiper/manager.py @@ -1823,6 +1823,13 @@ class PipelineManager(object): for mnt in mounts: absmnt = os.path.abspath(mnt) cmd += " -v " + absmnt + ":" + absmnt + cmd ...
add @nsheff changes from dockerfix and avoid merge conflict
databio_pypiper
train
py
dc5651c3e55176145faf662f372d21fd44296d84
diff --git a/lib/rubocop/cop/mixin/multiline_expression_indentation.rb b/lib/rubocop/cop/mixin/multiline_expression_indentation.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +++ b/lib/rubocop/cop/mixin/multiline_expression_indentation.rb @@ -120,7 +120,7 @@ module RuboCo...
Replace regular expression usage in MultilineExpressionIndentation mixin
rubocop-hq_rubocop
train
rb
9903205889a0d27077e224281554b5ebc8cc0820
diff --git a/commands/KeyCommands.js b/commands/KeyCommands.js index <HASH>..<HASH> 100644 --- a/commands/KeyCommands.js +++ b/commands/KeyCommands.js @@ -210,7 +210,7 @@ KeyCommands.prototype = extend(BaseCommand.prototype, { return this._makeNewKey(filename); }, - keyAlgorithmForProtocol(protocol) { + keyAlgor...
fixes ES6 style function in ES5 source. with tests
particle-iot_particle-cli
train
js,js
13212da0deb7afc0d7109c8f0a54ca30bba233ff
diff --git a/lib/rfunk/version.rb b/lib/rfunk/version.rb index <HASH>..<HASH> 100644 --- a/lib/rfunk/version.rb +++ b/lib/rfunk/version.rb @@ -1,3 +1,3 @@ module RFunk - VERSION = '0.2.0' + VERSION = '0.3.0' end
Bumped to version <I>
alexfalkowski_rfunk
train
rb
3b26036d67c54d54e183fac7a943b112d972873b
diff --git a/lib/types/keywords.js b/lib/types/keywords.js index <HASH>..<HASH> 100644 --- a/lib/types/keywords.js +++ b/lib/types/keywords.js @@ -95,8 +95,7 @@ keywords.coerceTo = { const inlineTermValidator = (it, keyword, schema) => { return ` - let $data = data${it.dataLevel || ''}; - if (typeof $data =...
fix(acceptsTerm): prevent issue with duplicate defined local values
mbroadst_thinkagain
train
js
e6de46b1222b68969fe01afdc487fe8daf189f8a
diff --git a/ulid_test.go b/ulid_test.go index <HASH>..<HASH> 100644 --- a/ulid_test.go +++ b/ulid_test.go @@ -30,7 +30,7 @@ import ( func ExampleULID() { t := time.Unix(1000000, 0) - entropy := rand.New(rand.NewSource(t.UnixNano())) + entropy := rand.New(ulid.Monotonic(rand.NewSource(t.UnixNano())), 0) fmt.Prin...
Update ExampleULID with Monotonic entropy
oklog_ulid
train
go
f26fab44d0f1287dcd9c28fc4a9b72704cf664d9
diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php index <HASH>..<HASH> 100644 --- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php +++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php @@ -31,7 +31,7 @@ use Webmozart\Assert\Assert; class K...
Change application's version to <I>
Sylius_Sylius
train
php
7c9b391159f81e98dd34bcd827d7dd34928cd89b
diff --git a/tdigest.go b/tdigest.go index <HASH>..<HASH> 100644 --- a/tdigest.go +++ b/tdigest.go @@ -174,10 +174,6 @@ func shuffle(data []centroid) { } } -func (t TDigest) String() string { - return fmt.Sprintf("TD<compression=%.2f, count=%d, centroids=%d>", t.compression, t.count, t.summary.Len()) -} - func es...
Remove yet another useless String() method This time I didn't forget to run `go vet`...
caio_go-tdigest
train
go,go
4fee79b348a9d19b8cf09bf748762265866c6ce8
diff --git a/cqlengine/tests/query/test_queryset.py b/cqlengine/tests/query/test_queryset.py index <HASH>..<HASH> 100644 --- a/cqlengine/tests/query/test_queryset.py +++ b/cqlengine/tests/query/test_queryset.py @@ -408,13 +408,15 @@ class TestQuerySetConnectionHandling(BaseQuerySetUsage): def test_conn_is_returned...
Make all tests pass when run alltogether with 'py.test cqlengine/tests'
cqlengine_cqlengine
train
py
1b5a2b6e9bc3844b0b3e643a424ab08944c7677a
diff --git a/integration/fs_mounter/fs_mounter_test.go b/integration/fs_mounter/fs_mounter_test.go index <HASH>..<HASH> 100644 --- a/integration/fs_mounter/fs_mounter_test.go +++ b/integration/fs_mounter/fs_mounter_test.go @@ -21,7 +21,7 @@ func mountAtPath(path string) string { fsMounterPath, "--disk-image", dis...
bump up another size to make mkfs.btrfs happy
concourse_baggageclaim
train
go
57c3a4a703baaa05e181ff4c85cee14ede4c9f76
diff --git a/imgix/urlbuilder.py b/imgix/urlbuilder.py index <HASH>..<HASH> 100644 --- a/imgix/urlbuilder.py +++ b/imgix/urlbuilder.py @@ -208,8 +208,6 @@ class UrlBuilder(object): srcset_params['dpr'] = dpr # If variable quality output is _not disabled_, then... if not disable_va...
refactor: remove dead comment This PR removes a dead comment. Prior to this PR, the comment indicated that there was validation, but validation was suggested to be, and was, removed from this function. This change updates the comment to describe the current behavior.
imgix_imgix-python
train
py
f7d54ef4a1d95ba2234eaad5d827c5faadba41f5
diff --git a/lib/url-parser.js b/lib/url-parser.js index <HASH>..<HASH> 100644 --- a/lib/url-parser.js +++ b/lib/url-parser.js @@ -52,9 +52,12 @@ function httpToFloraRequest(httpRequest) { */ let payload = ''; + let contentTypes; - const contentTypes = contentType.parse(httpRequest....
hotfix: accept no Content-Type for non-POST requests
godmodelabs_flora
train
js
09614030c3832877627bc9e3d659c02db7fbc6ab
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -1867,7 +1867,7 @@ class State(object): for lkey, lval in listen_to.items(): to_tag = _gen_tag(crefs[(lkey, lval)]) if running[to_tag][...
Bah! overcomplicated it inline :)
saltstack_salt
train
py
ffbaa2998cafaec7205099962c597b979a08897c
diff --git a/lib/data_mapper/relation/graph/node/aliases/binary.rb b/lib/data_mapper/relation/graph/node/aliases/binary.rb index <HASH>..<HASH> 100644 --- a/lib/data_mapper/relation/graph/node/aliases/binary.rb +++ b/lib/data_mapper/relation/graph/node/aliases/binary.rb @@ -244,7 +244,8 @@ module DataMapper ...
Workaround Hash#fetch issue on rbx-<I>
rom-rb_rom
train
rb,rb
8bdcf7408bd3b1db1bdc2981f7fdd5e5c291d4be
diff --git a/bindings/py/setup.py b/bindings/py/setup.py index <HASH>..<HASH> 100644 --- a/bindings/py/setup.py +++ b/bindings/py/setup.py @@ -364,7 +364,6 @@ def getExtensionModules(nupicCoreReleaseDir, platform, bitness, cxxCompiler, cmd # for Cap'n'Proto serialization "-lkj", "-lcapnp", - "...
Remove capnpc link flags from nupic.bindings. These should only be needed in cmake build for generating the C++ code from .capnp files and shouldn't be needed for the nupic.bindings extensions build.
numenta_nupic.core
train
py
01d92531ee0993c0e6e5efe877a1242bfd808626
diff --git a/rpc/http.go b/rpc/http.go index <HASH>..<HASH> 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -251,7 +251,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { return } // All checks passed, create a codec that reads direct from the request body - // untilEOF and writes the respon...
rpc: correct typo and reword comment for consistency (#<I>)
ethereum_go-ethereum
train
go
6905e064ed52556c31c5ffa4dd61bacf0722e1d9
diff --git a/tasks/components/scraper.js b/tasks/components/scraper.js index <HASH>..<HASH> 100644 --- a/tasks/components/scraper.js +++ b/tasks/components/scraper.js @@ -175,12 +175,12 @@ component.description = marked( isFile - ? fs.readFileSync(basepath + description, Scraper.OPTIO...
Remove byte order character before parsing description as md.
martinjunior_grunt-emo
train
js
c768f94e620a7dee230ef9dcdc2ff6553036bd22
diff --git a/ethereum/hybrid_casper/chain.py b/ethereum/hybrid_casper/chain.py index <HASH>..<HASH> 100644 --- a/ethereum/hybrid_casper/chain.py +++ b/ethereum/hybrid_casper/chain.py @@ -377,7 +377,6 @@ class Chain(object): self.time_queue.insert(i, block) log.info('Block received too early (%...
Remove weird add_block fork condition & comment
ethereum_pyethereum
train
py
4b5e969b967738380bd2468f7e04e33ca1d52f80
diff --git a/nunaliit2-js/src/main/webapp/nunaliit2/n2.couchAuth.js b/nunaliit2-js/src/main/webapp/nunaliit2/n2.couchAuth.js index <HASH>..<HASH> 100644 --- a/nunaliit2-js/src/main/webapp/nunaliit2/n2.couchAuth.js +++ b/nunaliit2-js/src/main/webapp/nunaliit2/n2.couchAuth.js @@ -66,8 +66,6 @@ var defaultOptions = { ,a...
nunaliit2-js: Fix authentication dialog box title that does not localize properly.
GCRC_nunaliit
train
js
0e636281053f0c2945c82dcddd978b0e9eb1658e
diff --git a/angr/simos.py b/angr/simos.py index <HASH>..<HASH> 100644 --- a/angr/simos.py +++ b/angr/simos.py @@ -143,8 +143,7 @@ def setup_elf_ifuncs(proj): for reloc in binary.relocs: if reloc.symbol is None or reloc.resolvedby is None: continue - # http://osxr.org/g...
CLE now exports the right symbol name for ifuncs
angr_angr
train
py
4e060ab972673300a4082fd359e8626721afdfda
diff --git a/backup/backuplib.php b/backup/backuplib.php index <HASH>..<HASH> 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -1718,6 +1718,7 @@ foreach ($mypreferences->mods as $name => $info) { //Check if the xxxx_encode_content_links exists + include_once("$CFG->dir...
Bug #<I> - The restore process behaves differently depending on which module contains the absolute links; merged from MOODLE_<I>_STABLE
moodle_moodle
train
php,php
18f499e969c1ccf7f49cfa5be2a0ff8c5a40b0e5
diff --git a/tests/files/phpcode.php b/tests/files/phpcode.php index <HASH>..<HASH> 100644 --- a/tests/files/phpcode.php +++ b/tests/files/phpcode.php @@ -16,7 +16,7 @@ <p><?php __("text 7 (with parenthesis)"); ?></p> <p><?php __("text 8 \"with escaped double quotes\""); ?></p> <p><?php __("text 9 'with ...
fixed test for php<I>
oscarotero_Gettext
train
php
bfa4c9b8df611f9c11b5b49f9470ca857a151feb
diff --git a/tests/test_program.py b/tests/test_program.py index <HASH>..<HASH> 100644 --- a/tests/test_program.py +++ b/tests/test_program.py @@ -208,6 +208,8 @@ class TestProgramFeatures(object): assert p.actual_targets == {mysys.a1} def test_triggerlist_targetlist_change2_namever(self, mysys): + ...
Add TODO items in a test that fails randomly
tuomas2_automate
train
py
61da91a4a22cbecd002cb0f16b5f36c9ee8e6eaa
diff --git a/lib/Instrumental.php b/lib/Instrumental.php index <HASH>..<HASH> 100644 --- a/lib/Instrumental.php +++ b/lib/Instrumental.php @@ -110,8 +110,7 @@ class Instrumental { // $this->log->addError('Bar'); echo time() . " $message\n"; - // flush(); - ob_flush(); + flush...
Replaced ob_flush with flush since the former throws an error in some cases and the later should flush to stdout.
Instrumental_instrumental_agent-php
train
php
83a33327f31b4022890282fe0c586fb6d0242f9d
diff --git a/lib/create-icon-set.js b/lib/create-icon-set.js index <HASH>..<HASH> 100644 --- a/lib/create-icon-set.js +++ b/lib/create-icon-set.js @@ -47,6 +47,11 @@ function createIconSet(glyphMap : Object, fontFamily : string) : Function { React.PropTypes.array, // Multiple styles to be merged ]) ...
Fixed a bug when Icon is a direct child to Touchable*. #9
oblador_react-native-vector-icons
train
js
5180faae233492c14ad1634e82f05d0020dc7917
diff --git a/Storage/Processor/Image.php b/Storage/Processor/Image.php index <HASH>..<HASH> 100644 --- a/Storage/Processor/Image.php +++ b/Storage/Processor/Image.php @@ -183,6 +183,9 @@ class Image $color = $this->config->getBorderColor() ?? $this->config->getBackground(); $cornerImage = imagecreat...
bug(param-type): image functions require resource, that can not be false
ems-project_EMSCommonBundle
train
php
3eafd7766dc97ee21c0bfdea8d297d24748a81c6
diff --git a/tests/fields/models.py b/tests/fields/models.py index <HASH>..<HASH> 100644 --- a/tests/fields/models.py +++ b/tests/fields/models.py @@ -3,7 +3,14 @@ from django.db import models from djstripe.fields import StripePercentField +from djstripe.models import StripeModel class ExampleDecimalModel(mode...
Added the TestCustomActionModel to test the Custom Admin Action Made TestCustomActionModel inherit from StripeModel so all sub-classes of StripeModel could also get tested easily.
dj-stripe_dj-stripe
train
py
2ecd01521fa95f2d79e9a483d6b84bc26145ddbc
diff --git a/src/Http/Response.php b/src/Http/Response.php index <HASH>..<HASH> 100644 --- a/src/Http/Response.php +++ b/src/Http/Response.php @@ -632,6 +632,7 @@ class Response implements ResponseInterface } $this->_reasonPhrase = $reasonPhrase; + // These status codes don't have bodies and ...
Add comment for content-type removal.
cakephp_cakephp
train
php
c77f0b35a171878eeb2363b71f76bf1bad22aabd
diff --git a/odl/solvers/nonsmooth/adupdates.py b/odl/solvers/nonsmooth/adupdates.py index <HASH>..<HASH> 100644 --- a/odl/solvers/nonsmooth/adupdates.py +++ b/odl/solvers/nonsmooth/adupdates.py @@ -125,18 +125,18 @@ def adupdates_method(x, g, L, stepsize, majs, niter, random=False, """ # Check the lenghts of...
STY: Write checks in ODL style.
odlgroup_odl
train
py
52ccc893c7cb4630e7adc5a20e9d52169d7b2201
diff --git a/js/di.js b/js/di.js index <HASH>..<HASH> 100644 --- a/js/di.js +++ b/js/di.js @@ -207,6 +207,7 @@ Arenite.DI = function (arenite) { var imported = arenite.object.get(window, imp.namespace)(); arenite.config = arenite.object.extend(arenite.config, imported); if (imported.imports) ...
Added logging to aid in the debug of sub-imports
lcavadas_arenite
train
js
6fe526ec66e202ffeafb8f65da487927c4f5b527
diff --git a/test/unit/test_service_models.py b/test/unit/test_service_models.py index <HASH>..<HASH> 100644 --- a/test/unit/test_service_models.py +++ b/test/unit/test_service_models.py @@ -373,12 +373,11 @@ class GoogleSafeBrowsingTest(UrlTesterTest, unittest.TestCase): self._test_for_unathorized_api_key(fun...
Make function creating host object mocks be reused The function host_list_host_factory is now used in function host_collection_host_factory. The conversion of the return value is being modified to use the mocked to_unicode method available to it.
piotr-rusin_spam-lists
train
py
5e05adcd27ceeaa4b6b5a23930505f99ff3b0644
diff --git a/src/main/java/com/zaxxer/hikari/pool/PoolBase.java b/src/main/java/com/zaxxer/hikari/pool/PoolBase.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/zaxxer/hikari/pool/PoolBase.java +++ b/src/main/java/com/zaxxer/hikari/pool/PoolBase.java @@ -176,7 +176,7 @@ abstract class PoolBase Throwable g...
Fixes #<I> only reset lastConnectionFailure after a successful dataSource.getConnection() call.
brettwooldridge_HikariCP
train
java
ce9cb3bc2a8c10550043ff74997556b688a112be
diff --git a/scriptcwl/workflow.py b/scriptcwl/workflow.py index <HASH>..<HASH> 100644 --- a/scriptcwl/workflow.py +++ b/scriptcwl/workflow.py @@ -22,15 +22,12 @@ class WorkflowGenerator(object): self.load(steps) def __getattr__(self, name, **kwargs): - try: - return super(self.__c...
Refactor __getattr__ to remove recursion error The old __getattr__ implementation raised a recursion error when trying to add steps using a subclass of WorkflowGenerator. This commit fixes that error.
NLeSC_scriptcwl
train
py
4968e3ff6d6efcc1031058f1935f9f1bc2a962bf
diff --git a/core/src/ons/internal/lazy-repeat.js b/core/src/ons/internal/lazy-repeat.js index <HASH>..<HASH> 100644 --- a/core/src/ons/internal/lazy-repeat.js +++ b/core/src/ons/internal/lazy-repeat.js @@ -121,7 +121,7 @@ export class LazyRepeatProvider { * @param {LazyRepeatDelegate} delegate */ constructo...
fix(ons-lazy-repeat): fix Safari issue
OnsenUI_OnsenUI
train
js
7bc7bfa84550b4037672cc1168a178cf20f0c548
diff --git a/pamda/private/curry_spec/make_func_curry_spec.py b/pamda/private/curry_spec/make_func_curry_spec.py index <HASH>..<HASH> 100644 --- a/pamda/private/curry_spec/make_func_curry_spec.py +++ b/pamda/private/curry_spec/make_func_curry_spec.py @@ -18,7 +18,7 @@ def func_arg_names(f): def func_arg_defaults(f): ...
Fix make_fun_curry_spec for functions with no defaults
jackfirth_pyramda
train
py
1916583790c61033a5f31c63426393b28666089a
diff --git a/lib/types.js b/lib/types.js index <HASH>..<HASH> 100755 --- a/lib/types.js +++ b/lib/types.js @@ -114,6 +114,8 @@ function __processOptions(t, type) { if (type.max != null) t.maximum = type.max; if (type.minLength != null) t.minLength = type.minLength; if (type.maxLength != null) t.maxLength = typ...
fixed String minlength and maxlength (#<I>) * fixed String minlength and maxlength
DScheglov_mongoose-schema-jsonschema
train
js
66fc13e7702cce91f9f8c4fd9690509077c99ed4
diff --git a/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/QuartzSchedulerService.java b/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/QuartzSchedulerService.java index <HASH>..<HASH> 100644 --- a/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/QuartzSchedulerService.java +++ b/jbpm-flow/...
adding debug log which is useful for trouble-shooting (#<I>)
kiegroup_jbpm
train
java
bb06433900e0a69cf864f6d5ed347be213ae9aea
diff --git a/duradmin/src/main/webapp/js/spaces-manager.js b/duradmin/src/main/webapp/js/spaces-manager.js index <HASH>..<HASH> 100644 --- a/duradmin/src/main/webapp/js/spaces-manager.js +++ b/duradmin/src/main/webapp/js/spaces-manager.js @@ -147,11 +147,19 @@ $(function(){ clearContents(); // attach delete butto...
This resolves issue DURACLOUD-<I>. When only one space is selected to be deleted, changed the warning to be singular instead of plural git-svn-id: <URL>
duracloud_duracloud
train
js
972bb895a7720b487c9ddbef4878f88ffcd95b1a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -150,7 +150,7 @@ setup( packages=['diamond', 'diamond.handler', 'diamond.utils'], scripts=['bin/diamond', 'bin/diamond-setup'], data_files=data_files, - python_requires='==2.7', + python_requires='~=2.7', ...
Update python_requires Fix problem: diamond requires Python '==<I>' but the running Python is <I>
python-diamond_Diamond
train
py
28175cfe6adf20a3e446f79b80e14b9ae7193136
diff --git a/spec/mail/example_emails_spec.rb b/spec/mail/example_emails_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mail/example_emails_spec.rb +++ b/spec/mail/example_emails_spec.rb @@ -300,4 +300,20 @@ describe "Test emails" do end + describe "empty address lists" do + + before(:each) do + @mess...
Adding spec to test error email for missing addresses in to header
mikel_mail
train
rb
81ead6fba7b8c544f448a6ff550879604c859d8a
diff --git a/tools/apidoc.js b/tools/apidoc.js index <HASH>..<HASH> 100644 --- a/tools/apidoc.js +++ b/tools/apidoc.js @@ -243,7 +243,7 @@ function load(file, loadDescription) { } function generate(module, moduleName) { - var outFile = 'apidocs/api-' + moduleName + '.md'; + var outFile = 'apidocs/module-' + m...
Adjust file names generated by API docs.
oxygenhq_oxygen
train
js
0e2ec3ef248d1892acbb114faf3ceb7dcd32457e
diff --git a/test/core/targets/simple.js b/test/core/targets/simple.js index <HASH>..<HASH> 100644 --- a/test/core/targets/simple.js +++ b/test/core/targets/simple.js @@ -21,7 +21,7 @@ let COOKIES = {}; const users = { leo: { name: 'leo', - password: '$2a$10$iqJSHD.BGr0E2IxQwYgJmeP3NvhPrXAeLSaGCj6IR/XU5QtjV...
fix(tests): Remove bcrypt-encoded password
artilleryio_artillery
train
js
4a335d79d6da2901100d5a01bc16d8fef7d30da4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -91,7 +91,7 @@ setup( # Dependencies install_requires=[ "nassl>=4.0.0,<5.0.0", - "cryptography>=2.6,<3.3", + "cryptography>=2.6,<3.4", "tls-parser>=1.2.2,<1.3.0", "typing_exte...
[#<I>] Update cryptography in setup.py
nabla-c0d3_sslyze
train
py
eaa3580fa66d1941e015f3cd348b97ebab9350af
diff --git a/test/unit/test_archivers.py b/test/unit/test_archivers.py index <HASH>..<HASH> 100644 --- a/test/unit/test_archivers.py +++ b/test/unit/test_archivers.py @@ -31,11 +31,16 @@ class MockCommit(object): self.message = message +class MockHead(object): + is_detached = False + + class MockRepo(o...
Add a mock head to the unit tests for git
tonybaloney_wily
train
py
12cb79e47879e94f5e6d4f207ac88f5a1bb8b349
diff --git a/scripts/importer/mtasks/general_data.py b/scripts/importer/mtasks/general_data.py index <HASH>..<HASH> 100644 --- a/scripts/importer/mtasks/general_data.py +++ b/scripts/importer/mtasks/general_data.py @@ -1092,7 +1092,7 @@ def do_superfit_spectra(events, stubs, args, tasks, task_obj, log): ...
BUG: change name added to aliases in 'superfit_spectra'.
astrocatalogs_astrocats
train
py
f5ab67cb3f1f656fcf76d560f50688b5b83f0437
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -173,8 +173,14 @@ Geocoder.prototype = mapboxgl.util.inherit(mapboxgl.Control, { _query: function(input) { if (!input) return; - var q = (typeof input === 'string') ? input : input.join(); - this._geocode(q, fu...
Use mapboxgl.wrap When coordinates outside of -<I> or <I> are received. Closes #<I>
mapbox_mapbox-gl-geocoder
train
js
5a93950e6447694d61044aa2ec2e0849cb25d94d
diff --git a/src/functions.js b/src/functions.js index <HASH>..<HASH> 100644 --- a/src/functions.js +++ b/src/functions.js @@ -104,6 +104,6 @@ module.exports = function(codegen) { }, // functions defined in function_definitions - 'inRange': 'fn.in_range' + 'inRange': 'fn.inRange' }; }; diff --gi...
Renamed in_range to inRange (fixed). Closures are more efficient for generated fns
vega_vega-expression
train
js,js
927af219b2ee210b85942f211f1873bd98823a96
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ version = '0.1.10' setup( name='hydrachain', version=version, - description="", + description="Permissioned Distributed Ledger based on Ethereum", long_description=readme + '\n\n' + history...
Adding `description` to `setup.py` Adding `description` to `setup.py`
HydraChain_hydrachain
train
py
dcba9e93cfbb4ad4c5f9f03c94a684bb818a2567
diff --git a/lib/AlignedBuilder.php b/lib/AlignedBuilder.php index <HASH>..<HASH> 100755 --- a/lib/AlignedBuilder.php +++ b/lib/AlignedBuilder.php @@ -268,11 +268,11 @@ class AlignedBuilder $type = max($type, strlen($resourceRecord->getType())); } - $padding[] = $name; - $padding[]...
Fixed minor issue with getPadding()
Badcow_DNS
train
php
cc3335244cd55d04b61ad98d40bec91b40c6114f
diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -73,12 +73,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface...
Update VERSION for <I>
symfony_symfony
train
php
25e7f6b6d76041a4bb8f92cc26f81004b3b58220
diff --git a/src/bundle/Resources/public/js/scripts/button.content.edit.js b/src/bundle/Resources/public/js/scripts/button.content.edit.js index <HASH>..<HASH> 100644 --- a/src/bundle/Resources/public/js/scripts/button.content.edit.js +++ b/src/bundle/Resources/public/js/scripts/button.content.edit.js @@ -15,7 +15,7 @@...
EZP-<I>: Can't create new draft due to lack of language code in URL
ezsystems_ezplatform-admin-ui
train
js
5ec395f560db5bc0fa908184915b31bf9b9a4f97
diff --git a/src/FcmChannel.php b/src/FcmChannel.php index <HASH>..<HASH> 100755 --- a/src/FcmChannel.php +++ b/src/FcmChannel.php @@ -50,17 +50,30 @@ class FcmChannel $message->to($to); } + + if (is_array($message->getTo())) { + $chunks = array_chunk($message->getTo(),...
Split recepients arrays into chunks with <I> items
benwilkins_laravel-fcm-notification
train
php
6521748e9572eea2a97b6b8b836f2389d3d9df07
diff --git a/lib/dimples/site.rb b/lib/dimples/site.rb index <HASH>..<HASH> 100644 --- a/lib/dimples/site.rb +++ b/lib/dimples/site.rb @@ -280,8 +280,16 @@ module Dimples @archives[:day]["#{year}-#{month}-#{day}"] ||= [] end + def plugins + @plugins ||= Plugin.subclasses&.map { |subclass| subclass...
Add a plugins method, and switch trigger_event to use it
waferbaby_dimples
train
rb
dad4382ae7bdf9b3a685fb3f7c0141ca00d646da
diff --git a/quantecon/__init__.py b/quantecon/__init__.py index <HASH>..<HASH> 100644 --- a/quantecon/__init__.py +++ b/quantecon/__init__.py @@ -35,7 +35,7 @@ from .markov import mc_compute_stationary, mc_sample_path #Imports t #<- from .rank_nullspace import rank_est, nullspace from .robustlq import R...
upgraded tic, tac and toc to top level
QuantEcon_QuantEcon.py
train
py
a545c3a5e3d07af99179d4888e653a62171dd779
diff --git a/lib/robot.js b/lib/robot.js index <HASH>..<HASH> 100644 --- a/lib/robot.js +++ b/lib/robot.js @@ -82,7 +82,7 @@ Robot.prototype.getSchedule = function getSchedule(callback) { if (error) { callback(error, result); } else if (result && 'data' in result && 'enabled' ...
Make getSchedule to return full schedule, not only enables status Changes to be committed: modified: lib/robot.js
Pmant_node-botvac
train
js
dd25ddb2b261a7333d070fa586304c35526619a0
diff --git a/internal/service/elb/service_account_data_source_test.go b/internal/service/elb/service_account_data_source_test.go index <HASH>..<HASH> 100644 --- a/internal/service/elb/service_account_data_source_test.go +++ b/internal/service/elb/service_account_data_source_test.go @@ -41,7 +41,7 @@ func TestAccELBServ...
elb: Fix missed AWS
terraform-providers_terraform-provider-aws
train
go
232dc9e452227a5d6806cbc96d8a3e7e0fc5bf04
diff --git a/registrasion/controllers/invoice.py b/registrasion/controllers/invoice.py index <HASH>..<HASH> 100644 --- a/registrasion/controllers/invoice.py +++ b/registrasion/controllers/invoice.py @@ -357,8 +357,18 @@ class InvoiceController(ForId, object): return cart.revision == self.invoice.cart_revision ...
Invoices are tested for cart validity before display. Fixes #<I>.
chrisjrn_registrasion
train
py
afee5587a9b50cc0c66279e7d5d87744be688cd7
diff --git a/galpy/potential.py b/galpy/potential.py index <HASH>..<HASH> 100644 --- a/galpy/potential.py +++ b/galpy/potential.py @@ -13,6 +13,7 @@ from galpy.potential_src import KGPotential from galpy.potential_src import interpRZPotential from galpy.potential_src import DehnenBarPotential from galpy.potential_sr...
add transient spiral to top-level
jobovy_galpy
train
py
d4aecde7bbb086755b6700308381287f73535b0b
diff --git a/Model/CampaignExecutioner.php b/Model/CampaignExecutioner.php index <HASH>..<HASH> 100644 --- a/Model/CampaignExecutioner.php +++ b/Model/CampaignExecutioner.php @@ -53,6 +53,9 @@ class CampaignExecutioner { $limiter = new ContactLimiter($batchLimit, null, null, null, $contactIdList); + ...
[ENG-<I>] Ensure campaign triggered counts are accurate.
TheDMSGroup_mautic-contact-source
train
php
2f70b95dc6f6975bcf5a2e8593af7d27d9682388
diff --git a/src/client/websocketRouterAccess.js b/src/client/websocketRouterAccess.js index <HASH>..<HASH> 100644 --- a/src/client/websocketRouterAccess.js +++ b/src/client/websocketRouterAccess.js @@ -85,7 +85,7 @@ define(['common/storage/constants', 'q'], function (CONSTANTS, Q) { const deferred = Q.def...
WIP - fix eslint issue
webgme_webgme-engine
train
js
190ae8cc9b22bf8a63f21cff8a9745e39fd00480
diff --git a/lib/slather/project.rb b/lib/slather/project.rb index <HASH>..<HASH> 100755 --- a/lib/slather/project.rb +++ b/lib/slather/project.rb @@ -158,14 +158,15 @@ module Slather raise StandardError, "The specified build directory (#{self.build_directory}) does not exist" unless File.exists?(self.build_dire...
build_directory is being substituted in a string unnecessarily.
SlatherOrg_slather
train
rb
3b3731c14683cb941131f5ac134e462d7db8879e
diff --git a/src/Service/ViewHelper.php b/src/Service/ViewHelper.php index <HASH>..<HASH> 100644 --- a/src/Service/ViewHelper.php +++ b/src/Service/ViewHelper.php @@ -231,23 +231,11 @@ class ViewHelper if (!$this->renderer) { return ''; } - $response = $this->prepareResponseStream(...
simplified ViewHelper::render method; by using renderContent method of View.
TuumPHP_Respond
train
php
80e7071e7a5278d079e8e023267abf7e0da54f9a
diff --git a/src/Module.php b/src/Module.php index <HASH>..<HASH> 100644 --- a/src/Module.php +++ b/src/Module.php @@ -29,7 +29,7 @@ use luya\base\CoreModuleInterface; * * @author Basil Suter <basil@nadar.io> */ -class Module extends \luya\base\Module implements CoreModuleInterface +final class Module extends \lu...
set module classes as final in order to prevent extend from them when creating custom modules.
luyadev_luya-module-styleguide
train
php
51fe1a2d53cf13aad1fb39b2ad5bb717b32382e2
diff --git a/rejester/workers.py b/rejester/workers.py index <HASH>..<HASH> 100644 --- a/rejester/workers.py +++ b/rejester/workers.py @@ -391,7 +391,7 @@ class SingleWorker(Worker): return False try: if set_title: - setproctitle('rejester worker {} {}' + ...
setproctitle() in a way that doesn't fail if work unit keys have \0 bytes
diffeo_rejester
train
py
8dce6a98e7e5fca968392d6638c984ed3a5bb90d
diff --git a/src/operation.js b/src/operation.js index <HASH>..<HASH> 100644 --- a/src/operation.js +++ b/src/operation.js @@ -409,7 +409,7 @@ export class Operation { } /** - * Returns an XDR ManageDataOp. // + * This operation adds data entry to the ledger. * @param {object} opts * @pa...
Update ManageData operation jsdoc
stellar_js-stellar-base
train
js
39ef0025d831958a29ed9aeef924ad9e6396e463
diff --git a/test/oauth-signature.qunit.tests.js b/test/oauth-signature.qunit.tests.js index <HASH>..<HASH> 100644 --- a/test/oauth-signature.qunit.tests.js +++ b/test/oauth-signature.qunit.tests.js @@ -178,6 +178,8 @@ test('The value should be decoded following the RFC3986', function () { equal(new Rfc3986().decode(...
Added one more test for empty string
bettiolo_oauth-signature-js
train
js
c152010ffe0052de8ca6af501788b932ba405a9e
diff --git a/hazelcast/src/main/java/com/hazelcast/instance/Node.java b/hazelcast/src/main/java/com/hazelcast/instance/Node.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/instance/Node.java +++ b/hazelcast/src/main/java/com/hazelcast/instance/Node.java @@ -395,6 +395,10 @@ public class Nod...
DiscoveryService#destroy method moved to its own try-catch block, fixes #<I>
hazelcast_hazelcast
train
java
5aafbddf65945ac4b8c4947c9589a5205234d062
diff --git a/js/tooltip/lumx.tooltip_directive.js b/js/tooltip/lumx.tooltip_directive.js index <HASH>..<HASH> 100644 --- a/js/tooltip/lumx.tooltip_directive.js +++ b/js/tooltip/lumx.tooltip_directive.js @@ -108,6 +108,12 @@ angular.module('lumx.tooltip', []) tooltip.remove(); }, 200); ...
fix tooltip: remove element on scope destroy Sometimes the tooltip was still visible in the screen even after a page change. By deleting the tooltip's element from the DOM when the scope is destroyed, we ensure that the tooltip don't stay visible.
lumapps_lumX
train
js
de8b6758335b5d892a28219587229c496cfaf464
diff --git a/news-bundle/src/Resources/contao/dca/tl_news.php b/news-bundle/src/Resources/contao/dca/tl_news.php index <HASH>..<HASH> 100644 --- a/news-bundle/src/Resources/contao/dca/tl_news.php +++ b/news-bundle/src/Resources/contao/dca/tl_news.php @@ -860,6 +860,12 @@ class tl_news extends Backend if (strlen(Inpu...
[News] Correctly handle "toggle visibility" requests via Ajax
contao_contao
train
php
38e7bd50c0d8cd7610bc460386240ed33108bc75
diff --git a/tests/TextDiffTest.php b/tests/TextDiffTest.php index <HASH>..<HASH> 100644 --- a/tests/TextDiffTest.php +++ b/tests/TextDiffTest.php @@ -38,10 +38,11 @@ final class TextDiffTest extends \PHPUnit_Framework_TestCase $commandTester->execute( array( 'path' => array(__DIR...
TextDiffTest - tests should not produce cache file
FriendsOfPHP_PHP-CS-Fixer
train
php
06a88da3c83ce57cff84abf04aea8274a758e960
diff --git a/salt/daemons/flo/worker.py b/salt/daemons/flo/worker.py index <HASH>..<HASH> 100644 --- a/salt/daemons/flo/worker.py +++ b/salt/daemons/flo/worker.py @@ -11,7 +11,7 @@ import time import os import multiprocessing import logging -from six.moves import range +from salt.utils.six.moves import range # Im...
Replaced module six in file /salt/daemons/flo/worker.py
saltstack_salt
train
py
502b16d5e658928f6c9b1f0d0f1857337c3d6b50
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( 'art', ], classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Natural Language :: English', ...
fix : minor edit in setup file
sepandhaghighi_pycm
train
py
a19138f5d78bb4d5b7460dcfbb1237ee7e0d32c3
diff --git a/dir.go b/dir.go index <HASH>..<HASH> 100644 --- a/dir.go +++ b/dir.go @@ -9,7 +9,13 @@ import ( "bazil.org/fuse" ) +const dirSeparator = '/' + +// A "directory" in GCS, defined by an object name prefix. All prefixes end +// with dirSeparator except for the special case of the root directory, where +//...
Clarified the purpose of the dir struct.
jacobsa_timeutil
train
go
28e8973073a5e63abfc22ca28e6dad72cb65deae
diff --git a/builtin/credential/radius/backend_test.go b/builtin/credential/radius/backend_test.go index <HASH>..<HASH> 100644 --- a/builtin/credential/radius/backend_test.go +++ b/builtin/credential/radius/backend_test.go @@ -144,11 +144,6 @@ func TestBackend_users(t *testing.T) { } func TestBackend_acceptance(t *...
Since we run plenty of dockerized tests without requiring an env var to (#<I>) be set, let's make the Radius tests behave that way too.
hashicorp_vault
train
go
66efca5d06170b2386b6251a793fff1b172dc858
diff --git a/id/v4.go b/id/v4.go index <HASH>..<HASH> 100644 --- a/id/v4.go +++ b/id/v4.go @@ -1,11 +1,16 @@ -package uuid +package id -import uuid "github.com/satori/go.uuid" +import ( + "github.com/influxdata/chronograf" + uuid "github.com/satori/go.uuid" +) -// V4 implements chronograf.ID -type V4 struct{} +var ...
Rename V4 to UUID
influxdata_influxdb
train
go
5df397ad4ddeb611e4a3b8e1040d3544509716f0
diff --git a/panoptes_client/subject.py b/panoptes_client/subject.py index <HASH>..<HASH> 100644 --- a/panoptes_client/subject.py +++ b/panoptes_client/subject.py @@ -1,6 +1,10 @@ from __future__ import absolute_import, division, print_function -_OLD_STR = str +_OLD_STR_TYPES = (str,) +try: + _OLD_STR_TYPES = _OL...
Fix unicode location paths in Python 2
zooniverse_panoptes-python-client
train
py
ed6806d480d68d9379ea1b6cf77791facad655aa
diff --git a/programs/thellier_gui3.py b/programs/thellier_gui3.py index <HASH>..<HASH> 100755 --- a/programs/thellier_gui3.py +++ b/programs/thellier_gui3.py @@ -5381,6 +5381,7 @@ class Arai_GUI(wx.Frame): self.zijplot.set_xlim(xmin, xmax) self.zijplot.set_ylim(ymin, ymax) + self.zijplot.axi...
modified: thellier_gui3.py
PmagPy_PmagPy
train
py
022db7426eadfef9e2677f898dc0441481a16265
diff --git a/src/PhoneNumberUtil.php b/src/PhoneNumberUtil.php index <HASH>..<HASH> 100644 --- a/src/PhoneNumberUtil.php +++ b/src/PhoneNumberUtil.php @@ -807,7 +807,8 @@ class PhoneNumberUtil /** * Returns the region where a phone number is from. This could be used for geocoding at the region - * leve...
Update documentation for getRegionCodeForNumber Clarify that it does not work for short-codes or invalid numbers.
giggsey_libphonenumber-for-php
train
php
4b7bc92ff37efc6bccfec4d5fa2ec8d652f50243
diff --git a/gems/rake-support/lib/torquebox/server.rb b/gems/rake-support/lib/torquebox/server.rb index <HASH>..<HASH> 100644 --- a/gems/rake-support/lib/torquebox/server.rb +++ b/gems/rake-support/lib/torquebox/server.rb @@ -46,10 +46,10 @@ module TorqueBox def self.setup_environment ENV['TORQUEBOX_HOME...
Display a helpful error message when torquebox-server is being used but not listed in the Gemfile
torquebox_torquebox
train
rb
c20126a4955015faf5e92ead7339a9678fafcd6c
diff --git a/src/main/java/io/yawp/utils/EntityUtils.java b/src/main/java/io/yawp/utils/EntityUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/yawp/utils/EntityUtils.java +++ b/src/main/java/io/yawp/utils/EntityUtils.java @@ -70,10 +70,6 @@ public class EntityUtils { public static Class<?> getIdType(Cl...
idref key with name
feroult_yawp
train
java