hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
e4088acb0ed964dbfe9d8e1720838b67f5e3f11d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,8 @@ setup( 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + ...
updated classifiers added support for python <I> and <I>
sidecars_python-quickbooks
train
55426208ab895b1f45907079192f2ffbbfa813f1
diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/ThreadDumpEndpointDocumentationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endp...
Provide type information for optional thread dump endpoint response fields Closes gh-<I>
spring-projects_spring-boot
train
44530a30c9d8f87025119a2e001652df22eaf56a
diff --git a/lib/mixins/Dialogs.js b/lib/mixins/Dialogs.js index <HASH>..<HASH> 100644 --- a/lib/mixins/Dialogs.js +++ b/lib/mixins/Dialogs.js @@ -1,4 +1,6 @@ module.exports = { + + displayName: 'Dialogs', // ALERT // Options: (message, [title], [buttonName]) diff --git a/lib/mixins/Navigation.js b/lib/mixins/N...
make warnings/error easier to trace
touchstonejs_touchstonejs
train
323743c42cc3b72f3433633d50cae2a309fc999c
diff --git a/torf/_generate.py b/torf/_generate.py index <HASH>..<HASH> 100644 --- a/torf/_generate.py +++ b/torf/_generate.py @@ -273,10 +273,11 @@ class Reader(): class HashWorkerPool(): - def __init__(self, workers_count, piece_queue): + def __init__(self, workers_count, piece_queue, file_was_skipped=None...
HashWorkerPool: Add support for skipping files
rndusr_torf
train
db01772605435e5b4f10477a5e5e8d3e2a671b1e
diff --git a/lib/db/adapters/pg.js b/lib/db/adapters/pg.js index <HASH>..<HASH> 100644 --- a/lib/db/adapters/pg.js +++ b/lib/db/adapters/pg.js @@ -13,7 +13,7 @@ var like = Adapter.Translator.like, endsWith = Adapter.Translator.endsWith, wrapValue = Adapter.Translator.wrapValue; -// TODO: use this to request all...
There is no need at this time to read tables.
wbyoung_azul
train
b148dea6b640b285ff4548c907c25e68c376eca3
diff --git a/platform/linux_platform.go b/platform/linux_platform.go index <HASH>..<HASH> 100644 --- a/platform/linux_platform.go +++ b/platform/linux_platform.go @@ -767,7 +767,10 @@ func (p linux) MountPersistentDisk(diskSetting boshsettings.DiskSettings, mountP persistentDiskFS := boshdisk.FileSystemExt4 if p....
Error if unsupported filesystem type is configured [#<I>]
cloudfoundry_bosh-agent
train
d8c4c7170c7a5d02586c13f94ec35ec73125fed8
diff --git a/spyder/utils/introspection/tests/test_modulecompletion.py b/spyder/utils/introspection/tests/test_modulecompletion.py index <HASH>..<HASH> 100644 --- a/spyder/utils/introspection/tests/test_modulecompletion.py +++ b/spyder/utils/introspection/tests/test_modulecompletion.py @@ -8,13 +8,19 @@ Tests for modu...
Testing: Skip test in macOS and Python 3 because it's too slow
spyder-ide_spyder
train
d37483f8c76550a6501db8f50e0f8350d5270ccf
diff --git a/libaio/__init__.py b/libaio/__init__.py index <HASH>..<HASH> 100644 --- a/libaio/__init__.py +++ b/libaio/__init__.py @@ -22,6 +22,7 @@ mechanisms already available in select module. from __future__ import absolute_import from ctypes import addressof, byref, cast, c_char, c_void_p, pointer import errno ...
libaio: Fix support for buffers with non-byte lengths. For example, numpy.arange . Mimic file.write . Also, test with an mmap instance to detect breakages.
vpelletier_python-libaio
train
9f3f1d65fd7d5c2af065883b5d709de1d22b3424
diff --git a/packages/reactabular/index.js b/packages/reactabular/index.js index <HASH>..<HASH> 100644 --- a/packages/reactabular/index.js +++ b/packages/reactabular/index.js @@ -1,6 +1,15 @@ -export { default as Table } from '../reactabular-table'; -export { default as search } from '../reactabular-search'; -export { ...
reactabular - Fix adapter export interface Given each package exports an object, this needs to use the same idea.
reactabular_reactabular
train
9f791bffabfe6599dd124f4f8396ff60043a5edb
diff --git a/badge_update.py b/badge_update.py index <HASH>..<HASH> 100755 --- a/badge_update.py +++ b/badge_update.py @@ -12,7 +12,7 @@ def pylint_color(score): # I.e. score==10 -> brightgreen, down to 7.5 > score >= 5 -> orange score_cutoffs = (10, 9.5, 8.5, 7.5, 5) for i in range(len(score_cutoffs)): ...
added color scorer output to new path; fixed bug in scorers
chrislit_abydos
train
e63ecfba2eca2b6f5b9c5c489b7b4d4675558c0e
diff --git a/test/org/opencms/file/TestCreateWriteResource.java b/test/org/opencms/file/TestCreateWriteResource.java index <HASH>..<HASH> 100644 --- a/test/org/opencms/file/TestCreateWriteResource.java +++ b/test/org/opencms/file/TestCreateWriteResource.java @@ -235,27 +235,30 @@ public class TestCreateWriteResource ex...
Changed test cases to reflect changed handling when recreating a resource with the same name.
alkacon_opencms-core
train
7be40586e5ce8661b99d28dfbd83ce82c02631fc
diff --git a/cgroupspy/nodes.py b/cgroupspy/nodes.py index <HASH>..<HASH> 100644 --- a/cgroupspy/nodes.py +++ b/cgroupspy/nodes.py @@ -60,16 +60,16 @@ class Node(object): } def __init__(self, name, parent=None): - try: + if isinstance(name, str): name = name.encode() - exce...
Handle type casting issues in nodes.py
cloudsigma_cgroupspy
train
e9a539a8fc92a55a71c0d418c0e7168e4b163f64
diff --git a/tasks/config.js b/tasks/config.js index <HASH>..<HASH> 100644 --- a/tasks/config.js +++ b/tasks/config.js @@ -6,7 +6,7 @@ Config.build = { }; Config.e2e = { - configPath: process.cwd() + '/protractor.conf.js', + configPath: process.cwd() + '/protractor.conf.js' }; Config.server = { @@ -20,6 +20,1...
make test requires and flags configurable
emartech_boar-tasks
train
09d0715a296a8395fe4764d3d5d17c9f44cd50dd
diff --git a/txnserver/validator.py b/txnserver/validator.py index <HASH>..<HASH> 100644 --- a/txnserver/validator.py +++ b/txnserver/validator.py @@ -240,6 +240,8 @@ class Validator(object): self.start() def start(self): + # add blacklist before we attempt any peering + self.Ledger.bl...
add blacklist to validator before possible peering
hyperledger_sawtooth-core
train
b9c74137cc417ebf8fbc2f2556eb1bf72bf43e1b
diff --git a/multilingual_news/sitemaps.py b/multilingual_news/sitemaps.py index <HASH>..<HASH> 100644 --- a/multilingual_news/sitemaps.py +++ b/multilingual_news/sitemaps.py @@ -3,7 +3,7 @@ from django.contrib.sitemaps import Sitemap from .models import NewsEntry -class NewsSitemap(Sitemap): +class NewsSitemap(Si...
Excluded sitemaps from coverage.
bitlabstudio_django-multilingual-news
train
6c78c227260745691562c6f6690f6690b1142315
diff --git a/examples/fsm_endpoint_1.py b/examples/fsm_endpoint_1.py index <HASH>..<HASH> 100755 --- a/examples/fsm_endpoint_1.py +++ b/examples/fsm_endpoint_1.py @@ -29,7 +29,7 @@ def retry_serial_connection(e): def send_data_frame(e): stdout.write('[*] Sending data frame ...\n') - ser.write(frame_data('test', FR...
change sequence numbers in fsm examples
SkypLabs_python4yahdlc
train
79a973f1832f1f9a98f6d27c480015e10dcb17f2
diff --git a/packages/core-js/internals/well-known-symbol.js b/packages/core-js/internals/well-known-symbol.js index <HASH>..<HASH> 100644 --- a/packages/core-js/internals/well-known-symbol.js +++ b/packages/core-js/internals/well-known-symbol.js @@ -1,13 +1,17 @@ var global = require('../internals/global'); var shar...
refactor `well-known-symbol` helper
zloirock_core-js
train
dadfad29a1029a0411cab8546ddf02ccbaedec30
diff --git a/interfacer_test.go b/interfacer_test.go index <HASH>..<HASH> 100644 --- a/interfacer_test.go +++ b/interfacer_test.go @@ -93,8 +93,13 @@ func doTestWant(t *testing.T, name, exp string, wantErr bool, args ...string) { return } var b bytes.Buffer - if len(args) == 0 { + switch len(args) { + case 0: ...
Add test coverage for no args
mvdan_interfacer
train
dc5b383c1c962b530cd20ba4f9f4ecd6ca4c5454
diff --git a/lib/forwarder/compiler.rb b/lib/forwarder/compiler.rb index <HASH>..<HASH> 100644 --- a/lib/forwarder/compiler.rb +++ b/lib/forwarder/compiler.rb @@ -6,12 +6,14 @@ module Forwarder def compile # Cannot compile because of intrinsic uncompilable traits of arguments - # TODO: implement ...
satisfied for <I>, just push rc3 before
RobertDober_Forwarder19
train
1b3e3c12af684330a96fe61c3c36a6ee1c9de378
diff --git a/pyontutils/ttlser.py b/pyontutils/ttlser.py index <HASH>..<HASH> 100644 --- a/pyontutils/ttlser.py +++ b/pyontutils/ttlser.py @@ -131,7 +131,7 @@ class CustomTurtleSerializer(TurtleSerializer): short_name = 'nifttl' _name = 'pyontutils deterministic' - __version = 'v1.1.2' + __version = '...
ttlser disjointness axioms are symmetric and thus have ordering issues, the solution is that the string ordering of the subject should always be less than that of the object, version bump due to major serialization changes as a result
tgbugs_pyontutils
train
fcb0a15b28154d4630e74080cf1f2437dc1fce2c
diff --git a/src/views/plan/certificate/_form.php b/src/views/plan/certificate/_form.php index <HASH>..<HASH> 100644 --- a/src/views/plan/certificate/_form.php +++ b/src/views/plan/certificate/_form.php @@ -59,6 +59,9 @@ $('#tariff-create-form').on('afterValidate', function (event, messages) { ...
Fixed certificate form layout when certain certificate can not be renewed or purchased
hiqdev_hipanel-module-finance
train
37e10d48604508b347303111b4e68d43643a698b
diff --git a/JSnapTriggerDriver/JSnapTriggerDriverShell.php b/JSnapTriggerDriver/JSnapTriggerDriverShell.php index <HASH>..<HASH> 100644 --- a/JSnapTriggerDriver/JSnapTriggerDriverShell.php +++ b/JSnapTriggerDriver/JSnapTriggerDriverShell.php @@ -11,6 +11,8 @@ class JSnapTriggerDriverShell extends JSnapTriggerDriverAbs...
Fixed shell execution exploit in Shell trigger driver
lamoni_jsnapcommander
train
3b6e6d21e3b3bfa9af0710c30530edfc509dbad9
diff --git a/java/src/com/google/template/soy/passes/ResolveExpressionTypesVisitor.java b/java/src/com/google/template/soy/passes/ResolveExpressionTypesVisitor.java index <HASH>..<HASH> 100644 --- a/java/src/com/google/template/soy/passes/ResolveExpressionTypesVisitor.java +++ b/java/src/com/google/template/soy/passes/...
Forbid dereferencing proto map fields in Soy. They're already broken (they don't do anything useful). We're fixing them, but don't want to churn users while we're doing it. So let's forbid anyone from using them until they are implemented correctly. ------------- Created by MOE: <URL>
google_closure-templates
train
cf19bd643e33cc909a8412116249b6a34efe5130
diff --git a/src/__tests__/serialize.test.js b/src/__tests__/serialize.test.js index <HASH>..<HASH> 100644 --- a/src/__tests__/serialize.test.js +++ b/src/__tests__/serialize.test.js @@ -89,6 +89,21 @@ describe('serialize', () => { ); }); + it('serializes w/ cyclical refs', () => { + const val...
Back to <I>% test coverage
nvie_debrief.js
train
cd6e6ecbe5c9e2722ed789ee3af9ae5bd8f9cec5
diff --git a/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java b/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java +++ b/core/sr...
New nonTX.recordUpdate.synch parameter description was modified.
orientechnologies_orientdb
train
691ba4a00fc37c8cfecbaaeed110276fafba9e23
diff --git a/lib/cms_scanner/web_site.rb b/lib/cms_scanner/web_site.rb index <HASH>..<HASH> 100644 --- a/lib/cms_scanner/web_site.rb +++ b/lib/cms_scanner/web_site.rb @@ -8,19 +8,20 @@ module CMSScanner # @param [ String ] site_url # @param [ Hash ] opts def initialize(site_url, opts = {}) - self.ur...
Fixes issues in ruby <I>
wpscanteam_CMSScanner
train
40efc0fb33b7c33e059d2e71b798db31076b2821
diff --git a/pkg/kubelet/rkt/rkt.go b/pkg/kubelet/rkt/rkt.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/rkt/rkt.go +++ b/pkg/kubelet/rkt/rkt.go @@ -1857,6 +1857,13 @@ func (r *rktExitError) ExitStatus() int { return 0 } +func newRktExitError(e error) error { + if exitErr, ok := e.(*exec.ExitError); ok { + retu...
rkt: Wrap exec errors as utilexec.ExitError This is needed by the exec prober to distinguish error types and exit codes correctly. An alternative, and preferable solution would be to use utilexec everywhere, but that change is much more involved and should come at a later date. Unfortunately, until that change is mad...
kubernetes_kubernetes
train
085f71b728ed3963097947948102d747213fff59
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -5071,8 +5071,7 @@ function email_welcome_message_to_user($course, $user=NULL) { /** * Returns local file storage instance * - * @global object - * @return object file_storage + * @retu...
nobug: fixed code completion in eclipse
moodle_moodle
train
54b9b2ecc163b1c79caca5240e78abb3a614049f
diff --git a/doc_comment.rb b/doc_comment.rb index <HASH>..<HASH> 100644 --- a/doc_comment.rb +++ b/doc_comment.rb @@ -20,7 +20,7 @@ module JsDuck def set_default_name(*name_chain) name = name_chain.last tagname = (name[0,1] == name[0,1].upcase) ? :class : :function - + if !@tags[:class]...
Removing trailing whitespace from at-tag docs.
senchalabs_jsduck
train
253b5c4158d0a9d7aab9614ff72718ca21c689c9
diff --git a/classic.go b/classic.go index <HASH>..<HASH> 100644 --- a/classic.go +++ b/classic.go @@ -12,7 +12,7 @@ import ( // probability of false positives and a zero probability of false negatives. type BloomFilter struct { array *bitset.BitSet // filter data - hash hash.Hash // hash function (kernel for...
Specify hash functions as <I>-bit
tylertreat_BoomFilters
train
491a272509ba505e7f9082946bf7a4bfe9cb0aed
diff --git a/kundera-tests/src/test/java/com/impetus/kundera/tests/crossdatastore/imdb/TwinAssociation.java b/kundera-tests/src/test/java/com/impetus/kundera/tests/crossdatastore/imdb/TwinAssociation.java index <HASH>..<HASH> 100644 --- a/kundera-tests/src/test/java/com/impetus/kundera/tests/crossdatastore/imdb/TwinAss...
Added throw statement to catch error.
Impetus_Kundera
train
a0e1e32767386fdd56ab61cd6f46ea1aba721e7a
diff --git a/src/js/cropper.js b/src/js/cropper.js index <HASH>..<HASH> 100644 --- a/src/js/cropper.js +++ b/src/js/cropper.js @@ -163,14 +163,16 @@ class Cropper { read(arrayBuffer) { const { options, imageData } = this; + + // Reset the orientation value to its default value 1 + // as some iOS browser...
fix: ignore the pointer events are not triggered by the primary button
fengyuanchen_cropperjs
train
d203ebc53cc79baf470b801bdf8a78536d70ea5d
diff --git a/thinc/backends/ops.py b/thinc/backends/ops.py index <HASH>..<HASH> 100644 --- a/thinc/backends/ops.py +++ b/thinc/backends/ops.py @@ -1,10 +1,10 @@ -from typing import Optional, List, Callable, Tuple, Sequence, Union, cast +from typing import Optional, List, Tuple, Sequence, Union, cast from ..types imp...
Improve Padded type and padded ops
explosion_thinc
train
a2cdb2406f9ef3b3c51355fc6c5232df045dc7bd
diff --git a/src/Exscript/Queue.py b/src/Exscript/Queue.py index <HASH>..<HASH> 100644 --- a/src/Exscript/Queue.py +++ b/src/Exscript/Queue.py @@ -180,12 +180,12 @@ class Queue(object): return self._print('debug', msg) - def _on_job_started(self, job): + def _on_job_started(self, action): ...
Exscript.workqueue.job_*_event now passes the action, not the job.
knipknap_exscript
train
f150014ee3dbae3948831eccbd6c0c18640201f0
diff --git a/pythonforandroid/recipes/hostpython3/__init__.py b/pythonforandroid/recipes/hostpython3/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/hostpython3/__init__.py +++ b/pythonforandroid/recipes/hostpython3/__init__.py @@ -3,6 +3,8 @@ from pythonforandroid.util import ensure_dir, current...
Added path to hostpython in python3 build env
kivy_python-for-android
train
b15e1bd40e77765cf75fcf9f1ca03c23d54d0eff
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -267,17 +267,17 @@ class Zotero(object): assumed to be fresh, and will immediately return False if found """ # If the template is more than an hour old, try a ...
Attempting to clean up _updated method
urschrei_pyzotero
train
d93b0730dacd382dfb1d91eaab649c264aa9349e
diff --git a/src/Traits/CommandTrait.php b/src/Traits/CommandTrait.php index <HASH>..<HASH> 100755 --- a/src/Traits/CommandTrait.php +++ b/src/Traits/CommandTrait.php @@ -97,7 +97,7 @@ trait CommandTrait protected function loadConfig($dataset) { $config_file = $this->getDatasets($dataset); - $...
Changed to include from include_once when running install
hnhdigital-os_laravel-datasets
train
baea1d23f714ff1acc7765685b2ad4d05caaebed
diff --git a/alburnum/maas/utils/auth.py b/alburnum/maas/utils/auth.py index <HASH>..<HASH> 100644 --- a/alburnum/maas/utils/auth.py +++ b/alburnum/maas/utils/auth.py @@ -45,15 +45,17 @@ def obtain_credentials(credentials): return None -def obtain_token(url, username, password): +def obtain_token(url, user...
Obtain insecurely if requested.
maas_python-libmaas
train
8c0154227245d5d90fae8b2076420ae6194fcb1b
diff --git a/blockstack/lib/config.py b/blockstack/lib/config.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/config.py +++ b/blockstack/lib/config.py @@ -102,7 +102,7 @@ NAMESPACE_8UP_CHAR_COST_STACKS = int((96.0 * MICROSTACKS_PER_STACKS) / STACKS_PR # converting from BTC to STACKs for v1 and v2 namespaces # 1...
f-day <I> is now october <I>
blockstack_blockstack-core
train
4dcbf5239177d1afc5b5fbe5fa8a0b7e565747e3
diff --git a/Classes/Framework.php b/Classes/Framework.php index <HASH>..<HASH> 100644 --- a/Classes/Framework.php +++ b/Classes/Framework.php @@ -1122,8 +1122,8 @@ class Tx_Phpunit_Framework { ); } - $lengthFullPath = mb_strlen($absolutePath); - $lengthExtensionUploadPath = mb_strlen($this->getUploadFolderP...
[BUGFIX] Follow up: Add the encoding for all mb_* functions Follow up: Add the encoding for all mb_* functions Resolves: #<I> Change-Id: I<I>b<I>c<I>fb<I>f<I>c7fe<I>c3d<I>cf<I>e Reviewed-on: <URL>
oliverklee_ext-phpunit
train
bced08a29163f6e932bb1abcad4a52cb60d758f1
diff --git a/Rakefile b/Rakefile index <HASH>..<HASH> 100644 --- a/Rakefile +++ b/Rakefile @@ -7,5 +7,5 @@ task :test do add_filter "/vendor/" add_filter "/test/" end - require_relative 'test/run_all' + require_relative 'test/all' end diff --git a/lib/robot_sweatshop/cli/common.rb b/lib/robot_sweatshop/...
Fixing up some require_relative calls
JScott_robot_sweatshop
train
12cce2df5e76ead9bed870f92cb3f6e7d6063dd3
diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index <HASH>..<HASH> 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -37,10 +37,6 @@ const ( // alpha: v1.4 ExternalTrafficLocalOnly utilfeature.Feature = "AllowExtTrafficLocalEndpoints" - // owner: @saad-...
Remove DynamicVolumeProvisioning from feature gate
kubernetes_kubernetes
train
5d0aa5dc601e1e766dd06bab060240436106eb52
diff --git a/graylog2-web-interface/babel.config.js b/graylog2-web-interface/babel.config.js index <HASH>..<HASH> 100644 --- a/graylog2-web-interface/babel.config.js +++ b/graylog2-web-interface/babel.config.js @@ -1,5 +1,5 @@ module.exports = { - presets: [['@babel/env', { modules: 'cjs' }], '@babel/react', '@babel/...
Re-enable code splitting, add tree shaking for webpack. (#<I>) * Enable generating true ES6 modules. * Fixup changed default exports. * Fixing linter hints.
Graylog2_graylog2-server
train
fa721d54dc57baaf4ad798ca28ad393874e799df
diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/InitialRequestDispatcher.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/InitialRequestDispatcher.java index <HASH>..<HASH> 100644 --- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/cor...
MODIFIED : log when a <I> Not Found is sent back in response to an initial request because no applications were found to handle it git-svn-id: <URL>
RestComm_sip-servlets
train
b4ca570b42a031cbcfb9ea5fd089cfcb688b6cf0
diff --git a/flat/style/flat.metadata.js b/flat/style/flat.metadata.js index <HASH>..<HASH> 100644 --- a/flat/style/flat.metadata.js +++ b/flat/style/flat.metadata.js @@ -22,7 +22,7 @@ function metadata_oninit() { s = s + "<option value=\"" + configuration.metadataconstraints[key][j] + "\">" + conf...
Metadata value field will use constraints also when key is entered manually
proycon_flat
train
365764295582e5308dc75e192267a8f3a3aa9e43
diff --git a/src/JIC.js b/src/JIC.js index <HASH>..<HASH> 100644 --- a/src/JIC.js +++ b/src/JIC.js @@ -95,9 +95,9 @@ var jic = { // If a duringCallback function is set as a parameter, call that to notify about the upload progress if (duringCallback && duringCallback instanceof Function) { - xhr.onprogress =...
Upload Progress Fix Awesome code man thanks for sharing. While working on your code, i noticed the onprogress/duringCallback doesn't work, or at least for me. So i did this fix and now it's working as expected.
brunobar79_J-I-C
train
658ed0e5a1232a9b22f198a391a00ee36045a79d
diff --git a/lib/rack/wwwhisper.rb b/lib/rack/wwwhisper.rb index <HASH>..<HASH> 100644 --- a/lib/rack/wwwhisper.rb +++ b/lib/rack/wwwhisper.rb @@ -58,9 +58,9 @@ class WWWhisper @@AUTH_COOKIES_PREFIX = 'wwwhisper' # Headers that are passed to wwwhisper ('Cookie' is handled # in a special way: only wwwhisper rel...
Revert to sending Site-Url not X-Forwarded-(Host|Proto). Still use simplified Site-Url construction logic. X-Forwarded headers were not a good choice because they could be ovewritten if wwwhisper run behind proxy server.
wrr_rack-wwwhisper
train
003c364e77a7c6042535cebf1ef200c772c2fe08
diff --git a/spec/support/pageflow/lint.rb b/spec/support/pageflow/lint.rb index <HASH>..<HASH> 100644 --- a/spec/support/pageflow/lint.rb +++ b/spec/support/pageflow/lint.rb @@ -35,7 +35,7 @@ module Pageflow # # @param page_type [PageType] Page type to run specs for # - # @since edge + # @since 13...
Fix since doc tag in pageflow-support
codevise_pageflow
train
a783d9875f0faba6d7ab5c8d3d5f13dab528a14e
diff --git a/advanced_filters/tests/test_forms.py b/advanced_filters/tests/test_forms.py index <HASH>..<HASH> 100644 --- a/advanced_filters/tests/test_forms.py +++ b/advanced_filters/tests/test_forms.py @@ -142,6 +142,51 @@ class TestQueryForm(TestCase): assert isinstance(res, dict) assert res...
added test to make sure all operators are properly restored from Queries
modlinltd_django-advanced-filters
train
048067107418679ff033826dd0fd453de30a87af
diff --git a/src/libraries/anahita/registry/registry.php b/src/libraries/anahita/registry/registry.php index <HASH>..<HASH> 100644 --- a/src/libraries/anahita/registry/registry.php +++ b/src/libraries/anahita/registry/registry.php @@ -133,6 +133,19 @@ class AnRegistry extends ArrayObject } /** + * ...
templates that are not found wwill not be be cached
anahitasocial_anahita
train
7355da686464cd10edfeb0e792ce5ed61845dcb7
diff --git a/optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/result/ProblemBenchmarkResult.java b/optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/result/ProblemBenchmarkResult.java index <HASH>..<HASH> 100644 --- a/optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/...
PLANNER-<I> Benchmarker: CSV file links broken since subsinglebenchmarks (and even more on Windows)
kiegroup_optaplanner
train
efd635ef3d7a7e9f04cab71dff1d8c654be130e1
diff --git a/fake_switches/arista/eapi.py b/fake_switches/arista/eapi.py index <HASH>..<HASH> 100644 --- a/fake_switches/arista/eapi.py +++ b/fake_switches/arista/eapi.py @@ -35,12 +35,12 @@ class EAPI(resource.Resource, object): content = json.loads(request.content.read().decode()) self.logger.info("...
Add the support for the json version of show vlan This makes use of the display driver to record objects sent to it which are then just dumped in the result when format json is required. Text format remains the same.
internap_fake-switches
train
afa8bfcdd689b8221f0adc08334ad70c311f0bc3
diff --git a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/ActionsHelper.php b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/ActionsHelper.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/ActionsHelper.php +++ b/src/Symfony/Bundle/FrameworkBundle/Templating/Helper...
[FrameworkBundle] fixed $view['actions']->output() signature to match that of ->render()
symfony_symfony
train
6846b29b98d7e0f9329f14e29004bc7db7b77f4f
diff --git a/clients/benchmark.py b/clients/benchmark.py index <HASH>..<HASH> 100644 --- a/clients/benchmark.py +++ b/clients/benchmark.py @@ -10,6 +10,7 @@ def main(): # Benchmark test on PEFile test_files file_list = [os.path.join('../test_files/pe/bad', child) for child in os.listdir('../test_files/pe/ba...
including good pe files in benchmark Former-commit-id: <I>cfcf<I>abc<I>ffd<I>eb<I>e4c5b<I>d<I>
SuperCowPowers_workbench
train
611cb5b44e2a3a08354fe7166ded9a0cb5d6d444
diff --git a/garlic_example.rb b/garlic_example.rb index <HASH>..<HASH> 100644 --- a/garlic_example.rb +++ b/garlic_example.rb @@ -17,9 +17,9 @@ garlic do # repo, give a url, specify :local to use a local repo (faster # and will still update from the origin url) - repo 'rails', :url => 'git://github.com/rails/...
Adding comments back into garlic_example
ianwhite_response_for
train
e17e245acf874e55eaa48ed1f06a265834eca906
diff --git a/s3upload/forms.py b/s3upload/forms.py index <HASH>..<HASH> 100644 --- a/s3upload/forms.py +++ b/s3upload/forms.py @@ -266,22 +266,20 @@ class ValidateS3UploadForm(ContentTypePrefixMixin, KeyPrefixMixin, raise forms.ValidationError('Key does not exist.') return key - def get_file(...
Changed ``get_file`` method to ``get_file_path`` on ``ValidateS3UploadForm``.
mattaustin_django-storages-s3upload
train
22be415d79961c55412e8521d45165ab9b5943b3
diff --git a/src/jquery.contextMenu.js b/src/jquery.contextMenu.js index <HASH>..<HASH> 100755 --- a/src/jquery.contextMenu.js +++ b/src/jquery.contextMenu.js @@ -1166,6 +1166,11 @@ $.contextMenu = function(operation, options) { namespaces[o.selector] = o.ns; menus[o.ns] = o; ...
default to right click activation (like explained in the docs)
swisnl_jQuery-contextMenu
train
80aeb0a48fc635ddefd5b69f96a615130f77fa9b
diff --git a/nptdms/tdms.py b/nptdms/tdms.py index <HASH>..<HASH> 100644 --- a/nptdms/tdms.py +++ b/nptdms/tdms.py @@ -238,7 +238,12 @@ class TdmsFile(object): """ - return self.object(group, channel).data + if self._reader is None: + # Data should have already been loaded + ...
Support using channel_data method to lazily load data
adamreeve_npTDMS
train
e981f83e1b47a85808b468040d41e400eede0034
diff --git a/compiler_test.go b/compiler_test.go index <HASH>..<HASH> 100644 --- a/compiler_test.go +++ b/compiler_test.go @@ -3946,6 +3946,20 @@ func TestFuncParamScope(t *testing.T) { testScript1(SCRIPT, asciiString("inside inside"), t) } +func TestDefParamsStackPtr(t *testing.T) { + const SCRIPT = ` + function ...
Fixed setting the stack pointer in enterFuncBody. Fixes #<I>
dop251_goja
train
cef984a92496fbab5d1006dc4c49d0fba3c88bca
diff --git a/libdokan/mount_test.go b/libdokan/mount_test.go index <HASH>..<HASH> 100644 --- a/libdokan/mount_test.go +++ b/libdokan/mount_test.go @@ -20,6 +20,7 @@ import ( "testing" "time" + "github.com/keybase/client/go/libkb" "github.com/keybase/client/go/logger" "github.com/keybase/kbfs/dokan" "github....
libdokan: Add test for .kbfs_fileinfo_
keybase_client
train
f8e2a48418ec0ce62c00be75453f3ed06a108cbb
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -28,6 +28,21 @@ class TestCase(unittest.TestCase): def tearDown(self): self.ctx.pop() + def assertIn(self, member, container, msg=None): + if hasattr(unittest.TestCase, 'assertIn'): + retur...
More adjustments for older python versions
nicolas-van_mailflash
train
d6fc3e501ac02dd4bbd41e393976abd141068142
diff --git a/src/FilePath.php b/src/FilePath.php index <HASH>..<HASH> 100644 --- a/src/FilePath.php +++ b/src/FilePath.php @@ -247,7 +247,7 @@ class FilePath implements FilePathInterface return self::myParse( $directorySeparator, - $path, + DIRECTORY_SEPARATOR !== '\'' ? st...
Forward slash is always a valid directory separator in FilePath class
themichaelhall_datatypes
train
ad2fcab701c9b3d8a18d0854209198a04d393c0b
diff --git a/detox/test/src/Screens/AttributesScreen.js b/detox/test/src/Screens/AttributesScreen.js index <HASH>..<HASH> 100644 --- a/detox/test/src/Screens/AttributesScreen.js +++ b/detox/test/src/Screens/AttributesScreen.js @@ -8,12 +8,27 @@ import { import CheckBox from '@react-native-community/checkbox'; expor...
AttributesScreen: add state for checkbox value. Make the checkbox toggleable by binding it with state. This was done because it wasn't possible to toggle the checkbox for some emulators.
wix_Detox
train
c2eb79c123796daf002c3bcc1f208aacf3df8fc1
diff --git a/jsone/shared.py b/jsone/shared.py index <HASH>..<HASH> 100644 --- a/jsone/shared.py +++ b/jsone/shared.py @@ -2,6 +2,7 @@ from __future__ import absolute_import, print_function, unicode_literals import re import datetime +import six class DeleteMarker: @@ -113,7 +114,13 @@ def to_str(v): def st...
Ensure date has microseconds Fixes #<I>
taskcluster_json-e
train
ceb4d9547456505df29115ed2ba701605cd06a73
diff --git a/graphs/tests/test_analysis.py b/graphs/tests/test_analysis.py index <HASH>..<HASH> 100644 --- a/graphs/tests/test_analysis.py +++ b/graphs/tests/test_analysis.py @@ -76,15 +76,15 @@ class TestAnalysis(unittest.TestCase): _test_btw(G, 'edge', True, False, np.array([3,1,3,3,1,3,2,2])/4.) _t...
Strengthening weighted test case This exercises the case where a vertex's distance is updated during the SSSP search
all-umass_graphs
train
36a3f9bd0cc7029e5150b1931efbd62da975e8b9
diff --git a/jwt/contrib/algorithms/py_ecdsa.py b/jwt/contrib/algorithms/py_ecdsa.py index <HASH>..<HASH> 100644 --- a/jwt/contrib/algorithms/py_ecdsa.py +++ b/jwt/contrib/algorithms/py_ecdsa.py @@ -56,5 +56,7 @@ class ECAlgorithm(Algorithm): try: return key.verify(sig, msg, hashfunc=self.hash_alg...
Catch BadSignatureError raised by ecdsa <I> on verification errors (#<I>) The new ecdsa no longer uses AssertionError when the signature is too long. This happens in the test suite, where "<I>" is appended to the signature. Fixes #<I>
jpadilla_pyjwt
train
621bd001fa5c7cfa178191d2f2b4f9bf5565558f
diff --git a/lib/heroku/command/base.rb b/lib/heroku/command/base.rb index <HASH>..<HASH> 100644 --- a/lib/heroku/command/base.rb +++ b/lib/heroku/command/base.rb @@ -264,7 +264,7 @@ protected if options[:ssh_git] "git@#{Heroku::Auth.git_host}:#{app_name}.git" else - warn_if_netrc_does_not_have_ht...
the netrc warning is actually an error
heroku_legacy-cli
train
ecbc42755c4c42e876c8dc5968f318c9127205dd
diff --git a/network/resolver/http/http.go b/network/resolver/http/http.go index <HASH>..<HASH> 100644 --- a/network/resolver/http/http.go +++ b/network/resolver/http/http.go @@ -31,7 +31,7 @@ type Response struct { func (r *Resolver) Resolve(name string) ([]*resolver.Record, error) { proto := "https" host := "api...
set network nodes in http resolver
micro_go-micro
train
fc883edc30425c7774a0b638174c81397d6d7660
diff --git a/GruntFile.js b/GruntFile.js index <HASH>..<HASH> 100644 --- a/GruntFile.js +++ b/GruntFile.js @@ -35,8 +35,7 @@ module.exports = function (grunt) { plusplus: false, sub: false, trailing: true, - white: false, - indent: 4 + ...
Had to change JSHint because of leading semi colon
nicbell_attach.js
train
4eaa64786b53e86ba6d4dbc6c04b38c3ba86f5b4
diff --git a/client/jsonapi/src/Client/JsonApi/Order/Standard.php b/client/jsonapi/src/Client/JsonApi/Order/Standard.php index <HASH>..<HASH> 100644 --- a/client/jsonapi/src/Client/JsonApi/Order/Standard.php +++ b/client/jsonapi/src/Client/JsonApi/Order/Standard.php @@ -234,7 +234,7 @@ class Standard if( $services =...
Adapt to changed getStatusPayment() method for order items in core
aimeos_ai-client-jsonapi
train
c34ab2125277c82d6f75742bee205dc32cb81b1d
diff --git a/biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/internal/SymmetryAxes.java b/biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/internal/SymmetryAxes.java index <HASH>..<HASH> 100644 --- a/biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/internal/Symm...
Fix bug with >3-level deep axes
biojava_biojava
train
7ecd315fb40278258c7df54516366d450b89408d
diff --git a/publish.py b/publish.py index <HASH>..<HASH> 100755 --- a/publish.py +++ b/publish.py @@ -55,7 +55,9 @@ def main(): files = ['dist/homely-{}.tar.gz'.format(tag)] files.extend(glob.glob('dist/homely-{}-py*.whl'.format(tag))) check_call(['twine', 'upload'] + files) - print("New version publ...
publish.py: automatically git push since that's always what we want
phodge_homely
train
17d6f1ee8d9af09c2ccb295200da63c8d8e2c04f
diff --git a/src/edeposit/amqp/serializers/__init__.py b/src/edeposit/amqp/serializers/__init__.py index <HASH>..<HASH> 100755 --- a/src/edeposit/amqp/serializers/__init__.py +++ b/src/edeposit/amqp/serializers/__init__.py @@ -4,4 +4,6 @@ # Interpreter version: python 2.7 # #= Imports ===============================...
Some parts rewritten to generators / list comprehensions.
edeposit_edeposit.amqp.serializers
train
4fa0df3ae29131ae8799cf751c7b41cdcd698293
diff --git a/core/src/main/java/org/javasimon/callback/timeline/StopwatchTimeline.java b/core/src/main/java/org/javasimon/callback/timeline/StopwatchTimeline.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/javasimon/callback/timeline/StopwatchTimeline.java +++ b/core/src/main/java/org/javasimon/callback/t...
Fixed timestamp nanos to millis conversion
virgo47_javasimon
train
7e8549c24f3c68d57b2b24a58d3713088ed3624d
diff --git a/src/main/groovy/lang/GroovyClassLoader.java b/src/main/groovy/lang/GroovyClassLoader.java index <HASH>..<HASH> 100644 --- a/src/main/groovy/lang/GroovyClassLoader.java +++ b/src/main/groovy/lang/GroovyClassLoader.java @@ -120,7 +120,6 @@ public class GroovyClassLoader extends ClassLoader { private voi...
Groovy-<I> COMPLETE: Added the ability to create Pattern objects using ~<double quoted string> syntax. These can be used instead of strings for ~= comparisons if you want to precompile regular expressions. They will also work for case statements once those are done. git-svn-id: <URL>
groovy_groovy-core
train
8d7122125ca7abf739f8dbbc3eb96d20056766a9
diff --git a/commands/screenshot.js b/commands/screenshot.js index <HASH>..<HASH> 100644 --- a/commands/screenshot.js +++ b/commands/screenshot.js @@ -35,7 +35,7 @@ module.exports = Command.extend({ if (err || !res) { return console.error('err', err) } - var previewAppHash = ...
point to newer ipscend-preview
ipfs-shipyard_ipscend
train
ed7e2f5245cf7f8a0e427c753141f007d1150f67
diff --git a/js/stronghold.js b/js/stronghold.js index <HASH>..<HASH> 100644 --- a/js/stronghold.js +++ b/js/stronghold.js @@ -43,6 +43,7 @@ module.exports = class stronghold extends Exchange { 'createDepositAddress': true, 'withdraw': true, 'fetchTicker': false, + ...
@kroitor thanks for the bug :P
ccxt_ccxt
train
23145037425e13f2b7b7e4f3a39a3ebc1603781e
diff --git a/meshio/_cli/_convert.py b/meshio/_cli/_convert.py index <HASH>..<HASH> 100644 --- a/meshio/_cli/_convert.py +++ b/meshio/_cli/_convert.py @@ -42,9 +42,20 @@ def convert(argv=None): def _get_convert_parser(): + # Avoid repeating format names + # https://stackoverflow.com/a/31124505/353337 + cl...
meshio-convert: better -h formatting
nschloe_meshio
train
35004f58f8ce4c69af1c8ad47e8983ef09ad155c
diff --git a/src/main/java/apoc/index/SchemaIndex.java b/src/main/java/apoc/index/SchemaIndex.java index <HASH>..<HASH> 100644 --- a/src/main/java/apoc/index/SchemaIndex.java +++ b/src/main/java/apoc/index/SchemaIndex.java @@ -102,7 +102,7 @@ public class SchemaIndex { // however the index guarantees to be...
unconstrained doesn't read values (which leads to NPE) so we need unordered instead
neo4j-contrib_neo4j-apoc-procedures
train
08457a7a6b6ad4f518fad0d5bca094a2b5b38fbe
diff --git a/lib/git/__init__.py b/lib/git/__init__.py index <HASH>..<HASH> 100644 --- a/lib/git/__init__.py +++ b/lib/git/__init__.py @@ -29,6 +29,7 @@ from git.objects import * from git.refs import * from git.diff import * from git.exc import * +from git.db import * from git.cmd import Git from git.repo import R...
Added python <I> support: Repo will now use the original GitCmdObjectDB in python <I>, as the pure python implementation cannot work without memory maps
gitpython-developers_GitPython
train
cdc408d2c2b098db8383f0b5af619fb559a9b514
diff --git a/internal/shareable/shareable.go b/internal/shareable/shareable.go index <HASH>..<HASH> 100644 --- a/internal/shareable/shareable.go +++ b/internal/shareable/shareable.go @@ -220,13 +220,16 @@ func (i *Image) DrawImage(img *Image, vertices []float32, indices []uint16, colo i.backend.restorable.DrawImage(i...
shareable: Suspend re-using shared images Fixes #<I>
hajimehoshi_ebiten
train
27f43aac928232d957fda0115b5568410a3df81e
diff --git a/pyulog/core.py b/pyulog/core.py index <HASH>..<HASH> 100644 --- a/pyulog/core.py +++ b/pyulog/core.py @@ -74,11 +74,11 @@ class ULog(object): _unpack_uint64 = struct.Struct('<Q').unpack - def __init__(self, file, message_name_filter_list=None): + def __init__(self, log_file, message_name_fil...
change param "file" to "log_file" for ci test
PX4_pyulog
train
bf8d3ec1e232dfa4e32e636892d3324284df9bdc
diff --git a/test/lib/bitkassa/request_test.rb b/test/lib/bitkassa/request_test.rb index <HASH>..<HASH> 100644 --- a/test/lib/bitkassa/request_test.rb +++ b/test/lib/bitkassa/request_test.rb @@ -60,6 +60,12 @@ describe Bitkassa::Request do end end + describe "#attributes" do + it "is an empty hash" do + ...
Adding a test to spec the #attributes on Request.
berkes_bitkassa
train
07404814f87a91d09c64416bb33a25cc3639eb01
diff --git a/src/Common/Library/Config.php b/src/Common/Library/Config.php index <HASH>..<HASH> 100644 --- a/src/Common/Library/Config.php +++ b/src/Common/Library/Config.php @@ -100,7 +100,7 @@ class Config */ public static function siteUrl($sUri, $bUseSecure = false) { - if (preg_match('/^(http...
Fixed site_url so that # urls only don't get rewritten if the # is the first char
nails_common
train
daf73ddcfec1e4f51a5947be65fa4690671e76cb
diff --git a/pycldf/dataset.py b/pycldf/dataset.py index <HASH>..<HASH> 100644 --- a/pycldf/dataset.py +++ b/pycldf/dataset.py @@ -185,10 +185,11 @@ class Dataset(object): return dataset @classmethod - def from_zip(cls, fname): + def from_zip(cls, fname, name=None): fname = cls._existing_...
support writing multiple datasets to the same zip archive
cldf_pycldf
train
480b017022bf26ead26f57f80d3d511fda3c716d
diff --git a/src/main/java/org/apache/jmeter/JMeterMojo.java b/src/main/java/org/apache/jmeter/JMeterMojo.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/apache/jmeter/JMeterMojo.java +++ b/src/main/java/org/apache/jmeter/JMeterMojo.java @@ -161,7 +161,7 @@ public class JMeterMojo extends AbstractMojo { ...
Upgrading search path to jmeter <I>
jmeter-maven-plugin_jmeter-maven-plugin
train
e781dd1f581ad97dcc280b21d6e92bb651d4906e
diff --git a/src/Http/Controllers/AuthorizationController.php b/src/Http/Controllers/AuthorizationController.php index <HASH>..<HASH> 100644 --- a/src/Http/Controllers/AuthorizationController.php +++ b/src/Http/Controllers/AuthorizationController.php @@ -52,7 +52,7 @@ class AuthorizationController * @param Reque...
Use correct namespaces in docblocks
laravel_passport
train
443f17b51f43d154e0736dec8a563209f96e7539
diff --git a/plugin/handler.js b/plugin/handler.js index <HASH>..<HASH> 100644 --- a/plugin/handler.js +++ b/plugin/handler.js @@ -10,7 +10,7 @@ Plugin.registerSourceHandler('tpl', { var contents = compileStep.read().toString('utf8'); var results = 'angular.module(\'angular-meteor\').run([\'$templateCache\', fu...
Convert Windows style paths to *nix style in build step As discussed in #<I>, we need to normalize paths across platforms to be able to consistently refer to templates in apps.
Urigo_angular-meteor
train
5ccaf743c73db845f8120ecd046c26db4a7c753f
diff --git a/lib/opal/parser.rb b/lib/opal/parser.rb index <HASH>..<HASH> 100644 --- a/lib/opal/parser.rb +++ b/lib/opal/parser.rb @@ -45,7 +45,7 @@ module Opal '~'*(lexer.column-1) + '^', ].join("\n") - raise error.class, message + raise error.class, message, error.backtrace end ...
Don't swallow backtraces on parse errors
opal_opal
train
a808dc79feef8124ff8481cf1a1a2d6ebf0979fc
diff --git a/pattern/pattern.go b/pattern/pattern.go index <HASH>..<HASH> 100644 --- a/pattern/pattern.go +++ b/pattern/pattern.go @@ -2,6 +2,7 @@ package pattern import ( "fmt" + "math" "github.com/pravj/geo_pattern/svg" "github.com/pravj/geo_pattern/shapes" "github.com/pravj/geo_pattern/util...
initial prototype of hexagons pattern > add Merge method to utils package the merges two maps and return it.
pravj_geopattern
train
2d4c735264d7da845a5b563204628f5b4fb6abbf
diff --git a/src/Analyser/NodeScopeResolver.php b/src/Analyser/NodeScopeResolver.php index <HASH>..<HASH> 100644 --- a/src/Analyser/NodeScopeResolver.php +++ b/src/Analyser/NodeScopeResolver.php @@ -14,6 +14,7 @@ use PhpParser\Node\Expr\BinaryOp\Coalesce; use PhpParser\Node\Expr\BooleanNot; use PhpParser\Node\Expr\Ca...
Branch with exit() or die() is also considered as early terminated
phpstan_phpstan
train
4dcdd5b1a8aa4cc2cc30bd4dbbbeefbee94d18b9
diff --git a/lxd/operations/operations.go b/lxd/operations/operations.go index <HASH>..<HASH> 100644 --- a/lxd/operations/operations.go +++ b/lxd/operations/operations.go @@ -292,7 +292,9 @@ func (op *Operation) Cancel() (chan error, error) { op.status = api.Cancelling op.lock.Unlock() - if op.onCancel != nil { +...
lxd/operations/operations: Fix hanging cancelation This prevents an operation, which has onCancel set, to block indefinitely. The issue was that the goroutine writes to chanCancel and then calls op.done() which sets onCancel to nil. The main function checks for onCancel == nil, and also tries to write to chanCancel. ...
lxc_lxd
train
47e01622d62907268cda2f9df07c0c15bee4e047
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ export { spec, check } from './spec' -export { match, toggle, toggleMatchers } from './match' +export { match, toggle, toggleSelector } from './match' export { container } from './container' exp...
rename toggleMatchers to toggleSelector
gt3_ultra-router
train
779a3d54141ce16abd0b3142629a9b3aed05c4f7
diff --git a/src/Model/CustomPostType/Query.php b/src/Model/CustomPostType/Query.php index <HASH>..<HASH> 100644 --- a/src/Model/CustomPostType/Query.php +++ b/src/Model/CustomPostType/Query.php @@ -136,12 +136,12 @@ class Query $offset = (int)get_query_var('paged', 1); $this->limit($postsPerPage); ...
offset were being confused in between WPs and Stratas
strata-mvc_strata
train
d9475976bb4080f18c2c6c45c4929856a696dc9d
diff --git a/mbuild/formats/lammpsdata.py b/mbuild/formats/lammpsdata.py index <HASH>..<HASH> 100644 --- a/mbuild/formats/lammpsdata.py +++ b/mbuild/formats/lammpsdata.py @@ -203,7 +203,7 @@ def write_lammpsdata(structure, filename, atom_style='full', nbfix_in_data_file= rmin = params.nbfix_typ...
Round pair coeffs to 8 digits
mosdef-hub_mbuild
train
b5183fb6010c5f3102b05edee7b94e8c0bafe3c0
diff --git a/doc/oq-commands.md b/doc/oq-commands.md index <HASH>..<HASH> 100644 --- a/doc/oq-commands.md +++ b/doc/oq-commands.md @@ -183,6 +183,33 @@ than the entire calculation. In this case you should extract only the sites you are interested in, while this command extracts everything. The extract/export system w...
Added documentation for oq zip
gem_oq-engine
train
0b50802d52cdb7e5560ea6ff3a453b7378e3d5f7
diff --git a/btcjson/chainsvrresults.go b/btcjson/chainsvrresults.go index <HASH>..<HASH> 100644 --- a/btcjson/chainsvrresults.go +++ b/btcjson/chainsvrresults.go @@ -317,7 +317,7 @@ type Vin struct { Vout uint32 `json:"vout"` ScriptSig *ScriptSig `json:"scriptSig"` Sequence uint32 `json:"sequence"`...
btcjson/rpcserver: Encode witness stack as slice. The modifies the encoding of witness stacks in JSON responses to use a slice of strings instead of a single space-separated string for compatibility with Core.
btcsuite_btcd
train
ec52d0fe264909c138ae0bd8cdc2dc9d16bfaae7
diff --git a/lib/hungryform/helpers/action_view.rb b/lib/hungryform/helpers/action_view.rb index <HASH>..<HASH> 100644 --- a/lib/hungryform/helpers/action_view.rb +++ b/lib/hungryform/helpers/action_view.rb @@ -1,5 +1,6 @@ module HungryForm module ActionView + # Render a form def hungry_form_for(form, optio...
Changed link_to to render a block when it is given instead of a name
andrba_hungryform
train
b3acb7efcd52d2b25f0faa46b69ca2b2de4e5b2a
diff --git a/ci/filter_links.py b/ci/filter_links.py index <HASH>..<HASH> 100755 --- a/ci/filter_links.py +++ b/ci/filter_links.py @@ -40,6 +40,6 @@ if __name__ == '__main__': if check_link(link): ret = 1 print(f'{link["filename"]}:{link["lineno"]}: {link["uri"]} -> ' - ...
MNT: Improve the filtered link log for CI Use "info" instead of "code", since even for failing links "code" can be 0.
Unidata_MetPy
train
8544cc7c378588b8446f40761ab81f220f5e6958
diff --git a/.storybook/react-decorator.js b/.storybook/react-decorator.js index <HASH>..<HASH> 100644 --- a/.storybook/react-decorator.js +++ b/.storybook/react-decorator.js @@ -1,3 +1,4 @@ +import React, {StrictMode} from 'react'; import ReactDOM from 'react-dom'; import addons from '@storybook/addons'; import {RE...
render React components in StrictMode to receive useful warnings
JetBrains_ring-ui
train