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
e213a6400bba7d665fa4da9729918efb367650e6
diff --git a/lib/heroku/client/rendezvous.rb b/lib/heroku/client/rendezvous.rb index <HASH>..<HASH> 100644 --- a/lib/heroku/client/rendezvous.rb +++ b/lib/heroku/client/rendezvous.rb @@ -55,6 +55,10 @@ class Heroku::Client::Rendezvous raise(Timeout::Error.new) end end + rescue Interrupt =>...
rescue sigint exceptions passing it on to the rendezvous process
heroku_legacy-cli
train
rb
9fcafdb74248742fd4888daa7c3ea9c6f5a76217
diff --git a/bumpversion/cli.py b/bumpversion/cli.py index <HASH>..<HASH> 100644 --- a/bumpversion/cli.py +++ b/bumpversion/cli.py @@ -228,13 +228,16 @@ def _load_configuration(config_file, explicit_config, files, defaults, part_conf logger.info("Reading config file %s:", config_file) # TODO: this is a DEBU...
Use open() context manager to read configuration content Also avoid reading the file twice.
c4urself_bump2version
train
py
2f5d89b04a6189546a416d8df32d9e57926100b6
diff --git a/src/Replication/StorageInterface.php b/src/Replication/StorageInterface.php index <HASH>..<HASH> 100644 --- a/src/Replication/StorageInterface.php +++ b/src/Replication/StorageInterface.php @@ -9,6 +9,12 @@ namespace Phlib\Db\Replication; interface StorageInterface { /** + * @param array $config...
Change interface to require the create from config method
phlib_db
train
php
835a6da11331b5f8541f6f587836c75e23775f34
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,13 +20,13 @@ setup( 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: GNU Gen...
Corrected errors in setup.py
KyleWpppd_css-audit
train
py
e5f4cdba6687716e02472d50458ca6a7b5de9f5d
diff --git a/juju/charmstore.py b/juju/charmstore.py index <HASH>..<HASH> 100644 --- a/juju/charmstore.py +++ b/juju/charmstore.py @@ -2,7 +2,10 @@ from functools import partial import theblues.charmstore import theblues.errors + from urllib.parse import urlencode +from urllib.error import HTTPError + from . im...
Handle not-found errors from the get request The following ensures that we correctly trap the not found exceptions from the get request. If no resources are found, the API returns not found, returning an empty resource object should be fine in this case. Additionally, fix the urlencoding for channels.
juju_python-libjuju
train
py
6d7def7fefdf82bd45606128915fb136e3b5c606
diff --git a/spec/features/layouts_spec.rb b/spec/features/layouts_spec.rb index <HASH>..<HASH> 100644 --- a/spec/features/layouts_spec.rb +++ b/spec/features/layouts_spec.rb @@ -24,7 +24,7 @@ describe 'Layouts (Design)' do context 'with a layout' do before(:each) do - Layout.create!(name: 'Petunias', bo...
Fixed body and changed to content to match layout schema. #<I>
pgharts_trusty-cms
train
rb
2227ae64697d0d714d782cb24d9b9e8d961075b9
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index <HASH>..<HASH> 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -1141,7 +1141,11 @@ class VariablesChecker(BaseChecker): name in astroid.Module.scope_attrs or utils.is_builtin(...
Only exempt __class__ for undefined-variable from methods
PyCQA_pylint
train
py
d31aa2838b27fc6d48bcccbdd74748704a793d6b
diff --git a/lib/install_template.rb b/lib/install_template.rb index <HASH>..<HASH> 100644 --- a/lib/install_template.rb +++ b/lib/install_template.rb @@ -50,6 +50,7 @@ Dir.chdir(lib_dir) do if File.exists?("schema-evolution-manager") if File.symlink?("schema-evolution-manager") Library.system_or_error("...
Create symlink on upgrade
mbryzek_schema-evolution-manager
train
rb
7bf85aefb982ba858df0db9207c57c1c932ad0a2
diff --git a/lib/Model.php b/lib/Model.php index <HASH>..<HASH> 100644 --- a/lib/Model.php +++ b/lib/Model.php @@ -890,33 +890,6 @@ class Model extends AbstractModel implements ArrayAccess, Iterator, Countable return $result; } - - /** - * A handy shortcut for foreach () { .. } code. Make your ca...
remove code duplication (<I>) this is already implemented in AbstractObject class
atk4_atk4
train
php
dd07a59c4ac6d8541d8a1372661f6de2096f3fe2
diff --git a/src/Setup/InstallData.php b/src/Setup/InstallData.php index <HASH>..<HASH> 100644 --- a/src/Setup/InstallData.php +++ b/src/Setup/InstallData.php @@ -6,11 +6,11 @@ namespace Praxigento\Warehouse\Setup; use Magento\Framework\Setup\ModuleContextInterface; -use Praxigento\Core\Setup\Data\SchemaSetupInterf...
MOBI-<I> - Merge Common & M2 modules and clean up extra code (Setup/Schema&Data)
praxigento_mobi_mod_warehouse
train
php
9dafe9a6b982ef29eab2c4972c9c6fdafa69ea7c
diff --git a/lib/discordrb/gateway.rb b/lib/discordrb/gateway.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/gateway.rb +++ b/lib/discordrb/gateway.rb @@ -251,7 +251,9 @@ module Discordrb # @param compress [true, false] Whether certain large packets should be compressed using zlib. # @param large_threshol...
Add sharding support to Gateway#send_identify
meew0_discordrb
train
rb
5bf732df2a0e1fdb078832ce459f19f95a018856
diff --git a/core/rq-worker/test_rq_worker.py b/core/rq-worker/test_rq_worker.py index <HASH>..<HASH> 100644 --- a/core/rq-worker/test_rq_worker.py +++ b/core/rq-worker/test_rq_worker.py @@ -4,16 +4,19 @@ import pytest import file_watch def test_settings(): + """ Tests settings """ os.environ['REMOTE_REDIS_HOS...
Added docstring for testing functions in test_rq_worker.
CyberReboot_vent
train
py
5df76a9d115331f5de0842feb1bbe514c459f75a
diff --git a/lib/drizzlepac/sky.py b/lib/drizzlepac/sky.py index <HASH>..<HASH> 100644 --- a/lib/drizzlepac/sky.py +++ b/lib/drizzlepac/sky.py @@ -289,7 +289,7 @@ def _skymatch(imageList, paramDict, in_memory, clean, logfile): # newly computed combined static+DQ+user masks: fi.clear_masks() f...
Fixing an error revealed in regression tests due to which astrodrizzle may crash in the sky subtraction step if the 'in_memory' option is enabled but no masks are used for sky subtraction. git-svn-id: <URL>
spacetelescope_drizzlepac
train
py
57d620393d27d04dafd947bc7e933c1c476fdc1f
diff --git a/drivers/overlay/overlay.go b/drivers/overlay/overlay.go index <HASH>..<HASH> 100644 --- a/drivers/overlay/overlay.go +++ b/drivers/overlay/overlay.go @@ -90,7 +90,20 @@ func Init(dc driverapi.DriverCallback, config map[string]interface{}) error { } } - d.restoreEndpoints() + if err := d.restoreEndpo...
Allow reattempt of overlay network sbox join - if failure happened during restore endpoint phase
docker_libnetwork
train
go
ea7b4c20a8cded4e1109b4fe4806ca1af04714d6
diff --git a/skyfield/__init__.py b/skyfield/__init__.py index <HASH>..<HASH> 100644 --- a/skyfield/__init__.py +++ b/skyfield/__init__.py @@ -5,5 +5,5 @@ functions and classes there. See the ``documentation`` directory inside the source code, as well as the http://rhodesmill.org/skyfield/ site! """ -VERSION = (1,...
With trepedation, declare version <I> I always avoid the I/O code because of the danger that any tweak will break it for someone’s system or use case. This big epic rewrite only raises the stakes. But it passes the tests, so, here goes.
skyfielders_python-skyfield
train
py
75112d28429c954c60964c2febb006081f3f8cc9
diff --git a/src/bidi/levelruns.py b/src/bidi/levelruns.py index <HASH>..<HASH> 100644 --- a/src/bidi/levelruns.py +++ b/src/bidi/levelruns.py @@ -145,6 +145,7 @@ class LevelRun(object): # (sor) and end-of-level-run (eor) are used at level run # boundaries. prev_bidi_t...
Resolve LevelRun neutral types (N1, N2)
MeirKriheli_python-bidi
train
py
9c31f720692a8650aff8d7d77e578a85db99f743
diff --git a/deploy.php b/deploy.php index <HASH>..<HASH> 100644 --- a/deploy.php +++ b/deploy.php @@ -78,7 +78,6 @@ task('deploy', [ 'deploy:shared', 'deploy:vendors', 'cache:warmup', - 'ckeditor:install', 'assets:install', 'yarn:install', 'gulp:build',
[RuworkBundle] Do not use ckeditor:install.
ruvents_ruwork-bundle
train
php
001d55e1ae833c33867abc7f4797fb9f34c859c4
diff --git a/lib/typhoeus/responses/legacy.rb b/lib/typhoeus/responses/legacy.rb index <HASH>..<HASH> 100644 --- a/lib/typhoeus/responses/legacy.rb +++ b/lib/typhoeus/responses/legacy.rb @@ -8,7 +8,6 @@ module Typhoeus # The legacy mapping. MAPPING = { :body => :response_body, - # :headers...
Remove headers b/c its already implemented.
typhoeus_typhoeus
train
rb
2a8bf5b031cbdc6c5e0736432a1c88ec0d0269c9
diff --git a/.buildkite/step_builder.py b/.buildkite/step_builder.py index <HASH>..<HASH> 100644 --- a/.buildkite/step_builder.py +++ b/.buildkite/step_builder.py @@ -7,7 +7,7 @@ sys.path.append(SCRIPT_PATH) from defines import IMAGE_VERSION_MAP, SupportedPython -TIMEOUT_IN_MIN = 15 +TIMEOUT_IN_MIN = 20 DOCKER_...
Increase Buildkite Timeout to <I> mins Summary: We are getting higher build times with whatever is happening on the aws network Test Plan: buildkite Reviewers: natekupp, alangenfeld Reviewed By: natekupp Differential Revision: <URL>
dagster-io_dagster
train
py
3c5118da8f52054ad5f884c8ceb9be17c3bb1440
diff --git a/src/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java b/src/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java +++ b/src/main/java/net/dv8tion/jda/core/audio/AudioWebSocket.java @@ -137,9 +137,20 @@ ...
Added JSON to exceptions in AudioWebSocket event handling
DV8FromTheWorld_JDA
train
java
147bee9cde84aeca6693d1b1aedc595298f24d5b
diff --git a/packr.go b/packr.go index <HASH>..<HASH> 100644 --- a/packr.go +++ b/packr.go @@ -46,3 +46,10 @@ func PackJSONBytes(box string, name string, jbb string) error { PackBytes(box, name, bb) return nil } + +// UnpackBytes unpacks bytes for specific box. +func UnpackBytes(box string) { + gil.Lock() + defer ...
UnpackBytes function to delete registered data (#<I>) Add possibility to reset registered data for development mode, reset PackBytes and read from local storage
gobuffalo_packr
train
go
582f47074daa2952b9f08f50d23814ad06c44ca4
diff --git a/runtime/runtime.go b/runtime/runtime.go index <HASH>..<HASH> 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -293,10 +293,7 @@ func (rt *Runtime) processWatcherUpdate(ctx context.Context, paths []string, rem } } } - if err := compileAndStoreInputs(ctx, rt.Store, txn, loaded.Modules...
Remove lint errors detected during 'make check'
open-policy-agent_opa
train
go,go
33678c10b1f9a16323c045631ec318d7aa5698a4
diff --git a/File/MetaFile.php b/File/MetaFile.php index <HASH>..<HASH> 100644 --- a/File/MetaFile.php +++ b/File/MetaFile.php @@ -19,7 +19,7 @@ use vxPHP\Database\Mysqldbi; * * @author Gregor Kofler * - * @version 0.6.0 2013-04-08 + * @version 0.6.1 2013-06-18 * * @TODO merge rename() with commit() * @TODO...
Bugfix: wrong reference when sorting images
Vectrex_vxPHP
train
php
1f233dc2c7c07c2b7210134b37c648a79f02abf6
diff --git a/ast.go b/ast.go index <HASH>..<HASH> 100644 --- a/ast.go +++ b/ast.go @@ -111,12 +111,7 @@ type Elif struct { } func (e Elif) String() string { - var b bytes.Buffer - io.WriteString(&b, "elif ") - io.WriteString(&b, e.Cond.String()) - io.WriteString(&b, "; then ") - io.WriteString(&b, stmtJoin(e.ThenSt...
ast: No need to use bytes.Buffer in simple nodes
mvdan_sh
train
go
3b4b3b984fe188ba918bb356eb60786538a90038
diff --git a/vsphere/resource_vsphere_virtual_machine_test.go b/vsphere/resource_vsphere_virtual_machine_test.go index <HASH>..<HASH> 100644 --- a/vsphere/resource_vsphere_virtual_machine_test.go +++ b/vsphere/resource_vsphere_virtual_machine_test.go @@ -9578,12 +9578,12 @@ resource "vsphere_virtual_machine" "vm" { ...
Fix order of env variables Moved the ordering of environment variables, so the tf code produced works as expected.
terraform-providers_terraform-provider-vsphere
train
go
9bf1ae689a588b2c51ac0d0b093043b82c4d9eff
diff --git a/trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java b/trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java index <HASH>..<HASH> 100644 --- a/trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java +++ b/trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java @@ -459,9 +459,9 @@ publi...
initialize config before we open the config dialog - fixes loss of configuration
languagetool-org_languagetool
train
java
c2c141746aa3bb82c3f2c8c837583943e93bc8df
diff --git a/tests/test_filesize.py b/tests/test_filesize.py index <HASH>..<HASH> 100644 --- a/tests/test_filesize.py +++ b/tests/test_filesize.py @@ -26,6 +26,7 @@ class FilesizeTestCase(HumanizeTestCase): (10 ** 26 * 30, False, True), (10 ** 26 * 30, True), 10 ** 26 * 30, + ...
Add test for untested code uncovered by Black
jmoiron_humanize
train
py
03d281f6b59180f6a92f6d2bce4f4c956e868958
diff --git a/helpers/class.File.php b/helpers/class.File.php index <HASH>..<HASH> 100644 --- a/helpers/class.File.php +++ b/helpers/class.File.php @@ -308,7 +308,7 @@ class tao_helpers_File $mimetype = ''; } - if (!in_array($ext, array('css', 'ogg'))) { + if (!in_array($ext,...
Add mp3 to the list of mime difficult to guess
oat-sa_tao-core
train
php
0a20268b92f9986bba8f2e02b591246a20eb019a
diff --git a/tests/test_modules.py b/tests/test_modules.py index <HASH>..<HASH> 100644 --- a/tests/test_modules.py +++ b/tests/test_modules.py @@ -89,6 +89,7 @@ def make_operation_tests(arg): ]) else: if hasattr(command[0], 'read'): + ...
Return to start of file-like objects before comparing in tests.
Fizzadar_pyinfra
train
py
2d416c8a15f898ec044b62750f19b06a9421363e
diff --git a/penaltymodel_maxgap/setup.py b/penaltymodel_maxgap/setup.py index <HASH>..<HASH> 100644 --- a/penaltymodel_maxgap/setup.py +++ b/penaltymodel_maxgap/setup.py @@ -47,7 +47,7 @@ class PysmtSolverInstall(install): setup_requires = ['pysmt==0.7.0'] install_requires = ['dimod>=0.8.0,<0.9.0', - ...
Remove dwave-networkx version upper bound
dwavesystems_penaltymodel
train
py
5bce6c46e5c886a77a7c21294bcfb6a45f0e2681
diff --git a/tests/testExpress.js b/tests/testExpress.js index <HASH>..<HASH> 100644 --- a/tests/testExpress.js +++ b/tests/testExpress.js @@ -6,8 +6,6 @@ var Lumina = require("../index"); var server = express(); -// server.use(restify.acceptParser(server.acceptable)); -// server.use(restify.queryParser()); serve...
Dropped unused handlers and comments.
Eagerod_lumina
train
js,js
2f5b013afcc40bd90ba26aed33c9c5c142237016
diff --git a/packages/soya-next/src/pages/createBasePage.js b/packages/soya-next/src/pages/createBasePage.js index <HASH>..<HASH> 100644 --- a/packages/soya-next/src/pages/createBasePage.js +++ b/packages/soya-next/src/pages/createBasePage.js @@ -1,5 +1,5 @@ import React from "react"; -import { compose } from "react-a...
Replace react-apollo with redux compose
traveloka_soya-next
train
js
b37e23aa662389ca533313103ecde42f77fba235
diff --git a/api/src/opentrons/protocol_api/protocol_context.py b/api/src/opentrons/protocol_api/protocol_context.py index <HASH>..<HASH> 100644 --- a/api/src/opentrons/protocol_api/protocol_context.py +++ b/api/src/opentrons/protocol_api/protocol_context.py @@ -669,7 +669,15 @@ class ProtocolContext(CommandPublisher):...
fix(api): Document deck slot deletion (#<I>) Document how to delete labware from a slot to load new labware mid-protocol. A somewhat popular request: #<I>.
Opentrons_opentrons
train
py
3ceb0f7428e1e5da995c2d2f47813543ac8f1f30
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -330,10 +330,17 @@ const inlineCss = async opt => { ); } else { await page.evaluate(allCss => { + if (!allCss) + return; + const head = document.head || document.getElementsByTagName("head")[0],...
Dont try to append 'allCss' if there is no css.
stereobooster_react-snap
train
js
74b6e8a0ae0e43889a883a6b2707dd372a971c49
diff --git a/gatling-http-client/src/main/java/io/gatling/http/client/uri/Uri.java b/gatling-http-client/src/main/java/io/gatling/http/client/uri/Uri.java index <HASH>..<HASH> 100644 --- a/gatling-http-client/src/main/java/io/gatling/http/client/uri/Uri.java +++ b/gatling-http-client/src/main/java/io/gatling/http/clien...
nit: don't use equalsIgnoreCase for checking wss scheme
gatling_gatling
train
java
1ddbe649ab78f6e12f9aa938c2716387c40eb71e
diff --git a/admin/admin.php b/admin/admin.php index <HASH>..<HASH> 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -31,14 +31,6 @@ function hybrid_admin_setup() { /* Loads admin stylesheets for the framework. */ add_action( 'admin_enqueue_scripts', 'hybrid_admin_enqueue_styles' ); - - /* Add the WordPr...
Remove the 'Customize' link from the admin since it is no longer needed and added by WP core.
justintadlock_hybrid-core
train
php
b5eda28f5915a5176277132133833be7fdf4a449
diff --git a/cumulusci/cli/cli.py b/cumulusci/cli/cli.py index <HASH>..<HASH> 100644 --- a/cumulusci/cli/cli.py +++ b/cumulusci/cli/cli.py @@ -417,11 +417,11 @@ def project_init(config, extend): yml_config.extend(test_config) if package_namespace: - yam_config.append('orgs:') - yam_config....
Fix issue with setting dev_namespaced scratch config
SFDO-Tooling_CumulusCI
train
py
9eb96ec5113e3f119d9c6945ea1841787517f79d
diff --git a/messages.go b/messages.go index <HASH>..<HASH> 100644 --- a/messages.go +++ b/messages.go @@ -15,6 +15,7 @@ type Message struct { type Msg struct { Id string `json:"id"` UserId string `json:"user,omitempty"` + Username string `json:"username,omitempty"` ChannelId string `json:"channel,omi...
Add Username to Message struct
nlopes_slack
train
go
da6309715a1d1340f3782dc104ff9f4c5e3bc477
diff --git a/src/route-loading.js b/src/route-loading.js index <HASH>..<HASH> 100644 --- a/src/route-loading.js +++ b/src/route-loading.js @@ -116,11 +116,9 @@ function resolveComponent(routeLoader, router, viewPortPlan) { } function getComponent(routerViewPort) { - try { - resolve(route...
feat(route-loading): enable async view port component creation Previously, the only part of loading that was asynchronous was done through the route loader, which was expected to load the entire component type. Now we make the getComponent call async as well, allowing us to split instantiation into two parts. By doing...
aurelia_router
train
js
cd878cc3010697e83a55d4740177e48cf6477826
diff --git a/sports/tournamentSchedule.js b/sports/tournamentSchedule.js index <HASH>..<HASH> 100644 --- a/sports/tournamentSchedule.js +++ b/sports/tournamentSchedule.js @@ -16,9 +16,31 @@ module.exports = function(ngin) { var TournamentSchedule = SportsModel.extend({ - urlRoot: function() { + /** + * ...
modified root url to reflect object_id and added publish method
sportngin_ngin_client_node
train
js
9baa822e34710fe6e4758b59961f5c9ce9ceb3ca
diff --git a/Test/Unit/TestBaseComponentGeneration.php b/Test/Unit/TestBaseComponentGeneration.php index <HASH>..<HASH> 100644 --- a/Test/Unit/TestBaseComponentGeneration.php +++ b/Test/Unit/TestBaseComponentGeneration.php @@ -281,6 +281,16 @@ abstract class TestBaseComponentGeneration extends TestBase { * (optio...
Fixed assertion of imported class failing when it's in the current namespace.
drupal-code-builder_drupal-code-builder
train
php
85a65817452984123079443909203a6e892756b8
diff --git a/test/test_utils.rb b/test/test_utils.rb index <HASH>..<HASH> 100644 --- a/test/test_utils.rb +++ b/test/test_utils.rb @@ -101,6 +101,12 @@ module Kernel load_path = [TZINFO_LIB_DIR] + extra_load_path load_path = load_path.collect {|p| "-I \"#{p}\""}.join(' ') + # If RubyGems is loaded in...
Require rubygems if necessary in test case sub process. If RubyGems is loaded in the current process, then require it in the sub-process, as it may be needed in order to require dependencies.
tzinfo_tzinfo
train
rb
0c408237db2f9937827ff5c799cc657dba4f2ab4
diff --git a/src/object-model.js b/src/object-model.js index <HASH>..<HASH> 100644 --- a/src/object-model.js +++ b/src/object-model.js @@ -81,10 +81,7 @@ function getProxy(model, obj, def, path) { return new Proxy(obj || {}, { getPrototypeOf(){ - if (def === model.definition) - return model.prototype - - ...
simplify getProto test for object models
sylvainpolletvillard_ObjectModel
train
js
3c20c3b39c5aa047bb35fbdf49b356929d22ac16
diff --git a/lfu_test.go b/lfu_test.go index <HASH>..<HASH> 100644 --- a/lfu_test.go +++ b/lfu_test.go @@ -56,6 +56,12 @@ func BenchmarkLFUGet1000(b *testing.B) { testGetNTimes(cache, 1000) } } +func BenchmarkLFUDelete1000(b *testing.B) { + cache := NewLFU(5) + for n := 0; n < b.N; n++ { + testDeleteNTimes(cache...
benchmark: tests are added for delete ops for lfu algorithm
koding_cache
train
go
2e8da73ca5e2416bf930d5bcba955cec5628ae5e
diff --git a/src/Keboola/Syrup/Command/JobCommand.php b/src/Keboola/Syrup/Command/JobCommand.php index <HASH>..<HASH> 100644 --- a/src/Keboola/Syrup/Command/JobCommand.php +++ b/src/Keboola/Syrup/Command/JobCommand.php @@ -339,7 +339,7 @@ class JobCommand extends ContainerAwareCommand Job::STATUS_P...
parallel limit - updated ES search, lock code change
keboola_syrup
train
php
c7aa061c1010a14b016fbbf233704fc1a3675ffb
diff --git a/liquibase-core/src/main/java/liquibase/diff/Difference.java b/liquibase-core/src/main/java/liquibase/diff/Difference.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/diff/Difference.java +++ b/liquibase-core/src/main/java/liquibase/diff/Difference.java @@ -12,13 +12,7 @@ public...
CORE-<I> Oracle char column snapshot not differentiating between a default value of 0 and '0' addDefaultValue for strings was adding quote marks around value (cherry picked from commit e8f<I>d)
liquibase_liquibase
train
java
bbe3de976ef32dd24707451d4761b70f10552574
diff --git a/platform/provider.go b/platform/provider.go index <HASH>..<HASH> 100644 --- a/platform/provider.go +++ b/platform/provider.go @@ -91,7 +91,7 @@ func NewProvider(logger boshlog.Logger, dirProvider boshdirs.Provider, statsColl case "scsi": devicePathResolver = devicepathresolver.NewScsiDevicePathResolve...
SCSI ID resolver increase timeout originally 5 seconds is not enough, sometimes OS can't find the scsi ID within 5 seconds.
cloudfoundry_bosh-agent
train
go
ed981ae220fd93e6efdacc0151cc957e07eca6d1
diff --git a/src/consumer/index.js b/src/consumer/index.js index <HASH>..<HASH> 100644 --- a/src/consumer/index.js +++ b/src/consumer/index.js @@ -141,7 +141,7 @@ module.exports = ({ /** * @param {string | RegExp} topic - * @param {string} [fromBeginning=false] + * @param {boolean} [fromBeginning=false] ...
fix: fromBeginning should be declared as boolean
tulios_kafkajs
train
js
c062e1ffbe07b45e62035320399cd32127109a06
diff --git a/nptdms/tdms.py b/nptdms/tdms.py index <HASH>..<HASH> 100644 --- a/nptdms/tdms.py +++ b/nptdms/tdms.py @@ -203,7 +203,7 @@ class TdmsFile(object): """ path = self._path(group) - return [self.objects[p] for p in self.objects if p.startswith(path)] + return [self.objects[p] f...
Don't return group object in group channels
adamreeve_npTDMS
train
py
5df7c444883c31c63454b490d7719554fc7fcf3a
diff --git a/lib/puppet/pops/evaluator/compare_operator.rb b/lib/puppet/pops/evaluator/compare_operator.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/pops/evaluator/compare_operator.rb +++ b/lib/puppet/pops/evaluator/compare_operator.rb @@ -23,7 +23,7 @@ class CompareOperator @@include_visitor ||= Visitor.new(se...
(maint) Fix warning complaint in compare_operator.rb
puppetlabs_puppet
train
rb
2407f8bced96e78bb1a22a9fc21df0abd0205f32
diff --git a/main/java/uk/co/real_logic/sbe/PrimitiveValue.java b/main/java/uk/co/real_logic/sbe/PrimitiveValue.java index <HASH>..<HASH> 100644 --- a/main/java/uk/co/real_logic/sbe/PrimitiveValue.java +++ b/main/java/uk/co/real_logic/sbe/PrimitiveValue.java @@ -16,8 +16,9 @@ */ package uk.co.real_logic.sbe; +impo...
Fixed bug with PrimitiveValue.toString() for byte[] representation and removed a static import which makes Eclipse unhappy.
real-logic_simple-binary-encoding
train
java
b2fa2e9f4475d8fe1cb4c8f94b77322789334153
diff --git a/lib/simple_enum/version.rb b/lib/simple_enum/version.rb index <HASH>..<HASH> 100644 --- a/lib/simple_enum/version.rb +++ b/lib/simple_enum/version.rb @@ -1,5 +1,5 @@ module SimpleEnum # The current `SimpleEnum` version. - VERSION = "2.2.1" + VERSION = "2.3.0" end
release <I> with improved support for extensions
lwe_simple_enum
train
rb
94743ab73a0c617281b0b01a25caadb072a81dbb
diff --git a/src/collectors/MemoryCollector.py b/src/collectors/MemoryCollector.py index <HASH>..<HASH> 100644 --- a/src/collectors/MemoryCollector.py +++ b/src/collectors/MemoryCollector.py @@ -58,18 +58,19 @@ class MemoryCollector(diamond.collector.Collector): file = open(self.PROC) data = file.read...
Fix logic on showing all memory nodes or not
python-diamond_Diamond
train
py
2b025181b7df4179e4e7ef012b7b2abc9d12a702
diff --git a/packages/ringcentral-widgets/containers/CallCtrlPage/index.js b/packages/ringcentral-widgets/containers/CallCtrlPage/index.js index <HASH>..<HASH> 100644 --- a/packages/ringcentral-widgets/containers/CallCtrlPage/index.js +++ b/packages/ringcentral-widgets/containers/CallCtrlPage/index.js @@ -168,7 +168,15...
fix(CallCtrlPage): fix the mergingPair is not clear when unhold a call in CallCtrlPage (#<I>)
ringcentral_ringcentral-js-widgets
train
js
1ce8474824e49227f4294ae801764b370a0f826b
diff --git a/lib/modules/ens/index.js b/lib/modules/ens/index.js index <HASH>..<HASH> 100644 --- a/lib/modules/ens/index.js +++ b/lib/modules/ens/index.js @@ -33,7 +33,7 @@ class ENS { this.events.setCommandHandler("storage:ens:associate", this.associateStorageToEns.bind(this)); } - setProviderAndRegisterDom...
Prevent embark to crash when there is no config for ens
embark-framework_embark
train
js
f5a0ca6a22e1c24099cbc048e17fae3cb40263ec
diff --git a/asv/util.py b/asv/util.py index <HASH>..<HASH> 100644 --- a/asv/util.py +++ b/asv/util.py @@ -259,7 +259,7 @@ class ProcessError(subprocess.CalledProcessError): ' '.join(self.args), self.retcode) -def check_call(args, valid_return_codes=(0,), timeout=60, dots=True, +def check_call(args...
Bump default command timeouts to <I> min The value is arbitrary, but matches Travis-CI.
airspeed-velocity_asv
train
py
bb3928fbf400ead19a238fe479494292e9369938
diff --git a/wallace/custom.py b/wallace/custom.py index <HASH>..<HASH> 100644 --- a/wallace/custom.py +++ b/wallace/custom.py @@ -222,6 +222,7 @@ def node(): exp.log("node_get_request successful", key) except: session.commit() + print(traceback.format_exc()) e...
print tracebacks for node requests?
berkeley-cocosci_Wallace
train
py
b899017343cf8127d32655a0ef128486362dadda
diff --git a/pdftools/_cli.py b/pdftools/_cli.py index <HASH>..<HASH> 100644 --- a/pdftools/_cli.py +++ b/pdftools/_cli.py @@ -10,7 +10,7 @@ def main(): ) # global options PARSER.add_argument( - "--version", action="store_true", help="Print version number and exit" + "-V", "--version", acti...
Adding `-V` as short version option
stlehmann_pdftools
train
py
77c5700a72deafa71da2214ad0e8b5a4b84d0e67
diff --git a/src/useSprings.js b/src/useSprings.js index <HASH>..<HASH> 100644 --- a/src/useSprings.js +++ b/src/useSprings.js @@ -87,6 +87,6 @@ export const useSprings = (length, propsArg, deps) => { return () => state.springs.forEach(s => s.destroy()) }, []) - const values = springs.map(s => s.animated) + ...
fix: make useSpring return a fresh object Otherwise, users can accidentally mutate the internal Controller state.
react-spring_react-spring
train
js
44e3133eb8858e6e33a6bb33821625f4d99dbc91
diff --git a/lib/alchemy/engine.rb b/lib/alchemy/engine.rb index <HASH>..<HASH> 100644 --- a/lib/alchemy/engine.rb +++ b/lib/alchemy/engine.rb @@ -11,7 +11,6 @@ module Alchemy rake_tasks do load File.join(File.dirname(__FILE__), '../tasks/install.rake') load File.join(File.dirname(__FILE__), '../task...
Fixes rake tasks includation
AlchemyCMS_alchemy_cms
train
rb
9fa1a56c426674591f0bf372ca0cabcd7646961b
diff --git a/tests/spec/observableVect3d-spec.js b/tests/spec/observableVect3d-spec.js index <HASH>..<HASH> 100644 --- a/tests/spec/observableVect3d-spec.js +++ b/tests/spec/observableVect3d-spec.js @@ -16,7 +16,7 @@ describe("me.ObservableVector3d", function () { _oldZ = oldZ; }; - it("should be...
[#<I>] test name fix how come there are always these super small details we always miss :P
melonjs_melonJS
train
js
9e9320b5c3d687c660301634c2a78583335069cc
diff --git a/src/DB/Entity/Meta/Implementation.php b/src/DB/Entity/Meta/Implementation.php index <HASH>..<HASH> 100644 --- a/src/DB/Entity/Meta/Implementation.php +++ b/src/DB/Entity/Meta/Implementation.php @@ -89,6 +89,8 @@ trait Implementation { if (!class_exists($type)) throw new \Exception("Invalid ty...
Don't cast object is already right type
jasny_db
train
php
5b4c04c4d759cfd72024d76bbf0ed0034994f7c2
diff --git a/molo/commenting/admin.py b/molo/commenting/admin.py index <HASH>..<HASH> 100644 --- a/molo/commenting/admin.py +++ b/molo/commenting/admin.py @@ -76,7 +76,7 @@ class MoloCommentAdmin(MPTTModelAdmin, CommentsAdmin): if not obj.user: return "" - url = reverse('admin:auth_user_c...
redirect to wagtail admin for edit users on comment list
praekeltfoundation_molo.commenting
train
py,py
339c662f6ca3d3fe98869f331ebd1df5b0d1e904
diff --git a/src/main/java/nonapi/io/github/classgraph/utils/FastPathResolver.java b/src/main/java/nonapi/io/github/classgraph/utils/FastPathResolver.java index <HASH>..<HASH> 100644 --- a/src/main/java/nonapi/io/github/classgraph/utils/FastPathResolver.java +++ b/src/main/java/nonapi/io/github/classgraph/utils/FastPat...
Better normalization of "file:" URLs
classgraph_classgraph
train
java
f92fd1c5e075d3206e82ad0310e83b632c86740b
diff --git a/python/orca/test/bigdl/orca/tfpark/test_tf_dataset.py b/python/orca/test/bigdl/orca/tfpark/test_tf_dataset.py index <HASH>..<HASH> 100644 --- a/python/orca/test/bigdl/orca/tfpark/test_tf_dataset.py +++ b/python/orca/test/bigdl/orca/tfpark/test_tf_dataset.py @@ -277,12 +277,11 @@ class TestTFDataset(ZooTest...
Refactor TFDataset (#<I>) * refactor dataset * change example * refactor * fix tests
intel-analytics_BigDL
train
py
b943948d24f0335bb3be9d7c2d7b515a7de84634
diff --git a/core/server/events/index.js b/core/server/events/index.js index <HASH>..<HASH> 100644 --- a/core/server/events/index.js +++ b/core/server/events/index.js @@ -1,9 +1,12 @@ var events = require('events'), util = require('util'), - EventRegistry; + EventRegistry, + EventRegistryInstance; ...
Set a higher maxListeners value fixes #<I> - Set Max Listeners on our Event Emitter to <I> - Stops the '<I> listeners added' error on node <I> during tests
TryGhost_Ghost
train
js
ee8528efaa17bb3f1342da7f5c4a0542eb35634c
diff --git a/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java b/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java index <HASH>..<HASH> 100644 --- a/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java +++ b/aeron-cluster/src/test/java/io/aeron/cluster/MultiNodeTest.java @@ -321,6...
[Java]: make sure to send canvass from mocked follower.
real-logic_aeron
train
java
82c38e81558457364f1b4afb87130b3ca7762439
diff --git a/K2fov/plot.py b/K2fov/plot.py index <HASH>..<HASH> 100644 --- a/K2fov/plot.py +++ b/K2fov/plot.py @@ -108,9 +108,14 @@ class K2FootprintPlot(object): except ImportError: logger.error("You need to install AstroPy for this feature.") return None - icrs = SkyCoord(np....
Avoid crashing if an older version of AstroPy without ecliptic coordinates is not available; cf #<I>
KeplerGO_K2fov
train
py
22ddaa9926616aade95cbddbd089c365e135a094
diff --git a/gpustat/__init__.py b/gpustat/__init__.py index <HASH>..<HASH> 100644 --- a/gpustat/__init__.py +++ b/gpustat/__init__.py @@ -2,7 +2,7 @@ The gpustat module. """ -__version__ = '1.0.0.dev2' +__version__ = '1.0.0rc1' from .core import GPUStat, GPUStatCollection from .core import new_query
Release candidate version <I>rc1
wookayin_gpustat
train
py
77159430911b0aa086e621ac066d02d9d1cf53c8
diff --git a/spec/mongo/server/connection_spec.rb b/spec/mongo/server/connection_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mongo/server/connection_spec.rb +++ b/spec/mongo/server/connection_spec.rb @@ -447,6 +447,10 @@ describe Mongo::Server::Connection do context 'when the socket_timeout is negative' do ...
RUBY-<I> Create connection in spec using options including SSL
mongodb_mongo-ruby-driver
train
rb
7385ddd6eb970f5f5e742c06d4439ee58225ec8c
diff --git a/src/Illuminate/Queue/Middleware/RateLimitsJobs.php b/src/Illuminate/Queue/Middleware/RateLimitsJobs.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Queue/Middleware/RateLimitsJobs.php +++ b/src/Illuminate/Queue/Middleware/RateLimitsJobs.php @@ -4,6 +4,7 @@ namespace Illuminate\Queue\Middleware; use...
Avoid app helper, use Container singleton to resolve instead
laravel_framework
train
php
8b1fe28017b264de770e15f2417e84ef57ae0571
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -571,7 +571,7 @@ module ActionDispatch @v...
Fix "warning: `*' interpreted as argument prefix"
rails_rails
train
rb
34e338a458b742dd9a5321be431cee06cdd6b699
diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index <HASH>..<HASH> 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -354,8 +354,11 @@ class assign { $o = ''; $mform = null; $notices = array(); + $nextpageparams = array(); - $nextpageparams...
MDL-<I> mod_assign: prevent notice from displaying when course module id does not exist
moodle_moodle
train
php
4ad4e7c41855a7c9afdb324cf0871a66178a526d
diff --git a/sharding-jdbc/src/main/java/io/shardingsphere/core/jdbc/core/statement/ShardingStatement.java b/sharding-jdbc/src/main/java/io/shardingsphere/core/jdbc/core/statement/ShardingStatement.java index <HASH>..<HASH> 100644 --- a/sharding-jdbc/src/main/java/io/shardingsphere/core/jdbc/core/statement/ShardingStat...
change import for ShardingStatement.java
apache_incubator-shardingsphere
train
java
45390ad5fa5baa789fb3b2f8c0e6e09f9a4572d9
diff --git a/core-bundle/src/Resources/contao/library/Contao/String.php b/core-bundle/src/Resources/contao/library/Contao/String.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/library/Contao/String.php +++ b/core-bundle/src/Resources/contao/library/Contao/String.php @@ -660,6 +660,11 @@ class St...
[Core] Correctly filter empty elements in String::resolveFlaggedUrl()
contao_contao
train
php
8de32bb25295787b68d307c74e50462cd99e6ecc
diff --git a/activesupport/lib/active_support/core_ext/time/zones.rb b/activesupport/lib/active_support/core_ext/time/zones.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/core_ext/time/zones.rb +++ b/activesupport/lib/active_support/core_ext/time/zones.rb @@ -40,7 +40,23 @@ class Time Thre...
Document scoping issue with Time.use_zone The Time.use_zone method will only affect ActiveSupport::TimeWithZone instances created inside of the block passed to Time.use_zone. This could be confusing when fetching a model and then reading the attribute before the block and it not changing afterwards because Active Reco...
rails_rails
train
rb
9a92afedff2511148ae02ded69ac241ff1a3b1e1
diff --git a/lib/webrat/integrations/rspec-rails.rb b/lib/webrat/integrations/rspec-rails.rb index <HASH>..<HASH> 100644 --- a/lib/webrat/integrations/rspec-rails.rb +++ b/lib/webrat/integrations/rspec-rails.rb @@ -1,8 +1,9 @@ # Supports using the matchers in controller, helper, and view specs if you're # using rspec...
require 'nokogiri' in rspec-rails include file
brynary_webrat
train
rb
73cc1cc4c93c476edd64072caec8d10d5e75cc8f
diff --git a/spec/interface_examples.js b/spec/interface_examples.js index <HASH>..<HASH> 100644 --- a/spec/interface_examples.js +++ b/spec/interface_examples.js @@ -281,19 +281,19 @@ sharedExamplesFor('Lazy Vars Interface', function(getVar) { return getVar('model').value; }); - describe('suite ...
fix(test): replaces arrow function with regular one
stalniy_bdd-lazy-var
train
js
dd44dd95dc996daa98a42b9c6f9420869a00bdff
diff --git a/lib/jss/api_object/scopable/scope.rb b/lib/jss/api_object/scopable/scope.rb index <HASH>..<HASH> 100644 --- a/lib/jss/api_object/scopable/scope.rb +++ b/lib/jss/api_object/scopable/scope.rb @@ -688,7 +688,8 @@ module JSS scope = REXML::Element.new 'scope' scope.add_element(@all_key.to_s)....
Scope fix in generating XML
PixarAnimationStudios_ruby-jss
train
rb
306335f98765adde142703143f445e694167d5e9
diff --git a/components/SimilarityGraph/index.js b/components/SimilarityGraph/index.js index <HASH>..<HASH> 100644 --- a/components/SimilarityGraph/index.js +++ b/components/SimilarityGraph/index.js @@ -4,7 +4,7 @@ import d3 from 'd3'; import cola from 'webcola'; export default class SimilarityGraph extends VisComp...
refactor(SimilarityGraph): rename "nodeRadius" to "size"
Kitware_candela
train
js
935f9b1f9cf5980d863f58d24563bd1c7e6ed315
diff --git a/messages/es/messages.php b/messages/es/messages.php index <HASH>..<HASH> 100644 --- a/messages/es/messages.php +++ b/messages/es/messages.php @@ -1,7 +1,7 @@ <?php return [ - 'You must fill at least {min} of the attributes {attributes}.' => 'Se debe completar al menos {min} de los campos {attributes}.'...
Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on <URL>
sdlins_yii2-at-least-validator
train
php
7c65038feb3ce0aef3b2b82f87298f2c33ab5029
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -210,7 +210,7 @@ MapboxLanguage.prototype._initialStyleUpdate = function () { function browserLanguage(supportedLanguages) { var language = navigator.languages ? navigator.languages[0] : (navigator.language || navigator....
Guard against potential undefined error (#<I>)
mapbox_mapbox-gl-language
train
js
acb24e700a55b8ce3a7ba34a078859e32d7edb4c
diff --git a/libnavigation-ui/src/main/java/com/mapbox/navigation/ui/route/NavigationMapRoute.java b/libnavigation-ui/src/main/java/com/mapbox/navigation/ui/route/NavigationMapRoute.java index <HASH>..<HASH> 100644 --- a/libnavigation-ui/src/main/java/com/mapbox/navigation/ui/route/NavigationMapRoute.java +++ b/libnavi...
fix typo which will cause a problem that the observer is not registered.
mapbox_mapbox-navigation-android
train
java
679300568a0c10101d8988b39e4a4f646fc2794e
diff --git a/views.py b/views.py index <HASH>..<HASH> 100644 --- a/views.py +++ b/views.py @@ -19,7 +19,10 @@ """Knowledge Flask Blueprint.""" +from __future__ import unicode_literals + from flask import Blueprint + from flask_breadcrumbs import default_breadcrumb_root
global: unicode literals for views * Forces unicode literals on views. (addresses #<I>) * PEP8/<I> code style improvements.
inveniosoftware-attic_invenio-knowledge
train
py
e480c4c944ba70130209d50d2e3332258d1191d9
diff --git a/fitsio/fitslib.py b/fitsio/fitslib.py index <HASH>..<HASH> 100644 --- a/fitsio/fitslib.py +++ b/fitsio/fitslib.py @@ -2737,7 +2737,8 @@ def _get_col_dimstr(tdim): if tdim is None: dimstr='array[bad TDIM]' else: - if dt[0] == 'S': + #if dt[0] == 'S': + if tdim[0] == '...
fixed regression from recently added tdim checks
esheldon_fitsio
train
py
4343c116030c4d291d555270504b2971ef6bc249
diff --git a/lib/perobs/Cache.rb b/lib/perobs/Cache.rb index <HASH>..<HASH> 100644 --- a/lib/perobs/Cache.rb +++ b/lib/perobs/Cache.rb @@ -130,6 +130,12 @@ module PEROBS elsif (obj = @reads[idx]) && obj._id == id # The object was in the read cache. return obj + elsif (obj = @transaction_ob...
Fix: Also check transaction objects During transactions the read cache is used to speed up lookups. Hash collisions could eliminate a modified object from the read cache. In this case, we need to check the transaction objects as well to return the right object.
scrapper_perobs
train
rb
b8f6645f7a9009dc6dd092f095f45c77f7517f46
diff --git a/src/Repo/Def/Entity.php b/src/Repo/Def/Entity.php index <HASH>..<HASH> 100644 --- a/src/Repo/Def/Entity.php +++ b/src/Repo/Def/Entity.php @@ -143,6 +143,9 @@ class Entity extends Base implements IEntity public function replace($data) { + if ($data instanceof DataObject) { + $d...
MOBI-<I> - Save PV on "order is paid" event (add customer & products initialization to deploy script)
praxigento_mobi_mod_core
train
php
362601a2c6de0691d032a5779703035e481c20ae
diff --git a/lib/baby_squeel/join_dependency/injector.rb b/lib/baby_squeel/join_dependency/injector.rb index <HASH>..<HASH> 100644 --- a/lib/baby_squeel/join_dependency/injector.rb +++ b/lib/baby_squeel/join_dependency/injector.rb @@ -3,17 +3,13 @@ module BabySqueel # This class allows BabySqueel to slip custom ...
I must have been tired when i wrote this
rzane_baby_squeel
train
rb
263d0802223576684f9ebd8bd843855edbc91668
diff --git a/lib/yard/tags/library.rb b/lib/yard/tags/library.rb index <HASH>..<HASH> 100644 --- a/lib/yard/tags/library.rb +++ b/lib/yard/tags/library.rb @@ -59,9 +59,11 @@ module YARD # @param [#to_s] tag the tag name to create # @param meth the {Tag} factory method to call when creating the tag ...
Switch back to class_eval (faster)
lsegal_yard
train
rb
ab6eca563bdff2b2561283104a878f18bdfb980e
diff --git a/requirements.txt b/requirements.txt index <HASH>..<HASH> 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ requests>=2.9.1 tqdm>=3.7.1 arrow +tabulate diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ classifiers = [ setup(na...
minor version bump for file tabulate feature
TadLeonard_tfatool
train
txt,py,py
1476604096eb66888871057900437d596d456963
diff --git a/hcam_widgets/hcam.py b/hcam_widgets/hcam.py index <HASH>..<HASH> 100644 --- a/hcam_widgets/hcam.py +++ b/hcam_widgets/hcam.py @@ -491,9 +491,7 @@ class InstPars(tk.LabelFrame): # dwell dwell = data.get('dwell', 0) self.expose.set(str(float(dwell))) - # binning - sel...
bug in setting binning when loading JSON
HiPERCAM_hcam_widgets
train
py
5317dd7e7775223c42ae5aa3f22c553ddbe68d6c
diff --git a/lib/python/vdm/server/HTTPListener.py b/lib/python/vdm/server/HTTPListener.py index <HASH>..<HASH> 100644 --- a/lib/python/vdm/server/HTTPListener.py +++ b/lib/python/vdm/server/HTTPListener.py @@ -2096,6 +2096,18 @@ class DatabaseDeploymentAPI(MethodView): if not inputs.validate()...
VDM-<I> Modified code to load the users from deployment configuration file.
VoltDB_voltdb
train
py
cab57e5f83a748073dc9bf795b38326aa2e56096
diff --git a/account/Model/Login.php b/account/Model/Login.php index <HASH>..<HASH> 100644 --- a/account/Model/Login.php +++ b/account/Model/Login.php @@ -80,8 +80,18 @@ class Login_Model ['id' => $id, 'randomid' => $random] ); } catch (UpdateNone_Exception $e) { - var_...
Squashed commit of the following: commit aa9b<I>c4cfa0f1a5f0aa5cbdb3f6f<I>fd<I>fd
monolyth-php_frontal
train
php
6febcf9756af24388336b7707994ef3454b3342d
diff --git a/src/Webpay/Oneclick/MallInscription.php b/src/Webpay/Oneclick/MallInscription.php index <HASH>..<HASH> 100644 --- a/src/Webpay/Oneclick/MallInscription.php +++ b/src/Webpay/Oneclick/MallInscription.php @@ -89,7 +89,7 @@ class MallInscription $this->sendRequest( 'DELETE', ...
Fix typo that is not compatible with PHP <I>
TransbankDevelopers_transbank-sdk-php
train
php
3564c868b341e2b07a8985244d007034b2514897
diff --git a/go/client/cmd_signup.go b/go/client/cmd_signup.go index <HASH>..<HASH> 100644 --- a/go/client/cmd_signup.go +++ b/go/client/cmd_signup.go @@ -568,6 +568,7 @@ func (s *CmdSignup) handlePostError(inerr error) (retry bool, err error) { } if !s.doPrompt { + err = inerr retry = false }
do not show success if failed in batch signup (#<I>)
keybase_client
train
go
6942d8722bdaaecbe4f805f4171cdbdbca4f54fa
diff --git a/insights/specs/default.py b/insights/specs/default.py index <HASH>..<HASH> 100644 --- a/insights/specs/default.py +++ b/insights/specs/default.py @@ -348,6 +348,8 @@ class DefaultSpecs(Specs): # https://access.redhat.com/solutions/21680 return list(ps_httpds) + httpd_pid = simple_com...
Add spec "httpd limits" back (#<I>)
RedHatInsights_insights-core
train
py
b79e538f6fb45eb2bd7cb10d203365d6d90a78f6
diff --git a/alot/commands/search.py b/alot/commands/search.py index <HASH>..<HASH> 100644 --- a/alot/commands/search.py +++ b/alot/commands/search.py @@ -191,9 +191,6 @@ class TagCommand(Command): # (displays an empty search result) if threadline_widget is None: return - if self.t...
remove unnecessary assert The user can only ever set the target string via a command parameter, which is sanitizd by argparse as we use choices..
pazz_alot
train
py
ae65d273b9f43866a987aed78633d2c9ff1966ce
diff --git a/lint.go b/lint.go index <HASH>..<HASH> 100644 --- a/lint.go +++ b/lint.go @@ -173,7 +173,10 @@ func (p *pkg) errorfAt(pos token.Position, confidence float64, args ...interface Confidence: confidence, } if pos.Filename != "" { - problem.LineText = srcLine(p.files[pos.Filename].src, pos) + // The fi...
Avoid panic when an ast.Node is in a different file. Fixes #<I>.
golang_lint
train
go
337da700d67405d979ea6af02bdfc8fcfac27c34
diff --git a/cotendo/records.py b/cotendo/records.py index <HASH>..<HASH> 100644 --- a/cotendo/records.py +++ b/cotendo/records.py @@ -14,11 +14,11 @@ class DNSResult(object): def _set_ttl(self, ttl): return self._etree.set("ttl", str(ttl)) - @property + @property def to_dict(self): ...
fixed some spacing errors, missed colon.
seryl_Python-Cotendo
train
py
992cfb11018b29f4dfbd7bac6abff91b5f12380d
diff --git a/lib/grade/grade_item.php b/lib/grade/grade_item.php index <HASH>..<HASH> 100644 --- a/lib/grade/grade_item.php +++ b/lib/grade/grade_item.php @@ -320,7 +320,7 @@ class grade_item extends grade_object { * @static * * @param array $params associative arrays varname=>value - * @return ar...
gradebook MDL-<I> fixed a typo in a comment
moodle_moodle
train
php