hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
fb81aaed10ded21ac0857fff88e5957ea42f4453
diff --git a/utils/tls_config_test.go b/utils/tls_config_test.go index <HASH>..<HASH> 100644 --- a/utils/tls_config_test.go +++ b/utils/tls_config_test.go @@ -64,6 +64,17 @@ func TestConfigServerTLSServerCertsOnly(t *testing.T) { assert.Nil(t, tlsConfig.ClientCAs) } +// If a valid client cert directory is provided...
Add test for if the client CA dir is empty
theupdateframework_notary
train
go
1704b14b75595e874edf60a52672812afe826d49
diff --git a/src/main/java/net/dv8tion/jda/audio/AudioConnection.java b/src/main/java/net/dv8tion/jda/audio/AudioConnection.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/dv8tion/jda/audio/AudioConnection.java +++ b/src/main/java/net/dv8tion/jda/audio/AudioConnection.java @@ -141,8 +141,10 @@ public class Aud...
Fixed possible NPE if an audio connection is closed while it is being started.
DV8FromTheWorld_JDA
train
java
63091d7688ff2312cee3ce306bc9c8e5693254c5
diff --git a/catcher/__init__.py b/catcher/__init__.py index <HASH>..<HASH> 100644 --- a/catcher/__init__.py +++ b/catcher/__init__.py @@ -1,3 +1,3 @@ APPNAME = 'catcher' APPAUTHOR = 'Valerii Tikhonov, Ekaterina Belova' -APPVSN = '1.35.4' +APPVSN = '1.35.5' diff --git a/catcher/utils/misc.py b/catcher/utils/misc.py i...
fix uuid loading from the database as string
comtihon_catcher
train
py,py
401887059919104517c8989f5c0c04dc93abbc09
diff --git a/api/src/opentrons/drivers/thermocycler/driver.py b/api/src/opentrons/drivers/thermocycler/driver.py index <HASH>..<HASH> 100644 --- a/api/src/opentrons/drivers/thermocycler/driver.py +++ b/api/src/opentrons/drivers/thermocycler/driver.py @@ -55,7 +55,7 @@ SERIAL_ACK = '\r\n' TC_COMMAND_TERMINATOR = SERIAL...
fix(api): increase serial response timeout for thermocycler (#<I>)
Opentrons_opentrons
train
py
46cc7603d4d7cc0e018b0abf2aacf1f9366c510f
diff --git a/docs/registry.go b/docs/registry.go index <HASH>..<HASH> 100644 --- a/docs/registry.go +++ b/docs/registry.go @@ -37,12 +37,12 @@ func pingRegistryEndpoint(endpoint string) (RegistryInfo, error) { } httpDial := func(proto string, addr string) (net.Conn, error) { // Set the connect timeout to 5 secon...
registry: remove unneeded time.Duration() These constants don't need to use time.Duration(). Fixup this file since it seems to be the only one using this style. Docker-DCO-<I>-
docker_distribution
train
go
df42fdfc421f1190f0a2267a66efd3c921ec2348
diff --git a/packages/discord.js/src/structures/Presence.js b/packages/discord.js/src/structures/Presence.js index <HASH>..<HASH> 100644 --- a/packages/discord.js/src/structures/Presence.js +++ b/packages/discord.js/src/structures/Presence.js @@ -238,7 +238,7 @@ class Activity { * Creation date of the activity ...
fix(Presence): Do not return NaN for activity timestamp (#<I>)
discordjs_discord.js
train
js
352705d0e33bbb5990ea6666d3197970332b0be2
diff --git a/spec/thinking_sphinx/rake_interface_spec.rb b/spec/thinking_sphinx/rake_interface_spec.rb index <HASH>..<HASH> 100644 --- a/spec/thinking_sphinx/rake_interface_spec.rb +++ b/spec/thinking_sphinx/rake_interface_spec.rb @@ -197,6 +197,7 @@ describe ThinkingSphinx::RakeInterface do it "prints a failure...
Don’t actually exit when the tests are running.
pat_thinking-sphinx
train
rb
60303d2988667c18deb90239c8d28c3f246e1553
diff --git a/lib/object-device.js b/lib/object-device.js index <HASH>..<HASH> 100644 --- a/lib/object-device.js +++ b/lib/object-device.js @@ -131,7 +131,7 @@ export default { type: LWM2M_TYPE.INTEGER, value() { // same as `value:{init() {}}` // Initializer Function (invoked once) - return...
Turn a double value into an int value
CANDY-LINE_node-red-contrib-lwm2m
train
js
7f97eac6d26945f97d2a59cbef1834ea2a9a8be2
diff --git a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb +++ b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb @@ -136,7 +136,7 @@ m...
never merge url options in to the first data hash if you want options, don't mix them with the first hash, just pass them all in with the second hash
rails_rails
train
rb
9cb2a09680c9fabf955fd4ad3538012bb5b9c7ac
diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java index <HASH>..<HASH> 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.jav...
Reinstate output of stack trace accidentally removed in <I>d4a2a
spring-projects_spring-boot
train
java
d71575a4f85ab0f11a24e9a8c45d873dd6fa01db
diff --git a/src/runPipelineBrowser.js b/src/runPipelineBrowser.js index <HASH>..<HASH> 100644 --- a/src/runPipelineBrowser.js +++ b/src/runPipelineBrowser.js @@ -2,7 +2,7 @@ import WebworkerPromise from 'webworker-promise' import config from './itkConfig' -import IOTypes from 'IOTypes' +import IOTypes from './IOT...
fix(runPipelineBrowser): Fix IOTypes path when used as a package
InsightSoftwareConsortium_itk-js
train
js
18358474c806315c6aff4d3cba82ca27f48731f7
diff --git a/agent/agent.go b/agent/agent.go index <HASH>..<HASH> 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -267,6 +267,8 @@ func (a *Agent) heartbeat() { close(a.chDie) return } + case <-a.chDie: // prevent closing closed channel + return case <-a.chStopHeartbeat: return }
fix panic in agent by preventing closing a closed channel
topfreegames_pitaya
train
go
1bf5018f66389f3a4930da9ada611fca19813796
diff --git a/openquake/commands/run.py b/openquake/commands/run.py index <HASH>..<HASH> 100644 --- a/openquake/commands/run.py +++ b/openquake/commands/run.py @@ -127,8 +127,8 @@ def _run(job_inis, concurrent_tasks, pdb, loglevel, hc, exports, params): @sap.Script -def run(job_ini, slowest, hc, param='', concurren...
Added defaults to run.run
gem_oq-engine
train
py
7060f7e7f2def675b5cb319c91fce28c49081bef
diff --git a/dist/index.js b/dist/index.js index <HASH>..<HASH> 100644 --- a/dist/index.js +++ b/dist/index.js @@ -121,6 +121,13 @@ class RelayCompilerWebpackPlugin { } apply(compiler) { + + if (compiler.hooks) { + compiler.hooks.compilation.tap('RelayCompilerWebpackPluginHooks', (compilation, params) =...
Some tracing for webpack version
danielholmes_relay-compiler-webpack-plugin
train
js
b60582d8a596f817b8fb056a5fc2531bab8eb956
diff --git a/lib/features/palette/Palette.js b/lib/features/palette/Palette.js index <HASH>..<HASH> 100644 --- a/lib/features/palette/Palette.js +++ b/lib/features/palette/Palette.js @@ -349,12 +349,14 @@ Palette.prototype.updateToolHighlight = function(name) { return; } + var toolClasses = domClasses(...
chore(palette): consistently use classes depenendency
bpmn-io_diagram-js
train
js
b90405cc62c7731facd25530d3dc791135f35180
diff --git a/lib/restful_resource/http_client.rb b/lib/restful_resource/http_client.rb index <HASH>..<HASH> 100644 --- a/lib/restful_resource/http_client.rb +++ b/lib/restful_resource/http_client.rb @@ -12,7 +12,7 @@ module RestfulResource def assign_response(response = nil) if response - @re...
Add RetryableError class (#<I>) Superclass for: - ClientError (generally some network flake) - TimeoutError (same, or remote service overloaded) - ServiceUnavailable (remote service overloaded, try later)
carwow_restful_resource
train
rb
5118231428f3b0ff69b0455f909573c65248586d
diff --git a/indexbuilder.go b/indexbuilder.go index <HASH>..<HASH> 100644 --- a/indexbuilder.go +++ b/indexbuilder.go @@ -215,15 +215,6 @@ func (b *IndexBuilder) setRepository(desc *Repository) error { return err } - for _, subrepo := range desc.SubRepoMap { - branchEqual := len(subrepo.Branches) == len(desc.B...
indexbuilder: remove subrepo branch validation It is deadcode and has been for a long time. The last attempt to revive it broke uses of subrepo. Change-Id: Ie<I>d<I>fa5fe<I>b1eb<I>d<I>b<I>
google_zoekt
train
go
a9029d9cf90435994d5811138a76645fc0b018a9
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages from setuptools import setup -VERSION = '0.31' +VERSION = '0.32' setup( @@ -11,7 +11,7 @@ setup( version=VERSION, include_package_data=True, package_da...
Bump to <I>, include package_data from every package
python-security_pyt
train
py
92adcc342d84b8d40c2a635d052a2313475dbb58
diff --git a/js/types/lines.js b/js/types/lines.js index <HASH>..<HASH> 100644 --- a/js/types/lines.js +++ b/js/types/lines.js @@ -71,7 +71,7 @@ Flotr.addType('lines', { stack = this.lines.getStack(series), x1, x2, y1, y2, stack1, stack2, i; - if(length < 2) return; + if(length < 1) return; ...
Fixed off by one preventing drawing of lines w/ only 2 points.
HumbleSoftware_Flotr2
train
js
6b6a9201b8d08e397bbeecdee6a48afc1332e28c
diff --git a/eureka-client/src/main/java/com/netflix/discovery/DiscoveryClient.java b/eureka-client/src/main/java/com/netflix/discovery/DiscoveryClient.java index <HASH>..<HASH> 100644 --- a/eureka-client/src/main/java/com/netflix/discovery/DiscoveryClient.java +++ b/eureka-client/src/main/java/com/netflix/discovery/Di...
Move the concatenation of constant variable PREFIX into the format string The result is still a constant expression per section <I> of the JLS, so a runtime string concatenation is avoided.
Netflix_eureka
train
java
a6b7261fba23d94e178cb27fe74efc59b0ed844d
diff --git a/src/Content/Moderator.php b/src/Content/Moderator.php index <HASH>..<HASH> 100644 --- a/src/Content/Moderator.php +++ b/src/Content/Moderator.php @@ -127,7 +127,14 @@ class Moderator **/ public function validateToken() { - return $this->token === $this->getToken(); + if ($this->token !== $this->ge...
Check for a token generated with a session ID of 'public'. This allows for shareable, constant URLs for files that don't need access control. (#<I>)
hubzero_framework
train
php
55625fe245537934cda4c244810cacccffae990a
diff --git a/arquillian-deployment-generator-bnd/src/main/java/org/arquillian/liferay/deploymentscenario/BndDeploymentScenarioGenerator.java b/arquillian-deployment-generator-bnd/src/main/java/org/arquillian/liferay/deploymentscenario/BndDeploymentScenarioGenerator.java index <HASH>..<HASH> 100644 --- a/arquillian-depl...
[arquillian/arquillian-extension-liferay#<I>] Close the Analyzer
arquillian_arquillian-extension-liferay
train
java
220189192bac3356095fbd7155fc020fea5a1c14
diff --git a/lib/Widget/Validator/MinLength.php b/lib/Widget/Validator/MinLength.php index <HASH>..<HASH> 100644 --- a/lib/Widget/Validator/MinLength.php +++ b/lib/Widget/Validator/MinLength.php @@ -14,9 +14,9 @@ namespace Widget\Validator; */ class MinLength extends AbstractLengthValidator { - protected $min...
renamed message property name to more meaningful
twinh_wei
train
php
2da0bfba95096d12187faf522e32a360bf14e6eb
diff --git a/lease/auto_refreshing_read_lease.go b/lease/auto_refreshing_read_lease.go index <HASH>..<HASH> 100644 --- a/lease/auto_refreshing_read_lease.go +++ b/lease/auto_refreshing_read_lease.go @@ -23,9 +23,11 @@ import "io" // first time and whenever the supplied file leaser decides to expire the // temporary c...
Specified upgrade behavior, and guaranteed closing.
jacobsa_timeutil
train
go
2d5dcbcddedd0074572ce9aeb35b9763240c9d69
diff --git a/sprd/model/Registration.js b/sprd/model/Registration.js index <HASH>..<HASH> 100644 --- a/sprd/model/Registration.js +++ b/sprd/model/Registration.js @@ -27,8 +27,6 @@ define(["sprd/data/SprdModel", var Newsletter = Entity.inherit('sprd.model.Registration.Newsletter', { defaults: { ...
DEV-<I> - As a KA I want my consumers to subscribe to my newsletter
spreadshirt_rAppid.js-sprd
train
js
20a62fd20eafed2fd1fee2e5e2aa88de8f09fb24
diff --git a/lib/rules/index.js b/lib/rules/index.js index <HASH>..<HASH> 100644 --- a/lib/rules/index.js +++ b/lib/rules/index.js @@ -1,15 +1,13 @@ var Pac = require('node-pac'); var net = require('net'); +var parseUrl = require('url').parse; +var parseQuery = require('querystring').parse; var lookup = require('./d...
feat: Add parseUrl, parseQuery in the context of rulesFile
avwo_whistle
train
js
2ce20bdde18b062b19261a850e7342bb28087eec
diff --git a/time/time.go b/time/time.go index <HASH>..<HASH> 100644 --- a/time/time.go +++ b/time/time.go @@ -3,16 +3,31 @@ package time import ( "time" + + "github.com/hairyhenderson/gomplate/v3/env" ) // ZoneName - a convenience function for determining the current timezone's name func ZoneName() string { ...
Support changing TZ env var in Zone functions
hairyhenderson_gomplate
train
go
1a2597b8815495bd41267f8ccb186fd128d2566e
diff --git a/gremlin-python/src/test/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonProvider.java b/gremlin-python/src/test/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonProvider.java index <HASH>..<HASH> 100644 --- a/gremlin-python/src/test/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonProvider....
we need to create Class serializers for Python. This is not related to this ticket and will be made explicit in another ticket.
apache_tinkerpop
train
java
7ada163d72461e2ccc011dd879e5a4b6439eb1a4
diff --git a/src/components/PrometheusGraph/_Legend.js b/src/components/PrometheusGraph/_Legend.js index <HASH>..<HASH> 100644 --- a/src/components/PrometheusGraph/_Legend.js +++ b/src/components/PrometheusGraph/_Legend.js @@ -78,7 +78,7 @@ class Legend extends React.PureComponent { handleLegendItemClick = (ev, seri...
Adds support for selecting multiple PromLegend entries under osx (cmd-click).
weaveworks_ui-components
train
js
11870d432ebb32bf76e300dde5e571daf4cf14a5
diff --git a/abaaso.js b/abaaso.js index <HASH>..<HASH> 100644 --- a/abaaso.js +++ b/abaaso.js @@ -388,7 +388,11 @@ var abaaso = function(){ */ set : function(uri, property, value) { try { - (cache.items[uri] === undefined) ? cache.items[uri] = {} : void(0); + if (cache.items[uri] === undefined) { + ...
Specifying permission property on cached resources so bitwise ops can take place
avoidwork_abaaso
train
js
2ee741c4dd92cb92c7ab9c590782abda4576744f
diff --git a/lib/Service/PaymentIntentService.php b/lib/Service/PaymentIntentService.php index <HASH>..<HASH> 100644 --- a/lib/Service/PaymentIntentService.php +++ b/lib/Service/PaymentIntentService.php @@ -24,7 +24,8 @@ class PaymentIntentService extends \Stripe\Service\AbstractService /** * A PaymentIntent...
Codegen for openapi <I>ff<I> (#<I>)
stripe_stripe-php
train
php,php
2fb0356e53078cb1f4ae066b1dddff385608af97
diff --git a/lib/azure/resource_management/ARM_interface.rb b/lib/azure/resource_management/ARM_interface.rb index <HASH>..<HASH> 100644 --- a/lib/azure/resource_management/ARM_interface.rb +++ b/lib/azure/resource_management/ARM_interface.rb @@ -840,7 +840,9 @@ module Azure end Chef::Log.debug(e...
Showing http response message when error body is not present
chef_knife-azure
train
rb
a50cc6aeb8091ff3549d2dceec56a9d0aea0bf3a
diff --git a/rake-tasks/crazy_fun/mappings/java.rb b/rake-tasks/crazy_fun/mappings/java.rb index <HASH>..<HASH> 100644 --- a/rake-tasks/crazy_fun/mappings/java.rb +++ b/rake-tasks/crazy_fun/mappings/java.rb @@ -688,9 +688,7 @@ module CrazyFunJava CrazyFunJava.ant.jarjar(:jarfile => jar, :duplicate => 'preser...
DanielWagnerHall: Removing accidentally committed logging r<I>
SeleniumHQ_selenium
train
rb
f6dfa2138680ac938f32b97605cfad19bf38800a
diff --git a/lib/lock-o-motion/app.rb b/lib/lock-o-motion/app.rb index <HASH>..<HASH> 100644 --- a/lib/lock-o-motion/app.rb +++ b/lib/lock-o-motion/app.rb @@ -103,12 +103,18 @@ module LockOMotion Thread.current[:lotion_app].dependency $1, path, internal end begin - require_...
Silencing warnings (e.g. already initialized constant) when requiring mocked Ruby source
archan937_lock-o-motion
train
rb
7399f33722f7ff4cbee42741153364366b2a8910
diff --git a/core/phantomas.js b/core/phantomas.js index <HASH>..<HASH> 100644 --- a/core/phantomas.js +++ b/core/phantomas.js @@ -798,7 +798,7 @@ phantomas.prototype = { // runs a given helper script from phantomas main directory // tries to parse it's output (assumes JSON formatted output) runScript: function(s...
runScript: use spawn instead of execFile execFile was throwing "/usr/bin/env: node: No such file or directory"
macbre_phantomas
train
js
17f38840c97703f462db253a3d6e2f2233a56d02
diff --git a/lib/raven/railtie.rb b/lib/raven/railtie.rb index <HASH>..<HASH> 100644 --- a/lib/raven/railtie.rb +++ b/lib/raven/railtie.rb @@ -4,7 +4,7 @@ require 'rails' module Raven class Railtie < ::Rails::Railtie initializer "raven.use_rack_middleware" do |app| - app.config.middleware.use "Raven::Rack...
Use Rack middleware in older versions of Rails 3 (<I> for example)
getsentry_raven-ruby
train
rb
836f1a750a15f90d35cef85e458039e24240ea79
diff --git a/js/jquery.mapael.js b/js/jquery.mapael.js index <HASH>..<HASH> 100644 --- a/js/jquery.mapael.js +++ b/js/jquery.mapael.js @@ -1,14 +1,16 @@ /** -* -* Jquery Mapael - Dynamic maps jQuery plugin (based on raphael.js) -* Requires jQuery, raphael.js and jquery.mousewheel -* -* Version: 1.1.0 -* -* Copyright (...
Add thanks to Indigo<I>
neveldo_jQuery-Mapael
train
js
d80868549fc6e47b19cd8cb7cb2fbc6e8ef2e293
diff --git a/filer/admin/clipboardadmin.py b/filer/admin/clipboardadmin.py index <HASH>..<HASH> 100644 --- a/filer/admin/clipboardadmin.py +++ b/filer/admin/clipboardadmin.py @@ -73,13 +73,14 @@ def ajax_upload(request, folder_id=None): """ Receives an upload from the uploader. Receives only one file at a tim...
Fix #<I>: Upload files into latest used folder (#<I>)
divio_django-filer
train
py
56714f3c78f9e8a3131cf5180d8941fa669c0566
diff --git a/spec/ransack/search_spec.rb b/spec/ransack/search_spec.rb index <HASH>..<HASH> 100644 --- a/spec/ransack/search_spec.rb +++ b/spec/ransack/search_spec.rb @@ -36,6 +36,11 @@ module Ransack it 'does not raise exception for string :params argument' do expect { Search.new(Person, '') }.not_to r...
Added test for sending "or" base grouping
activerecord-hackery_ransack
train
rb
27d9caac42e39309943b12d2cff0c8ac4e45dfc9
diff --git a/tests/integration/externalapi/test_venafi.py b/tests/integration/externalapi/test_venafi.py index <HASH>..<HASH> 100644 --- a/tests/integration/externalapi/test_venafi.py +++ b/tests/integration/externalapi/test_venafi.py @@ -10,6 +10,7 @@ import string # Import Salt Testing libs from tests.support.cas...
tag venafi as destructive and expensive
saltstack_salt
train
py
544c27cbd5027e1fb35392367aa580b4effb190b
diff --git a/src/Webiny/Component/StdLib/StdObject/ArrayObject/ManipulatorTrait.php b/src/Webiny/Component/StdLib/StdObject/ArrayObject/ManipulatorTrait.php index <HASH>..<HASH> 100755 --- a/src/Webiny/Component/StdLib/StdObject/ArrayObject/ManipulatorTrait.php +++ b/src/Webiny/Component/StdLib/StdObject/ArrayObject/Ma...
Added join() as an alias for implode()
Webiny_Framework
train
php
3703c0214ad20bb31f91d14f010bc7b7e22902f6
diff --git a/kafka_utils/kafka_consumer_manager/commands/offsets_for_timestamp.py b/kafka_utils/kafka_consumer_manager/commands/offsets_for_timestamp.py index <HASH>..<HASH> 100644 --- a/kafka_utils/kafka_consumer_manager/commands/offsets_for_timestamp.py +++ b/kafka_utils/kafka_consumer_manager/commands/offsets_for_ti...
Add comment explaining offset-timestamp threshold value
Yelp_kafka-utils
train
py
87995e9873f18dc8c3c9e641c3a0420e09c2eeae
diff --git a/src/PNG/Image.php b/src/PNG/Image.php index <HASH>..<HASH> 100644 --- a/src/PNG/Image.php +++ b/src/PNG/Image.php @@ -169,7 +169,7 @@ class Image return $this->_contents; } - protected function setContents($contents) + public function setContents($contents) { $this->_chunks = array(); ...
Change visibility of setContents from protected to public Needs to be public as it can be called from third party code.
UoMCS_php-png
train
php
fa6d906b04a35ea5279b99d1e46dd9bad3c4e373
diff --git a/datatable/dt.py b/datatable/dt.py index <HASH>..<HASH> 100644 --- a/datatable/dt.py +++ b/datatable/dt.py @@ -451,7 +451,7 @@ class DataTable(object): :param dts: one or more datatable to append. These datatables should have the same columnar structure as the current datatable (unle...
Fix bug where appending datatable with more columns than the current produced an exception. Closes #<I> (#<I>)
h2oai_datatable
train
py
b313d396748586a19a0b0aa336934ff7d1f709fe
diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/Language/MaskGenerator.php b/eZ/Publish/Core/Persistence/Legacy/Content/Language/MaskGenerator.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/Language/MaskGenerator.php +++ b/eZ/Publish/Core/Persistence/Legacy/Content/Language/Mas...
Fixed algorithm for language id extraction from language mask
ezsystems_ezpublish-kernel
train
php
46abe0094f99e851bfb71cb2e2ab47a2c4186fd7
diff --git a/client/js/util.js b/client/js/util.js index <HASH>..<HASH> 100644 --- a/client/js/util.js +++ b/client/js/util.js @@ -569,7 +569,7 @@ var qq = function(element) { // We need to identify the Android stock browser via the UA string to work around various bugs in this browser, // such as the one tha...
consider Firefox when checking for Android Stock Browser (#<I>) (#<I>)
FineUploader_fine-uploader
train
js
b7e714e2ec3653291c2496ac97a66720151b358a
diff --git a/lib/groupme/response.rb b/lib/groupme/response.rb index <HASH>..<HASH> 100644 --- a/lib/groupme/response.rb +++ b/lib/groupme/response.rb @@ -9,5 +9,9 @@ module GroupMe def raw @response end + + def code + @response.code + end end end diff --git a/spec/groupme/response_spec....
Added instance method "code" to return response status code
kinnell_groupme-ruby-gem
train
rb,rb
765af9774916cd8f75a842754a444a7b1822e634
diff --git a/jax/experimental/stax.py b/jax/experimental/stax.py index <HASH>..<HASH> 100644 --- a/jax/experimental/stax.py +++ b/jax/experimental/stax.py @@ -30,7 +30,7 @@ from six.moves import reduce from jax import lax from jax import random -from jax.scipy.special import logsumexp +from jax.scipy.special import...
make stax.sigmoid call scipy.special.expit improves numerical stability of differentiation, so that in particular now jax.hessian(sigmoid)(-<I>.) doesn't produce a nan
tensorflow_probability
train
py
58ebd3dc86951412504ce51c9b87e9b947181546
diff --git a/monitor/monitor.go b/monitor/monitor.go index <HASH>..<HASH> 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -116,6 +116,10 @@ func (m *Monitor) send(pl payload.Payload) { return } + writeError := func(prefix string, err error) { + log.WithError(err).Warnf("Monitor removed due to write ...
monitor: use a different log message after removing monitors Closes: #<I> (not very usefull warning log message when 'cilium monitor' command gets killed)
cilium_cilium
train
go
a6845c85cb483d35ebc49ac8467723653fec15f4
diff --git a/okcupyd/question.py b/okcupyd/question.py index <HASH>..<HASH> 100644 --- a/okcupyd/question.py +++ b/okcupyd/question.py @@ -9,8 +9,8 @@ log = logging.getLogger(__name__) class BaseQuestion(object): - """The abstract abse class of :class:`~.Question` and - :class:`~.UserQuestion`. Contains all ...
Fix typos, remove decorator defined in body of class when done using it.
IvanMalison_okcupyd
train
py
f160f17a6f13583c45b693550e3f8066cbaf330e
diff --git a/retrieval/scrape.go b/retrieval/scrape.go index <HASH>..<HASH> 100644 --- a/retrieval/scrape.go +++ b/retrieval/scrape.go @@ -413,7 +413,7 @@ func (sl *scrapeLoop) run(interval, timeout time.Duration, errc chan<- error) { if !sl.appender.NeedsThrottling() { var ( start = time.No...
retrieval: fix missing scrape context cancellation (#<I>)
prometheus_prometheus
train
go
630dd4475813dabe068c2fcc6245842117369a74
diff --git a/db_test.go b/db_test.go index <HASH>..<HASH> 100644 --- a/db_test.go +++ b/db_test.go @@ -962,6 +962,7 @@ func TestPurgeOlderVersions(t *testing.T) { require.Equal(t, 1, count) return nil }) + require.NoError(t, err) } func ExampleOpen() { diff --git a/table/table.go b/table/table.go index <HAS...
Minor fixes for issues reported by Go Report Card
dgraph-io_badger
train
go,go
07c5f430624e4764ca44c5f61aa4a22616a450b9
diff --git a/src/Extensions/Laravel.php b/src/Extensions/Laravel.php index <HASH>..<HASH> 100644 --- a/src/Extensions/Laravel.php +++ b/src/Extensions/Laravel.php @@ -144,4 +144,15 @@ abstract class Laravel extends TestCase implements Emulator throw new PHPUnitException($message); } + + /** + * E...
add method spoofing when submitting forms
laracasts_Integrated
train
php
f40eb52566b27184623dcac5cca8d6831a8e5de5
diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/json/decoding.rb +++ b/activesupport/lib/active_support/json/decoding.rb @@ -1,5 +1,5 @@ -require 'yaml' -require 'strscan' +autoload :YAM...
Autoload YAML and StringScanner for JSON decoding
rails_rails
train
rb
a5f8fae6a37ef211834d7bd2c718729fa0c1a7d3
diff --git a/timeside/plugins/grapher/utils.py b/timeside/plugins/grapher/utils.py index <HASH>..<HASH> 100644 --- a/timeside/plugins/grapher/utils.py +++ b/timeside/plugins/grapher/utils.py @@ -75,7 +75,7 @@ def downsample(vector, factor): Downsample (by averaging) a vector by an integer factor. """ ...
[plugins] use print() in grapher/utils.py
Parisson_TimeSide
train
py
17b3c7be020ce169ba640d25781b0af022497e26
diff --git a/Twig/ReactRenderExtension.php b/Twig/ReactRenderExtension.php index <HASH>..<HASH> 100644 --- a/Twig/ReactRenderExtension.php +++ b/Twig/ReactRenderExtension.php @@ -45,7 +45,9 @@ class ReactRenderExtension extends \Twig_Extension public function getFunctions() { return array( - ...
Added 'react_store' function for twig
Limenius_ReactBundle
train
php
c04ef7235e655fc942670e22976eb107a8ee84d8
diff --git a/test/modules/keepAlive.test.js b/test/modules/keepAlive.test.js index <HASH>..<HASH> 100644 --- a/test/modules/keepAlive.test.js +++ b/test/modules/keepAlive.test.js @@ -30,36 +30,9 @@ describe("keepAlive", () => { } ); }); -}); -/** -vows - .describe("keepAlive") - .addBatch({ - "co...
unit-tests: keepAlive refactored
macbre_phantomas
train
js
9476e58de941624912a3ceb89d52d36e79c03358
diff --git a/cmd/web.go b/cmd/web.go index <HASH>..<HASH> 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -95,6 +95,7 @@ func newMacaron() *macaron.Macaron { m.Use(csrf.Generate(csrf.Options{ Secret: setting.SecretKey, SetCookie: true, + Header: "X-Csrf-Token", })) m.Use(toolbox.Toolboxer(m, toolbox.Opti...
Set headers in js and go files to X-Csrf-Token
gogs_gogs
train
go
19e7a50c406558d5b951b068af23bc776b8d7260
diff --git a/spec/unit/daemon/apns/connection_spec.rb b/spec/unit/daemon/apns/connection_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/daemon/apns/connection_spec.rb +++ b/spec/unit/daemon/apns/connection_spec.rb @@ -185,6 +185,14 @@ describe Rapns::Daemon::Apns::Connection do end end + describe "when ...
Add test case for IOError catch.
rpush_rpush
train
rb
6308adfb03b4dd8c4078a325b2f0c1575781cf55
diff --git a/desdeo/method/base.py b/desdeo/method/base.py index <HASH>..<HASH> 100755 --- a/desdeo/method/base.py +++ b/desdeo/method/base.py @@ -4,23 +4,21 @@ # # Copyright (c) 2016 Vesa Ojalehto """ -Module description +This module contains the abstract base class for all interactive methods. """ -import abc +f...
Switch InteractiveMethod to inheriting from ABC
industrial-optimization-group_DESDEO
train
py
728c33bf487845bfe907c1d9412fd29ec07ae65b
diff --git a/lib/neo4j/active_node/query_methods.rb b/lib/neo4j/active_node/query_methods.rb index <HASH>..<HASH> 100644 --- a/lib/neo4j/active_node/query_methods.rb +++ b/lib/neo4j/active_node/query_methods.rb @@ -41,6 +41,12 @@ module Neo4j self.query_as(:n).where(n: {primary_key => other.id}).return("count(...
Add find_in_batches to based model class
neo4jrb_neo4j
train
rb
a8b1fa0754132be40963da425762e6aa4755dd6f
diff --git a/test/integration/test.adapter.conversation.js b/test/integration/test.adapter.conversation.js index <HASH>..<HASH> 100644 --- a/test/integration/test.adapter.conversation.js +++ b/test/integration/test.adapter.conversation.js @@ -992,7 +992,6 @@ describe('conversation_adapter_integration', function() { ...
test(conversation tests): removed nullcheck on removed field
watson-developer-cloud_node-sdk
train
js,js
70c137f1d9cb84311f4af696cc059144d1926e7b
diff --git a/vault/token_store.go b/vault/token_store.go index <HASH>..<HASH> 100644 --- a/vault/token_store.go +++ b/vault/token_store.go @@ -978,7 +978,7 @@ func (ts *TokenStore) handleCreateCommon( } // Limit the lease duration - if te.TTL > sysView.MaxLeaseTTL() { + if te.TTL > sysView.MaxLeaseTTL() && sy...
Ensure we only use sysview's max if it's not zero. It never should be, but safety.
hashicorp_vault
train
go
0673413aa968cc5731d90b78cffe5e460220d66d
diff --git a/src/main/java/org/openqa/selenium/WebElement.java b/src/main/java/org/openqa/selenium/WebElement.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/openqa/selenium/WebElement.java +++ b/src/main/java/org/openqa/selenium/WebElement.java @@ -28,7 +28,7 @@ import java.util.List; * fails, then an {@lin...
adding TakesScreenshot to WebElement, not going down the Augmentor route right now since that is setup just for WebDriver. If someone really really likes the augmentor pattern, they can update it to also take into consideration WebElements and look at the Parent Driver instance's capabilities to determine which roles ...
appium_java-client
train
java
1bd56e456a296cd981a2f583cd1cb45023ade89d
diff --git a/rio_client/contrib/flask.py b/rio_client/contrib/flask.py index <HASH>..<HASH> 100644 --- a/rio_client/contrib/flask.py +++ b/rio_client/contrib/flask.py @@ -6,6 +6,7 @@ from collections import namedtuple from flask import g from flask import request +from flask import current_app from rio_client.ba...
get config from current_app.
soasme_rio-client
train
py
e9ee81abf6bb91ee08545045c34e210f398d2bac
diff --git a/bcbio/variation/vcfanno.py b/bcbio/variation/vcfanno.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/vcfanno.py +++ b/bcbio/variation/vcfanno.py @@ -102,6 +102,10 @@ def find_annotations(data): conf_files = _default_conf_files(data) if not isinstance(conf_files, (list, tuple)): ...
vcfanno: add gemini if tools_on specified Avoids issues with skipping gemini when included in tools on but not in a custom vcfanno configuration. #<I>
bcbio_bcbio-nextgen
train
py
50f928b546631a0652549ec4ccca27510a87b7de
diff --git a/example/on_off.js b/example/on_off.js index <HASH>..<HASH> 100644 --- a/example/on_off.js +++ b/example/on_off.js @@ -1,20 +1,15 @@ var led = require('../index'); //Normally require('LimitlessGEM'); -var con = led.createSocket({ - host: '192.168.1.105', - port: 8899 - }, - 'tcp', - ...
Update example with new color commands Also serves as a test for now
azerion_LimitlessGEM
train
js
22cf9a9a14e9b94547b8c6f3de059d28dbfbf3cf
diff --git a/lib/python/voltcli/environment.py b/lib/python/voltcli/environment.py index <HASH>..<HASH> 100644 --- a/lib/python/voltcli/environment.py +++ b/lib/python/voltcli/environment.py @@ -34,6 +34,7 @@ import os import glob import re import shlex +import platform from voltcli import utility @@ -72,7 +73,...
For ENG-<I>, check OS reliably before checking total memory
VoltDB_voltdb
train
py
5118789e9be4c0bc43c57f41308faa58c7269c01
diff --git a/zipline/gens/utils.py b/zipline/gens/utils.py index <HASH>..<HASH> 100644 --- a/zipline/gens/utils.py +++ b/zipline/gens/utils.py @@ -26,16 +26,6 @@ from zipline.protocol import ( ) -def mock_raw_event(sid, dt): - event = { - 'sid': sid, - 'dt': dt, - 'price': 1.0, - 'vo...
MAINT: Removes unused mock data function from gens.utils This function is unused, and on the general path of moving testing functions out of gens.utils # Please enter the commit message for your changes. Lines starting
quantopian_zipline
train
py
520f4847e632cd075243db98ff9aa9e453b22444
diff --git a/groovy-maven-plugin/src/main/java/org/codehaus/gmaven/plugin/util/SystemNoExitGuard.java b/groovy-maven-plugin/src/main/java/org/codehaus/gmaven/plugin/util/SystemNoExitGuard.java index <HASH>..<HASH> 100644 --- a/groovy-maven-plugin/src/main/java/org/codehaus/gmaven/plugin/util/SystemNoExitGuard.java +++ ...
fix javadocs, no longer using Callable
groovy_gmaven
train
java
902b0dd55410da173a4017e64946b12e30cc5a42
diff --git a/lib/Webforge/Setup/Installer/CreateCLIPart.php b/lib/Webforge/Setup/Installer/CreateCLIPart.php index <HASH>..<HASH> 100644 --- a/lib/Webforge/Setup/Installer/CreateCLIPart.php +++ b/lib/Webforge/Setup/Installer/CreateCLIPart.php @@ -19,6 +19,7 @@ class CreateCLIPart extends PackageAwarePart { $lib = ...
create cli.sh as well in CLIPart
webforge-labs_webforge
train
php
16a33b4bec0d4e0d3aae276b8fbbaff9087fbbcb
diff --git a/src/CascadeSoftDeletes.php b/src/CascadeSoftDeletes.php index <HASH>..<HASH> 100644 --- a/src/CascadeSoftDeletes.php +++ b/src/CascadeSoftDeletes.php @@ -92,7 +92,7 @@ trait CascadeSoftDeletes * * @return array */ - private function getActiveCascadingDeletes() + protected function g...
Change visibility of getActiveCascadingDeletes
michaeldyrynda_laravel-cascade-soft-deletes
train
php
0649dc7a0fa01acdac5e66f36968b2fcfb6dd143
diff --git a/Kwc/Root/Category/GeneratorRow.php b/Kwc/Root/Category/GeneratorRow.php index <HASH>..<HASH> 100644 --- a/Kwc/Root/Category/GeneratorRow.php +++ b/Kwc/Root/Category/GeneratorRow.php @@ -20,10 +20,6 @@ class Kwc_Root_Category_GeneratorRow extends Kwf_Model_Tree_Row protected function _beforeDelete() ...
allow deleting pages recursively leaves behind data corpses atm
koala-framework_koala-framework
train
php
a5b387cdd4baaa04d205da4a218d1ce8ec637d34
diff --git a/lib/liquid/interrupts.rb b/lib/liquid/interrupts.rb index <HASH>..<HASH> 100644 --- a/lib/liquid/interrupts.rb +++ b/lib/liquid/interrupts.rb @@ -1,6 +1,6 @@ module Liquid - # An interrupt is any command that breaks processing of a block (ex: a for loop). - class Interrupt + # A block interrupt is any ...
Remove reserved word Interrupt to avoid confusion Also resolves rubocop conflicts
Shopify_liquid
train
rb
9c606b8a0ce4a0d77b64334a978f56f6930ef0d0
diff --git a/pulsectl/pulsectl.py b/pulsectl/pulsectl.py index <HASH>..<HASH> 100644 --- a/pulsectl/pulsectl.py +++ b/pulsectl/pulsectl.py @@ -64,7 +64,7 @@ class PulseObject(object): self.channel_count = struct.channel_map.channels self.channel_list = s if len(s) == self.channel_count else None if hasatt...
Return distinct unknown states for sinks/sources
mk-fg_python-pulse-control
train
py,py
57a03d4e0535328db2efa646091b8993713f698d
diff --git a/test/job_test.rb b/test/job_test.rb index <HASH>..<HASH> 100644 --- a/test/job_test.rb +++ b/test/job_test.rb @@ -85,7 +85,7 @@ describe "Backburner::Job module" do end # invalid end # process - describe "for bury method" do + describe "for simple delegation method" do before do @ta...
[test_helper] Adds clear_jobs method for clearing tubes
nesquena_backburner
train
rb,rb
891ec1d9d100b88c4deb10919fbbb6c4d532d41a
diff --git a/client/extensions/targetedPublishing/TargetedPublishing.js b/client/extensions/targetedPublishing/TargetedPublishing.js index <HASH>..<HASH> 100644 --- a/client/extensions/targetedPublishing/TargetedPublishing.js +++ b/client/extensions/targetedPublishing/TargetedPublishing.js @@ -63,8 +63,9 @@ export clas...
fix: targeted publishing empty (#<I>) * fix: SWP-<I> theme settings switch * add: SWP-<I> remove route error message * fix: targeted publishing empty
superdesk_superdesk-publisher
train
js
108269bd2886b67b1e3f39ddf430735f4eac55c7
diff --git a/py3status/constants.py b/py3status/constants.py index <HASH>..<HASH> 100644 --- a/py3status/constants.py +++ b/py3status/constants.py @@ -25,6 +25,7 @@ I3S_INSTANCE_MODULES = [ "ethernet", "memory", "path_exists", + "read_file", "run_watch", "tztime", "volume",
i3status: support read_file module (#<I>)
ultrabug_py3status
train
py
e4eeccacd6765841fa337979c1a091b3c7ec554a
diff --git a/lib/n_change_log/version.rb b/lib/n_change_log/version.rb index <HASH>..<HASH> 100644 --- a/lib/n_change_log/version.rb +++ b/lib/n_change_log/version.rb @@ -10,5 +10,22 @@ module NChangeLog def to_s (["## #{number}"] + issues.map(&:to_s)).join("\n\n") end + + def summary + change_...
Add Version#summary to output all changes in the version
naoty_NTYChangeLog
train
rb
947427eed55cf38863caf9a598c3854890bce906
diff --git a/minimock.go b/minimock.go index <HASH>..<HASH> 100644 --- a/minimock.go +++ b/minimock.go @@ -50,7 +50,10 @@ func main() { cfg := loader.Config{} cfg.Import(packagePath) - cfg.Import(destPackagePath) + + if destPackagePath != packagePath { + cfg.Import(destPackagePath) + } prog, err := cfg.Load(...
fixed double import if dest package is equal to the source one
gojuno_minimock
train
go
c0331ede2c5d832e2b16e5cb7c60e5ae45f0c7fc
diff --git a/hazelcast/src/main/java/com/hazelcast/core/MultiMap.java b/hazelcast/src/main/java/com/hazelcast/core/MultiMap.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/core/MultiMap.java +++ b/hazelcast/src/main/java/com/hazelcast/core/MultiMap.java @@ -53,15 +53,7 @@ import java.util.c...
remove unnecessary extending of Distributed Object
hazelcast_hazelcast
train
java
48c37ea2906b5aac2f5bd9472f3f894fb4cc15d1
diff --git a/lib/svn/errors.rb b/lib/svn/errors.rb index <HASH>..<HASH> 100644 --- a/lib/svn/errors.rb +++ b/lib/svn/errors.rb @@ -5,10 +5,19 @@ module Svn class Error < RuntimeError - # checks error and raises an exception for error if necessary - def self.check_and_raise( err ) - return if err.null?...
Added a Proc to check for errors. This new proc will be used with bound methods, which will take a Proc argument for error checking.
codefoundry_svn
train
rb
2be458216f6e910dd8a07d0f725224105c618e27
diff --git a/spec/import_spec.rb b/spec/import_spec.rb index <HASH>..<HASH> 100644 --- a/spec/import_spec.rb +++ b/spec/import_spec.rb @@ -312,6 +312,7 @@ describe 'import', type: :feature do upload_file!(:authors_invalid_model) expect(page).to have_content 'Failed to import 1 author' e...
added spec to ensure error messages are present
activeadmin-plugins_active_admin_import
train
rb
0cf567990214df9f27741bec566a71a2ee833d58
diff --git a/flurs/model/bprmf.py b/flurs/model/bprmf.py index <HASH>..<HASH> 100644 --- a/flurs/model/bprmf.py +++ b/flurs/model/bprmf.py @@ -67,6 +67,6 @@ class BPRMF(recommender.Recommender): def recommend(self, user, target_i_indices): pred = np.dot(self.users[user.index]['vec'], ...
Use rev option on BPRMF-based recommend
takuti_flurs
train
py
3d96ad448d344f698a3912caebb11ec38effcdfb
diff --git a/tests/test_renderers.py b/tests/test_renderers.py index <HASH>..<HASH> 100644 --- a/tests/test_renderers.py +++ b/tests/test_renderers.py @@ -32,6 +32,10 @@ class GeoJSONRendererTestCase(SimpleTestCase): self.assertEqual(data, self.collection) self.assertEqual(self.r.render([]), str(Featu...
Test GeoJSONRenderer with a list of features
bkg_django-spillway
train
py
64583266740adf35dac325a4e601c5e6c3cc318c
diff --git a/woocommerce/api.py b/woocommerce/api.py index <HASH>..<HASH> 100644 --- a/woocommerce/api.py +++ b/woocommerce/api.py @@ -66,7 +66,7 @@ class API(object): url = self.__get_oauth_url(url, method) if data is not None: - data = jsonencode(data, ensure_ascii=False) + ...
Force utf-8 encoding in API.__request() Just before sending data , encode it (if it's not None) in utf-8 to avoid UnicodeDecodeError with requests.
woocommerce_wc-api-python
train
py
ddafebe6675f7291967893b6afdec3eb8c575c6d
diff --git a/src/Role/ValueObjects/Permission.php b/src/Role/ValueObjects/Permission.php index <HASH>..<HASH> 100644 --- a/src/Role/ValueObjects/Permission.php +++ b/src/Role/ValueObjects/Permission.php @@ -24,5 +24,4 @@ class Permission extends Enum const GEBRUIKERS_BEHEREN = 'Gebruikers beheren'; const LABE...
III-<I> Hotfix for available permissions.
cultuurnet_udb3-php
train
php,php
bfe6b7394fd344eb0d726c6e23426ef8843e2c88
diff --git a/lib/beepboop-smallwins-slack.js b/lib/beepboop-smallwins-slack.js index <HASH>..<HASH> 100644 --- a/lib/beepboop-smallwins-slack.js +++ b/lib/beepboop-smallwins-slack.js @@ -135,7 +135,6 @@ BeepBoopSmallwins.prototype = { // Setup ping/pong to detect stale connections pingIntervalId = setIn...
removes console.log stmt
BeepBoopHQ_beepboop-smallwins-slack
train
js
73028c3035a4f6f88ef5ea94e75fbaf534335758
diff --git a/lib/active_admin/axlsx.rb b/lib/active_admin/axlsx.rb index <HASH>..<HASH> 100644 --- a/lib/active_admin/axlsx.rb +++ b/lib/active_admin/axlsx.rb @@ -18,9 +18,12 @@ class Railtie < ::Rails::Railtie ActiveAdmin::ResourceDSL.send :include, ActiveAdmin::Axlsx::DSL ActiveAdmin::Resource.send :inclu...
fix the problem that custom helpers are not loaded
randym_activeadmin-axlsx
train
rb
e0bcd4d5161435082aa3aecbb6cff94b1038a911
diff --git a/clientv3/lease.go b/clientv3/lease.go index <HASH>..<HASH> 100644 --- a/clientv3/lease.go +++ b/clientv3/lease.go @@ -15,6 +15,7 @@ package clientv3 import ( + "errors" "sync" "time" @@ -69,6 +70,8 @@ const ( NoLease LeaseID = 0 ) +var ErrLeaseHalted = errors.New("etcdclient: leases halted")...
clientv3: return error from KeepAlive if corresponding loop exits after recvKeepAliveLoop exits client might call KeepAlive adding request channel that will not be closed this fix makes sure that recvKeepAliveLoop is running before adding request to lessor's list and returns error otherwise Fixes #<I>
etcd-io_etcd
train
go
996006997fed4e44b6cd447890bb0c6af33b26cf
diff --git a/src/Robin/Ntlm/Message/AbstractAuthenticateMessageEncoder.php b/src/Robin/Ntlm/Message/AbstractAuthenticateMessageEncoder.php index <HASH>..<HASH> 100644 --- a/src/Robin/Ntlm/Message/AbstractAuthenticateMessageEncoder.php +++ b/src/Robin/Ntlm/Message/AbstractAuthenticateMessageEncoder.php @@ -126,7 +126,7 ...
Updating the `strpos()` check to use a type-safe strict equals,
robinpowered_php-ntlm
train
php
6d6d0189c5bd2fc19dfc180a245e74921dbb178d
diff --git a/src/ast/nodes/ConditionalExpression.js b/src/ast/nodes/ConditionalExpression.js index <HASH>..<HASH> 100644 --- a/src/ast/nodes/ConditionalExpression.js +++ b/src/ast/nodes/ConditionalExpression.js @@ -54,10 +54,18 @@ export default class ConditionalExpression extends Node { else if ( this.testValue ) ...
put parens around sequences if conditional simplified (#<I>)
rollup_rollup
train
js
50fc2414f21399954599b8107b992bf2ea52bfd4
diff --git a/holoviews/core/options.py b/holoviews/core/options.py index <HASH>..<HASH> 100644 --- a/holoviews/core/options.py +++ b/holoviews/core/options.py @@ -670,7 +670,7 @@ class SaveOptions(param.Parameterized): if filename is None: return [] try: parse = list(string.Formatter().pa...
Fixed incompatibility with Python 3 in SaveOptions
pyviz_holoviews
train
py
e3436ecc0e49b154166c0891d9a70fc6dd2c5c9b
diff --git a/deployment/freebsd/__init__.py b/deployment/freebsd/__init__.py index <HASH>..<HASH> 100644 --- a/deployment/freebsd/__init__.py +++ b/deployment/freebsd/__init__.py @@ -157,7 +157,7 @@ class WebserverJail(api.BaseJail): tempdir = None # if no files were given, create an ad-hoc certific...
bugfix: also use self-signed if no cert parameter was given
ZeitOnline_briefkasten
train
py
dcc0004057ad384437518554732af96bf3b02bf5
diff --git a/lib/sidekiq/batch/middleware.rb b/lib/sidekiq/batch/middleware.rb index <HASH>..<HASH> 100644 --- a/lib/sidekiq/batch/middleware.rb +++ b/lib/sidekiq/batch/middleware.rb @@ -22,8 +22,7 @@ module Sidekiq class ClientMiddleware def call(_worker, msg, _queue, _redis_pool = nil) if (...
Fix rubocop/codeclimate issue
breamware_sidekiq-batch
train
rb
b9bd828a0414fb92ed10963f08600e25a3174025
diff --git a/instana/__init__.py b/instana/__init__.py index <HASH>..<HASH> 100644 --- a/instana/__init__.py +++ b/instana/__init__.py @@ -94,7 +94,7 @@ eum_api_key = '' # As a safety measure, we maintain a "do not load list" and if this process matches something # in that list, then we go sit in a corner quietly and...
Add twine to the do not instrument blacklist (#<I>)
instana_python-sensor
train
py
93e40d3a02dbb75b81589986a2140e3fe336354b
diff --git a/reaction.py b/reaction.py index <HASH>..<HASH> 100644 --- a/reaction.py +++ b/reaction.py @@ -38,9 +38,7 @@ is used.:: ''' import re - from decimal import Decimal -from collections import defaultdict # TODO This implementation is simply a hand-written parser. A proper parser # could be generated u...
reaction: Remove normalization of compound list
zhanglab_psamm
train
py
6576bfa18b7e774244f7a76ad2e38e1a8c097008
diff --git a/elasticsearch_dsl/faceted_search.py b/elasticsearch_dsl/faceted_search.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/faceted_search.py +++ b/elasticsearch_dsl/faceted_search.py @@ -285,7 +285,10 @@ class FacetedSearch(object): def search(self): """ - Construct the Search obj...
Extend docsctring on FacetedSearch.search I found this method very confusing when I got started with FacetedSearch
elastic_elasticsearch-dsl-py
train
py
6c1e372e6d1eeefc4a8f087b36fc97ea455b947c
diff --git a/lib/tenacity/associates_proxy.rb b/lib/tenacity/associates_proxy.rb index <HASH>..<HASH> 100644 --- a/lib/tenacity/associates_proxy.rb +++ b/lib/tenacity/associates_proxy.rb @@ -36,13 +36,13 @@ module Tenacity end def destroy_all - ids = prepare_for_delete - @association.associate_cla...
Rename prepare_for_delete to remove_associates_from_parent
jwood_tenacity
train
rb
a998fb4af165b2f35944f4c9200d10ec8a88c46c
diff --git a/etcdctl/ctlv2/command/exec_watch_command.go b/etcdctl/ctlv2/command/exec_watch_command.go index <HASH>..<HASH> 100644 --- a/etcdctl/ctlv2/command/exec_watch_command.go +++ b/etcdctl/ctlv2/command/exec_watch_command.go @@ -77,7 +77,7 @@ func execWatchCommandFunc(c *cli.Context, ki client.KeysAPI) { inde...
etcdctl: index is incremented in Watcher; remove double-increment
etcd-io_etcd
train
go