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
ca7863596bd2b6494c6db0218f51c4de429890e9
diff --git a/lib/credentials.js b/lib/credentials.js index <HASH>..<HASH> 100644 --- a/lib/credentials.js +++ b/lib/credentials.js @@ -81,8 +81,12 @@ Credentials.prototype.upgrade = function (options) { let opsToUpgrade = options.upgrade let stsParams = { DurationSeconds: opsToUpgrade.durationSeconds | 900, ...
Anticipating new SMS MFA will allow omitted TokenCode at first call
glennschler_spotspec
train
js
937c836b32b594404fcdc259dfc06d00d3af2bdb
diff --git a/src/Processor/ExtensionSettingsSerializer.php b/src/Processor/ExtensionSettingsSerializer.php index <HASH>..<HASH> 100644 --- a/src/Processor/ExtensionSettingsSerializer.php +++ b/src/Processor/ExtensionSettingsSerializer.php @@ -36,7 +36,7 @@ class ExtensionSettingsSerializer implements ConfigProcessorInt...
Fix ExtensionSettingsSerializer to work with TYPO3 9
helhum_typo3-config-handling
train
php
94564189d405796ba215853ba5c20cc8dce7950a
diff --git a/vrpc/VrpcRemote.js b/vrpc/VrpcRemote.js index <HASH>..<HASH> 100644 --- a/vrpc/VrpcRemote.js +++ b/vrpc/VrpcRemote.js @@ -424,11 +424,27 @@ class VrpcRemote extends EventEmitter { this._domains[domain].agents[agent].hostname = hostname this.emit('agent', { domain, agent, status, hostn...
Not using object destructuring to please react
bheisen_vrpc
train
js
ff3b0ee80b414a4bfec257a4b80b0343a05d3a21
diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor4/interceptor/AspectHandler.java b/vraptor-core/src/main/java/br/com/caelum/vraptor4/interceptor/AspectHandler.java index <HASH>..<HASH> 100644 --- a/vraptor-core/src/main/java/br/com/caelum/vraptor4/interceptor/AspectHandler.java +++ b/vraptor-core/src/main/...
passing decorator for the simplerinterceptor
caelum_vraptor4
train
java
6d290ba254d2924d8ceeb2598ff4c4b104c8328a
diff --git a/go/vt/tabletmanager/gorpctmserver/gorpc_server_test.go b/go/vt/tabletmanager/gorpctmserver/gorpc_server_test.go index <HASH>..<HASH> 100644 --- a/go/vt/tabletmanager/gorpctmserver/gorpc_server_test.go +++ b/go/vt/tabletmanager/gorpctmserver/gorpc_server_test.go @@ -18,7 +18,7 @@ import ( // the test her...
Fix function that was renamed for Golint.
vitessio_vitess
train
go
4054c029752f4da405672675748e6cd7130eec1e
diff --git a/src/main/java/org/zendesk/client/v2/Zendesk.java b/src/main/java/org/zendesk/client/v2/Zendesk.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/zendesk/client/v2/Zendesk.java +++ b/src/main/java/org/zendesk/client/v2/Zendesk.java @@ -1616,6 +1616,12 @@ public class Zendesk implements Closeable { ...
Added helper method to view Help Center locales that are enabled
cloudbees_zendesk-java-client
train
java
1f66fd943f738eb1f98c317ec6ac4109c757301f
diff --git a/rollbar/test/test_rollbar.py b/rollbar/test/test_rollbar.py index <HASH>..<HASH> 100644 --- a/rollbar/test/test_rollbar.py +++ b/rollbar/test/test_rollbar.py @@ -396,6 +396,8 @@ class RollbarTest(BaseTest): # Inject annotations and decorate endpoint dynamically # to avoid SyntaxError for ...
Add comment to workaround Python2 SyntaxError Commented out code is the proper scenario but cannot be used as the test file is run under Python2
rollbar_pyrollbar
train
py
fa445f31204615b218981f5b4fea46fedf55a46d
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py index <HASH>..<HASH> 100644 --- a/flask_oidc/__init__.py +++ b/flask_oidc/__init__.py @@ -178,9 +178,9 @@ class OpenIDConnect(object): # create signers using the Flask secret key self.extra_data_serializer = JSONWebSignatureSerializer( - ...
Fixes #<I> -- added salts to the signers
puiterwijk_flask-oidc
train
py
f6f9d6a6354e3a4d0ec78b00a6d3dc653bf4d03a
diff --git a/lib/right_api_client/resource.rb b/lib/right_api_client/resource.rb index <HASH>..<HASH> 100644 --- a/lib/right_api_client/resource.rb +++ b/lib/right_api_client/resource.rb @@ -3,7 +3,7 @@ module RightApi # This class dynamically adds methods and properties to instances depending on what type of resour...
acu<I> added missing Resource#resource_type accessor
rightscale_right_api_client
train
rb
750257a4df4766877086433137296e0197545e27
diff --git a/upload/extension/opencart/catalog/controller/payment/bank_transfer.php b/upload/extension/opencart/catalog/controller/payment/bank_transfer.php index <HASH>..<HASH> 100644 --- a/upload/extension/opencart/catalog/controller/payment/bank_transfer.php +++ b/upload/extension/opencart/catalog/controller/payment...
Added str_replace to JSON redirect
opencart_opencart
train
php
553107a667ed809e1e0026896b8aa3e5f272ab40
diff --git a/logical/framework/backend.go b/logical/framework/backend.go index <HASH>..<HASH> 100644 --- a/logical/framework/backend.go +++ b/logical/framework/backend.go @@ -129,8 +129,11 @@ func (b *Backend) Secret(k string) *Secret { func (b *Backend) init() { b.pathsRe = make([]*regexp.Regexp, len(b.Paths)) fo...
logical/framework: Panic if routing pattern is blank
hashicorp_vault
train
go
0691453bef2e433582b5510b6f498af8155b3b3b
diff --git a/pghoard/transfer.py b/pghoard/transfer.py index <HASH>..<HASH> 100644 --- a/pghoard/transfer.py +++ b/pghoard/transfer.py @@ -251,8 +251,13 @@ class TransferAgent(Thread): self.stats.unexpected_exception(ex, where="handle_upload_unlink") return {"success": True, "opaque": ...
transfer: Ignore upload errors for statistics purposes on first try Some object storages have frequent internal errors once in a while, no point in logging those because of this ignore upload failures on the first try.
aiven_pghoard
train
py
7cd35f43e9aed65549c44456cd3262fd98fa5e45
diff --git a/reloader/reloader_test.go b/reloader/reloader_test.go index <HASH>..<HASH> 100644 --- a/reloader/reloader_test.go +++ b/reloader/reloader_test.go @@ -41,8 +41,8 @@ func TestNoRead(t *testing.T) { } _, err := New(f.Name(), noop, testErrCb(t)) if err == nil { - t.Fatalf("Expected New to return error w...
fix minor unreachable code caused by t.Fatal (#<I>)
letsencrypt_boulder
train
go
3136a9d5a9f6c2ab96f53aa3e82ef0d2dbe6b7d8
diff --git a/docs/client/components/pages/Mention/gettingStarted.js b/docs/client/components/pages/Mention/gettingStarted.js index <HASH>..<HASH> 100644 --- a/docs/client/components/pages/Mention/gettingStarted.js +++ b/docs/client/components/pages/Mention/gettingStarted.js @@ -2,6 +2,7 @@ import Editor from 'draft-js...
docs(Mention, Sticker): adding immutablejs import to getting started files
draft-js-plugins_draft-js-plugins
train
js,js
bc178527bc36b772f0369a3f7628801fa6364f20
diff --git a/lib/discordrb/api.rb b/lib/discordrb/api.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/api.rb +++ b/lib/discordrb/api.rb @@ -71,10 +71,10 @@ module Discordrb::API end response = raw_request(type, attributes) - rescue RestClient::TooManyRequests + rescue RestClient::TooManyRequest...
Automatically retry a request on <I> instead of raising an error
meew0_discordrb
train
rb
c8bcee48b979d56757b458ef6c84629aa8ba3f3a
diff --git a/src/main/java/org/workdocx/cryptolite/Password.java b/src/main/java/org/workdocx/cryptolite/Password.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/workdocx/cryptolite/Password.java +++ b/src/main/java/org/workdocx/cryptolite/Password.java @@ -10,6 +10,9 @@ import java.util.Arrays; * password h...
Added note about Jasypt inspiration for Password hashing.
davidcarboni_cryptolite-java
train
java
ff8777d9fd6ec7accd410a71db03bf0d7a6e2609
diff --git a/mapping/core/src/test/java/it/unibz/inf/ontop/spec/mapping/parser/TurtleSyntaxParserTest.java b/mapping/core/src/test/java/it/unibz/inf/ontop/spec/mapping/parser/TurtleSyntaxParserTest.java index <HASH>..<HASH> 100644 --- a/mapping/core/src/test/java/it/unibz/inf/ontop/spec/mapping/parser/TurtleSyntaxParse...
Unit test for BNODE parser
ontop_ontop
train
java
db6ae376f888093a961cec1324875c062705d158
diff --git a/worker/uniter/modes.go b/worker/uniter/modes.go index <HASH>..<HASH> 100644 --- a/worker/uniter/modes.go +++ b/worker/uniter/modes.go @@ -188,10 +188,25 @@ func ModeTerminating(u *Uniter) (next Mode, err error) { if err = u.unit.SetStatus(state.UnitStopped, ""); err != nil { return nil, err } - if e...
subordinate-handling uniter death sketch
juju_juju
train
go
8d7925bfa6a28f7385680e575500e71cd338bba4
diff --git a/src/main/java/com/ibm/disni/nvmef/spdk/IOCompletion.java b/src/main/java/com/ibm/disni/nvmef/spdk/IOCompletion.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/ibm/disni/nvmef/spdk/IOCompletion.java +++ b/src/main/java/com/ibm/disni/nvmef/spdk/IOCompletion.java @@ -44,6 +44,7 @@ public class IOComp...
nvmef: fix completion done immediately because of missing update
zrlio_disni
train
java
c7b5063616bb33770b8c2da665389a7ef76ab773
diff --git a/lib/generator.js b/lib/generator.js index <HASH>..<HASH> 100644 --- a/lib/generator.js +++ b/lib/generator.js @@ -807,7 +807,8 @@ } else if (message.type === "pixmap") { pixmapDeferred.resolve(message.value); } else { - _logger.warn("Unexpected resp...
Reject promise returned by getPixmap upon receiving an unexpected response from Photoshop
adobe-photoshop_generator-core
train
js
f583a5b85841e5223ecb1ef1261c37f80d60218c
diff --git a/vyper/parser/events.py b/vyper/parser/events.py index <HASH>..<HASH> 100644 --- a/vyper/parser/events.py +++ b/vyper/parser/events.py @@ -1,5 +1,5 @@ from vyper import ast as vy_ast -from vyper.exceptions import TypeMismatch +from vyper.exceptions import StructureException, TypeMismatch from vyper.parser...
fix: explicitly disallow empty on bytes-array types in event logging
ethereum_vyper
train
py
8559dbd0179a0a0a2e03b2ce236d6a9488cbc8ce
diff --git a/src/lib/flatten.js b/src/lib/flatten.js index <HASH>..<HASH> 100644 --- a/src/lib/flatten.js +++ b/src/lib/flatten.js @@ -50,10 +50,10 @@ module.exports = { if (isPlural) { ctxKey = ctxKey.substring(0, pluralIndex); if (ctxKey.indexOf(ctxSeparator) > -1) { - contex...
If the ctxSeparator is a string with more than one char, it didn't work
i18next_i18next-gettext-converter
train
js
a8dc2436d4c73f016cc38f4a71a3cefe18886685
diff --git a/metal/mmtl/aws/grid_search_mmtl.py b/metal/mmtl/aws/grid_search_mmtl.py index <HASH>..<HASH> 100644 --- a/metal/mmtl/aws/grid_search_mmtl.py +++ b/metal/mmtl/aws/grid_search_mmtl.py @@ -54,7 +54,7 @@ def create_command_dict(config_path, launch_args): "rm -rf metal;" "git clone -b mmtl htt...
updated pinned hash for grid_search_mmtl.py
HazyResearch_metal
train
py
1eb3925440d66901621c174ef0bca22ce37cd09e
diff --git a/photutils/segmentation/tests/test_detect.py b/photutils/segmentation/tests/test_detect.py index <HASH>..<HASH> 100644 --- a/photutils/segmentation/tests/test_detect.py +++ b/photutils/segmentation/tests/test_detect.py @@ -135,6 +135,10 @@ class TestDetectSources(object): segm2 = detect_sources(dat...
Add another mask test for detect_sources
astropy_photutils
train
py
d98f54593ec19bf1523f36692df45c490a890fd1
diff --git a/examples/v2/order/OrderNotify.php b/examples/v2/order/OrderNotify.php index <HASH>..<HASH> 100644 --- a/examples/v2/order/OrderNotify.php +++ b/examples/v2/order/OrderNotify.php @@ -29,7 +29,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { $order = OpenPayU_Order::retrieve($result->getResponse...
http_response_code(<I>); changed to header in order to be compatible with older PHP versions
PayU_openpayu_php
train
php
1a8d893fb19454e7a1937b6a8408e8d3edec9c6d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,18 @@ from setuptools import setup, Extension +from os.path import dirname, abspath + +DIR = dirname(abspath(__file__)) yahdlc = Extension( 'yahdlc', - sources = ['src/python4yahdlc.c', 'lib/fcs16.c', 'lib/yahdlc...
fix relative path problem in 'setup.py' file
SkypLabs_python4yahdlc
train
py
6556eba9b75b627a2fef028fc22686172eaddb62
diff --git a/tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java b/tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java index <HASH>..<HASH> 100644 --- a/tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java +++ b/tools/src/main/java...
Contribution by Luca Molino. Fixed issue <I>
orientechnologies_orientdb
train
java
149095bd812e9dc4fb825990d89cb3824968711c
diff --git a/lib/cloudshaper/provider.rb b/lib/cloudshaper/provider.rb index <HASH>..<HASH> 100644 --- a/lib/cloudshaper/provider.rb +++ b/lib/cloudshaper/provider.rb @@ -6,7 +6,9 @@ module Cloudshaper class Provider < StackElement def load_secrets(name) @secrets ||= {} - @secrets[name.to_sym] = SEC...
Prevent a nil error by only adding secrets that exist.
dalehamel_cloudshaper
train
rb
7de0142cce4df603dcc0868002e57f21f3fbdb02
diff --git a/lib/ProMotion/table/table.rb b/lib/ProMotion/table/table.rb index <HASH>..<HASH> 100644 --- a/lib/ProMotion/table/table.rb +++ b/lib/ProMotion/table/table.rb @@ -38,6 +38,11 @@ module ProMotion table_view end + def is_searching? + return true if self.class.respond_to?(:get_searchable)...
Allow the parent VC to tell if the current data is being filtered or not.
infinitered_ProMotion
train
rb
875dacc00ad398cde2d600a72487355a255b49b3
diff --git a/packages/schema/src/socket.js b/packages/schema/src/socket.js index <HASH>..<HASH> 100644 --- a/packages/schema/src/socket.js +++ b/packages/schema/src/socket.js @@ -30,7 +30,7 @@ export default { uniqueItems: true, items: { type: 'string', - maxLength: 12 + maxLength: ...
chore(): keywords has <I> chars limit
Syncano_syncano-node
train
js
4578fc4e0b6d6355cdd8accea160f28cc448e2c9
diff --git a/spec/pcore/_pat_arr_spec.rb b/spec/pcore/_pat_arr_spec.rb index <HASH>..<HASH> 100644 --- a/spec/pcore/_pat_arr_spec.rb +++ b/spec/pcore/_pat_arr_spec.rb @@ -149,6 +149,35 @@ describe 'Flor procedures' do }) end + # Commenting that out. + # This should be done using two _pat_arr + # Th...
Add commented out spec _pat _arr / _or / _guard _or stand in the way of _arr when selecting what to pass to _guard...
floraison_flor
train
rb
4adc7fd22b6600a75832354fa61b2c3d9629ce70
diff --git a/lib/pgsync/table_sync.rb b/lib/pgsync/table_sync.rb index <HASH>..<HASH> 100644 --- a/lib/pgsync/table_sync.rb +++ b/lib/pgsync/table_sync.rb @@ -129,8 +129,8 @@ module PgSync end end ensure - file.close - file.unlink + file.close + fil...
Fixed indentation [skip ci]
ankane_pgsync
train
rb
6e793a1d7ca813567c14cb09c5850e3490120d12
diff --git a/devices.js b/devices.js index <HASH>..<HASH> 100644 --- a/devices.js +++ b/devices.js @@ -1977,7 +1977,7 @@ const devices = [ }, }, { - zigbeeModel: ['GL-D-003Z'], + zigbeeModel: ['GL-D-003Z', 'GL-D-005Z'], model: 'GL-D-003Z', vendor: 'Gledopto', ...
Update devices.js (#<I>)
Koenkk_zigbee-shepherd-converters
train
js
ff13d8d9fd7f902c8451bd4e241ab69169fff4fc
diff --git a/lib/puppet/provider/service/launchd.rb b/lib/puppet/provider/service/launchd.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/provider/service/launchd.rb +++ b/lib/puppet/provider/service/launchd.rb @@ -55,6 +55,10 @@ Puppet::Type.type(:service).provide :launchd, :parent => :base do Launchd_Overrides =...
Add comment explaining helper method This commit adds a comment explaining when plist overrides were enabled and why we added the has_macosx_plist_overrides? method.
puppetlabs_puppet
train
rb
059b50f3997ac88cdb9d31ddc9de45f644de5a86
diff --git a/routes/tokens.go b/routes/tokens.go index <HASH>..<HASH> 100644 --- a/routes/tokens.go +++ b/routes/tokens.go @@ -107,6 +107,15 @@ func TokensCreate(w http.ResponseWriter, r *http.Request) { return } + // "registered" accounts can't log in + if user.Status == "registered" { + utils.JSONResponse(w, ...
don't let in users whose status is registered
lavab_api
train
go
7a02c35e8ee2cf8beea80a492d5f867007d7962c
diff --git a/spec/sandbox/sandbox_spec.rb b/spec/sandbox/sandbox_spec.rb index <HASH>..<HASH> 100644 --- a/spec/sandbox/sandbox_spec.rb +++ b/spec/sandbox/sandbox_spec.rb @@ -39,7 +39,7 @@ describe Sandbox, "Shikashi sandbox" do end - module A + module ::A module B module C @@ -51,12 +51,12 @@ de...
<I> test pass for ruby<I>: fixed constant creation
tario_shikashi
train
rb
6c5fc0322f678821bc7d601a36252966e179a617
diff --git a/test/test-forked-actor.js b/test/test-forked-actor.js index <HASH>..<HASH> 100644 --- a/test/test-forked-actor.js +++ b/test/test-forked-actor.js @@ -281,6 +281,16 @@ describe('ForkedActor', function() { expect(result).to.be.equal('Hello ' + process.pid); })); + + it('should support variab...
(saymon) fix-bulk-operations: Added test that reproduces the issue.
untu_comedy
train
js
32753c3d241c9238b2a34f61fd44399453d7b455
diff --git a/container.go b/container.go index <HASH>..<HASH> 100644 --- a/container.go +++ b/container.go @@ -1365,9 +1365,9 @@ func (container *Container) Unmount() error { mounts = append(mounts, path.Join(root, r)) } - for _, m := range mounts { - if lastError := mount.Unmount(m); lastError != nil { - err...
Fix for issue #<I> This is a fix for the case that one mount is inside another mount and docker can't then delete the resulting container. Docker-DCO-<I>-
moby_moby
train
go
50b9ac6a6dc1ba61dba8e8f8e82962831ccb3e81
diff --git a/salt/modules/status.py b/salt/modules/status.py index <HASH>..<HASH> 100644 --- a/salt/modules/status.py +++ b/salt/modules/status.py @@ -1127,6 +1127,10 @@ def proxy_reconnect(proxy_name, opts=None): opts: None Opts dictionary. + + CLI Example: + + salt '*' status.proxy_reconnect...
Fixup docs that don't have a CLI Example - log functions shouldn't be used at the CLI level: added to allow_failure in test - Added example for status.proxy_reconnect
saltstack_salt
train
py,py
038c6afadf827981e30a8472e5ddd654ccbcab56
diff --git a/src/main/java/org/sakaiproject/nakamura/lite/content/ContentManagerImpl.java b/src/main/java/org/sakaiproject/nakamura/lite/content/ContentManagerImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/sakaiproject/nakamura/lite/content/ContentManagerImpl.java +++ b/src/main/java/org/sakaiproject/nak...
Added some protection against copying from invalid content objects, should alow admins to fix the problem or at least know there is one.
ieb_sparsemapcontent
train
java
5e26c382048fd7af30b5caa57f12e7e6d82407ef
diff --git a/src/Command/RoutesCommand.php b/src/Command/RoutesCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/RoutesCommand.php +++ b/src/Command/RoutesCommand.php @@ -43,10 +43,7 @@ class RoutesCommand extends Command $output = []; foreach (Router::routes() as $route) { - $met...
Fix bug, was not showing _method when type string
cakephp_cakephp
train
php
dfaa8f8796e7bed2ec68e96eee318a57846a94e5
diff --git a/sqlparse/sqlparse.go b/sqlparse/sqlparse.go index <HASH>..<HASH> 100644 --- a/sqlparse/sqlparse.go +++ b/sqlparse/sqlparse.go @@ -10,12 +10,16 @@ import ( ) const ( - sqlCmdPrefix = "-- +migrate " + sqlCmdPrefix = "-- +migrate " + optionNoTransaction = "notransaction" ) type ParsedMigration ...
Add parser support for "notransaction" option
rubenv_sql-migrate
train
go
8bf46d4e32fb7ef44895c451b5cd2548e3badf30
diff --git a/torchvision/transforms/functional_pil.py b/torchvision/transforms/functional_pil.py index <HASH>..<HASH> 100644 --- a/torchvision/transforms/functional_pil.py +++ b/torchvision/transforms/functional_pil.py @@ -119,7 +119,7 @@ def adjust_gamma( input_mode = img.mode img = img.convert("RGB") - ...
Fix functional.adjust_gamma (#<I>)
pytorch_vision
train
py
8b22919c44b8d0461816c204f234a0bbfc525c4d
diff --git a/nephele/nephele-common/src/main/java/eu/stratosphere/nephele/template/AbstractInvokable.java b/nephele/nephele-common/src/main/java/eu/stratosphere/nephele/template/AbstractInvokable.java index <HASH>..<HASH> 100644 --- a/nephele/nephele-common/src/main/java/eu/stratosphere/nephele/template/AbstractInvokab...
Removed final modifier for the sake of the PACT tests
apache_flink
train
java
718102572a13d7e70d1f2c0b48b6b60a766b76b2
diff --git a/lib/watcher.js b/lib/watcher.js index <HASH>..<HASH> 100644 --- a/lib/watcher.js +++ b/lib/watcher.js @@ -73,7 +73,7 @@ var getWatchedPatterns = function(patternObjects) { }); }; -exports.watch = function(patterns, excludes, fileList, usePolling) { +exports.watch = function(patterns, excludes, fileLi...
fix(watcher): Close file watchers on exit event
karma-runner_karma
train
js
46a530273e4d321ca1e0accbb3029a40908fb298
diff --git a/libraries/joomla/cache/storage/file.php b/libraries/joomla/cache/storage/file.php index <HASH>..<HASH> 100644 --- a/libraries/joomla/cache/storage/file.php +++ b/libraries/joomla/cache/storage/file.php @@ -197,6 +197,10 @@ class JCacheStorageFile extends JCacheStorage // files older than lifeTime get de...
Fixed problem with Purge Expired Cache removing administrator/cache/index.html file Credit: Peter Chovancak, Nikolai Plath <URL>
joomla_joomla-framework
train
php
37641c3932da3f0d4bf6e59ce6087a8cac8b84ec
diff --git a/src/de/invation/code/toval/misc/Allocation.java b/src/de/invation/code/toval/misc/Allocation.java index <HASH>..<HASH> 100755 --- a/src/de/invation/code/toval/misc/Allocation.java +++ b/src/de/invation/code/toval/misc/Allocation.java @@ -11,7 +11,7 @@ import java.util.Set; public class Allocation { ...
Removed unnecessary restriction to ArrayList in return value of method getMapping()
GerdHolz_TOVAL
train
java
35b1fc0194bfd018b3b7ec2371652c08e0c67693
diff --git a/keanu-python/tests/test_random.py b/keanu-python/tests/test_random.py index <HASH>..<HASH> 100644 --- a/keanu-python/tests/test_random.py +++ b/keanu-python/tests/test_random.py @@ -6,9 +6,11 @@ def test_default_keanu_random(): random = keanu_random.next_double() assert type(random) == float + ...
Add more assertions to keanu random tests
improbable-research_keanu
train
py
984951a6032897395798cce8371d2d726ea85603
diff --git a/lib/createsend.rb b/lib/createsend.rb index <HASH>..<HASH> 100644 --- a/lib/createsend.rb +++ b/lib/createsend.rb @@ -26,7 +26,8 @@ class CreateSendError < StandardError attr_reader :data def initialize(data) @data = data - extra = self.data.ResultData ? "\nExtra result data: #{self.data.Resu...
Fixed CreateSendError so that extra result data is populated correctly.
campaignmonitor_createsend-ruby
train
rb
b901f04e33575baca3c6c289dbb6c238bc25b0e9
diff --git a/dev/test/cypress/plugins/index.js b/dev/test/cypress/plugins/index.js index <HASH>..<HASH> 100644 --- a/dev/test/cypress/plugins/index.js +++ b/dev/test/cypress/plugins/index.js @@ -180,10 +180,6 @@ module.exports = (on, config) => { } return defaultCustomer; }, - log: logObject => { ...
feat(cypress-tests): remove clog CDPIP-OPS
emartech_magento2-extension
train
js,js
7a77a1ea02bb037bc2134ea8309c298374facb94
diff --git a/lewis/core/simulation.py b/lewis/core/simulation.py index <HASH>..<HASH> 100644 --- a/lewis/core/simulation.py +++ b/lewis/core/simulation.py @@ -223,8 +223,8 @@ class Simulation(object): with self._adapters.device_lock: self._device.process(delta_simulation) - ...
Fix problems with ControlServer deadlock
DMSC-Instrument-Data_lewis
train
py
98f3bdd52b6086c4d41c52a5cf0b55736d329c3c
diff --git a/tests/test_pick.py b/tests/test_pick.py index <HASH>..<HASH> 100644 --- a/tests/test_pick.py +++ b/tests/test_pick.py @@ -36,6 +36,17 @@ class TestPick(unittest.TestCase): lines, current_line = picker.get_lines() assert current_line == 1 + def test_multi_select(self): + title ...
* Added unit test for multiselect \n* Example output for multi_select in readme \n* simplifying some code
wong2_pick
train
py
6014fff1d28284d56d768514737885de47cf17a5
diff --git a/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/SubjectUtil.java b/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/SubjectUtil.java index <HASH>..<HASH> 100644 --- a/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/SubjectUtil....
[WFLY-<I>]:Fix roleMapper is lost in SecurityIndentity
wildfly_wildfly
train
java
7b3e48b2572bba9dcc9cfa0b05ebf0d704ada71a
diff --git a/packages/perspective-viewer-d3fc/src/js/tooltip/generateHTML.js b/packages/perspective-viewer-d3fc/src/js/tooltip/generateHTML.js index <HASH>..<HASH> 100644 --- a/packages/perspective-viewer-d3fc/src/js/tooltip/generateHTML.js +++ b/packages/perspective-viewer-d3fc/src/js/tooltip/generateHTML.js @@ -17,7 ...
Fixed tooltip for xy with split
finos_perspective
train
js
554fd04147ea41d7b497ccda503ea4c938d27a75
diff --git a/lib/smart_que.rb b/lib/smart_que.rb index <HASH>..<HASH> 100644 --- a/lib/smart_que.rb +++ b/lib/smart_que.rb @@ -16,4 +16,18 @@ module SmartQue yield(config) if block_given? config end + + # Establish bunny connection + def self.establish_connection + return @conn if @conn + + @conn |...
Establish bunny connection with credentials.
ashiksp_smart_que
train
rb
27824b367851a1be26d26be7bb30a7891f1e84f3
diff --git a/lib/gemnasium/options.rb b/lib/gemnasium/options.rb index <HASH>..<HASH> 100644 --- a/lib/gemnasium/options.rb +++ b/lib/gemnasium/options.rb @@ -60,7 +60,7 @@ See `gemnasium COMMAND --help` for more information on a specific command. 'push' => OptionParser.new do |opts| opts.banner ...
Clearer doc for the ignore-branch option
gemnasium_gemnasium-gem
train
rb
8f930a8effbd5644adb2fa6619d86b8bc05420aa
diff --git a/lib/mysql2_model.rb b/lib/mysql2_model.rb index <HASH>..<HASH> 100755 --- a/lib/mysql2_model.rb +++ b/lib/mysql2_model.rb @@ -1,7 +1,5 @@ require 'rubygems' -require 'active_support/core_ext/object/blank' -require 'active_support/core_ext/time' -require 'active_support/core_ext/date_time' +require 'active...
fix acts_like? issue when using mysql2_model with newrelic_rpm
donnoman_mysql2_model
train
rb
213c70d12d7344633fa56a6c0ca27abb15d80325
diff --git a/src/containers/typeaheadContainer.js b/src/containers/typeaheadContainer.js index <HASH>..<HASH> 100644 --- a/src/containers/typeaheadContainer.js +++ b/src/containers/typeaheadContainer.js @@ -403,7 +403,19 @@ function typeaheadContainer(Component) { } _handleRootClose = (e) => { - this.s...
Fix positionFixed + pagination behavior (#<I>)
ericgio_react-bootstrap-typeahead
train
js
e2ccf88bf81c748aa7770ef826c6122745953e4f
diff --git a/go/vt/orchestrator/logic/tablet_discovery.go b/go/vt/orchestrator/logic/tablet_discovery.go index <HASH>..<HASH> 100644 --- a/go/vt/orchestrator/logic/tablet_discovery.go +++ b/go/vt/orchestrator/logic/tablet_discovery.go @@ -59,7 +59,7 @@ func OpenTabletDiscovery() <-chan time.Time { // RefreshTablets re...
orc: ReadTopologyInstance->DiscoverInstance
vitessio_vitess
train
go
faea2af90ac6c3afbd31cd721fa426e118ae15c5
diff --git a/lib/util/Components.js b/lib/util/Components.js index <HASH>..<HASH> 100644 --- a/lib/util/Components.js +++ b/lib/util/Components.js @@ -319,13 +319,18 @@ function componentRule(rule, context) { * @param {ASTNode} ASTnode The AST node being checked */ findReturnStatement: function(node) {...
Add suport for FunctionDeclaration to findReturnStatement findReturnStatement expect "node.value.body.body" to exist, but for FunctionDeclarations the correct path to the ReturnStatement is "node.body.body"
ytanruengsri_eslint-plugin-react-ssr
train
js
6980373f522668029bf54a2a4d337520259bc149
diff --git a/windows/lib/WixSDK.js b/windows/lib/WixSDK.js index <HASH>..<HASH> 100644 --- a/windows/lib/WixSDK.js +++ b/windows/lib/WixSDK.js @@ -174,6 +174,9 @@ function(app_path, xwalk_path, meta_data, callback) { AddFileComponent(app_root_folder, xwalk_path, 'icudtl.dat'); AddFileComponent(app_root_folde...
Make sure to pack OpenGL dll files with the application. Starting with build <I> we're shipping few extra DLLs which are needed for WebGL support. This patch make sure we pack them in the final .msi. BUG=XWALK-<I>, XWALK-<I>
crosswalk-project_crosswalk-app-tools
train
js
0c25a6d3a572dce144aa79aefa8d6115060c7ece
diff --git a/pyOCD/target/target_MKL28Z512xxx7.py b/pyOCD/target/target_MKL28Z512xxx7.py index <HASH>..<HASH> 100644 --- a/pyOCD/target/target_MKL28Z512xxx7.py +++ b/pyOCD/target/target_MKL28Z512xxx7.py @@ -182,8 +182,9 @@ class KL28x(Kinetis): logging.debug("KEYATTR=0x%x SDID=0x%08x", keyattr, sdid) ...
KL<I>x target resets the core0 memory map for dual core devices.
mbedmicro_pyOCD
train
py
364ca95d3f74e9cd42799a71920b2e65252b7b5a
diff --git a/src/features/reference-line.js b/src/features/reference-line.js index <HASH>..<HASH> 100644 --- a/src/features/reference-line.js +++ b/src/features/reference-line.js @@ -11,19 +11,19 @@ return { accessors: { x1: function() { - return this.x(0); + return this.x(this.x....
Correctly draw the default position of the reference-line (which should be a diagonal line across the entire chart).
heavysixer_d4
train
js
4ac06a342b48e25cf79773a7d9d1cf57f0f6c564
diff --git a/plugin/proxy/dns.go b/plugin/proxy/dns.go index <HASH>..<HASH> 100644 --- a/plugin/proxy/dns.go +++ b/plugin/proxy/dns.go @@ -89,15 +89,12 @@ func exchange(m *dns.Msg, co net.Conn) (*dns.Msg, error) { writeDeadline := time.Now().Add(defaultTimeout) dnsco.SetWriteDeadline(writeDeadline) - dnsco.WriteM...
[plugin/proxy]: Return on WriteMsg err. (#<I>) * [plugin/proxy]: Return on WriteMsg err. Followup PR on the heels of #<I>. Short-circut and log on error from `WriteMsg`. This will prevent code getting stuck on `ReadMsg` and allow for easier debugging. Also simply the `ReadMsg` calling code a little - remove do...
coredns_coredns
train
go
363360571d0d60a936bbd56a6802caec48195fe3
diff --git a/lib/active_scaffold/helpers/pagination_helpers.rb b/lib/active_scaffold/helpers/pagination_helpers.rb index <HASH>..<HASH> 100644 --- a/lib/active_scaffold/helpers/pagination_helpers.rb +++ b/lib/active_scaffold/helpers/pagination_helpers.rb @@ -42,7 +42,7 @@ module ActiveScaffold start_number.u...
Set current page inside a span tag so it's possible to style it
activescaffold_active_scaffold
train
rb,rb
fc35839c793dfe2e3294c0f526dcc4cb5741533b
diff --git a/src/core/lombok/eclipse/handlers/HandleBuilder.java b/src/core/lombok/eclipse/handlers/HandleBuilder.java index <HASH>..<HASH> 100644 --- a/src/core/lombok/eclipse/handlers/HandleBuilder.java +++ b/src/core/lombok/eclipse/handlers/HandleBuilder.java @@ -382,6 +382,7 @@ public class HandleBuilder extends Ec...
Copy annotations in Eclipse HandleBuilder.
rzwitserloot_lombok
train
java
15f6d0eebd1bb1111a38bffe70a0d03237984cbf
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -21,16 +21,19 @@ while (!TZDIR && possibleTzdirs.length > 0) { TZDIR = d; } catch(e) {} } +possibleTzdirs = null; if (!TZDIR) throw new Error("FATAL: Couldn't determine the location of your timezone directory!"); ...
Cleanup and do the TZ stuff in a try/catch.
TooTallNate_node-time
train
js
6ba7a89283886f23f56e0397e01a3ba4568efa4f
diff --git a/src/main/java/mobi/designmyapp/common/instance/provider/InstanceProvider.java b/src/main/java/mobi/designmyapp/common/instance/provider/InstanceProvider.java index <HASH>..<HASH> 100644 --- a/src/main/java/mobi/designmyapp/common/instance/provider/InstanceProvider.java +++ b/src/main/java/mobi/designmyapp/...
Implemented InstanceProvider level TTL
e-biz_designmyapp-common-api
train
java
93d967c901e27c63aa17fccd3d056ead98ecb168
diff --git a/isvcs/isvc.go b/isvcs/isvc.go index <HASH>..<HASH> 100644 --- a/isvcs/isvc.go +++ b/isvcs/isvc.go @@ -29,9 +29,9 @@ var ( const ( IMAGE_REPO = "zenoss/serviced-isvcs" - IMAGE_TAG = "v45" + IMAGE_TAG = "v46" ZK_IMAGE_REPO = "zenoss/isvcs-zookeeper" - ZK_IMAGE_TAG = "v6" + ZK_IMAGE_TAG = ...
Use isvcs images containing Java 8 versions of query and consumer
control-center_serviced
train
go
c729d72fc6d31af4d6a2567cc705c78d42bdb54e
diff --git a/examples/training/train_new_entity_type.py b/examples/training/train_new_entity_type.py index <HASH>..<HASH> 100644 --- a/examples/training/train_new_entity_type.py +++ b/examples/training/train_new_entity_type.py @@ -29,8 +29,8 @@ def train_ner(nlp, train_data, output_dir): doc = nlp.make_doc...
Add new example for training new entity types
explosion_spaCy
train
py
3fa0e226060e6973a87856ee744a82a0819af255
diff --git a/lib/rapgenius/scraper.rb b/lib/rapgenius/scraper.rb index <HASH>..<HASH> 100644 --- a/lib/rapgenius/scraper.rb +++ b/lib/rapgenius/scraper.rb @@ -9,8 +9,8 @@ module RapGenius def url=(url) - if !(url =~ /^https?:\/\//) - @url = "#{BASE_URL}#{url}" + unless url =~ /^https?:\/\// +...
Refactor Scraper#url= a bit
timrogers_rapgenius
train
rb
443af589952f88a72074e3256688a23ef901ae89
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates...
Its assets.enabled, not assets.enable
rails_rails
train
rb
d89ac6a2c7fa85f018cdf47570ccd408fc1fd393
diff --git a/lib/childprocess/jruby/process.rb b/lib/childprocess/jruby/process.rb index <HASH>..<HASH> 100755 --- a/lib/childprocess/jruby/process.rb +++ b/lib/childprocess/jruby/process.rb @@ -80,8 +80,8 @@ module ChildProcess def setup_io if @io - @pumps << redirect(@process.getErrorStream...
Fix #stop on JRuby when only one IO stream is redirected.
enkessler_childprocess
train
rb
2b9ab5f118af81ba7586ec256e944c09d3f0919f
diff --git a/rows.go b/rows.go index <HASH>..<HASH> 100644 --- a/rows.go +++ b/rows.go @@ -14,15 +14,15 @@ import ( ) type mysqlField struct { - name string fieldType byte flags fieldFlag + name string } type mysqlRows struct { mc *mysqlConn - binary bool columns []mysqlField + binar...
rows: reorder struct fields
go-sql-driver_mysql
train
go
0724e2dad7fe93a9756d0b0f4f5c1b6e8f9485e8
diff --git a/bind.go b/bind.go index <HASH>..<HASH> 100644 --- a/bind.go +++ b/bind.go @@ -29,7 +29,7 @@ func BindType(driverName string) int { return QUESTION case "sqlite3": return QUESTION - case "oci8", "ora", "goracle": + case "oci8", "ora", "goracle", "godror": return NAMED case "sqlserver": retur...
Added support for Godror's oracle driver
jmoiron_sqlx
train
go
bc139a202c2738caef110132a98e3fb8f7cdb1e5
diff --git a/manifest.go b/manifest.go index <HASH>..<HASH> 100644 --- a/manifest.go +++ b/manifest.go @@ -39,7 +39,7 @@ type RootManifest interface { // them can harm the ecosystem as a whole. Overrides() ProjectConstraints - // IngoredPackages returns a set of import paths to ignore. These import + // IgnoredPa...
Fix typo in manifest.go docstring :)
sdboyer_gps
train
go
87914881cc76c8d0ab729e732294448931816957
diff --git a/tangelo/plugins/vtkweb/web/vtkweb.py b/tangelo/plugins/vtkweb/web/vtkweb.py index <HASH>..<HASH> 100644 --- a/tangelo/plugins/vtkweb/web/vtkweb.py +++ b/tangelo/plugins/vtkweb/web/vtkweb.py @@ -2,6 +2,8 @@ import cherrypy import os import tangelo import tangelo.util +from tangelo.server import analyze_u...
Fixing usage of analyze_url() in vtkweb service
Kitware_tangelo
train
py
c4c37cca027f3ca86c80cd0d4462a244cf9beaac
diff --git a/lib/pdf_forms/pdftk_wrapper.rb b/lib/pdf_forms/pdftk_wrapper.rb index <HASH>..<HASH> 100644 --- a/lib/pdf_forms/pdftk_wrapper.rb +++ b/lib/pdf_forms/pdftk_wrapper.rb @@ -23,6 +23,9 @@ module PdfForms # # The pdftk binary may also be explecitly specified: # PdftkWrapper.new('/usr/bin/pdftk', ...
adds support for drop_xfa and drop_xmp options. fixes #<I>
jkraemer_pdf-forms
train
rb
adbe23aa1ea8f2da3878a37d369609ea19c40cd3
diff --git a/mod/jodd/src/jodd/servlet/tag/IteratorStatus.java b/mod/jodd/src/jodd/servlet/tag/IteratorStatus.java index <HASH>..<HASH> 100644 --- a/mod/jodd/src/jodd/servlet/tag/IteratorStatus.java +++ b/mod/jodd/src/jodd/servlet/tag/IteratorStatus.java @@ -3,6 +3,7 @@ package jodd.servlet.tag; /** + * Status of i...
javadoc 1st line.
oblac_jodd
train
java
7b13cf2ed8be5bddca892a4e29ced80db11be27d
diff --git a/lib/searchkick/index.rb b/lib/searchkick/index.rb index <HASH>..<HASH> 100644 --- a/lib/searchkick/index.rb +++ b/lib/searchkick/index.rb @@ -7,6 +7,7 @@ module Searchkick def initialize(name, options = {}) @name = name @options = options + @klass_document_type = {} # cache end...
Prevent extra string allocations to speed up indexing - #<I>
ankane_searchkick
train
rb
cea7989276ce55a461aeb276715eb7738958ed6c
diff --git a/lib/udongo/search/frontend.rb b/lib/udongo/search/frontend.rb index <HASH>..<HASH> 100644 --- a/lib/udongo/search/frontend.rb +++ b/lib/udongo/search/frontend.rb @@ -16,7 +16,9 @@ module Udongo::Search # If you return nil in the #url method of a result object, the item # will get filtered out of ...
always return an empty result set for Udongo::Search::Frontend#search when the given search term is invalid
udongo_udongo
train
rb
368208d328b00e53a4b80aac0c6ccf61f4ab9380
diff --git a/source/tools/debug.js b/source/tools/debug.js index <HASH>..<HASH> 100644 --- a/source/tools/debug.js +++ b/source/tools/debug.js @@ -1,3 +1,5 @@ +"use strict"; + const debug = require("debug"); module.exports = function __createDebug(name) {
Add "use strict" for debug
buttercup_buttercup-core
train
js
e7cb90b5d88ad94dcc72df251b3d1ef40991db4c
diff --git a/lib/summary.js b/lib/summary.js index <HASH>..<HASH> 100644 --- a/lib/summary.js +++ b/lib/summary.js @@ -1,11 +1,12 @@ var _ = require('lodash'), SerialiseError = require('serialised-error'), + RunSummary; /** * @constructor * @param {EventEmitter} emitter - * + * @param {Object} options...
Shifted collection name and id to RunSummary constructor
postmanlabs_newman
train
js
be5ed9eec83eade32b3b326f54e2e36db51969fc
diff --git a/lib/main.js b/lib/main.js index <HASH>..<HASH> 100644 --- a/lib/main.js +++ b/lib/main.js @@ -201,10 +201,8 @@ class AtomMocha{ if( args.headless && data.headless) grabOptions(data.headless); } } - catch(e){ - console.error(e); - break; - } + catch(e){ console.error(e)...
Fix package.json search not stopping after result
Alhadis_Atom-Mocha
train
js
2f33d57db1e72d03929b76b9481ddf31aed3d762
diff --git a/planner/core/logical_plan_builder.go b/planner/core/logical_plan_builder.go index <HASH>..<HASH> 100644 --- a/planner/core/logical_plan_builder.go +++ b/planner/core/logical_plan_builder.go @@ -2828,7 +2828,10 @@ func (b *PlanBuilder) buildSelect(ctx context.Context, sel *ast.SelectStmt) (p L } hasWi...
planner: detect unknown column in window clause (#<I>)
pingcap_tidb
train
go
741f6e09de72b8b4cc733a7a30210e2bc0acab4e
diff --git a/pub/pub.py b/pub/pub.py index <HASH>..<HASH> 100644 --- a/pub/pub.py +++ b/pub/pub.py @@ -64,15 +64,24 @@ def get_tasks(do_tasks, dep_graph): def needed(f1, f2): return not isfile(f2) or newer(f1, f2) +#return a function which closes over a filelist and a function to construct the +#name of a new f...
a file_rule that actually works
llimllib_pub
train
py
ddf762d6c2ed65451db7a8df08225266b2355f81
diff --git a/bayes_opt/bayesian_optimization.py b/bayes_opt/bayesian_optimization.py index <HASH>..<HASH> 100644 --- a/bayes_opt/bayesian_optimization.py +++ b/bayes_opt/bayesian_optimization.py @@ -319,8 +319,8 @@ class BayesianOptimization(object): """ points = np.hstack((self.space.X, np.expand_d...
Fix csv issue in the points_to_csv method
fmfn_BayesianOptimization
train
py
b1fb8e74df8a44953a3bb846918f15177f244527
diff --git a/src/tools/annotation/EllipticalRoiTool.js b/src/tools/annotation/EllipticalRoiTool.js index <HASH>..<HASH> 100644 --- a/src/tools/annotation/EllipticalRoiTool.js +++ b/src/tools/annotation/EllipticalRoiTool.js @@ -455,7 +455,7 @@ function _calculateStats(image, element, handles, modality, pixelSpacing) { ...
fix(EllipticalRoiTool RectangleRoiTool): Correctly rotate ellipse/rect on free rotate. The rectanglur and elliptical ROI tools now correctly rotate with the image. #<I>
cornerstonejs_cornerstoneTools
train
js
f10e350595e2099c302651aa6f9f5d77b23041e5
diff --git a/test/engine.tests.js b/test/engine.tests.js index <HASH>..<HASH> 100644 --- a/test/engine.tests.js +++ b/test/engine.tests.js @@ -213,6 +213,20 @@ module.exports = function(idProperty, getEngine, beforeCallback, afterCallback) }) }) + it('should error if there an id property that is...
Add test for present, but invalid _id property
serby_save
train
js
35636637f9267d909c5bef8f09d5e7508e3d8d03
diff --git a/sevenbridges/models/file.py b/sevenbridges/models/file.py index <HASH>..<HASH> 100644 --- a/sevenbridges/models/file.py +++ b/sevenbridges/models/file.py @@ -71,9 +71,7 @@ class File(Resource): tags = BasicListField() def __str__(self): - return six.text_type( - '<File: id={id...
Use only id in file string representation
sbg_sevenbridges-python
train
py
64d87532667cee35438a1e13fdccaed4da3724fa
diff --git a/js/track-adder.js b/js/track-adder.js index <HASH>..<HASH> 100644 --- a/js/track-adder.js +++ b/js/track-adder.js @@ -520,7 +520,7 @@ Browser.prototype.showTrackAdder = function(ev) { mbody.appendChild(row); } matrix.appendChild(mbody); - ...
Add option to not show a custom hub group by default Currently custom hubs always show the first group -- as in have it visible and open. This change adds noDefaultHubGroupShow as a browser option (default behaviour is the old behaviour) that allows the caller to always have the hub groups collapsed.
dasmoth_dalliance
train
js
3a4f62031829afc3fdc82dd00d4e39be17ca703d
diff --git a/src/virtual-machine.js b/src/virtual-machine.js index <HASH>..<HASH> 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -182,8 +182,13 @@ class VirtualMachine extends EventEmitter { * @return {!Promise} Promise that resolves after targets are installed. */ loadProject (inp...
Check if loadProject input is any typed array using ArrayBuffer.isView. This allows us to pass a project's asset.data (from storage) directly instead of calling toString on it first.
LLK_scratch-vm
train
js
c71f82a1fbf6a1ff5aa0a062d5e9dab06f260bee
diff --git a/test/Image2.rb b/test/Image2.rb index <HASH>..<HASH> 100644 --- a/test/Image2.rb +++ b/test/Image2.rb @@ -143,14 +143,14 @@ class Image2_UT < Test::Unit::TestCase assert_equal(@img.rows, changed.rows) assert_not_same(changed, @img) end - + def test_crop_resized_1 @i...
Add new tests for ordered_dither
rmagick_rmagick
train
rb
cdc5b3731ff0825685940fd16be720c24f2171e6
diff --git a/src/you_get/util/log.py b/src/you_get/util/log.py index <HASH>..<HASH> 100644 --- a/src/you_get/util/log.py +++ b/src/you_get/util/log.py @@ -90,7 +90,7 @@ def e(message, exit_code=None): if exit_code is not None: exit(exit_code) -def wtf(message, exit_code=-1): +def wtf(message, exit_code=...
log.wtf(): exit code defaults to 1
soimort_you-get
train
py
2fa370e0c9e52bf2b9a151be044830120ac599f4
diff --git a/commands/command_fetch.go b/commands/command_fetch.go index <HASH>..<HASH> 100644 --- a/commands/command_fetch.go +++ b/commands/command_fetch.go @@ -174,8 +174,15 @@ func fetchAndReportToChan(pointers []*lfs.WrappedPointer, include, exclude []str // which would only be skipped by PointerSmudgeObject la...
Slightly more tracing in fetch
git-lfs_git-lfs
train
go
0fe14d785a8c9a4b22ab5e937736aea60ac9e2c0
diff --git a/lib/fs.js b/lib/fs.js index <HASH>..<HASH> 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -57,7 +57,7 @@ mkdirSync_p(path, mode, position + 1); } catch (e) { if (e.errno != 17) { - throw err; + throw e; } mkdirSync_p(path, mode, position + 1); ...
Fix for uncaught: ReferenceError: err is not defined at mkdirSync_p (fs.js:<I>:<I>)
bpedro_node-fs
train
js
d39a85b08e17f3c740a2d0a0db4b0b4ddb904dfe
diff --git a/plenum/test/cli/helper.py b/plenum/test/cli/helper.py index <HASH>..<HASH> 100644 --- a/plenum/test/cli/helper.py +++ b/plenum/test/cli/helper.py @@ -39,7 +39,7 @@ class TestCliCore: @property def lastCmdOutput(self): - return '\n'.join([x['msg'] for x in + return ''.join([x['msg'...
[#<I>] removed extra new line in lastCmdOutput function
hyperledger_indy-plenum
train
py
5dbcb7aaddbde1dc1d0384ea99220137f4160370
diff --git a/assets/js/components/Navigation/Search.js b/assets/js/components/Navigation/Search.js index <HASH>..<HASH> 100644 --- a/assets/js/components/Navigation/Search.js +++ b/assets/js/components/Navigation/Search.js @@ -155,7 +155,7 @@ class Search { * @returns {string} */ normaliseSearchString(...
Include lwoer-casing in the search term normilisation
nails_module-admin
train
js
de5e188a5abc8455decf567d5eb22fe937f37129
diff --git a/tests/seta/test_analyze_failures.py b/tests/seta/test_analyze_failures.py index <HASH>..<HASH> 100644 --- a/tests/seta/test_analyze_failures.py +++ b/tests/seta/test_analyze_failures.py @@ -3,6 +3,7 @@ import pytest from treeherder.seta.analyze_failures import get_failures_fixed_by_commit +@pytest.mar...
Bug <I> - Skip SETA test that started failing after ingestion logic fixed
mozilla_treeherder
train
py
0c3a754e1de7bab53b777d6681b1483c4d71162b
diff --git a/pygeoip/__init__.py b/pygeoip/__init__.py index <HASH>..<HASH> 100644 --- a/pygeoip/__init__.py +++ b/pygeoip/__init__.py @@ -98,6 +98,7 @@ class GeoIP(object): @type cache: bool """ self._flags = flags + self._netmask = None if self._flags & const.MMAP_CACHE an...
Add internal `_netmask` property for future features Related to issue #<I>
appliedsec_pygeoip
train
py