hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
d177a98ba936b118425e9f9233ff65250d8682bb
diff --git a/sql-class.php b/sql-class.php index <HASH>..<HASH> 100755 --- a/sql-class.php +++ b/sql-class.php @@ -4,6 +4,8 @@ class SqlClass extends SqlClassCommon { const NO_WHERE_CLAUSE = 101; # Allow queries to be created without a where cluase const USE_PHP_TIMEZONE = 102; # Set the database timezone to...
Added a bulkInsert() method When doing multiple inserts, it is much quicker to do them in one query that a single query for every row This method allows an array of rows to be specified and inserted It also allows accepts a 3rd parameter to specify how unique key violations should be handled (either replace or ignore)
duncan3dc_sql-class
train
ace15a200eaa8943675bce30758eaac2095e046d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages import time -_version = "0.1" +_version = "0.2.dev%s" % int(time.time()) _packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]) _short_descrip...
Bumping development version to <I>
PyCQA_prospector
train
267e90ff9d19ba01ec8802ac9cf91c8fd2352d54
diff --git a/lib/ArangoDBClient/Document.php b/lib/ArangoDBClient/Document.php index <HASH>..<HASH> 100644 --- a/lib/ArangoDBClient/Document.php +++ b/lib/ArangoDBClient/Document.php @@ -129,6 +129,11 @@ class Document implements \JsonSerializable * keepNull option index */ const OPTION_KEEPNULL = 'kee...
store redundant regex part in a constant
arangodb_arangodb-php
train
72d08dc8771e13743db691a888092172f2702b2d
diff --git a/ipams/windowsipam/windowsipam.go b/ipams/windowsipam/windowsipam.go index <HASH>..<HASH> 100644 --- a/ipams/windowsipam/windowsipam.go +++ b/ipams/windowsipam/windowsipam.go @@ -4,6 +4,7 @@ import ( "net" log "github.com/Sirupsen/logrus" + "github.com/docker/libnetwork/discoverapi" "github.com/dock...
Fix cross compilation breakage - happened becasue of two independent commits
docker_libnetwork
train
74955e2a4cc1927bf3a3b5e4faaa7ab8b843f747
diff --git a/zounds/node/index.py b/zounds/node/index.py index <HASH>..<HASH> 100644 --- a/zounds/node/index.py +++ b/zounds/node/index.py @@ -1,4 +1,8 @@ from flow import Node, Aggregator +import numpy as np +from bisect import bisect_left +from timeseries import TimeSlice +from zounds.nputil import packed_hamming_di...
Introduce some convenience classes for searching against indexes
JohnVinyard_zounds
train
b43faf2fae8e2c944145f738735f544f559886f8
diff --git a/imageio/imageio-pict/src/main/java/com/twelvemonkeys/imageio/plugins/pict/PICTImageReaderSpi.java b/imageio/imageio-pict/src/main/java/com/twelvemonkeys/imageio/plugins/pict/PICTImageReaderSpi.java index <HASH>..<HASH> 100755 --- a/imageio/imageio-pict/src/main/java/com/twelvemonkeys/imageio/plugins/pict/P...
Added an extra mark to match the reset call in the finally block
haraldk_TwelveMonkeys
train
5122acc268e7ac1db4dc78750a80e59a22420cfe
diff --git a/code/Debug/Helper/Data.php b/code/Debug/Helper/Data.php index <HASH>..<HASH> 100644 --- a/code/Debug/Helper/Data.php +++ b/code/Debug/Helper/Data.php @@ -202,7 +202,7 @@ class Sheep_Debug_Helper_Data extends Mage_Core_Helper_Data // Find files with layout updates $updateFiles = array();...
Resolves 1 query reported when profiler was disabled
madalinoprea_magneto-debug
train
3779a0594205689d7ecaf8584c82fea0197c332f
diff --git a/src/utils/isValid.js b/src/utils/isValid.js index <HASH>..<HASH> 100644 --- a/src/utils/isValid.js +++ b/src/utils/isValid.js @@ -7,7 +7,7 @@ import { /* eslint-disable no-mixed-operators, indent */ -const isObject = a => (is(Object, a) && !is(Array, a) && !is(Function, a)) +const isObject = a => (is(...
Fix isValid for deeply nested arrays
25th-floor_revalidation
train
2b0187ea3924d7a56615f482de31c5908c593153
diff --git a/src/lib/core/utilities.php b/src/lib/core/utilities.php index <HASH>..<HASH> 100644 --- a/src/lib/core/utilities.php +++ b/src/lib/core/utilities.php @@ -408,6 +408,12 @@ function papi_html_tag( $tag, $attr = [] ) { * @return bool */ function papi_is_empty( $obj ) { + if ( is_array( $obj ) ) { + $obj...
Add support for checking if array is empty or not
wp-papi_papi
train
fa1e469dde0bdfd6978a3266db7803b8d39d1d69
diff --git a/contrib/externs/chrome_extensions.js b/contrib/externs/chrome_extensions.js index <HASH>..<HASH> 100644 --- a/contrib/externs/chrome_extensions.js +++ b/contrib/externs/chrome_extensions.js @@ -66,16 +66,17 @@ * There are two fundamentally different kinds of pseudo-types: those * instantiated in extens...
Fix annotation of chrome permissions apis: Permissions is not an actual type, but a pseudo-type describing an array with a particular set of values. ------------- Created by MOE: <URL>
google_closure-compiler
train
584d8908c3e3209d05b227df8b2894d0448d2f9b
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/AbstractHandler.java b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/AbstractHandler.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/AbstractHandler.java +++ b/flin...
[FLINK-<I>][REST] Include the whole stack trace in error response payload This closes #<I>
apache_flink
train
c55e5a3995c7e70010ff8d818948e2f382892828
diff --git a/src/components/TooltipSimple/TooltipSimple.js b/src/components/TooltipSimple/TooltipSimple.js index <HASH>..<HASH> 100644 --- a/src/components/TooltipSimple/TooltipSimple.js +++ b/src/components/TooltipSimple/TooltipSimple.js @@ -17,18 +17,31 @@ const TooltipSimple = ({ const tooltipWrapperClasses = c...
fix(TooltipSimple): handle case when the tooltip icon not displaying (#<I>) * fix(TooltipSimple): handle case when the tooltip icon not displaying, resolves #<I> * fix(TooltipSimple): handle case when the tooltip icon not displaying, resolves #<I>
carbon-design-system_carbon-components
train
faf7daa7b8452185e1790cb73e6a10de82187e29
diff --git a/deployment-scanner/src/main/java/org/jboss/as/server/deployment/scanner/FileSystemDeploymentService.java b/deployment-scanner/src/main/java/org/jboss/as/server/deployment/scanner/FileSystemDeploymentService.java index <HASH>..<HASH> 100644 --- a/deployment-scanner/src/main/java/org/jboss/as/server/deployme...
[WFLY-<I>]: exploded jsp is not deployed after server reload. Taking advantage of notifications to have a coherent state of deployments using scanner and the CLI.
wildfly_wildfly-core
train
6bcf58c8478b39838195682b46feb23c24c70a69
diff --git a/test/gith_test.js b/test/gith_test.js index <HASH>..<HASH> 100644 --- a/test/gith_test.js +++ b/test/gith_test.js @@ -200,6 +200,13 @@ exports['gith filtering'] = { test.ok( false, 'repo should have matched, but not branch, so.....' ); }); + var test6 = gith({ + repo: 'wrong/repo', + ...
Add test for filtering with right branch, wrong repo
danheberden_gith
train
741a3416882d4c9f17d1b0e75aca3c5969ff5fa6
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ ### Bug fixes +* [#5096](https://github.com/bbatsov/rubocop/issues/5096): Fix incorrect detection and autocorrection of multiple extend/include/prepend. ([@marcandre][]) * [#4662](https://g...
Avoid confusion by Cop::Style::MixinGrouping with mixins with receivers
rubocop-hq_rubocop
train
826cb87708ce05affcbecd4e01cfe37ffe7b1c44
diff --git a/src/components/_gapminder/line-chart/line-chart.js b/src/components/_gapminder/line-chart/line-chart.js index <HASH>..<HASH> 100644 --- a/src/components/_gapminder/line-chart/line-chart.js +++ b/src/components/_gapminder/line-chart/line-chart.js @@ -391,7 +391,7 @@ define([ ...
fixed LC crashing on missing data
vizabi_vizabi
train
2505f7ee6c88c088aeb46a2e1f5a53c38f16309b
diff --git a/src/Controllers/RecordsRequestHandler.php b/src/Controllers/RecordsRequestHandler.php index <HASH>..<HASH> 100644 --- a/src/Controllers/RecordsRequestHandler.php +++ b/src/Controllers/RecordsRequestHandler.php @@ -229,20 +229,25 @@ abstract class RecordsRequestHandler extends RequestHandler } ...
Refactoring multiSave and multiDelete
Divergence_framework
train
91a04dfb93eb21c5452c9a0c2426b670a96f41eb
diff --git a/lib/starling/handler.rb b/lib/starling/handler.rb index <HASH>..<HASH> 100644 --- a/lib/starling/handler.rb +++ b/lib/starling/handler.rb @@ -24,7 +24,7 @@ module StarlingServer SET_CLIENT_DATA_ERROR = "CLIENT_ERROR bad data chunk\r\nERROR\r\n".freeze # DELETE Responses - DELETE_COMMAND ...
Restore delete functionality. Has been broken for a while. Optional parameters should be optional.
starling_starling
train
084e8f5a4299ef9fa26bc75cb43daf66e8b631cf
diff --git a/cyther/cyther.py b/cyther/cyther.py index <HASH>..<HASH> 100644 --- a/cyther/cyther.py +++ b/cyther/cyther.py @@ -78,8 +78,6 @@ def where(cmd, mode=os.X_OK, path=None, error=True, crawl=False, datafile=False) error_string += 'not setting it\n' ...
Trying to fix travis problems, take 4
nickpandolfi_Cyther
train
71fc9174434f7daa8bea4bd3b5208f674974219e
diff --git a/paystackapi/tests/test_charge.py b/paystackapi/tests/test_charge.py index <HASH>..<HASH> 100644 --- a/paystackapi/tests/test_charge.py +++ b/paystackapi/tests/test_charge.py @@ -60,7 +60,7 @@ class TestCharge(BaseTestCase): @httpretty.activate def test_submit_otp(self): - """Method defin...
Test submit_phone method defined for a charge
andela-sjames_paystack-python
train
049dbcf801370070dad10623dab7da9bc451efe9
diff --git a/features/nucleotide_frequency.py b/features/nucleotide_frequency.py index <HASH>..<HASH> 100644 --- a/features/nucleotide_frequency.py +++ b/features/nucleotide_frequency.py @@ -1,10 +1,42 @@ +from collections import Counter from modules.feature import Feature +from sequence import Sequence class Nucle...
added nucleotide skew feature
childsish_sofia
train
db6f66917e7b837e4ca36983b5e6fcc1d0985c88
diff --git a/src/main/java/com/couchbase/client/CouchbaseClient.java b/src/main/java/com/couchbase/client/CouchbaseClient.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/couchbase/client/CouchbaseClient.java +++ b/src/main/java/com/couchbase/client/CouchbaseClient.java @@ -379,7 +379,7 @@ public class Couchbas...
JCBC-<I>: Rename getDesignDocument to align with other methods. This changeset renames the getDesignDocument and async* to just getDesignDoc. This helps with consistent naming for all design document operation. The old method is marked as deprecated. Change-Id: I3a2b0df<I>e<I>a2ebdbdebca3c<I>f<I> Reviewed-on: <URL>
couchbase_couchbase-java-client
train
84552598ca129e71abc35f82eaed8a5ed221a2b9
diff --git a/holidays/countries/poland.py b/holidays/countries/poland.py index <HASH>..<HASH> 100644 --- a/holidays/countries/poland.py +++ b/holidays/countries/poland.py @@ -50,6 +50,9 @@ class Poland(HolidayBase): self[date(year, NOV, 1)] = "Uroczystość Wszystkich świętych" if (1937 <= year <= 1945)...
Missing Polish bank holiday added (#<I>) On <I>-<I>-<I> there was special holiday due to <I>th annviersary of Independence Day
dr-prodigy_python-holidays
train
a0cd726fa9f28504945a6852d8ff167e4dcfb716
diff --git a/pyhdb/cursor.py b/pyhdb/cursor.py index <HASH>..<HASH> 100644 --- a/pyhdb/cursor.py +++ b/pyhdb/cursor.py @@ -374,7 +374,7 @@ class Cursor(object): resultset_part = response.segments[0].parts[1] if resultset_part.attribute & 1: self._received_last_resultset_part = True - ...
fixed fetchall() method which missed reading some result rows
SAP_PyHDB
train
34d4b268c7f35d6af299b8a7058b2023bd8dc4f0
diff --git a/admin/uploaduser.php b/admin/uploaduser.php index <HASH>..<HASH> 100755 --- a/admin/uploaduser.php +++ b/admin/uploaduser.php @@ -131,10 +131,10 @@ if ($um->preprocess_files() && confirm_sesskey()) { // check for valid field names foreach ($header as $i => $h) { $...
Fix for bug MDL-<I> "Debug, multiple warnings in admin/uploaduser.php and user.php"
moodle_moodle
train
50ec2d9ac34cc4946c975971df97d12f94da9877
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,12 @@ class build_ext(build_ext_orig, object): ext.define_macros.extend( [('MODULE_NAME', self.distribution.metadata.name), ('MODULE_VERSION', self.distribution.metadata.version)] ) + ...
escape the XMSLEC_CRYPTO macro value, just as it was done in the original setup
mehcode_python-xmlsec
train
826b67419c0fc605f3caf54b872abd4cf9bd1f26
diff --git a/pkg/proxy/hybrid/proxy.go b/pkg/proxy/hybrid/proxy.go index <HASH>..<HASH> 100644 --- a/pkg/proxy/hybrid/proxy.go +++ b/pkg/proxy/hybrid/proxy.go @@ -2,6 +2,7 @@ package hybrid import ( "fmt" + "sync" "time" "github.com/golang/glog" @@ -29,7 +30,8 @@ type HybridProxier struct { // TODO(direc...
proxy/hybrid: add locking around userspace map The map may be accessed concurrently from different goroutines so we need to lock it. Fixes: <URL>
openshift_origin
train
80ccf89d37aad113dce069208bc36458c656f04f
diff --git a/types.go b/types.go index <HASH>..<HASH> 100644 --- a/types.go +++ b/types.go @@ -337,7 +337,7 @@ type ( PurchaseUnitRequest struct { ReferenceID string `json:"reference_id,omitempty"` Amount *PurchaseUnitAmount `json:"amount"` - Payee *PayeeForOrders `json:"p...
Update shipping address to reflect paypal API
logpacker_PayPal-Go-SDK
train
d2473ce5e208327c33ca956b4714b600c3950367
diff --git a/flake8_import_order_fuzeman.py b/flake8_import_order_fuzeman.py index <HASH>..<HASH> 100644 --- a/flake8_import_order_fuzeman.py +++ b/flake8_import_order_fuzeman.py @@ -1,4 +1,5 @@ -from flake8_import_order import (IMPORT_3RD_PARTY, IMPORT_APP, IMPORT_APP_PACKAGE, IMPORT_APP_RELATIVE, IMPORT_STDLIB) +from...
Fixed the ordering of `__future__` imports
fuzeman_flake8-import-order-fuzeman
train
4ff992329b49741205f81f8051b5ae21ca63d61b
diff --git a/SimpleClientContainerExtension.php b/SimpleClientContainerExtension.php index <HASH>..<HASH> 100644 --- a/SimpleClientContainerExtension.php +++ b/SimpleClientContainerExtension.php @@ -172,7 +172,7 @@ class SimpleClientContainerExtension extends Extension ->arrayNode('client')->children() ...
[client] Use default as router topic. It fixes issues with fs transport when client's default config is used.
php-enqueue_simple-client
train
100129c8239adfd8edbab6f1952fac675c424fd3
diff --git a/core/src/main/java/tachyon/client/TachyonFSCore.java b/core/src/main/java/tachyon/client/TachyonFSCore.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/tachyon/client/TachyonFSCore.java +++ b/core/src/main/java/tachyon/client/TachyonFSCore.java @@ -18,68 +18,83 @@ interface TachyonFSCore extends C...
explict label methods public for interface.
Alluxio_alluxio
train
f52c547b108d25e732256485098923f49bf1acd8
diff --git a/python/src/nnabla/backward_function/max_pooling.py b/python/src/nnabla/backward_function/max_pooling.py index <HASH>..<HASH> 100644 --- a/python/src/nnabla/backward_function/max_pooling.py +++ b/python/src/nnabla/backward_function/max_pooling.py @@ -37,6 +37,8 @@ class MaxPoolingBackward(BackwardFunction):...
Use the same pointer address to the cudnn poolin_backward.
sony_nnabla
train
97f2bc3101b7b9243baeeda8bfc1db613971384f
diff --git a/lib/cielo.rb b/lib/cielo.rb index <HASH>..<HASH> 100644 --- a/lib/cielo.rb +++ b/lib/cielo.rb @@ -3,6 +3,7 @@ require 'active_support/core_ext/class/attribute_accessors' require 'active_support/core_ext/module/attribute_accessors' require 'active_support/core_ext/hash' require "net/http" +require "net/h...
Ruby <I> require net/https to create secure connections
crafters_cielo
train
ca6b7775c4c352ddb75e3e83fdbac54001ffe9f0
diff --git a/charmhelpers/contrib/storage/linux/utils.py b/charmhelpers/contrib/storage/linux/utils.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/storage/linux/utils.py +++ b/charmhelpers/contrib/storage/linux/utils.py @@ -2,7 +2,8 @@ from os import stat from stat import S_ISBLK from subprocess import (...
sgdisk is sometimes unreliable; add in calls to dd to completely wipe MBR and GPT end tables to ensure a 'clean' disk. This change clears up cinder and ceph installs to large disks (1TB+) on physical systems.
juju_charm-helpers
train
95c52e22c8f60353022bbfd7ff66f64dd7b8b496
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,14 @@ $mock = EasyMock::mock('My\Class', [ ]); ``` +What if you want to assert that the method is called once (i.e. `$mock->expect($this->once())`)? Use `spy()` instead: + +```php +$mock = EasyMock::spy('My\C...
Added EasyMock::spy() to assert a method is called at least once
mnapoli_phpunit-easymock
train
f78fafabde93987e530a3f5565ff312ec562d1f3
diff --git a/lib/active_shipping/shipping/carriers/canada_post_pws.rb b/lib/active_shipping/shipping/carriers/canada_post_pws.rb index <HASH>..<HASH> 100644 --- a/lib/active_shipping/shipping/carriers/canada_post_pws.rb +++ b/lib/active_shipping/shipping/carriers/canada_post_pws.rb @@ -80,9 +80,9 @@ module ActiveMercha...
Updating to build the correct objects
Shopify_active_shipping
train
886582b4342e32cedff250b3ddeae05d1e67dcf9
diff --git a/classes/prompt.php b/classes/prompt.php index <HASH>..<HASH> 100644 --- a/classes/prompt.php +++ b/classes/prompt.php @@ -35,7 +35,7 @@ class prompt extends \mageekguy\atoum\script\prompt $watcher = new ResourceWatcher; $onEvent = function(FilesystemEvent $event) use ($watcher, $outputW...
Fix display hash message instead of filename The id of resource was used instead of string.
atoum_autoloop-extension
train
758c27f48feab374e1beedf8eb3347dc6de3f708
diff --git a/framework/messages/be/yii.php b/framework/messages/be/yii.php index <HASH>..<HASH> 100644 --- a/framework/messages/be/yii.php +++ b/framework/messages/be/yii.php @@ -123,7 +123,7 @@ return [ '{nFormatted} B' => '{nFormatted} Б', '{nFormatted} GB' => '{nFormatted} ГБ', '{nFormatted} GiB' => '...
Use kB instead of KB in Belarusian messages (#<I>)
yiisoft_yii2
train
416633d9378752641d9423dc3121939cb88839b6
diff --git a/imagemounter/volume.py b/imagemounter/volume.py index <HASH>..<HASH> 100644 --- a/imagemounter/volume.py +++ b/imagemounter/volume.py @@ -663,7 +663,7 @@ class Volume(object): call_mount('ufs', 'ufstype=ufs2,loop,offset=' + str(self.offset)) elif fstype == 'ntfs': - ...
add ADS support to mount command args
ralphje_imagemounter
train
c08731f19839fc05c72a683871f8fe421e4baf6c
diff --git a/module/communication/default/src/main/java/org/openbase/jul/communication/exception/RPCResolvedException.java b/module/communication/default/src/main/java/org/openbase/jul/communication/exception/RPCResolvedException.java index <HASH>..<HASH> 100644 --- a/module/communication/default/src/main/java/org/open...
format RPCResolvedException.java
openbase_jul
train
23af89daecd839e9af3a2353a0433e174a2e16ee
diff --git a/h2o-algos/src/main/java/hex/kmeans/KMeans.java b/h2o-algos/src/main/java/hex/kmeans/KMeans.java index <HASH>..<HASH> 100755 --- a/h2o-algos/src/main/java/hex/kmeans/KMeans.java +++ b/h2o-algos/src/main/java/hex/kmeans/KMeans.java @@ -60,6 +60,8 @@ public class KMeans extends ClusteringModelBuilder<KMeansMo...
Removed fold_column from train frame
h2oai_h2o-3
train
70c7289da46964c64167adc19d90b867e7bd2fcc
diff --git a/tests/unit/odata/odata-reading-decimal-test.js b/tests/unit/odata/odata-reading-decimal-test.js index <HASH>..<HASH> 100644 --- a/tests/unit/odata/odata-reading-decimal-test.js +++ b/tests/unit/odata/odata-reading-decimal-test.js @@ -14,7 +14,7 @@ function initTestData(store) { store.createRecord('emb...
Removed 'M' symbol from the record's field karma
Flexberry_ember-flexberry-data
train
1452c1cc718006c72c4b7876d4b3c0a08281074e
diff --git a/pkg/authorization/api.go b/pkg/authorization/api.go index <HASH>..<HASH> 100644 --- a/pkg/authorization/api.go +++ b/pkg/authorization/api.go @@ -1,5 +1,11 @@ package authorization +import ( + "crypto/x509" + "encoding/json" + "encoding/pem" +) + const ( // AuthZApiRequest is the url for daemon reque...
pkg/authorization: send request's TLS peer certificates to plugins
moby_moby
train
576926b34724f0e595222e90d4f533d585571ab7
diff --git a/library/Public.php b/library/Public.php index <HASH>..<HASH> 100644 --- a/library/Public.php +++ b/library/Public.php @@ -61,7 +61,7 @@ if (!function_exists('municipio_get_logotype')) { ); // Get the symbol to use (blog name or image) - $symbol = '<h1 class="no-margin no-padding"...
Do not use h1 for logo
helsingborg-stad_Municipio
train
05b57773145e41860f5a005de6f1965e75516b21
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ A Ruby wrapper for the Infusionsoft API **update notes** -* upcoming - Adding support for rest api +* v1.3.6 - Ruby v3 compatibility +* v1.3.5 - Rest API is now supported (documentation incoming) * v1.2.2...
Updating for Ruby v3 compat
nateleavitt_infusionsoft
train
aaf5e17ae5ba4a7edf74f9486a0895b32a6694e1
diff --git a/salt/modules/archive.py b/salt/modules/archive.py index <HASH>..<HASH> 100644 --- a/salt/modules/archive.py +++ b/salt/modules/archive.py @@ -465,7 +465,7 @@ def cmd_unzip(zip_file, dest, excludes=None, def unzip(zip_file, dest, excludes=None, options=None, template=None, - runas=None, trim_o...
Add parameter to unzip to set permissions on extracted files to match that of the file/directory attributes in a zip archive
saltstack_salt
train
ea494345568970a2ae878c51e64c58b4707c37ac
diff --git a/pyblish_qml/app.py b/pyblish_qml/app.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/app.py +++ b/pyblish_qml/app.py @@ -59,6 +59,8 @@ class Application(QtGui.QGuiApplication): """ server_unresponsive = QtCore.pyqtSignal() + show_signal = QtCore.pyqtSignal() + quit_signal = QtCore.pyqtSi...
Signalling across threads to protect against crashes
pyblish_pyblish-qml
train
d8923d54fa8739f48041f068977aaeaf19ade00a
diff --git a/shared/common-adapters/icon.constants.js b/shared/common-adapters/icon.constants.js index <HASH>..<HASH> 100644 --- a/shared/common-adapters/icon.constants.js +++ b/shared/common-adapters/icon.constants.js @@ -339,25 +339,21 @@ const iconMeta_ = { 'icon-folder-copy-32': { isFont: false, extens...
Remove unused suppressions (#<I>)
keybase_client
train
908bf5b61e202ebd32fafd4130f1530e73b89128
diff --git a/lib/errors.js b/lib/errors.js index <HASH>..<HASH> 100644 --- a/lib/errors.js +++ b/lib/errors.js @@ -21,13 +21,13 @@ var HTTPError = exports.HTTPError = inherit(Error, { // Renders the error in string format suitable for use in a HTTP response. toString: function () { - return this.status + thi...
Added an error object for a <I> Forbidden status
jsbin_jsbin
train
0331ca3fb37bc57767dfebf7e179f27c69d4adc6
diff --git a/h2o-core/src/main/java/water/fvec/NewChunk.java b/h2o-core/src/main/java/water/fvec/NewChunk.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/fvec/NewChunk.java +++ b/h2o-core/src/main/java/water/fvec/NewChunk.java @@ -9,6 +9,8 @@ import water.util.PrettyPrint; import water.util.StringU...
A simple workaround for a strange segfault in NewChunk#compress
h2oai_h2o-3
train
5e6c9f6130cc97aad371df4e249b814b078e5910
diff --git a/maildir-deduplicate.py b/maildir-deduplicate.py index <HASH>..<HASH> 100755 --- a/maildir-deduplicate.py +++ b/maildir-deduplicate.py @@ -357,7 +357,7 @@ def process_duplicate_set(duplicate_set, opts): for size, mail_file, message in duplicate_set: i += 1 prefix = " " - if op...
Actually process the -R option in process_duplicate_set().
kdeldycke_maildir-deduplicate
train
7aa5b911cfc1c23ea4a24216238fbc78b6fa0bfa
diff --git a/lib/iseq_rails_tools/railtie.rb b/lib/iseq_rails_tools/railtie.rb index <HASH>..<HASH> 100644 --- a/lib/iseq_rails_tools/railtie.rb +++ b/lib/iseq_rails_tools/railtie.rb @@ -15,7 +15,7 @@ module IseqRailsTools end directories = - app.config.iseq_compile_paths.map { |path| [path, 'r...
If the autoload paths are pathnames, cast to string
kddeisz_iseq-rails-tools
train
f10338fb921a881cc9bfeecb495cf8a45a3278f8
diff --git a/lib/www_applet.rb b/lib/www_applet.rb index <HASH>..<HASH> 100644 --- a/lib/www_applet.rb +++ b/lib/www_applet.rb @@ -448,7 +448,7 @@ class WWW_Applet < BasicObject elsif first_class classes.unshift "#{e[:tag]}.#{first_class}" else - if e[:tag] != :body + if e...
Fixed: css id for :body element
da99_www_app
train
96a4d9b4fd903298d2b0ea70e3d90a4c5de68543
diff --git a/core/src/main/java/org/xillium/core/management/JMXCommander.java b/core/src/main/java/org/xillium/core/management/JMXCommander.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/xillium/core/management/JMXCommander.java +++ b/core/src/main/java/org/xillium/core/management/JMXCommander.java @@ -1...
verbose switch in JMXCommander
brianwhu_xillium
train
8af2a809fb34e5d452a3f535cf6b489f1d2e5de4
diff --git a/course/delete.php b/course/delete.php index <HASH>..<HASH> 100644 --- a/course/delete.php +++ b/course/delete.php @@ -27,7 +27,7 @@ print_heading(get_string("choosecourse")); print_simple_box_start("CENTER"); foreach ($courses as $course) { - echo "<A H...
Little modification to show course's full name and short name too.
moodle_moodle
train
d11c34750a079c6167bc4ad96e5f8251828b63fd
diff --git a/modules/social_features/social_follow_content/src/Plugin/ActivityContext/FollowContentActivityContext.php b/modules/social_features/social_follow_content/src/Plugin/ActivityContext/FollowContentActivityContext.php index <HASH>..<HASH> 100644 --- a/modules/social_features/social_follow_content/src/Plugin/Ac...
Issue #<I> by sjoerdvandervis: Moving comments...
goalgorilla_open_social
train
0cce1b35b82d59aa23a520f60a4a49f30227b064
diff --git a/src/main/java/org/redmine/ta/RedmineManager.java b/src/main/java/org/redmine/ta/RedmineManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/redmine/ta/RedmineManager.java +++ b/src/main/java/org/redmine/ta/RedmineManager.java @@ -766,10 +766,20 @@ public class RedmineManager { return g...
Issue <I>: fix for: RedmineManager.getCurrentUser doesn't throw NotFoundException if server response is <I>
taskadapter_redmine-java-api
train
ad15b66e93a460a01298fe1f58e28c33e9de34a7
diff --git a/semver.go b/semver.go index <HASH>..<HASH> 100644 --- a/semver.go +++ b/semver.go @@ -243,7 +243,11 @@ func ParseTolerant(s string) (Version, error) { // Remove leading zeros. for i, p := range parts { if len(p) > 1 { - parts[i] = strings.TrimPrefix(p, "0") + p = strings.TrimLeft(p, "0") + if ...
Fix ParseTolerant when zeros are continuous
blang_semver
train
3fae0a8b76fd935ecc491807214c056f1a71b417
diff --git a/lib/gitit/git.rb b/lib/gitit/git.rb index <HASH>..<HASH> 100644 --- a/lib/gitit/git.rb +++ b/lib/gitit/git.rb @@ -1,11 +1,10 @@ require "bundler/setup" require "gitit" require "gitit/repo" + Dir[File.dirname(__FILE__) + "/command_*.rb"].each do |file| require file end -#require "gitit/command_confi...
Minor edit to auto include command_* files
patbonecrusher_gitit
train
eb78216b866102d0d58a5fcd6c5dce63b3ff0e64
diff --git a/test/rules/OperatorSpacing.php b/test/rules/OperatorSpacing.php index <HASH>..<HASH> 100644 --- a/test/rules/OperatorSpacing.php +++ b/test/rules/OperatorSpacing.php @@ -174,7 +174,9 @@ class OperatorSpacing extends \li3_quality\test\Rule { } foreach (array_merge($byToken, $byContent) as $id) { ...
Update operator spacing to ignore non-php lines. Fixes #<I>
UnionOfRAD_li3_quality
train
63e432e2e6a5e6e4d9b14331751f9c29b2f70e3f
diff --git a/features/autoIncrement/core/autoIncrement.test.js b/features/autoIncrement/core/autoIncrement.test.js index <HASH>..<HASH> 100644 --- a/features/autoIncrement/core/autoIncrement.test.js +++ b/features/autoIncrement/core/autoIncrement.test.js @@ -109,7 +109,6 @@ describe('autoIncrement attribute feature', f...
removed inconsistent sorting expectation - see #<I>, #<I>
balderdashy_waterline-adapter-tests
train
dcdff3160f0cac61579ace55daeec8603cac841b
diff --git a/lib/kmeans.rb b/lib/kmeans.rb index <HASH>..<HASH> 100644 --- a/lib/kmeans.rb +++ b/lib/kmeans.rb @@ -39,20 +39,21 @@ module PdfExtract end def self.clusters items, keys, options = {} - options = {:k => 5, :delta => 0.001}.merge options + options = {:k => 10, :delta => 0.001}.merge ...
kmeans.rb: A few fixes.
CrossRef_pdfextract
train
571397f31ec7d6ba95cfbe08f18f0080ff7c0b53
diff --git a/uproot/_walker/arraywalker.py b/uproot/_walker/arraywalker.py index <HASH>..<HASH> 100644 --- a/uproot/_walker/arraywalker.py +++ b/uproot/_walker/arraywalker.py @@ -91,8 +91,7 @@ class ArrayWalker(uproot._walker.walker.Walker): length = self.data[index] index += 1 if...
fix string reading and add dummy TList so that we can look at CMS RECO files
scikit-hep_uproot
train
3701d7e43a154b47ea99261aeb7673c940f05434
diff --git a/js/tier-edit.js b/js/tier-edit.js index <HASH>..<HASH> 100644 --- a/js/tier-edit.js +++ b/js/tier-edit.js @@ -301,11 +301,16 @@ Browser.prototype.openTierPanel = function(tier) { if (seqStyle) { seqMismatchRow.style.display = 'table-row'; seqMismat...
Add option to show only mismatches.
dasmoth_dalliance
train
cbe6853af5d3d27ebdc8356d3044ab82c378d882
diff --git a/hangups/conversation.py b/hangups/conversation.py index <HASH>..<HASH> 100644 --- a/hangups/conversation.py +++ b/hangups/conversation.py @@ -622,7 +622,7 @@ class Conversation(object): Returns: List of :class:`.ConversationEvent` instances, ordered - newest-first. + ...
Fix Conversation.get_events for cached events When retrieving events that were previously loaded, `Conversation.get_events` was returning events newer than the provided event ID rather than older. Fixes #<I>.
tdryer_hangups
train
cfb871044ad569ba80588ff5948d592e02e50ab5
diff --git a/lib/pake/pakeFunction.php b/lib/pake/pakeFunction.php index <HASH>..<HASH> 100644 --- a/lib/pake/pakeFunction.php +++ b/lib/pake/pakeFunction.php @@ -268,22 +268,75 @@ function pake_chmod($arg, $target_dir, $mode, $umask = 0000) umask($current_umask); } -function pake_sh($cmd) +function pake_which($c...
added "interactive" option to pake_sh(), added pake_superuser_sh()
indeyets_pake
train
78c10086fadf7bcb872c8c813af13f69cf2bfc24
diff --git a/spec/unit/controller_spec.rb b/spec/unit/controller_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/controller_spec.rb +++ b/spec/unit/controller_spec.rb @@ -472,8 +472,9 @@ describe Flame::Controller do inherited_controller = Class.new(ControllerController) do inherit_actions exclude: %i[foo ...
Sort inherited Controller's actions in tests (another case)
AlexWayfer_flame
train
cf70ee3bb46611cb56a9c76c22eafaecc6cf9184
diff --git a/src/Listener/LanguageSetter.php b/src/Listener/LanguageSetter.php index <HASH>..<HASH> 100644 --- a/src/Listener/LanguageSetter.php +++ b/src/Listener/LanguageSetter.php @@ -32,7 +32,7 @@ class LanguageSetter implements ListenerAggregateInterface */ protected $listeners; - public function a...
- Adds $priority param to Listeners. - Deactivates set Defaul \Zend\Validator\AbstractValidator::setDefaultTranslator($translator); in Core/Module.php. This has to be fixed in an own issue. - adds 'mvctranslator' => \Zend\I<I>n\Translator\TranslatorServiceFactory::class, to the Core Config.
yawik_install
train
93ac787c7d096997b61a75c7e93b14d15ac3dcd8
diff --git a/lib/features/editing/EditBehavior.js b/lib/features/editing/EditBehavior.js index <HASH>..<HASH> 100644 --- a/lib/features/editing/EditBehavior.js +++ b/lib/features/editing/EditBehavior.js @@ -67,6 +67,11 @@ function EditBehavior( selection.select(event.element); + // ensure that we get a ...
fix(selection): cross browser focus event related to CAM-<I>
bpmn-io_table-js
train
0e78ed18c91cab223f838885ea8cca4bdf6c8a85
diff --git a/ui/lang/de.js b/ui/lang/de.js index <HASH>..<HASH> 100644 --- a/ui/lang/de.js +++ b/ui/lang/de.js @@ -23,7 +23,7 @@ export default { monthsShort: 'Jan_Feb_Mar_Apr_Mai_Jun_Jul_Aug_Sep_Okt_Nov_Dez'.split('_'), firstDayOfWeek: 1, // 0-6, 0 - Sunday, 1 Monday, ... format24h: true, - pluralDay...
ui/lang; fix typo in de; change 'tage' to 'Tage' (#<I>)
quasarframework_quasar
train
acd93d8bf651740e90e8f2f32073b693cfc5de81
diff --git a/test/bootstrap.php b/test/bootstrap.php index <HASH>..<HASH> 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -7,19 +7,7 @@ $autoloader->add('Eloquent', __DIR__.'/src'); $documentationFixturePath = __DIR__.'/src/Eloquent/Pops/Test/Fixture/Documentation' ; -require - $documentationFixtu...
No need for DIRECTORY_SEPARATOR.
eloquent_pops
train
b210cc82fe1de737203ce6c66aa8e8626b2654e3
diff --git a/lib/fetchers/git.js b/lib/fetchers/git.js index <HASH>..<HASH> 100644 --- a/lib/fetchers/git.js +++ b/lib/fetchers/git.js @@ -65,7 +65,7 @@ Fetcher.impl(fetchGit, { return withTmp(opts, tmp => { if (streamError) { throw streamError } return cloneRepo( - manifest._r...
fix(git): whitelist specific shallow-cloneable hosts
zkat_pacote
train
d35544bc836a726ceec2e64004a887a2994e87d2
diff --git a/billing/__init__.py b/billing/__init__.py index <HASH>..<HASH> 100644 --- a/billing/__init__.py +++ b/billing/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.1.37' +__version__ = '0.1.38' __copyright__ = 'Copyright (c) 2017, skioo SA' __licence__ = 'MIT' __URL__ = 'https://github.com/skioo/django-customer...
Just count the accounts and exit on dry-run Previously we'd pretend to create the invoices, which is slow and also "spends" invoice ids in the database, thus resulting in holes in the invoice numbering.
skioo_django-customer-billing
train
e5a7445d3c470d81b3f70e499e041462195cad0a
diff --git a/src/utils/sentry.js b/src/utils/sentry.js index <HASH>..<HASH> 100644 --- a/src/utils/sentry.js +++ b/src/utils/sentry.js @@ -27,20 +27,20 @@ export const reportErrorFactory = ( productionLogger = Raven ) => error => { if (error instanceof Error === false && environment === 'development') { - /* ...
feat(sentry-logging): improve logger-output and sentry-reporting
commercetools_merchant-center-application-kit
train
2bc25035e8f0b93dc8f466c71a4b5504214299c6
diff --git a/tests/test_depparser.py b/tests/test_depparser.py index <HASH>..<HASH> 100644 --- a/tests/test_depparser.py +++ b/tests/test_depparser.py @@ -71,3 +71,39 @@ def check_dep_parse_file(tokenize=False): def test_dep_parse_file(): yield check_dep_parse_file, False yield check_dep_parse_file, True + +...
Added new tests for dependency parsing of tagged sentences and file.
EducationalTestingService_python-zpar
train
072dc99931e19f09e4a29fb83c758918494b823f
diff --git a/lib/project/pro_motion/adapters/pm_base_adapter.rb b/lib/project/pro_motion/adapters/pm_base_adapter.rb index <HASH>..<HASH> 100644 --- a/lib/project/pro_motion/adapters/pm_base_adapter.rb +++ b/lib/project/pro_motion/adapters/pm_base_adapter.rb @@ -60,9 +60,9 @@ class PMBaseAdapter < Android::Widget::Base...
Updated API of PMListView to allow customizing the cell class and adding an action
infinitered_bluepotion
train
93485190f9d074ad8b61c51a6b3cc8c1a8506ff3
diff --git a/src/Symfony/Component/Cache/LockRegistry.php b/src/Symfony/Component/Cache/LockRegistry.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Cache/LockRegistry.php +++ b/src/Symfony/Component/Cache/LockRegistry.php @@ -90,8 +90,10 @@ final class LockRegistry while (true) { try ...
[Cache] fail gracefully when locking is not supported
symfony_symfony
train
a610ed94f2b89190cb1a5fc729b55d1718678651
diff --git a/lib/will_cache.rb b/lib/will_cache.rb index <HASH>..<HASH> 100644 --- a/lib/will_cache.rb +++ b/lib/will_cache.rb @@ -7,6 +7,7 @@ module WillCache module ClassMethods include Cacheable + def acts_as_cached send :include, InstanceMethods end diff --git a/lib/will_cache/cacheable.r...
expire_cache returns true just like cache_fu does
dejan_will_cache
train
5be36b234648ffa69c562f3765978c084a9b4e4a
diff --git a/bosh_cli/lib/cli/commands/deployment.rb b/bosh_cli/lib/cli/commands/deployment.rb index <HASH>..<HASH> 100644 --- a/bosh_cli/lib/cli/commands/deployment.rb +++ b/bosh_cli/lib/cli/commands/deployment.rb @@ -96,6 +96,9 @@ module Bosh::Cli::Command err("Expected SHA1 when specifying remote URL fo...
Bosh uploads local release tarballs specified in the manifest [#<I>]
cloudfoundry_bosh
train
0882e34ec6d750fa55c2ad9f5fef5697713a5c54
diff --git a/core/good_key.go b/core/good_key.go index <HASH>..<HASH> 100644 --- a/core/good_key.go +++ b/core/good_key.go @@ -10,11 +10,17 @@ import ( "crypto/rsa" "fmt" "reflect" + "math/big" blog "github.com/letsencrypt/boulder/log" "github.com/letsencrypt/boulder/jose" ) +// To generate, run: primes ...
Add testing for small prime divisibility.
letsencrypt_boulder
train
bfd3c9838855843303c0e200be9e8293eda267ee
diff --git a/src/Repositories/HCCountryRepository.php b/src/Repositories/HCCountryRepository.php index <HASH>..<HASH> 100644 --- a/src/Repositories/HCCountryRepository.php +++ b/src/Repositories/HCCountryRepository.php @@ -29,6 +29,7 @@ declare(strict_types = 1); namespace HoneyComb\Regions\Repositories; +use Hone...
add translation model to repository to retrieve options with translations
honey-comb_regions
train
346319cb87e5cfbef70bdd8b8f7ec366c2e662f5
diff --git a/plugins/context2d.js b/plugins/context2d.js index <HASH>..<HASH> 100644 --- a/plugins/context2d.js +++ b/plugins/context2d.js @@ -1125,7 +1125,9 @@ if (moves[i].close) { this.pdf.internal.out('h'); - this.pdf.internal.out('f'); + ...
context2d - Fix hollow paths being drawn as filled The groundwork was already there in the context2d plugin to not set the fill until the final path instruction (rather than at path close), but just wasn't being used.
MrRio_jsPDF
train
c9fd3069100439692c59818c5cb13c6b350c7741
diff --git a/packages/collector/test/tracing/cloud/aws-sdk/v3/dynamodb/app.js b/packages/collector/test/tracing/cloud/aws-sdk/v3/dynamodb/app.js index <HASH>..<HASH> 100644 --- a/packages/collector/test/tracing/cloud/aws-sdk/v3/dynamodb/app.js +++ b/packages/collector/test/tracing/cloud/aws-sdk/v3/dynamodb/app.js @@ -1...
test: random failure reducation tracing/cloud/aws-sdk/v3/dynamodb/app.js
instana_nodejs-sensor
train
fe421b79a227d7e65a19b4ca23ca7705ecf73d40
diff --git a/hazelcast/src/main/java/com/hazelcast/cache/impl/operation/CacheEntryProcessorOperation.java b/hazelcast/src/main/java/com/hazelcast/cache/impl/operation/CacheEntryProcessorOperation.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/cache/impl/operation/CacheEntryProcessorOperati...
Send "CacheRemoveBackupOperation" (instead of "CachePutBackupOperation") if "EntryProcessor" removes entry - Backport fix for issue #<I> (NullPointerException on CachePutBackupOperation #<I>)
hazelcast_hazelcast
train
b9269fe3b31990642a85c52871847e49792f2120
diff --git a/src/apdu4j/SCTool.java b/src/apdu4j/SCTool.java index <HASH>..<HASH> 100644 --- a/src/apdu4j/SCTool.java +++ b/src/apdu4j/SCTool.java @@ -314,7 +314,7 @@ public class SCTool { do_readers = Arrays.asList(t); } else { do_readers = terminals.list(State.CARD_PRESENT); - if (do_readers.size() >...
Don't warn about multiple readers when listing them
martinpaljak_apdu4j
train
4a3eedf2abbccd8b3e675a09fc384adfbce82085
diff --git a/rapidoid-var/src/main/java/org/rapidoid/var/Var.java b/rapidoid-var/src/main/java/org/rapidoid/var/Var.java index <HASH>..<HASH> 100644 --- a/rapidoid-var/src/main/java/org/rapidoid/var/Var.java +++ b/rapidoid-var/src/main/java/org/rapidoid/var/Var.java @@ -1,5 +1,7 @@ package org.rapidoid.var; +import ...
Reverted back variables to be serializable (e.g. to store them in session).
rapidoid_rapidoid
train
34c7a0a4ae6f3f3481c36e377edb91be4b8f00fb
diff --git a/cxs/wrappers/node/test/connection-test.js b/cxs/wrappers/node/test/connection-test.js index <HASH>..<HASH> 100644 --- a/cxs/wrappers/node/test/connection-test.js +++ b/cxs/wrappers/node/test/connection-test.js @@ -87,9 +87,76 @@ describe('A Connection object with ', function () { assert.equal(conn...
Changing nodejs test with a for loop
hyperledger_indy-sdk
train
c49a96ac0e757c367c7221966b1fff61f3483e08
diff --git a/script/wee.events.js b/script/wee.events.js index <HASH>..<HASH> 100644 --- a/script/wee.events.js +++ b/script/wee.events.js @@ -91,10 +91,9 @@ bound: function(target, event, fn) { var segs = (event || '').split('.'), matches = []; - target = target || [0]; W.$each(target, function(el)...
Return all events if target isn't provided to bound method Apply correct scope to delegated events
weepower_wee-core
train
5cffbe1bbc647ca2e7e06144ee59272890b60982
diff --git a/pecan/core.py b/pecan/core.py index <HASH>..<HASH> 100644 --- a/pecan/core.py +++ b/pecan/core.py @@ -157,13 +157,16 @@ class Pecan(object): # get a sorted list of hooks, by priority (no controller hooks yet) state.hooks = self.determine_hooks() + + # store the ro...
Adding routing path so that the original URL is preserved when modified by hooks
pecan_pecan
train
009b13842e2ebec122fca592af0e523d5237e791
diff --git a/swift-service/src/main/java/com/facebook/swift/service/ThriftClientManager.java b/swift-service/src/main/java/com/facebook/swift/service/ThriftClientManager.java index <HASH>..<HASH> 100644 --- a/swift-service/src/main/java/com/facebook/swift/service/ThriftClientManager.java +++ b/swift-service/src/main/ja...
Add methods to ThriftClientMangaer to create client channels with no attached client
facebookarchive_swift
train
4b2e97e235e7d4ba8c578e26cf4ad989e663fb66
diff --git a/PhoneGapLib/javascripts/core/notification.js b/PhoneGapLib/javascripts/core/notification.js index <HASH>..<HASH> 100644 --- a/PhoneGapLib/javascripts/core/notification.js +++ b/PhoneGapLib/javascripts/core/notification.js @@ -51,16 +51,6 @@ Notification.prototype.activityStop = function() { PhoneGap.e...
Removed JavaScript interface for #<I>
apache_cordova-ios
train
987a318212826909cf0d7a1c6b33a7ce45621ebb
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -310,7 +310,10 @@ class RuptureConverter(object): def read_nrml(self, fname): self.fname = fname - return node_from_nrm...
Added the file name to the error message for invalid NRML files
gem_oq-engine
train
9a2aa35ca5ebf605540b00e9df8fec83841f7ea0
diff --git a/cloudvolume/skeleton.py b/cloudvolume/skeleton.py index <HASH>..<HASH> 100644 --- a/cloudvolume/skeleton.py +++ b/cloudvolume/skeleton.py @@ -916,8 +916,11 @@ class Skeleton(object): Returns: Skeleton """ lines = swcstr.split("\n") - while lines[0] == '' or re.match(r'[#\s]', lines[0][0])...
fix: SWC actually can support multiple components in one file Combines multiple components into a single file.
seung-lab_cloud-volume
train
759bbd046be0d2e3c4c52c7c0108cbb7025d47c2
diff --git a/lib/vagrant/errors.rb b/lib/vagrant/errors.rb index <HASH>..<HASH> 100644 --- a/lib/vagrant/errors.rb +++ b/lib/vagrant/errors.rb @@ -199,6 +199,11 @@ module Vagrant error_key(:ssh_authentication_failed) end + class SSHConnectionRefused < VagrantError + status_code(43) + error_ke...
Raise proper exception if SSH connection is refused with message to help people.
hashicorp_vagrant
train
24bba5f5384f3370938c16ad4fd6ce969c53f36c
diff --git a/src/js/zuix/ActiveRefresh.js b/src/js/zuix/ActiveRefresh.js index <HASH>..<HASH> 100644 --- a/src/js/zuix/ActiveRefresh.js +++ b/src/js/zuix/ActiveRefresh.js @@ -85,8 +85,9 @@ function ActiveRefresh($v, $el, data, refreshCallback) { _t.stop(); } }; + const isMainComponent = $v.get()...
Fixes `refresh:inactive` and `refresh:active` component events firing multiple times when refresh handler is paused/resumed.
zuixjs_zuix
train
ee20d5932660abb9aa69251a36b29d76141a9c03
diff --git a/agent/eventhandler/task_handler_types.go b/agent/eventhandler/task_handler_types.go index <HASH>..<HASH> 100644 --- a/agent/eventhandler/task_handler_types.go +++ b/agent/eventhandler/task_handler_types.go @@ -186,19 +186,26 @@ type setStatusSent func(event *sendableEvent) // setContainerChangeSent sets...
eventhandler: check the sentstatus before updating There could be a case that SubmitTaskStateChange for STOPPED happened before RUNNING, where the sentstatus of the task would be set to RUNNING. This PR fix this by checking the sentstatus before updating.
aws_amazon-ecs-agent
train
4e267eb1289509ed29446895f4550d11be0b57d7
diff --git a/src/Sulu/Bundle/ContactBundle/Resources/public/js/components/contacts/edit/details/main.js b/src/Sulu/Bundle/ContactBundle/Resources/public/js/components/contacts/edit/details/main.js index <HASH>..<HASH> 100644 --- a/src/Sulu/Bundle/ContactBundle/Resources/public/js/components/contacts/edit/details/main.j...
added comment, changed typo of postUrl-method
sulu_sulu
train
9b59c8bcd3c8710854be763aa1f178217ac7ece9
diff --git a/lib/determine-basal/cob-autosens.js b/lib/determine-basal/cob-autosens.js index <HASH>..<HASH> 100644 --- a/lib/determine-basal/cob-autosens.js +++ b/lib/determine-basal/cob-autosens.js @@ -37,8 +37,32 @@ function detectSensitivityandCarbAbsorption(inputs) { } else if (glucose_data[i-1].dateString...
interpolate missing glucose data for autosens and AMA
openaps_oref0
train
89bc0110c72ad501a819ce891f49ec3647b5582b
diff --git a/graphite_influxdb.py b/graphite_influxdb.py index <HASH>..<HASH> 100644 --- a/graphite_influxdb.py +++ b/graphite_influxdb.py @@ -21,13 +21,14 @@ logger = structlog.get_logger() # logger.debug = debug -def NullStatsd(): - def timer(self, key): +class NullStatsd(): + def timer(self, key, val=None...
fix NullStatsd make it an actual class timer() can get called with 2/3 args
vimeo_graphite-influxdb
train
77a04357a1b66b9e5b2bae2efc0192b927f926fe
diff --git a/integration/container_test.go b/integration/container_test.go index <HASH>..<HASH> 100644 --- a/integration/container_test.go +++ b/integration/container_test.go @@ -1714,31 +1714,3 @@ func TestMultipleVolumesFrom(t *testing.T) { t.Fail() } } - -func TestRestartGhost(t *testing.T) { - runtime := mkRu...
Remove restart ghost test We do not allow ghosts anymore and this test does not add any value Docker-DCO-<I>-
containers_storage
train