hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
eafa1297506e204ff0d97df90afc2ae73339ddae
diff --git a/chalice/cli/__init__.py b/chalice/cli/__init__.py index <HASH>..<HASH> 100644 --- a/chalice/cli/__init__.py +++ b/chalice/cli/__init__.py @@ -121,17 +121,24 @@ def run_local_server(factory, host, port, stage, env): help=('Name of the Chalice stage to deploy to. ' 'Specif...
Add --connection-timeout to deploy command Fixes #<I>.
aws_chalice
train
9840025f8752ce72b1577c99ce32c4ff1fce0223
diff --git a/src/components/Flex/Flex.js b/src/components/Flex/Flex.js index <HASH>..<HASH> 100644 --- a/src/components/Flex/Flex.js +++ b/src/components/Flex/Flex.js @@ -1,22 +1,20 @@ import PropTypes from "prop-types"; import styled from "styled-components"; import as from "../../enhancers/as"; -import { bool, val...
Flex: removed 'grow' and 'shrink,' prettier styling (#<I>)
reakit_reakit
train
cbec36f513c40b3a7afa92ca2d6c02f1e2a5c9c1
diff --git a/docs/.vuepress/codesandbox.js b/docs/.vuepress/codesandbox.js index <HASH>..<HASH> 100644 --- a/docs/.vuepress/codesandbox.js +++ b/docs/.vuepress/codesandbox.js @@ -10,7 +10,7 @@ const PACKAGE_JSON = { "lint": "vue-cli-service lint" }, "dependencies": { - "vee-validate": "3.0.11", + "vee-...
docs: upgraded vee-validate range for codesandbox forker
baianat_vee-validate
train
50a8b21525c0b3453195c13511c09aceabcbc49b
diff --git a/includes/functions/functions.php b/includes/functions/functions.php index <HASH>..<HASH> 100644 --- a/includes/functions/functions.php +++ b/includes/functions/functions.php @@ -1140,7 +1140,7 @@ function get_relationship_name_from_path($path, $person1, $person2) { case 'hus': if ($person1 && $person2...
Fix: family navigator gives error when spouse private/missing
fisharebest_webtrees
train
a067d295703ce1edfd1dd7c8d0cb00b012ba0bd2
diff --git a/test/test-connect-callback.js b/test/test-connect-callback.js index <HASH>..<HASH> 100644 --- a/test/test-connect-callback.js +++ b/test/test-connect-callback.js @@ -49,7 +49,10 @@ client.on('connect', function() { if (!err) { ++ sentCount; if (sentCount < expected) { - pr...
test: work around node bug, use setImmediate() process.nextTick() in some Node.js prereleases seems to stall after about ~<I> calls. Since I'm using one of those prereleases, use setImmediate() as a workaround. PR-URL: <URL>
bnoordhuis_node-unix-dgram
train
1dd671cec6d5dd9fd48f5556046b9cefa253feb3
diff --git a/lyric.js b/lyric.js index <HASH>..<HASH> 100755 --- a/lyric.js +++ b/lyric.js @@ -1,17 +1,11 @@ #!/usr/bin/env node -var google = require('google') -var jsdom = require('jsdom') var applescript = require("applescript") var _ = require('lodash') var url = require('url') var async = require('async') ...
Use lyric-finder library.
NAzT_node-lyric
train
fb2e82c8ba19e6e59705639eca6ff082fdb3c35c
diff --git a/Swat/SwatMessage.php b/Swat/SwatMessage.php index <HASH>..<HASH> 100644 --- a/Swat/SwatMessage.php +++ b/Swat/SwatMessage.php @@ -77,7 +77,7 @@ class SwatMessage extends SwatObject * @param integer $type the type of message. Must be a valid class * constant. */ - public funct...
Missed this one since it was self:: svn commit r<I>
silverorange_swat
train
71d9f2e3c7d097150dd98e68cee2b9b63d86ac11
diff --git a/annis-widgets/src/main/java/annis/gui/widgets/gwt/public/anniswidget/rst_vis.js b/annis-widgets/src/main/java/annis/gui/widgets/gwt/public/anniswidget/rst_vis.js index <HASH>..<HASH> 100644 --- a/annis-widgets/src/main/java/annis/gui/widgets/gwt/public/anniswidget/rst_vis.js +++ b/annis-widgets/src/main/ja...
Only add additional height to the canvas, if the root has a satellite among the children.
korpling_ANNIS
train
ca17482beaea548ccc2862e0c8f4ee1d5438810b
diff --git a/rq_scheduler/scheduler.py b/rq_scheduler/scheduler.py index <HASH>..<HASH> 100644 --- a/rq_scheduler/scheduler.py +++ b/rq_scheduler/scheduler.py @@ -129,8 +129,7 @@ class Scheduler(object): interval=interval, repeat=repeat) def schedule(self, scheduled_time, func, args=...
created seperate method for scheduling cronjobs
rq_rq-scheduler
train
f8d126ff7020e935f421d4449166eea980094437
diff --git a/metrics-core/src/test/java/com/codahale/metrics/MetricRegistryListenerTest.java b/metrics-core/src/test/java/com/codahale/metrics/MetricRegistryListenerTest.java index <HASH>..<HASH> 100644 --- a/metrics-core/src/test/java/com/codahale/metrics/MetricRegistryListenerTest.java +++ b/metrics-core/src/test/jav...
Do not mock a Gauge. We can just instantiate it as a lambda expression.
dropwizard_metrics
train
d9688615a503b4be64422d31dbd95bc0c8958fe2
diff --git a/src/core/SPServices.core.js b/src/core/SPServices.core.js index <HASH>..<HASH> 100644 --- a/src/core/SPServices.core.js +++ b/src/core/SPServices.core.js @@ -337,7 +337,7 @@ define([ constants.SOAPEnvelope.opheader = "<" + opt.operation + " "; switch (WSops[opt.operation][0]) { ...
Update SPServices.core.js Fixed a missed constants.utils in line <I>
sympmarc_SPServices
train
86b0e730ab59f4e57f0443e09b32200a86e84ce6
diff --git a/lib/primary.rb b/lib/primary.rb index <HASH>..<HASH> 100644 --- a/lib/primary.rb +++ b/lib/primary.rb @@ -32,7 +32,7 @@ module Primary end def get_primary_scope(options) - check = self.class.where("#{options[:on].to_s} = ?", true) + check = self.class.default_scoped.where("#{o...
Add default_scoped call to prevent deprecation warnings
prograils_primary
train
c483853c79c1356f3b436f8edc933e2c74fb0207
diff --git a/signer/client/signer_trust.go b/signer/client/signer_trust.go index <HASH>..<HASH> 100644 --- a/signer/client/signer_trust.go +++ b/signer/client/signer_trust.go @@ -128,7 +128,7 @@ func NewNotarySigner(hostname string, port string, tlsConfig *tls.Config) *Notar } // Create creates a remote key and ret...
Fix Create arg order for signer
theupdateframework_notary
train
42811a670f2bda4d8d5817513139709384049816
diff --git a/src/components/tabs/tabs.js b/src/components/tabs/tabs.js index <HASH>..<HASH> 100644 --- a/src/components/tabs/tabs.js +++ b/src/components/tabs/tabs.js @@ -298,8 +298,8 @@ function TabsDirective($compile, $timeout, $materialEffects) { } // Add class to hide or show the contain...
fix(tabs): toggleClass correctly
angular_material
train
1bb6c112efc578f5965469692111ed76c3bf1483
diff --git a/pages/http.py b/pages/http.py index <HASH>..<HASH> 100644 --- a/pages/http.py +++ b/pages/http.py @@ -113,6 +113,11 @@ def pages_view(view): only_context=True, delegation=False) context = response kwargs.update(context) + extra_context_var = kwargs.pop(...
pass extra_context_var to pages_view to specify the name of the variable that is supposed to hold the extra context
batiste_django-page-cms
train
b3085ba5da1cb8ea72e7ffdfc2cb13e0d6563dcf
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -658,7 +658,7 @@ func (c *client) Publish(topic string, qos byte, retained bool, payload interfac // a message is published on the topic provided. // // Please note: you should try to keep the execution time of the call...
Sign off commit to get beyond CI
eclipse_paho.mqtt.golang
train
9d1a67397bd7ae6d0199fe26458ba7564f64360e
diff --git a/demos/column_filters.jsx b/demos/column_filters.jsx index <HASH>..<HASH> 100644 --- a/demos/column_filters.jsx +++ b/demos/column_filters.jsx @@ -5,9 +5,12 @@ var _ = require('lodash'); var React = require('react'); module.exports = React.createClass({ - displayName: 'ColumnFilters', + propTy...
Fix linting warnings/errors and proptypes
reactabular_reactabular
train
4bbbbcf13890b2aea7eaa6b16dbf34e4bfc387d8
diff --git a/brozzler/frontier.py b/brozzler/frontier.py index <HASH>..<HASH> 100644 --- a/brozzler/frontier.py +++ b/brozzler/frontier.py @@ -99,19 +99,23 @@ class RethinkDbFrontier: .order_by(index="sites_last_disclaimed") .filter( (rethinkdb.row["cla...
fix bug where the first time a site was claimed, another brozzler-worker would claim it anyway (and find no pages to brozzle)
internetarchive_brozzler
train
33fc7befc8533ab62a835234dcb2e3fb4be488c6
diff --git a/go/badges/badgestate.go b/go/badges/badgestate.go index <HASH>..<HASH> 100644 --- a/go/badges/badgestate.go +++ b/go/badges/badgestate.go @@ -100,6 +100,18 @@ func (b *BadgeState) UpdateWithGregor(gstate gregor.State) error { b.state.RekeysNeeded += body.Count case "follow": b.state.NewFollowers...
add new git repos to the BadgerState
keybase_client
train
af317bd6055e4357dccf112465e2b0593b17a8cb
diff --git a/lib/formtastic/action_class_finder.rb b/lib/formtastic/action_class_finder.rb index <HASH>..<HASH> 100644 --- a/lib/formtastic/action_class_finder.rb +++ b/lib/formtastic/action_class_finder.rb @@ -6,7 +6,7 @@ module Formtastic # class ActionClassFinder < NamespacedClassFinder def initialize(bui...
simplify defining custom namespaces in form builder * do not allow blocks * defaults are defined in form builder
justinfrench_formtastic
train
d5ae6a706b22e495c59bfda73f259eb0c36d8d33
diff --git a/debug/data.js b/debug/data.js index <HASH>..<HASH> 100644 --- a/debug/data.js +++ b/debug/data.js @@ -17,7 +17,7 @@ $(function(){ }); } - cy.$("node, edge").live("click", function(e){ + cy.on("click", "node, edge", function(e){ if( e.metaKey ){ displayElementData(this); } diff --g...
fix callback context for delegated listeners
cytoscape_cytoscape.js
train
71f249947efedc40888e0152eebf89fcd4a5b2d1
diff --git a/lib/appsignal.rb b/lib/appsignal.rb index <HASH>..<HASH> 100644 --- a/lib/appsignal.rb +++ b/lib/appsignal.rb @@ -132,14 +132,14 @@ module Appsignal logger.error('Can\'t send error, given value is not an exception') return end - transaction = Appsignal::Transaction.create( + ...
Fix issue where send_exception pollutes open transactions When using `send_error` inside another transaction, the (thread) current transaction is cleared. This causes a leak in transactions. `send_error` should create it's own transaction and not store it in thread local.
appsignal_appsignal-ruby
train
12a51773a601fc37edaff76db80ca0f73975423f
diff --git a/lib/directives/layout/spec/spec_runner.js b/lib/directives/layout/spec/spec_runner.js index <HASH>..<HASH> 100644 --- a/lib/directives/layout/spec/spec_runner.js +++ b/lib/directives/layout/spec/spec_runner.js @@ -10,6 +10,7 @@ tests: [ 'layout_spec' ], - requireConfig: {} + ...
(#<I>) don't load widget.json
LaxarJS_laxar
train
e8efb987224270cc506239ea0293e2ebfb69f8c8
diff --git a/view/frontend/web/js/view/payment/utilities.js b/view/frontend/web/js/view/payment/utilities.js index <HASH>..<HASH> 100755 --- a/view/frontend/web/js/view/payment/utilities.js +++ b/view/frontend/web/js/view/payment/utilities.js @@ -171,6 +171,15 @@ define( }, /** + ...
Updated the js utilies file
checkout_checkout-magento2-plugin
train
002b352b0e663cc8e62f6dc67bf9efaf7a4b1605
diff --git a/lib/primitive.js b/lib/primitive.js index <HASH>..<HASH> 100644 --- a/lib/primitive.js +++ b/lib/primitive.js @@ -40,7 +40,7 @@ function as (column, name) { // table alias function alias (table, name) { if (this.typecheck) t.typecheck('alias', [table, name]); - return [table,this.quotes(name)].jo...
Do not put quotes on alias primitive
simov_xsql
train
58c9b557cf1ecfe0785b6ba5b165cf7d581cff94
diff --git a/vendor/mod/carto.js b/vendor/mod/carto.js index <HASH>..<HASH> 100644 --- a/vendor/mod/carto.js +++ b/vendor/mod/carto.js @@ -3227,6 +3227,10 @@ tree.Dimension.prototype = { return this; }, + round: function() { + this.value = Math.round(this.value); + return this; + }, ...
updated carto to support unsigned values in cartocss
CartoDB_carto.js
train
2cea39c258239150f9973598ec7c8afe39d3fe3d
diff --git a/aeron-client/src/main/java/io/aeron/CommonContext.java b/aeron-client/src/main/java/io/aeron/CommonContext.java index <HASH>..<HASH> 100644 --- a/aeron-client/src/main/java/io/aeron/CommonContext.java +++ b/aeron-client/src/main/java/io/aeron/CommonContext.java @@ -66,6 +66,11 @@ public class CommonContext...
[Java]: reserve sessionId of -1. And setup constant for NULL_SESSION_ID.
real-logic_aeron
train
3ba6eb1586a7f6090e1c2266035bf0345c4869dc
diff --git a/awkward0/persist.py b/awkward0/persist.py index <HASH>..<HASH> 100644 --- a/awkward0/persist.py +++ b/awkward0/persist.py @@ -511,8 +511,8 @@ def deserialize(storage, name="", whitelist=whitelist, cache=None, seen=None): schema = schema.decode("ascii") schema = json.loads(schema) - if "a...
make sure deserialize function recongnises awkward0 name as well (#<I>) * make sure deserialize function recongnises awkward0 name as well * Tested manually (CI is not automated anymore) and bumped version.
scikit-hep_awkward-array
train
bbaef94f13b432dad6f8e32a3c65a09bec465105
diff --git a/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherTest.java b/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherTest.java +++ b/src/test/java/hudson/plugins/emailext/ExtendedEmailPubl...
Fixing tests for the default recipients additions
jenkinsci_email-ext-plugin
train
73d2bdc9430ee611e16a159781dc3cbba2e2c7a6
diff --git a/almonds.py b/almonds.py index <HASH>..<HASH> 100644 --- a/almonds.py +++ b/almonds.py @@ -361,7 +361,12 @@ def main(): colors.toggle_bright() def load(path): - import cPickle + if sys.version_info.major > 2: + import pickle + cPick...
more python 3 compatibility
Tenchi2xh_Almonds
train
3d497be9bdbb6b97c302d1c8b505ee265d677138
diff --git a/eth/handler.go b/eth/handler.go index <HASH>..<HASH> 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -36,6 +36,7 @@ pm.chainman.InsertChain(blocks) import ( "fmt" + "math/big" "sync" "github.com/ethereum/go-ethereum/common" @@ -273,12 +274,11 @@ func (self *ProtocolManager) handleMsg(p *peer...
eth: drop blocks with low TD
ethereum_go-ethereum
train
743cb448f03f96c068bb1bd5b6a33d73130c476a
diff --git a/graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MessagesAdapterES7.java b/graylog-storage-elasticsearch7/src/main/java/org/graylog/storage/elasticsearch7/MessagesAdapterES7.java index <HASH>..<HASH> 100644 --- a/graylog-storage-elasticsearch7/src/main/java/org/graylog/storag...
Retry indexing message if primary shard is not active (#<I>) * Handle exception reasons without trailing semicolon. * Add test case for primary shard not being active. * Return retryable error if primary shard is not active for target index.
Graylog2_graylog2-server
train
205035490359815e81083f1d53ff59cb63749d34
diff --git a/c7n/policy.py b/c7n/policy.py index <HASH>..<HASH> 100644 --- a/c7n/policy.py +++ b/c7n/policy.py @@ -446,14 +446,16 @@ class LambdaMode(PolicyExecutionMode): return resources def expand_variables(self, variables): - """expand variables in the mode role fields. + """expand var...
core - lambda modes on provision interpolate {account_id} and {region} in execution-options (#<I>)
cloud-custodian_cloud-custodian
train
e0ec01d2903c4f39c707140dea432417749dcc2d
diff --git a/dev/particle.js b/dev/particle.js index <HASH>..<HASH> 100644 --- a/dev/particle.js +++ b/dev/particle.js @@ -2,10 +2,9 @@ const {utils, Base} = JParticles; const {random, abs, PI} = Math; const twicePI = PI * 2; const { - pInt, limitRandom, calcSpeed, - scaleValue, getCss, offset, - isElement,...
remove the mousemove event when the instance is destroyed
Barrior_JParticles
train
a3277220dcebedc01489ca139f2113e6c4e79495
diff --git a/spec/mysql2_adapter_spec.rb b/spec/mysql2_adapter_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mysql2_adapter_spec.rb +++ b/spec/mysql2_adapter_spec.rb @@ -8,14 +8,25 @@ require 'polymorpheus' Polymorpheus::Adapter.load! describe "Polymorpheus" do - class << ActiveRecord::Base.connection - includ...
only override AR::B.connection#execute when needed
wegowise_polymorpheus
train
5b1e14c94e4282ed487305ff5d2c4bc23bf6f484
diff --git a/src/chart/funnel/FunnelSeries.js b/src/chart/funnel/FunnelSeries.js index <HASH>..<HASH> 100644 --- a/src/chart/funnel/FunnelSeries.js +++ b/src/chart/funnel/FunnelSeries.js @@ -4,6 +4,7 @@ define(function(require) { var List = require('../../data/List'); var modelUtil = require('../../util/mod...
Funnel and pie support multi dimension data
apache_incubator-echarts
train
bd07a2110109ee908decb0947d2e171f48119bc8
diff --git a/classes/Gems/User/NoLoginDefinition.php b/classes/Gems/User/NoLoginDefinition.php index <HASH>..<HASH> 100644 --- a/classes/Gems/User/NoLoginDefinition.php +++ b/classes/Gems/User/NoLoginDefinition.php @@ -71,7 +71,7 @@ class Gems_User_NoLoginDefinition extends Gems_User_UserDefinitionAbstract ret...
Fixing some flaws in #<I>: remember last organization restored, nologin selected more efficient and bypassing security by checking through gems_user_user
GemsTracker_gemstracker-library
train
eefb7790941e995831d8dc9598ff86ba5e13047a
diff --git a/openquake/commonlib/calculators/classical.py b/openquake/commonlib/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/calculators/classical.py +++ b/openquake/commonlib/calculators/classical.py @@ -93,7 +93,7 @@ class ClassicalCalculator(base.HazardCalculator): sources ...
Removed get_gsims_by_trt_id
gem_oq-engine
train
6c54ede7b86480f11af6657421e4414f7061cb19
diff --git a/spec/v2/common.rb b/spec/v2/common.rb index <HASH>..<HASH> 100644 --- a/spec/v2/common.rb +++ b/spec/v2/common.rb @@ -3,6 +3,9 @@ require 'addressable/uri' require 'json' require 'yaml' +# Force YAML to use newer parsing engine. +YAML::ENGINE.yamler = 'psych' + def fixture(path) File.join(File.dirn...
Forcing tests to use Psych YAML parser (newer parser) in order to parse some of our more complex YAML fixtures.
schmich_kappa
train
922d58c3096966f3c0c18fa60db6c244059a574a
diff --git a/azure-toolkit-libs/azure-toolkit-common-lib/src/main/java/com/microsoft/azure/toolkit/lib/common/action/Action.java b/azure-toolkit-libs/azure-toolkit-common-lib/src/main/java/com/microsoft/azure/toolkit/lib/common/action/Action.java index <HASH>..<HASH> 100644 --- a/azure-toolkit-libs/azure-toolkit-common...
#<I>: use `FullResourceTypeName` instead of class name as `resourceType` in telemetry
Microsoft_azure-maven-plugins
train
8de79f8056dec81547278de7591f8f3f61b48b4e
diff --git a/source/rafcon/mvc/controllers/graphical_editor_gaphas.py b/source/rafcon/mvc/controllers/graphical_editor_gaphas.py index <HASH>..<HASH> 100644 --- a/source/rafcon/mvc/controllers/graphical_editor_gaphas.py +++ b/source/rafcon/mvc/controllers/graphical_editor_gaphas.py @@ -215,6 +215,11 @@ class GraphicalE...
Check for exception in notification method of gaphas Now also the state oberservation method in graphical controller of gaphas checks for exceptions in the modifying method and stops updating if a crash is detected. - catch additional method - correctly extract info data for transition/data flow changes
DLR-RM_RAFCON
train
d7f11844c84979a14be9bba910d96f448c6e5cae
diff --git a/cmd/notary-server/main.go b/cmd/notary-server/main.go index <HASH>..<HASH> 100644 --- a/cmd/notary-server/main.go +++ b/cmd/notary-server/main.go @@ -58,6 +58,12 @@ func main() { viper.SetConfigType(strings.TrimPrefix(ext, ".")) viper.SetConfigName(strings.TrimSuffix(filename, ext)) viper.AddConfigPa...
Accept configuration parameters from environment variables For example, trust_service.type becomes NOTARY_SERVER_TRUST_SERVICE_TYPE.
theupdateframework_notary
train
632731cc98bba63346e7a69f340f6cdf4b9ba063
diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -16,7 +16,6 @@ WSL = 'Microsoft' in uname()[2] ANDROID_API = '27' ANDROID_MINAPI = '21' -ANDROID_SDK_VERSION = '20' ANDROID_NDK_VERSION = '17...
Completely removed android_sdk_version token
kivy_buildozer
train
3b5a76e7604f859ecbb8cac6acb36eb7066846e5
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -31,13 +31,19 @@ export default function(tree, profile, syntax, options) { syntax = null; } - if (!syntax) { + if (!supports(syntax)) { + // fallback to HTML if given syntax is not supported syntax = 'html'; } -...
Do not throw error for unsupported syntax Fallback to `html` syntax instead due to possible variations of the same syntax. For example, `Angular HTML`, `Blade HTML` etc. should refer to `html` syntax but may use different snuppets
emmetio_markup-formatters
train
fc610d63b0bd27e5d9adc07ae069fc5db4cb35ae
diff --git a/HISTORY.md b/HISTORY.md index <HASH>..<HASH> 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,20 +1,21 @@ ## 1.1.2 (in progress) -- Trimming: add built-in support for adapters from the SMARTer Universal Low Input RNA Kit -(truseq2) and the Illumina NEXTera DNA prep kit from NEB (nextera2). -- ChIP/ATAC-s...
RNA-seq variant calling: avoid SV calls for VarDict Re-uses option selection from VarDict DNA-seq calling for RNA-seq variants. This avoids leaking structural variant calls in new versions of VarDict. Fixes AstraZeneca-NGS/SolveBio#<I>
bcbio_bcbio-nextgen
train
cf05074c6c28d6622ab8ef43e0d39d0d97d11036
diff --git a/caas/kubernetes/clientconfig/plugins.go b/caas/kubernetes/clientconfig/plugins.go index <HASH>..<HASH> 100644 --- a/caas/kubernetes/clientconfig/plugins.go +++ b/caas/kubernetes/clientconfig/plugins.go @@ -85,6 +85,48 @@ func ensureJujuAdminServiceAccount( return config, nil } +func removeJujuAdminSer...
Add functions for deleting k8s rbac resources for caas credentials;
juju_juju
train
41194b6ef9aa825d78e5df1388119af4603bfeb0
diff --git a/worker/uniter/runner/debug/server.go b/worker/uniter/runner/debug/server.go index <HASH>..<HASH> 100644 --- a/worker/uniter/runner/debug/server.go +++ b/worker/uniter/runner/debug/server.go @@ -105,6 +105,7 @@ END cat > $JUJU_DEBUG/init.sh <<END #!/bin/bash cat $JUJU_DEBUG/welcome.msg +trap 'echo \$? > ...
Fix <I> Debug hooks was not passing the exit status from the debug session unless it happened to be the last tmux window. I made the exit status be stored and retrieved by the script that is being called by RunHooks
juju_juju
train
7f95cd4d6d4c3afc10ce472a51d3eda9ff527cc4
diff --git a/src/Panda/Foundation/Bootstrap/BootstrapRegistry.php b/src/Panda/Foundation/Bootstrap/BootstrapRegistry.php index <HASH>..<HASH> 100644 --- a/src/Panda/Foundation/Bootstrap/BootstrapRegistry.php +++ b/src/Panda/Foundation/Bootstrap/BootstrapRegistry.php @@ -11,13 +11,14 @@ namespace Panda\Foundation\Boo...
[Framework] BootstrapRegistry extends SharedRegistry Also set BootstrapRegistry to use ArrayHelper for get and set
PandaPlatform_framework
train
7307e999d1540103776bf2f7e0e98f3641023df1
diff --git a/components/Account.php b/components/Account.php index <HASH>..<HASH> 100644 --- a/components/Account.php +++ b/components/Account.php @@ -204,7 +204,7 @@ class Account extends ComponentBase if (!array_key_exists('login', $data)) { $data['login'] = post('username', post('email'...
Make the Account onRegister validation pull from the user model. Related: #<I>,
rainlab_user-plugin
train
e656e98112df5d935449a9d13ddf1dc658829201
diff --git a/pysc2/lib/static_data.py b/pysc2/lib/static_data.py index <HASH>..<HASH> 100644 --- a/pysc2/lib/static_data.py +++ b/pysc2/lib/static_data.py @@ -58,9 +58,10 @@ UNIT_TYPES = [ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 125, 126, 127, 1...
Add new unit types of minerals and geysers. PySC2: Import of refs/pull/<I>/head PiperOrigin-RevId: <I>
deepmind_pysc2
train
89340ac78153e80258927573a68891847bb2d6a0
diff --git a/lib/chronic/chronic.rb b/lib/chronic/chronic.rb index <HASH>..<HASH> 100644 --- a/lib/chronic/chronic.rb +++ b/lib/chronic/chronic.rb @@ -125,6 +125,7 @@ module Chronic text.gsub!(/(\d)([ap]m|oclock)\b/, '\1 \2') text.gsub!(/\b(hence|after|from)\b/, 'future') text.gsub!(/^\s?an? /i, '1...
support parsing EXIF date format closes #<I>
mojombo_chronic
train
eb83ce5815a2a73af5ee22f2e88bfba3515bf1aa
diff --git a/scripts/build_release_application.js b/scripts/build_release_application.js index <HASH>..<HASH> 100644 --- a/scripts/build_release_application.js +++ b/scripts/build_release_application.js @@ -24,6 +24,15 @@ function minify(code) { }).code; } +async function write(stream, data) { + let callback; + ...
fix(build): tunning build procedure (#<I>) Fixes #<I>
GoogleChromeLabs_ndb
train
032d4098fbdf174bbac0f24af75739bcb8834b39
diff --git a/command/service/opts.go b/command/service/opts.go index <HASH>..<HASH> 100644 --- a/command/service/opts.go +++ b/command/service/opts.go @@ -236,6 +236,38 @@ func (r *restartPolicyOptions) ToRestartPolicy() *swarm.RestartPolicy { } } +type credentialSpecOpt struct { + value *swarm.CredentialSpec + s...
services: Add support for Credential Spec and SELinux - Defined "normalized" type for Credential Spec and SELinux - Added --credential-spec to docker service create & update - SELinux is API only at the time
docker_cli
train
aeda2e3afb43ee04a273bc5ec3dcb4d3513e0517
diff --git a/src/main/java/com/github/therapi/runtimejavadoc/CommentFormatter.java b/src/main/java/com/github/therapi/runtimejavadoc/CommentFormatter.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/therapi/runtimejavadoc/CommentFormatter.java +++ b/src/main/java/com/github/therapi/runtimejavadoc/Comment...
javadoc tool apparently doesn't like self-closing tags
dnault_therapi-runtime-javadoc
train
5e90dcc3622baab6a7eb3b51e9f47fd454e8bfac
diff --git a/merb-action-args/spec/spec_helper.rb b/merb-action-args/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/merb-action-args/spec/spec_helper.rb +++ b/merb-action-args/spec/spec_helper.rb @@ -1,4 +1,3 @@ -$TESTING=true $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') require "rubygems" diff ...
If Merb.env?(:test) we don't need ugly = true spread all over the place
wycats_merb
train
3b3e08eff4f37ce60e556aae61f0ed62ca8298c7
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -559,6 +559,8 @@ class GenericElementPlot(DimensionedPlot): elif self.dynamic: key, frame = util.get_dynamic_item(self.hmap, self.di...
Allowed partial dimension overlap in DynamicMaps
pyviz_holoviews
train
4ec01ddef56272f6bed23dd0eced8ea9851127b7
diff --git a/src/structures/APIMessage.js b/src/structures/APIMessage.js index <HASH>..<HASH> 100644 --- a/src/structures/APIMessage.js +++ b/src/structures/APIMessage.js @@ -152,7 +152,7 @@ class APIMessage { } else if (this.options.embed) { embedLikes.push(this.options.embed); } - const embeds = e...
feat(MessageEmbed): change toJSON method to return an api-compatible object (#<I>)
discordjs_discord.js
train
03964c752126a6c6f52bf4bc13fc8914355ee5ef
diff --git a/dingo/core/__init__.py b/dingo/core/__init__.py index <HASH>..<HASH> 100644 --- a/dingo/core/__init__.py +++ b/dingo/core/__init__.py @@ -719,6 +719,26 @@ class NetworkDingo: srid=srid, resolution=resolution) + def valid...
add method to NetworkDingo to check if MVGD is valid to exclude invalid MVGD, e.g. empty MVGD, only agg. LVLA in MVGD etc.
openego_ding0
train
a8334a8f80b7c75e851f3dc3f4403d32127a7e55
diff --git a/werkzeug/useragents.py b/werkzeug/useragents.py index <HASH>..<HASH> 100644 --- a/werkzeug/useragents.py +++ b/werkzeug/useragents.py @@ -49,7 +49,7 @@ class UserAgentParser(object): (r'aol|america\s+online\s+browser', 'aol'), ('opera', 'opera'), ('edge', 'edge'), - ('chro...
Add support for Chrome on iOS user agent
pallets_werkzeug
train
442b4e7fd093fc0d943e0c721b039a2a4f0beb64
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -30,12 +30,12 @@ var paths = { bulma: 'node_modules/bulma/sass/utilities/', jsPattern: '**/*.js' } -var globalSassFile = package.name + '.sass'; -var globalJsFile = package.name + '.sass'; var bulmaSassFi...
fix(gulp): Correct dist filenames
Wikiki_bulma-timeline
train
2bbd8df6ca1270ef4d1241c90d29d9be2a2e0ef2
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -2225,21 +2225,30 @@ def main(): if not isinstance(font["gasp"].gaspRange, dict): fb.error("GASP.gaspRange method value have wrong type") else:...
drop all gaspRanges except <I> issue #<I>
googlefonts_fontbakery
train
af4aa1983dcae77cf3c1fbe504b00398b46b330f
diff --git a/docs/components/DateRangePickerDocs.js b/docs/components/DateRangePickerDocs.js index <HASH>..<HASH> 100644 --- a/docs/components/DateRangePickerDocs.js +++ b/docs/components/DateRangePickerDocs.js @@ -143,7 +143,7 @@ class DateRangePickerDocs extends React.Component { <p>A function to be called w...
Add state in DateRangePicker to keep track of displayValue to pass into onDateRangeSelect (#<I>)
mxenabled_mx-react-components
train
9008827d402a44af50648c43ae4183dcf6250760
diff --git a/Components/Soap/Client/PlentymarketsSoapClient.php b/Components/Soap/Client/PlentymarketsSoapClient.php index <HASH>..<HASH> 100644 --- a/Components/Soap/Client/PlentymarketsSoapClient.php +++ b/Components/Soap/Client/PlentymarketsSoapClient.php @@ -40,6 +40,17 @@ require_once PY_SOAP . 'Models/PlentySoapR...
UPDATE Soap client (Calculate seconds based on the number of retries)
plentymarkets_plentymarkets-shopware-connector
train
bacb094be052b7738d441dd9bd1a706b38cb982a
diff --git a/src/scripts/build/cli.js b/src/scripts/build/cli.js index <HASH>..<HASH> 100644 --- a/src/scripts/build/cli.js +++ b/src/scripts/build/cli.js @@ -32,6 +32,10 @@ if (result.status !== 0) { process.exit(result.status); } +if (args.includes("--no-flow")) { + process.exit(result.status); +} + const flowR...
Added switch to disable flow type file generation
Orckestra_orc-scripts
train
d6c633bdbf48efb2eeef24c1108e9046b0b034d0
diff --git a/pptx/util.py b/pptx/util.py index <HASH>..<HASH> 100644 --- a/pptx/util.py +++ b/pptx/util.py @@ -7,14 +7,64 @@ # This module is part of python-pptx and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php -'''Utility functions that come in handy when working with Pow...
added Partname class to encapsulate partname parsing logic
scanny_python-pptx
train
a89d41acd0cac6d1c2d192324901c1ef04b153fa
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -101,8 +101,8 @@ setup( 'mail-parser>=3.11.0', 'dateparser>=0.7.2', 'mailsuite>=1.5.4', - 'elasticsearch>=6.3.1,<7.0.0', - ...
Update setup.py Changed Elasticsearch py to support Elastic > <I> For Elasticsearch <I> and later, use the major version 7 (7.x.y) of the library.
domainaware_parsedmarc
train
ade7153839702d7016ad247177acad4a63ac5a38
diff --git a/configcommands/space.go b/configcommands/space.go index <HASH>..<HASH> 100644 --- a/configcommands/space.go +++ b/configcommands/space.go @@ -133,9 +133,9 @@ func (c *SpaceConfigurationCommand) Execute(args []string) error { return err } if newSpace { - fmt.Println(fmt.Sprintf("The org/space [%s/%s...
adding test for scenario where user has (.) in name
pivotalservices_cf-mgmt
train
17d0f12a591ac9a3b49284e9c5312009a7db4bc8
diff --git a/backbone.js b/backbone.js index <HASH>..<HASH> 100644 --- a/backbone.js +++ b/backbone.js @@ -385,13 +385,14 @@ change: function(options) { if (this._changing || !this.hasChanged()) return this; this._changing = true; + this._moreChanges = true; for (var attr in this._changed...
use a while loop instead of do...while
jashkenas_backbone
train
82a42f0b47613705bca17f0b08f26d0b3a6590c9
diff --git a/lib/ransack/constants.rb b/lib/ransack/constants.rb index <HASH>..<HASH> 100644 --- a/lib/ransack/constants.rb +++ b/lib/ransack/constants.rb @@ -53,18 +53,18 @@ module Ransack } ], ['present', { - :arel_predicate => 'not_eq_all', + :arel_predicate => proc { |v| v ? 'no...
present / blank predicates accept false
activerecord-hackery_ransack
train
a8a8486ca1743916593be52f5780600f0148e646
diff --git a/lib/puppet-lint/checks.rb b/lib/puppet-lint/checks.rb index <HASH>..<HASH> 100644 --- a/lib/puppet-lint/checks.rb +++ b/lib/puppet-lint/checks.rb @@ -2,6 +2,7 @@ require 'puppet-lint/checkplugin' class PuppetLint::Checks attr_reader :problems + attr_reader :tokens def initialize @problems ...
tokens should be an attr_reader
rodjek_puppet-lint
train
c057c3a7dd07b3e8fe78f578241f97dec1ac535a
diff --git a/classes/GitHub_Updater/Base.php b/classes/GitHub_Updater/Base.php index <HASH>..<HASH> 100644 --- a/classes/GitHub_Updater/Base.php +++ b/classes/GitHub_Updater/Base.php @@ -408,6 +408,14 @@ class Base { return $source; } + // This check to ensure exact match to repo name + // this should keep '...
exactly match remote install repo name to current repos
afragen_github-updater
train
706f7cb15f004d079120c7051e496a0397dc815e
diff --git a/requirements.txt b/requirements.txt index <HASH>..<HASH> 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ coverage==4.3.4 codeclimate-test-reporter fortranformat scipy>=1.4.1 +tqdm diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52...
Added progress bar option to vasp_summary
bjmorgan_vasppy
train
a108cb1f5e74bce83f5223d769411327821f4b99
diff --git a/src/sos/__main__.py b/src/sos/__main__.py index <HASH>..<HASH> 100755 --- a/src/sos/__main__.py +++ b/src/sos/__main__.py @@ -1096,9 +1096,6 @@ def get_purge_parser(desc_only=False): assumed to be a remote machine with process type if no configuration is found. If this option is specified...
Remove option --workflow from command sos purge because of the addition of option --tags (workflow ID is now part of IDs)
vatlab_SoS
train
bc3f3675053abdfb0930dd13fac6bee46a610cbb
diff --git a/taxi/commands/project.py b/taxi/commands/project.py index <HASH>..<HASH> 100644 --- a/taxi/commands/project.py +++ b/taxi/commands/project.py @@ -96,7 +96,7 @@ def alias(ctx, search, backend): @project.command(name='show', short_help="Show the details of the given " ...
Allow non-int argument in `project show` command
liip_taxi
train
25fb3d6bcc08c921bfe42cb5ba79fe3e5791b87d
diff --git a/tensorflow_datasets/core/features/feature.py b/tensorflow_datasets/core/features/feature.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/core/features/feature.py +++ b/tensorflow_datasets/core/features/feature.py @@ -48,6 +48,9 @@ T = TypeVar('T', bound='FeatureConnector') FeatureConnectorArg = U...
Use a single constant for the features.json filename PiperOrigin-RevId: <I>
tensorflow_datasets
train
7a1586e977d76fcbaa41633d0df01fa105c1f874
diff --git a/src/Aggregate/EventTrackingCapabilities.php b/src/Aggregate/EventTrackingCapabilities.php index <HASH>..<HASH> 100644 --- a/src/Aggregate/EventTrackingCapabilities.php +++ b/src/Aggregate/EventTrackingCapabilities.php @@ -73,16 +73,24 @@ trait EventTrackingCapabilities */ private function when(D...
refactor slow call_user_func with dynamic calls.
simple-es_event-sourcing
train
ef5e49816939e2fbf568a6c1d9c4f09bb230fe93
diff --git a/microservices/http/runners.py b/microservices/http/runners.py index <HASH>..<HASH> 100644 --- a/microservices/http/runners.py +++ b/microservices/http/runners.py @@ -19,6 +19,11 @@ def gevent_run(app, port=5000, log=None, error_log=None, address='', **kwargs): base_run(app, port, **kwargs) +de...
add tornado_combiner, for run microservices in one process
viatoriche_microservices
train
417e2db2e70cd1d3458fd95211bcabc1ce0b7807
diff --git a/src/com/tapsterrock/mpx/MPXPercentage.java b/src/com/tapsterrock/mpx/MPXPercentage.java index <HASH>..<HASH> 100644 --- a/src/com/tapsterrock/mpx/MPXPercentage.java +++ b/src/com/tapsterrock/mpx/MPXPercentage.java @@ -70,11 +70,11 @@ public class MPXPercentage */ public String toString () { - ...
Updated to fix percentage formatting bug.
joniles_mpxj
train
8bc0ef8fdc6f29ee8a3890404fe9c48d6746c7f2
diff --git a/internal/modsdir/manifest.go b/internal/modsdir/manifest.go index <HASH>..<HASH> 100644 --- a/internal/modsdir/manifest.go +++ b/internal/modsdir/manifest.go @@ -115,6 +115,12 @@ func (m Manifest) WriteSnapshot(w io.Writer) error { } else { record.VersionStr = "" } + + // Ensure Dir is written i...
Attempt to change the output of module manifest
hashicorp_terraform
train
5f2c7dc5d97809e3558cf8f3144058c74f8c624d
diff --git a/lib/rr.rb b/lib/rr.rb index <HASH>..<HASH> 100644 --- a/lib/rr.rb +++ b/lib/rr.rb @@ -1,6 +1,5 @@ dir = File.dirname(__FILE__) require 'rubygems' -require 'BlankSlate' require "#{dir}/rr/errors/rr_error" require "#{dir}/rr/errors/subject_does_not_implement_method_error" diff --git a/lib/rr/spy_verifi...
Removed dependency on BlankSlate in the Builder gem.
rr_rr
train
019f288d015d58abc5fd94763898f9e32cfcad0a
diff --git a/salt/states/iptables.py b/salt/states/iptables.py index <HASH>..<HASH> 100644 --- a/salt/states/iptables.py +++ b/salt/states/iptables.py @@ -81,26 +81,32 @@ def append(name, **kwargs): ret['comment'] = 'Failed to set iptables rule for {0}'.format(name) return ret + def set_policy(name...
fix lint errors in iptables state
saltstack_salt
train
5ec8c60bffe9ce0e4a014fbfa44de177fecaee1d
diff --git a/src/main/java/com/couchbase/cblite/CBLQuery.java b/src/main/java/com/couchbase/cblite/CBLQuery.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/couchbase/cblite/CBLQuery.java +++ b/src/main/java/com/couchbase/cblite/CBLQuery.java @@ -108,7 +108,7 @@ public class CBLQuery { this.database = ...
fix bugs exposed by enhancing testDeleteDocument()
couchbase_couchbase-lite-java-core
train
c2a2b533fa789883fe437f4063e2d3d074b348dd
diff --git a/rapidoid-commons/src/main/java/org/rapidoid/commons/RapidoidInfo.java b/rapidoid-commons/src/main/java/org/rapidoid/commons/RapidoidInfo.java index <HASH>..<HASH> 100644 --- a/rapidoid-commons/src/main/java/org/rapidoid/commons/RapidoidInfo.java +++ b/rapidoid-commons/src/main/java/org/rapidoid/commons/Rap...
Disable CDN for snapshot versions.
rapidoid_rapidoid
train
abd857f34f15fd83c6d647e18e4d8590f342b448
diff --git a/datajoint/external.py b/datajoint/external.py index <HASH>..<HASH> 100644 --- a/datajoint/external.py +++ b/datajoint/external.py @@ -56,21 +56,10 @@ class ExternalTable(BaseRelation): """ put an object in external store """ - try: - spec = config[store] - ...
minor refactor of external.py
datajoint_datajoint-python
train
f35e544f1ae447bea1b37901a7763fd3a0a36683
diff --git a/lib/protobuf/rpc/buffer.rb b/lib/protobuf/rpc/buffer.rb index <HASH>..<HASH> 100644 --- a/lib/protobuf/rpc/buffer.rb +++ b/lib/protobuf/rpc/buffer.rb @@ -60,7 +60,6 @@ module Protobuf @flush end - private def get_data_size if @size == 0 || @data.match(SIZE_REGEX) ...
some work on zmq compatibility with other server/clients
ruby-protobuf_protobuf
train
7e46fe8411690cfe71ec0d4edd5c7bb81e3050ef
diff --git a/tests/test_dxf.py b/tests/test_dxf.py index <HASH>..<HASH> 100644 --- a/tests/test_dxf.py +++ b/tests/test_dxf.py @@ -115,7 +115,7 @@ class DXFTest(g.unittest.TestCase): # loop through each group of the same drawing for k, group in groups.items(): # get the total length of ev...
fix test scoping issue in Python 2
mikedh_trimesh
train
733282307ee5747987af943b9c91d73e48581bf4
diff --git a/tests/php/Security/SecurityTest.php b/tests/php/Security/SecurityTest.php index <HASH>..<HASH> 100644 --- a/tests/php/Security/SecurityTest.php +++ b/tests/php/Security/SecurityTest.php @@ -266,7 +266,8 @@ class SecurityTest extends FunctionalTest public function testMemberIDInSessionDoesntExistInDa...
MNT Update tests to use logInAs()
silverstripe_silverstripe-framework
train
ea3eeb9f8a5a72c3e7bd643be77a5e4fddeecb7b
diff --git a/simplify.js b/simplify.js index <HASH>..<HASH> 100644 --- a/simplify.js +++ b/simplify.js @@ -80,29 +80,42 @@ } - // simplification using optimized Douglas-Peucker algorithm + // simplification using optimized Douglas-Peucker algorithm with recursion elimination function markPointsDP(points, mark...
eliminate recursion in Douglas-Peucker implementation
mourner_simplify-js
train
0b079ac1683bb9a2edd9b59f488a5301ab083ba1
diff --git a/nameko/events.py b/nameko/events.py index <HASH>..<HASH> 100644 --- a/nameko/events.py +++ b/nameko/events.py @@ -87,7 +87,7 @@ def event_dispatcher(nameko_config, **kwargs): exchange = get_event_exchange(service_name) with connections[conn].acquire(block=True) as connection: - ...
have EventDispacher declare exchange, and dispatch maybe_bind
nameko_nameko
train
e4fe296c578611a0a87282043a3b0fcc26a4066e
diff --git a/.git-hooks/pre_commit/c_cop.rb b/.git-hooks/pre_commit/c_cop.rb index <HASH>..<HASH> 100644 --- a/.git-hooks/pre_commit/c_cop.rb +++ b/.git-hooks/pre_commit/c_cop.rb @@ -28,8 +28,8 @@ module Overcommit return :pass if offenses == 0 - msg = "#{offenses} errors found. Run `indent ext/...
Make CCop independent from extension path
deivid-rodriguez_byebug
train
12d3df97eb2af7a17944632211b9628608c5285e
diff --git a/src/matchers/toHaveStyleRule.js b/src/matchers/toHaveStyleRule.js index <HASH>..<HASH> 100755 --- a/src/matchers/toHaveStyleRule.js +++ b/src/matchers/toHaveStyleRule.js @@ -59,8 +59,8 @@ const findClassName = (received) => { }; const getCodeInMedia = (code, media) => { - const newMedia = media.replac...
Global escape media query to support multiple queries.
mbasso_styled-components-test-utils
train
0cb5394d0b540a7dfd6ed434bdbef735c5ba46b2
diff --git a/cake/libs/cake_request.php b/cake/libs/cake_request.php index <HASH>..<HASH> 100644 --- a/cake/libs/cake_request.php +++ b/cake/libs/cake_request.php @@ -80,6 +80,13 @@ class CakeRequest implements ArrayAccess { public $here = null; /** + * The key to look for inside $_GET + * + * @var string + */ + p...
Adding static variable to allow changing which get param cake uses. Refs #<I>
cakephp_cakephp
train
cb8e94990301277fb1016c778b4e9efa55a6edbc
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js index <HASH>..<HASH> 100644 --- a/lib/determine-basal/determine-basal.js +++ b/lib/determine-basal/determine-basal.js @@ -142,14 +142,14 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ i...
fix bug in #<I> breaking don't loop on too-flat CGM data behavior
openaps_oref0
train
5e40fee30e22a9d0942107248b80060eaa5f05d8
diff --git a/request.js b/request.js index <HASH>..<HASH> 100644 --- a/request.js +++ b/request.js @@ -192,9 +192,13 @@ TChannelRequest.prototype.checkTimeout = function checkTimeout(err, res) { self.elapsed = now - self.start; if (self.elapsed < self.timeout) return false; if (err) { - self.emit(...
TChannelRequest: add dupe guards in #checkTimeout
uber_tchannel-node
train
0765ef4dfff23c6a963c9867825384a918c0c426
diff --git a/src/core/textures/BaseTexture.js b/src/core/textures/BaseTexture.js index <HASH>..<HASH> 100644 --- a/src/core/textures/BaseTexture.js +++ b/src/core/textures/BaseTexture.js @@ -344,6 +344,8 @@ BaseTexture.prototype.destroy = function () BaseTexture.prototype.dispose = function () { this.emit('dispo...
fix some minor errors encountered with destroy and bmap text
pixijs_pixi.js
train
00ba098e858d3b291861ed1b89726a5abb52743b
diff --git a/routes.go b/routes.go index <HASH>..<HASH> 100644 --- a/routes.go +++ b/routes.go @@ -3,6 +3,7 @@ package routes import ( "encoding/json" "encoding/xml" + "io/ioutil" "log" "net/http" "net/url" @@ -286,7 +287,6 @@ var DefaultAuthHandler = func(w http.ResponseWriter, r *http.Request) bool { // S...
added a ReadJson helper function
drone_routes
train
659e40fc54c29e3b4cbabb3726940e1cf0e6fe09
diff --git a/pyflakes/scripts/pyflakes.py b/pyflakes/scripts/pyflakes.py index <HASH>..<HASH> 100644 --- a/pyflakes/scripts/pyflakes.py +++ b/pyflakes/scripts/pyflakes.py @@ -9,17 +9,13 @@ import os checker = __import__('pyflakes.checker').checker def check(codeString, filename): + # Since compiler.parse does no...
Merge pyflakes-syntaxerrors-<I> Author: exarkun Reviewer: jonathanj Fixes: #<I> Use the builtin compile function to check for syntax errors before trying to construct an ast with the compiler package. The compiler package is less well able to report such errors (in particular, on Python <I> and older, it entirely mi...
timothycrosley_deprecated.frosted
train
0cc14d066d341386805bde21d80871ccfddf0b50
diff --git a/lib/rubocop/cop/lint/end_alignment.rb b/lib/rubocop/cop/lint/end_alignment.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cop/lint/end_alignment.rb +++ b/lib/rubocop/cop/lint/end_alignment.rb @@ -44,6 +44,14 @@ module Rubocop private def check_assignment(node, rhs) + # If the...
[Fix #<I>] Extract if/while from method chaining before checking it. Chose to do a little bit of duplication between the two check_assignment methods, since it would be weird for the rhs to not be the entire right hand side of the assignment when check_assignment is called from the CheckAssignment module.
rubocop-hq_rubocop
train
30b5b650b02d94b8504005e1a9d95253a1ad879b
diff --git a/abydos/distance/_chao_jaccard.py b/abydos/distance/_chao_jaccard.py index <HASH>..<HASH> 100644 --- a/abydos/distance/_chao_jaccard.py +++ b/abydos/distance/_chao_jaccard.py @@ -29,7 +29,7 @@ from __future__ import ( ) from collections import Counter -from random import sample +from random import choic...
switched to sampling with replacement & completed tokenization initialization
chrislit_abydos
train
6ca3c594f1c96bc04d78d47070a43fe51d252b92
diff --git a/pt/stl.go b/pt/stl.go index <HASH>..<HASH> 100644 --- a/pt/stl.go +++ b/pt/stl.go @@ -29,7 +29,7 @@ func LoadBinarySTL(path string, material Material) (*Mesh, error) { return nil, err } count := int(header.Count) - triangles := make([]*Triangle, 0, count) + triangles := make([]*Triangle, count) fo...
don't use append where len is known
fogleman_pt
train