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
ce2ef416f2aa48e3cca880318270deca84b27de2
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -131,7 +131,7 @@ DittoHbs.prototype.renderHtml = function(files, Ditto, templates, callback) { if(file.path.name != 'index') { - name = path.join(file.path.name, 'index'); + file.pat...
forgot to assign indexed filename to the actual file
pimbrouwers_ditto-hbs
train
js
7063e32400dc1f1fb105cebf2594e7fff9d9ea1f
diff --git a/test/test_helper.rb b/test/test_helper.rb index <HASH>..<HASH> 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -42,9 +42,7 @@ class Minitest::Test # Delete all collections from the database. def dump_database - Mongoid.session(:default).collections.each do |collection| - colle...
fixing db dump issue. Based off of this PR: <URL>
projectcypress_health-data-standards
train
rb
c640f6a3f6334dbd4150158da4c78db50ed3a1cf
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,8 +13,6 @@ try: except ImportError: from distutils.core import setup -import justext - with open("README.rst") as readme: with open("CHANGELOG.rst") as changelog: @@ -26,7 +24,7 @@ with open("LICENSE.rst") ...
Don't import justext in setup.py file Script ends with error if lxml is not already installed. More info at <URL>
miso-belica_jusText
train
py
4c34d47dccdb5ae1a2889ea70de7fe316fd3b496
diff --git a/consullock/cli.py b/consullock/cli.py index <HASH>..<HASH> 100644 --- a/consullock/cli.py +++ b/consullock/cli.py @@ -217,7 +217,7 @@ def main(cli_arguments: List[str]): except PermissionDeniedConsulError as e: error_message = f"Invalid credentials - are you sure you have set {CONSUL_TOKEN_...
Stops leaking token if seemingly incorrect!
wtsi-hgi_consul-lock
train
py
a6d4f25a56ed8be7135cd2f5d8864c9800b72b11
diff --git a/numina/array/wavecalib/__main__.py b/numina/array/wavecalib/__main__.py index <HASH>..<HASH> 100644 --- a/numina/array/wavecalib/__main__.py +++ b/numina/array/wavecalib/__main__.py @@ -214,6 +214,9 @@ def wvcal_spectrum(filename, ns1, ns2, print("Reading master table: " + wv_master_file) ...
Enlarge the expected wavelength range by a fixed fraction.
guaix-ucm_numina
train
py
e236bc1d54bd3b87d5dba38d9b3cf35402065610
diff --git a/spec/semipublic/shared/resource_shared_spec.rb b/spec/semipublic/shared/resource_shared_spec.rb index <HASH>..<HASH> 100644 --- a/spec/semipublic/shared/resource_shared_spec.rb +++ b/spec/semipublic/shared/resource_shared_spec.rb @@ -107,7 +107,7 @@ share_examples_for 'A semipublic Resource' do st...
removed resource_shared_spec dependency on assumption that created resource will have ID = 1
datamapper_dm-core
train
rb
1c775d131bbd93ee888f34030b0e2a89e60ebe46
diff --git a/lnwallet/transactions_test.go b/lnwallet/transactions_test.go index <HASH>..<HASH> 100644 --- a/lnwallet/transactions_test.go +++ b/lnwallet/transactions_test.go @@ -986,6 +986,9 @@ func createTestChannelsForVectors(tc *testContext, chanType channeldb.ChannelTyp // Return a clean up function that stops g...
lnwallet/test: close database after test
lightningnetwork_lnd
train
go
25fd19c74a3ad80f6cb0bd0f31a0b6cc8ed7c91f
diff --git a/test/asyncio_tests/test_asyncio_collection.py b/test/asyncio_tests/test_asyncio_collection.py index <HASH>..<HASH> 100644 --- a/test/asyncio_tests/test_asyncio_collection.py +++ b/test/asyncio_tests/test_asyncio_collection.py @@ -272,6 +272,7 @@ class TestAsyncIOCollection(AsyncIOTestCase): def test_n...
Clean up before running test_nested_callbacks.
mongodb_motor
train
py,py
553996ad9eb32957ee0d8c9e8dca1545582f83cb
diff --git a/src/http/Uri.php b/src/http/Uri.php index <HASH>..<HASH> 100644 --- a/src/http/Uri.php +++ b/src/http/Uri.php @@ -179,16 +179,9 @@ class Uri { $path = '/' . trim($path, '/'); - if ($path === '/') - { - $this->path = '/'; - } - else - { - self::validatePath($path); - - $this->path = $...
Reducing cyclomatic complexity.
jurchiks_commons
train
php
af2792465b55627284000d2093f2c5689d3b7aff
diff --git a/src/Mailer/AppEmail.php b/src/Mailer/AppEmail.php index <HASH>..<HASH> 100644 --- a/src/Mailer/AppEmail.php +++ b/src/Mailer/AppEmail.php @@ -79,10 +79,13 @@ class AppEmail extends Email return $email; } catch (Exception $e) { if (Configure::check('app.EmailTransport.fall...
only try to send email once with fallback config
foodcoopshop_foodcoopshop
train
php
ed1967f72f44174ce91144a522a6f09c5ffff6b1
diff --git a/tools/suds_devel/requirements.py b/tools/suds_devel/requirements.py index <HASH>..<HASH> 100644 --- a/tools/suds_devel/requirements.py +++ b/tools/suds_devel/requirements.py @@ -182,9 +182,17 @@ def pytest_requirements(version_info=None, ctypes_version=_Unspecified): # requires, even though it does no...
require pytest <I> under Python <I> pytest <I> restores Python <I> compatibility that has been causing our project testing to fail in that environment. Note that pytest <I> has not yet been officially released but our project's testing has been tried out and found to be working with the current pytest development tip....
ovnicraft_suds2
train
py
80a60914d55b09ac48dad723fd9e6a4de081a5f7
diff --git a/src/TwigExtension.php b/src/TwigExtension.php index <HASH>..<HASH> 100644 --- a/src/TwigExtension.php +++ b/src/TwigExtension.php @@ -702,7 +702,7 @@ class TwigExtension extends \Twig_Extension $results = $this->app['storage']->getContent($contenttype, $options); // Loop the array, set ...
Don't throw an error after removing contenttypes.
bolt_bolt
train
php
399b11e82e3fb8c116adbdbdaddb90ef2df48440
diff --git a/lib/sprockets/base.rb b/lib/sprockets/base.rb index <HASH>..<HASH> 100644 --- a/lib/sprockets/base.rb +++ b/lib/sprockets/base.rb @@ -5,7 +5,6 @@ require 'sprockets/errors' require 'sprockets/processed_asset' require 'sprockets/server' require 'sprockets/static_asset' -require 'json' require 'pathname'...
json require is unused in base
rails_sprockets
train
rb
35140463a7e8ebd4cf9f9957f2db4f738444fae9
diff --git a/lib/backup/version.rb b/lib/backup/version.rb index <HASH>..<HASH> 100644 --- a/lib/backup/version.rb +++ b/lib/backup/version.rb @@ -13,7 +13,7 @@ module Backup # Defines the minor version # PATCH: # Defines the patch version - MAJOR, MINOR, PATCH = 3, 0, 17 + MAJOR, MINOR, PATCH = ...
Bumping to version <I>! Fixes a crucial CLI issue.
backup_backup
train
rb
668a596d5a39060535a13a1b254e41e769c60aea
diff --git a/pycbc/strain.py b/pycbc/strain.py index <HASH>..<HASH> 100644 --- a/pycbc/strain.py +++ b/pycbc/strain.py @@ -138,7 +138,7 @@ def from_cli(opt): logging.info("Converting to float32") strain = (DYN_RANGE_FAC * strain).astype(float32) strain._epoch = lal.LIGOTimeGPS(opt.gps_sta...
Fixing serious typo bug in strain.py
gwastro_pycbc
train
py
7ad4dd233f544708eecb934ed339118a072f9361
diff --git a/lib/flash_gordon/version.rb b/lib/flash_gordon/version.rb index <HASH>..<HASH> 100644 --- a/lib/flash_gordon/version.rb +++ b/lib/flash_gordon/version.rb @@ -1,3 +1,3 @@ module FlashGordon - VERSION = "0.0.3" + VERSION = "0.0.4" end
Version Bump to <I>
methodnow_flash_gordon
train
rb
96925570a14dc909daebeae8241fdf2bd2ab786f
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -206,7 +206,7 @@ module ActiveRecord end def table_name - @...
table name is cached on the class, so stop caching twice
rails_rails
train
rb
73f5b3e8d3518cf42ce17969e3e08da81a99966b
diff --git a/glances/core/glances_processes.py b/glances/core/glances_processes.py index <HASH>..<HASH> 100644 --- a/glances/core/glances_processes.py +++ b/glances/core/glances_processes.py @@ -83,7 +83,7 @@ class GlancesProcesses(object): except (KeyError, psutil.AccessDenied): try: ...
Missing attributeerror catch on Windows...
nicolargo_glances
train
py
a08ac88682fcbd8ea562a5f94bba3473c6037c93
diff --git a/lib/chanko/function.rb b/lib/chanko/function.rb index <HASH>..<HASH> 100644 --- a/lib/chanko/function.rb +++ b/lib/chanko/function.rb @@ -66,6 +66,7 @@ module Chanko end def view_result(result, type) + return result if self.unit.default? case type when :plain result ...
default block doesn't be surrounded by unit div/span
cookpad_chanko
train
rb,rb
5ab472aebd7c3c6b2d28fb9c19792609896185ae
diff --git a/framework/js/notification.js b/framework/js/notification.js index <HASH>..<HASH> 100644 --- a/framework/js/notification.js +++ b/framework/js/notification.js @@ -166,6 +166,15 @@ limitations under the License. * @param {String} [options.title] * [en]Dialog title. Default is "Alert".[/en] * [ja]ダイ...
docs(ons.notification): missing docs for few prompt options
OnsenUI_OnsenUI
train
js
d9aa33dde49281757f9dc150f0fca3393b1b5ee3
diff --git a/dingo/core/network/grids.py b/dingo/core/network/grids.py index <HASH>..<HASH> 100644 --- a/dingo/core/network/grids.py +++ b/dingo/core/network/grids.py @@ -212,9 +212,28 @@ class MVGridDingo(GridDingo): """ # do the routing - self._graph = mv_routing.solve(self._graph, debug, a...
call conn. of isolated satellites in MVGridDingo.routing() and pimp it up
openego_ding0
train
py
0d6bbbd61c95e9055c05a36df89f9660732dca9f
diff --git a/package.js b/package.js index <HASH>..<HASH> 100644 --- a/package.js +++ b/package.js @@ -7,7 +7,7 @@ Package.describe({ Package.on_use(function (api) { api.versionsFrom('METEOR@0.9.0.1'); // Exports the ngMeteor package scope - api.export('urigo:ngmeteor', 'client'); + api.export('ngMeteor', 'cli...
New version for Meteor packaging system
Urigo_angular-meteor
train
js
b7a7c461f1b89c9615ee94701e5526c7b1db753e
diff --git a/trunk/JLanguageTool/src/java/org/languagetool/gui/ConfigurationDialog.java b/trunk/JLanguageTool/src/java/org/languagetool/gui/ConfigurationDialog.java index <HASH>..<HASH> 100644 --- a/trunk/JLanguageTool/src/java/org/languagetool/gui/ConfigurationDialog.java +++ b/trunk/JLanguageTool/src/java/org/languag...
bugfix: enabling rules which were disabled by default didn't work
languagetool-org_languagetool
train
java
4b8ea5883aa83e318d4c5a80391f16867d769e31
diff --git a/views/js/core/polling.js b/views/js/core/polling.js index <HASH>..<HASH> 100644 --- a/views/js/core/polling.js +++ b/views/js/core/polling.js @@ -69,9 +69,8 @@ define([ /** * Notifies the action is about to be called * @event polling#call - * @param {pol...
polling.js: missed remove context on event
oat-sa_tao-core
train
js
5c4fa342f1059fc8e8c1c070496a3689da14c163
diff --git a/protocol/v2.go b/protocol/v2.go index <HASH>..<HASH> 100644 --- a/protocol/v2.go +++ b/protocol/v2.go @@ -485,7 +485,7 @@ func (p *V2) addDevice(dev *device.Device) { } if vendor == device.VendorLifx { switch product { - case device.ProductLifxOriginal, device.ProductLifxColor650, device.ProductLif...
Update internal protocol v2 product const to match documented naming
pdf_golifx
train
go,go
5103f52e4d4039ff191679d171863ce750f8661f
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100755 --- a/tests.py +++ b/tests.py @@ -180,9 +180,9 @@ class TestBoardMessages(BoardBaseTest): def test_send_sysex_string(self): self.board.send_sysex(0x79, bytearray("test", 'ascii')) - sysex = [chr(0xF0), chr(0x79)] + sysex = [0xF0,...
Fix earlier failing test also in py3
tino_pyFirmata
train
py
71f83b3475b8016ed9a7893c74d0080f4b86da1f
diff --git a/phonopy/phonon/band_structure.py b/phonopy/phonon/band_structure.py index <HASH>..<HASH> 100644 --- a/phonopy/phonon/band_structure.py +++ b/phonopy/phonon/band_structure.py @@ -80,7 +80,7 @@ def get_band_qpoints(band_paths, npoints): nd = len(band_path) for i in range(nd - 1): ...
Fix that list object doesn't support .copy() in ptyhon <I>
atztogo_phonopy
train
py
0a0f7d5816fa7e42fd787d4923265adc965e1360
diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py index <HASH>..<HASH> 100755 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -31,13 +31,13 @@ class install_scripts(orig.install_scripts): ) bs_cmd = self.get_finalized_...
Defer resolution of the CommandSpec and do it exactly once.
pypa_setuptools
train
py
18ef94db91d7a5370062161e4a8a5cfc9e05781a
diff --git a/icon-runtime-generator.js b/icon-runtime-generator.js index <HASH>..<HASH> 100644 --- a/icon-runtime-generator.js +++ b/icon-runtime-generator.js @@ -15,7 +15,7 @@ module.exports = ({symbol, config, context}) => { import sprite from ${spriteRequest}; import {iconHOC} from '@jetbrains/ring-ui/comp...
fix: use `var` instead `const` because `const` does not work in Phantomjs RING-UI-CR-<I> refers
JetBrains_ring-ui
train
js
f21cdbc690193f4dc4c9beab0b402f7a4a5f9490
diff --git a/src/store/index.js b/src/store/index.js index <HASH>..<HASH> 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -24,3 +24,39 @@ const createStore = (reducer) => { return {getState, dispatch, subscribe}; }; +export const connect = (stateToProps, dispatchToProps) => WrappedComponent => { + re...
Add connect function, a HOC to access the local store
darrikonn_react-chloroform
train
js
059073228b34949d4552980e75205aca8273fc9a
diff --git a/nginx/datadog_checks/nginx/nginx.py b/nginx/datadog_checks/nginx/nginx.py index <HASH>..<HASH> 100644 --- a/nginx/datadog_checks/nginx/nginx.py +++ b/nginx/datadog_checks/nginx/nginx.py @@ -10,6 +10,7 @@ from six import PY3, iteritems, text_type from six.moves.urllib.parse import urlparse from datadog_...
Use base package timestamp function (#<I>) * Use checks base time utility
DataDog_integrations-core
train
py
a4f3004a70c8e6e3681b9a89ae2e524bd54a90a8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,16 @@ import os +import re from carbonate import __version__ from setuptools import setup, find_packages +from setuptools.command.install_scripts import install_scripts + + +class my_install_scripts(install_scripts)...
Try to set /opt/graphite/lib in the console_scripts binstubs
graphite-project_carbonate
train
py
70bb839de9fde351cb2a1379fe8b89788204fe36
diff --git a/lib/Cake/Console/Command/Task/ModelTask.php b/lib/Cake/Console/Command/Task/ModelTask.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Console/Command/Task/ModelTask.php +++ b/lib/Cake/Console/Command/Task/ModelTask.php @@ -426,6 +426,8 @@ class ModelTask extends BakeTask { $guess = $methods['uuid']; ...
Add validation guess for not null + text types. Fixes #<I>
cakephp_cakephp
train
php
ce5e5ec714c30be0b7e299c3b0d486196d2cad56
diff --git a/src/fi/tkk/ics/hadoop/bam/cli/plugins/View.java b/src/fi/tkk/ics/hadoop/bam/cli/plugins/View.java index <HASH>..<HASH> 100644 --- a/src/fi/tkk/ics/hadoop/bam/cli/plugins/View.java +++ b/src/fi/tkk/ics/hadoop/bam/cli/plugins/View.java @@ -109,9 +109,7 @@ public final class View extends CLIPlugin { retur...
CLI view: be user-friendly and silence errors.
HadoopGenomics_Hadoop-BAM
train
java
30e5ab18df471638be65adc07a1cffa198c49e5a
diff --git a/ledgerautosync/converter.py b/ledgerautosync/converter.py index <HASH>..<HASH> 100644 --- a/ledgerautosync/converter.py +++ b/ledgerautosync/converter.py @@ -224,7 +224,8 @@ class Converter(object): replace('+', '_').\ replace('&', '_').\ replace('[', '_').\ - ...
Add vertical bar to characters to be cleaned when found in id
egh_ledger-autosync
train
py
e0f090c63bbdd49f554776a8c3ec3c1a590e3e02
diff --git a/src/main/java/com/constantcontact/ConstantContact.java b/src/main/java/com/constantcontact/ConstantContact.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/constantcontact/ConstantContact.java +++ b/src/main/java/com/constantcontact/ConstantContact.java @@ -2620,32 +2620,4 @@ public class ConstantC...
Removing unused endpoints for now
constantcontact_java-sdk
train
java
db766d8d3c08bc8965be72e6be5747c2a3ebfe1e
diff --git a/lib/active_record/postgresql_cursors/cursors.rb b/lib/active_record/postgresql_cursors/cursors.rb index <HASH>..<HASH> 100644 --- a/lib/active_record/postgresql_cursors/cursors.rb +++ b/lib/active_record/postgresql_cursors/cursors.rb @@ -41,7 +41,12 @@ module ActiveRecord raise CursorsNotSupport...
Silence some deprecation warnings. We'll have to worry about this when Rails <I> comes out.
dark-panda_activerecord-postgresql-cursors
train
rb
c9e4fa36668dfd8a752cd3ed744bb3b6a1bbb42f
diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb index <HASH>..<HASH> 100644 --- a/spec/dummy/config/application.rb +++ b/spec/dummy/config/application.rb @@ -60,3 +60,7 @@ module Dummy end end +require 'fabrication' +Fabrication.configure do |config| + config.fabricator_dir = '.....
Use Fabricator in dummy app
crowdint_crowdblog
train
rb
a77f4613d85093df83195051315bfad73816fe68
diff --git a/librosa/display.py b/librosa/display.py index <HASH>..<HASH> 100644 --- a/librosa/display.py +++ b/librosa/display.py @@ -545,6 +545,11 @@ def specshow(data, x_coords=None, y_coords=None, kwargs : additional keyword arguments Arguments passed through to `matplotlib.pyplot.pcolormesh`. + ...
rasterized specshow by default. fixes #<I>
librosa_librosa
train
py
ad96a584d5eb0a6c29e2a2506e582673ad83bfb7
diff --git a/lib/functions.php b/lib/functions.php index <HASH>..<HASH> 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -550,6 +550,7 @@ function resolve(\Generator $generator, Reactor $reactor = null) { $cs->generator = $generator; $cs->returnValue = null; $cs->currentPromise = null; + $cs-...
Check coroutine nesting level before incurring "next tick" overhead
amphp_amp
train
php
ad457de89546cd71bd62a2f1d180413c3c9fbf18
diff --git a/src/plugin/plugin.test.js b/src/plugin/plugin.test.js index <HASH>..<HASH> 100644 --- a/src/plugin/plugin.test.js +++ b/src/plugin/plugin.test.js @@ -29,11 +29,16 @@ describe('Plugin class decorator', () => { it('decorates class methods', () => { class MyClass {} - MyClass.prototype.testF = Fu...
Change the way decorators are applied in tests to be similar to babel
neovim_node-client
train
js
2f14a8e79218b4bcd202e88b5005781ce626280a
diff --git a/src/OneSheet/CtrlCharater.php b/src/OneSheet/CtrlCharater.php index <HASH>..<HASH> 100644 --- a/src/OneSheet/CtrlCharater.php +++ b/src/OneSheet/CtrlCharater.php @@ -21,7 +21,7 @@ class CtrlCharater public static function getMap() { $map = array(); - foreach (range(0,255) as $int)...
Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on <URL>
nimmneun_onesheet
train
php
1b1be43d6551c2da31a631051136cd0f860cc447
diff --git a/contrib/raftexample/raft.go b/contrib/raftexample/raft.go index <HASH>..<HASH> 100644 --- a/contrib/raftexample/raft.go +++ b/contrib/raftexample/raft.go @@ -298,14 +298,10 @@ func (rc *raftNode) startRaft() { MaxUncommittedEntriesSize: 1 << 30, } - if oldwal { + if oldwal || rc.join { rc.node = ...
raftexample: New joined node have to start with RestartNode
etcd-io_etcd
train
go
25828768d7bc2d76438244e69d6eeb69c36227e6
diff --git a/build/jslint-check.js b/build/jslint-check.js index <HASH>..<HASH> 100644 --- a/build/jslint-check.js +++ b/build/jslint-check.js @@ -12,8 +12,8 @@ var ok = { "Use '===' to compare with 'null'.": true, "Use '!==' to compare with 'null'.": true, "Expected an assignment or function call and instead saw...
Handle the case where JSLint complains about arguments in try/catch already being defined (we use the name 'e' consistently for catch(e) - will work to standardize on that now).
jquery_jquery
train
js
448e15bed1db8be053be5f92ad9ba3b03c4c7970
diff --git a/logging/src/main/java/org/jboss/as/logging/CommonAttributes.java b/logging/src/main/java/org/jboss/as/logging/CommonAttributes.java index <HASH>..<HASH> 100644 --- a/logging/src/main/java/org/jboss/as/logging/CommonAttributes.java +++ b/logging/src/main/java/org/jboss/as/logging/CommonAttributes.java @@ -1...
[AS7-<I>] Suffix should be a required attribute. was: <I>a9c<I>b<I>f<I>d1a<I>f<I>fe<I>d
wildfly_wildfly-core
train
java
fb0ec4da9254729d39ab72264b30ecfbf5119e3a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( ] }, - long_description=open('docs/manual.rst').read(), + long_description=open('README.rst').read(), install_requires=[ "argparse", #any version will do
Fixes to the main docx
bioidiap_gridtk
train
py
e908f97687b9b0683b4d87f46b1641b298b0e296
diff --git a/services/transaction/get_receipt.js b/services/transaction/get_receipt.js index <HASH>..<HASH> 100644 --- a/services/transaction/get_receipt.js +++ b/services/transaction/get_receipt.js @@ -19,6 +19,7 @@ const rootPrefix = '../..' * @param {object} params - * @param {string} params.chain - Chain on whi...
name to map handle in receipt service.
OpenSTFoundation_openst-platform
train
js
f6ceb1f07d28c36567fe666c19013717b699cbf9
diff --git a/lib/http-server.js b/lib/http-server.js index <HASH>..<HASH> 100644 --- a/lib/http-server.js +++ b/lib/http-server.js @@ -88,7 +88,7 @@ function onCommand(req, res, question, accessKey) { }].concat(args.slice(1)); if (!cservice.locals.events[args[0]]) { - cservice.error("Command " + args[0].cy...
Fix crash if no command provided in REST call
godaddy_node-cluster-service
train
js
27b3993bc7af58fa0ddca6d66334f21ae853125a
diff --git a/lib/errors/record_invalid.rb b/lib/errors/record_invalid.rb index <HASH>..<HASH> 100644 --- a/lib/errors/record_invalid.rb +++ b/lib/errors/record_invalid.rb @@ -6,7 +6,7 @@ module Likeno def initialize(record = nil) if record @record = record - errors = @record.kalibro_...
Remove references to kalibro_client on record invalid error
mezuro_likeno
train
rb
5eb16895cd436d1581f41328f01df5c65abd5776
diff --git a/packer/rpc/muxconn.go b/packer/rpc/muxconn.go index <HASH>..<HASH> 100644 --- a/packer/rpc/muxconn.go +++ b/packer/rpc/muxconn.go @@ -200,11 +200,11 @@ func (m *MuxConn) NextId() uint32 { func (m *MuxConn) cleaner() { checks := []struct { - Map map[uint32]*Stream + Map *map[uint32]*Stream Lock ...
packer/rpc: use a pointer for maps to avoid race
hashicorp_packer
train
go
2aa9a32cec631aab149f082fa1e24cdeeffc225e
diff --git a/py3status/module.py b/py3status/module.py index <HASH>..<HASH> 100644 --- a/py3status/module.py +++ b/py3status/module.py @@ -254,13 +254,15 @@ class Module(Thread): obj['cached_until'] = time() group_module.run() + if not cache_time: + ...
trigger timer if item fails or doesn't set timeout
ultrabug_py3status
train
py
493a8c82eed1ec7b9cea180c2e62771e5a02a4a3
diff --git a/lib/puppet/parser/compiler.rb b/lib/puppet/parser/compiler.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/parser/compiler.rb +++ b/lib/puppet/parser/compiler.rb @@ -431,7 +431,7 @@ class Puppet::Parser::Compiler # Make sure there are no remaining collections that are waiting for # resources that h...
(PUP-<I>) Fix typo in comment
puppetlabs_puppet
train
rb
4540b18b12e5b257ef0466b0994637bce3e727bc
diff --git a/lib/jdbc_adapter/jdbc_oracle.rb b/lib/jdbc_adapter/jdbc_oracle.rb index <HASH>..<HASH> 100644 --- a/lib/jdbc_adapter/jdbc_oracle.rb +++ b/lib/jdbc_adapter/jdbc_oracle.rb @@ -64,7 +64,7 @@ module ::JdbcSpec end def self.guess_date_or_time(value) - (value.hour == 0 && value.min == 0 &&...
ACTIVERECORD_JDBC-<I>: Ensure we don't deference nil.hour
jruby_activerecord-jdbc-adapter
train
rb,rb
c4f1a8b800cabf60c660fe0f307e834f9c90fb68
diff --git a/subproviders/rpc.js b/subproviders/rpc.js index <HASH>..<HASH> 100644 --- a/subproviders/rpc.js +++ b/subproviders/rpc.js @@ -38,6 +38,10 @@ RpcSource.prototype.handleRequest = function(payload, next, end){ rejectUnauthorized: false, }, function(err, res, body) { if (err) return end(err) + ...
Fail on non <I> response
MetaMask_web3-provider-engine
train
js
4ae1f63a97829706fb50aa15703d9021f60c294d
diff --git a/src/structures/Message.js b/src/structures/Message.js index <HASH>..<HASH> 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -296,7 +296,9 @@ class Message { * @readonly */ get edits() { - return this._edits.slice().unshift(this); + const copy = this._edits.slice();...
fix message.edits (#<I>)
discordjs_discord.js
train
js
afe5eac403148cac38052411c603f4b5f0b565c0
diff --git a/src/Eloquent/Typhax/Comparator/TypeEquivalenceComparator.php b/src/Eloquent/Typhax/Comparator/TypeEquivalenceComparator.php index <HASH>..<HASH> 100644 --- a/src/Eloquent/Typhax/Comparator/TypeEquivalenceComparator.php +++ b/src/Eloquent/Typhax/Comparator/TypeEquivalenceComparator.php @@ -372,13 +372,13 @@...
No need to use arbitrary numbers here. Relates to #<I>.
eloquent_typhax
train
php
41fe126611c80462b0a1ad4a7a6695382c9d2662
diff --git a/src/java/com/threerings/parlor/game/GameWatcher.java b/src/java/com/threerings/parlor/game/GameWatcher.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/parlor/game/GameWatcher.java +++ b/src/java/com/threerings/parlor/game/GameWatcher.java @@ -1,5 +1,5 @@ // -// $Id: GameWatcher.java,v 1.1 2...
Make sure that we remove ourselves as a listener even if our unknown and untrustable derived class freaks out in gameDidEnd(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
java
a690ee5ab6e29e43e01976f414d7d2f8808a26ce
diff --git a/bin/generate-flow.js b/bin/generate-flow.js index <HASH>..<HASH> 100755 --- a/bin/generate-flow.js +++ b/bin/generate-flow.js @@ -25,7 +25,7 @@ for (let i = 0; i < icons.length; i += 1) { import type { Icon } from './index'; -type ${icon}Glyphs = '${names}'; +export type ${icon}Glyphs = '${names}'; ...
Export generated flow type enum for iconsets (#<I>) In my case, I have some wrappers for `Icon`; it'd be really nice to be able to re-use the available icon names there.
oblador_react-native-vector-icons
train
js
034cef6029457e298e4d28617ec846ea7ac7c67d
diff --git a/lib/queue/worker.js b/lib/queue/worker.js index <HASH>..<HASH> 100644 --- a/lib/queue/worker.js +++ b/lib/queue/worker.js @@ -98,6 +98,7 @@ Worker.prototype.error = function(err, job){ Worker.prototype.failed = function(job, err, fn){ var self = this; + self.emit('job failed', job); events.emit(j...
Emit 'job failed' so worker can shut down properly
Automattic_kue
train
js
a7cf6005c3384017746c30d7c55a808391dade31
diff --git a/src/fi/tkk/ics/hadoop/bam/cli/plugins/Sort.java b/src/fi/tkk/ics/hadoop/bam/cli/plugins/Sort.java index <HASH>..<HASH> 100644 --- a/src/fi/tkk/ics/hadoop/bam/cli/plugins/Sort.java +++ b/src/fi/tkk/ics/hadoop/bam/cli/plugins/Sort.java @@ -310,6 +310,9 @@ final class SortReducer } } +// Because we want ...
CLI sort: comment on why we don't use a mapper
HadoopGenomics_Hadoop-BAM
train
java
85e3ce720f45f7217d09664292bce70e4e707426
diff --git a/tprs.go b/tprs.go index <HASH>..<HASH> 100644 --- a/tprs.go +++ b/tprs.go @@ -41,7 +41,7 @@ import ( // Name: k8s.String("metric.metrics.example.com"), // }, // Description: k8s.String("A custom third party resource"), -// Versions: []*v1beta1.APIVersions{ +// Versions: []*v1beta1.APIVe...
godoc: Fix typo in APIVersion struct usage
ericchiang_k8s
train
go
008797f0dfe22dbf1bb6faee1d6b9f1974b665ab
diff --git a/lib/asker.js b/lib/asker.js index <HASH>..<HASH> 100644 --- a/lib/asker.js +++ b/lib/asker.js @@ -98,8 +98,8 @@ function Request(options, callback) { this.options.path = url.format(parsedPath); } - // lets build request body for POST, PUT and PATCH methods - if (['POST','PUT','PATCH']...
fix request body compilation for DELETE method
nodules_asker
train
js
452da613fd25133b77f94b6b8be27cc7c60701d9
diff --git a/test/test_motor_tail.py b/test/test_motor_tail.py index <HASH>..<HASH> 100644 --- a/test/test_motor_tail.py +++ b/test/test_motor_tail.py @@ -127,7 +127,7 @@ class MotorTailTest(MotorTest): yield gen.Task(self.wait_for_cursors) done() - drop_collection_pauses = (0, 0, 5, 'drop', 1, 0...
Try to avoid test_tail_drop_collection timeouts
mongodb_motor
train
py
be3a6b5512750a99f79e370ad026f973c131331f
diff --git a/src/pip_shims/__init__.py b/src/pip_shims/__init__.py index <HASH>..<HASH> 100644 --- a/src/pip_shims/__init__.py +++ b/src/pip_shims/__init__.py @@ -3,7 +3,7 @@ from __future__ import absolute_import import sys -__version__ = '0.3.1' +__version__ = '0.3.2.dev0' from . import shims
Prebump to <I>.dev0
sarugaku_pip-shims
train
py
94a3123e99f113c35f9597c1d8fb688cf2ccc5a8
diff --git a/io/eolearn/tests/test_sentinelhub_process.py b/io/eolearn/tests/test_sentinelhub_process.py index <HASH>..<HASH> 100644 --- a/io/eolearn/tests/test_sentinelhub_process.py +++ b/io/eolearn/tests/test_sentinelhub_process.py @@ -539,8 +539,8 @@ class TestSentinelHubInputTaskDataCollections: bbox=...
fixed SH integration test with S3 SLSTR
sentinel-hub_eo-learn
train
py
285873a4f753822a88d475a1b030ab622bf4c72e
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py index <HASH>..<HASH> 100644 --- a/sos/policies/__init__.py +++ b/sos/policies/__init__.py @@ -842,7 +842,8 @@ class LinuxPolicy(Policy): def __init__(self, sysroot=None): super(LinuxPolicy, self).__init__(sysroot=sysroot) self.init_...
[policies] Detect systemd use instead of hardcoding it This just has us the builtin option to determine if we are on systemd or not. <URL>
sosreport_sos
train
py,py
25fc01cdc4c0fbbe5367a0325e1790975ee00aaa
diff --git a/lib/axlsx/util/module.rb b/lib/axlsx/util/module.rb index <HASH>..<HASH> 100644 --- a/lib/axlsx/util/module.rb +++ b/lib/axlsx/util/module.rb @@ -7,8 +7,6 @@ class Module validated_attr_accessor(symbols, 'validate_boolean') end - private - SETTER = "def %s=(value) Axlsx::%s(value); @%s = va...
altered scope for generic validated_attr_accessor Seems to cause some problems with <I> not willing to spend the effort time to find out why ;?
randym_axlsx
train
rb
5380411c46bcc0cf47be65105a691fd46ae9b633
diff --git a/api/models/CustomModel.js b/api/models/CustomModel.js index <HASH>..<HASH> 100644 --- a/api/models/CustomModel.js +++ b/api/models/CustomModel.js @@ -22,7 +22,7 @@ function _instantiate(idOrValues) { this[propertyName] = value } else { var Model = fin._propertyModels[valueType] || fin._customMod...
Just pass in the of descriptor directly
marcuswestin_fin
train
js,js
744c2a04cad65f20f10ebe5ac746909d8b98ff9d
diff --git a/Classes/Controller/WizardContentController.php b/Classes/Controller/WizardContentController.php index <HASH>..<HASH> 100755 --- a/Classes/Controller/WizardContentController.php +++ b/Classes/Controller/WizardContentController.php @@ -224,6 +224,7 @@ class WizardContentController extends WizardController ...
[TASK] add message when new html is created
Gernott_mask
train
php
b4ee89eca20cf9c37f0c898e8e358ca292085c63
diff --git a/php5/HproseFgcHttpClient.php b/php5/HproseFgcHttpClient.php index <HASH>..<HASH> 100644 --- a/php5/HproseFgcHttpClient.php +++ b/php5/HproseFgcHttpClient.php @@ -14,7 +14,7 @@ * * * hprose fgc http client class for php5. * * ...
Forced to close keepalive in file_get_contents client.
hprose_hprose-php
train
php
d23343e2ab1bcb07b62a7ceee0a263a556ae162e
diff --git a/Framework/ClientSideCompiler.php b/Framework/ClientSideCompiler.php index <HASH>..<HASH> 100644 --- a/Framework/ClientSideCompiler.php +++ b/Framework/ClientSideCompiler.php @@ -68,7 +68,10 @@ public function combine($domHead) { $elementArray = $domHead[$tagName]; } - unlink("$wwwDir/{$tagDetai...
Updated tests for csc
PhpGt_WebEngine
train
php
c8923df0cbf863e6c1f19cd11e1fbb5b858a8c1f
diff --git a/tools/pkg_files_tester.js b/tools/pkg_files_tester.js index <HASH>..<HASH> 100644 --- a/tools/pkg_files_tester.js +++ b/tools/pkg_files_tester.js @@ -7,19 +7,17 @@ const path = require('path'); async function* getAllDescendantFiles(subrootDir) { const children = await fs.readdir(subrootDir, { ...
Reduce the number to call fs.stat()
karen-irc_option-t
train
js
2ccef9b28a218b28d10ebac7dd3ad15cd4f1748a
diff --git a/src/PagekitLogger.php b/src/PagekitLogger.php index <HASH>..<HASH> 100644 --- a/src/PagekitLogger.php +++ b/src/PagekitLogger.php @@ -112,15 +112,18 @@ class PagekitLogger /** * @param \Exception $e - * @param \int $level + * @param boolean $trace + * @param int $level * @throws App\Exce...
Added optional trace to exception logging.
crwgregory_pagekit-logger
train
php
eae14d7bc96db22645c71684ef5fb847fabb00e0
diff --git a/goatools/obo_parser.py b/goatools/obo_parser.py index <HASH>..<HASH> 100755 --- a/goatools/obo_parser.py +++ b/goatools/obo_parser.py @@ -266,7 +266,7 @@ class GODag(dict): print >>sys.stderr, "try `easy_install pygraphviz`" return - G = pgv.AGraph() + G = pgv.AGra...
fix issue #<I> (thanks trgibbons)
tanghaibao_goatools
train
py,py
872d173769fd16f566cd059c61d67dec9d823cba
diff --git a/salt/states/boto_iam.py b/salt/states/boto_iam.py index <HASH>..<HASH> 100644 --- a/salt/states/boto_iam.py +++ b/salt/states/boto_iam.py @@ -164,7 +164,7 @@ if six.PY2: return dict([(_byteify(k), _byteify(v)) for k, v in six.iteritems(thing)]) elif isinstance(thing, list): ...
The `unicode` type does not exist on Py3
saltstack_salt
train
py
38f150040b4822bf8cfd5c44470613201ff9a8b4
diff --git a/tkColorPicker.py b/tkColorPicker.py index <HASH>..<HASH> 100644 --- a/tkColorPicker.py +++ b/tkColorPicker.py @@ -355,7 +355,6 @@ class ColorPicker(tk.Toplevel): self.title(title) self.transient(self.master) - self.grab_set() self.resizable(False, False) self.li...
added `wait_visibility` before `grab_set` make sure the window is visible to avoid errors
j4321_tkColorPicker
train
py
9252dadbd4375cb3028cb941635f61192a15988e
diff --git a/src/Api/Route/Info.php b/src/Api/Route/Info.php index <HASH>..<HASH> 100644 --- a/src/Api/Route/Info.php +++ b/src/Api/Route/Info.php @@ -19,9 +19,9 @@ $urlElements = explode("/", $this->parseUrl()); - $this->controller = isset($urlElements[0]) ? $urlElements[0] : null; - $this->id = isset($...
Process url encoded characters in route
irwtdvoys_bolt-api
train
php
42aec8d2db899a5c8132a5a696c6b6cc5bd3ce9b
diff --git a/shinken/external_command.py b/shinken/external_command.py index <HASH>..<HASH> 100644 --- a/shinken/external_command.py +++ b/shinken/external_command.py @@ -1060,6 +1060,7 @@ class ExternalCommandManager: c.exit_status = status_code c.get_outputs(plugin_output, host.max_plugins_o...
*Fix a bug in external command processing. Passive checkresults need last_chk too
Alignak-monitoring_alignak
train
py
f73167760d0b257e9f2bd33df9cb9e20859719a3
diff --git a/core-bundle/src/Resources/contao/forms/Form.php b/core-bundle/src/Resources/contao/forms/Form.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/forms/Form.php +++ b/core-bundle/src/Resources/contao/forms/Form.php @@ -478,7 +478,6 @@ class Form extends \Hybrid } $arrFiles = $_SE...
[Core] Only pass the current form data to the "processFormData" hook (see #<I>)
contao_contao
train
php
9a3f53e204366b276890355caf8fd0f9c5aeac4e
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureTreemap.js b/server/sonar-web/src/main/js/apps/component-measures/components/MeasureTreemap.js index <HASH>..<HASH> 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/MeasureTreemap.js +++ b/server/sonar-web/sr...
fix drilldown on measure treemap when displaying on "new_" measures
SonarSource_sonarqube
train
js
a15dfec080d46a46604fe60d87474bfcdbd9a274
diff --git a/org/postgresql/jdbc2/DatabaseMetaData.java b/org/postgresql/jdbc2/DatabaseMetaData.java index <HASH>..<HASH> 100644 --- a/org/postgresql/jdbc2/DatabaseMetaData.java +++ b/org/postgresql/jdbc2/DatabaseMetaData.java @@ -2500,7 +2500,7 @@ WHERE f[13] = new Field(connection, "DEFERRABILITY", iInt2Oid, 2); ...
fixed retrieval of foreign/primary keys in imported/exported keys
pgjdbc_pgjdbc
train
java
8d9c21f0cf5f73718ee86bb3a8e6432b88e9291d
diff --git a/prometheus/example_clustermanager_test.go b/prometheus/example_clustermanager_test.go index <HASH>..<HASH> 100644 --- a/prometheus/example_clustermanager_test.go +++ b/prometheus/example_clustermanager_test.go @@ -131,7 +131,7 @@ func ExampleCollector() { NewClusterManager("db", reg) NewClusterManager(...
Nitpicking a doc comment
prometheus_client_golang
train
go
ca38778054d47ae4afafbdd49fe54f462ff8dad8
diff --git a/health_check/views.py b/health_check/views.py index <HASH>..<HASH> 100644 --- a/health_check/views.py +++ b/health_check/views.py @@ -24,7 +24,7 @@ class MainView(TemplateView): plugin.run_check() return plugin.errors - with ThreadPoolExecutor() as executor: + with...
Fix #<I> -- Limit threads to number of active plugins (#<I>)
KristianOellegaard_django-health-check
train
py
c97ac3aea499df072d2cfad4d95ccb22684a9913
diff --git a/viscm/gui.py b/viscm/gui.py index <HASH>..<HASH> 100644 --- a/viscm/gui.py +++ b/viscm/gui.py @@ -845,7 +845,7 @@ class GamutViewer2D(object): low, high = self.bgcolor_ranges[self.bg] if not (low <= Jp <= high): self.bg = self.bg_opposites[self.bg] - self.ax.set_ax...
Update gui.py More of the same
matplotlib_viscm
train
py
5832b6580202df75b7dfd5e47e231a41eb81b4ee
diff --git a/src/Yandex/Common/AbstractServiceClient.php b/src/Yandex/Common/AbstractServiceClient.php index <HASH>..<HASH> 100644 --- a/src/Yandex/Common/AbstractServiceClient.php +++ b/src/Yandex/Common/AbstractServiceClient.php @@ -199,9 +199,10 @@ abstract class AbstractServiceClient extends AbstractPackage } ...
Created adding headers for getClient
yandex-market_yandex-market-php-common
train
php
7a188e9c1ac25477de0f3ab3015495d12d27fc13
diff --git a/app/models/block.rb b/app/models/block.rb index <HASH>..<HASH> 100644 --- a/app/models/block.rb +++ b/app/models/block.rb @@ -17,6 +17,13 @@ class Block < ActiveRecord::Base .gsub('Ave','Avenue') .gsub('St','Street') .gsub('Ctrl','Central') + .gsub('Jln','Jalan') + .gsub('Lor...
fixed expansion of various street name abbreviations to work with OneMap
prusswan_sbf
train
rb
e4edeb4bee048cd2267152004d32ddd972638ab2
diff --git a/src/livestreamer/packages/pbs.py b/src/livestreamer/packages/pbs.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/packages/pbs.py +++ b/src/livestreamer/packages/pbs.py @@ -170,6 +170,7 @@ class RunningCommand(object): def __eq__(self, other): return unicode(self) == unicode(other) + ...
packages.pbs: Stop hash() from working in Python 2, to match Python 3 behaviour. This avoids DeprecationWarning warnings when running with “python2 -3”.
streamlink_streamlink
train
py
0a67f25298c80aaeb3633342c36d6e00e91d7bd1
diff --git a/git/test/test_index.py b/git/test/test_index.py index <HASH>..<HASH> 100644 --- a/git/test/test_index.py +++ b/git/test/test_index.py @@ -54,9 +54,7 @@ from gitdb.base import IStream import os.path as osp from git.cmd import Git -HOOKS_SHEBANG = \ - "!C:/Program\ Files/Git/usr/bin/sh.exe\n" if is_wi...
RF: no "need" for custom shebang on windows since just does not work
gitpython-developers_GitPython
train
py
f4202d5e66adf7b83307ea219c6c004c8586d505
diff --git a/libkbfs/dirty_bcache.go b/libkbfs/dirty_bcache.go index <HASH>..<HASH> 100644 --- a/libkbfs/dirty_bcache.go +++ b/libkbfs/dirty_bcache.go @@ -112,6 +112,7 @@ type DirtyBlockCacheStandard struct { makeLog func(string) logger.Logger log logger.Logger reqWg sync.WaitGroup + name string // r...
dirty_bcache: a way to distinguish log entries between instances Issue: KBFS-<I>
keybase_client
train
go
09b2a64eb28491ab1b7e868b38140d97fe2d5840
diff --git a/yubico/__init__.py b/yubico/__init__.py index <HASH>..<HASH> 100644 --- a/yubico/__init__.py +++ b/yubico/__init__.py @@ -1 +1 @@ -__version__ = (1, 6, 2) +__version__ = (1, 6, 3, 'dev')
Now working on <I>.
Kami_python-yubico-client
train
py
2d8eb61203cd6d41a4520b981e5b6a0734c4dc95
diff --git a/src/main/java/skadistats/clarity/processor/runner/RealtimeRunner.java b/src/main/java/skadistats/clarity/processor/runner/RealtimeRunner.java index <HASH>..<HASH> 100644 --- a/src/main/java/skadistats/clarity/processor/runner/RealtimeRunner.java +++ b/src/main/java/skadistats/clarity/processor/runner/Realt...
add constructor to RealtimeRunner which allows to set start time
skadistats_clarity
train
java
98912ed81debfd918c1efdead44c620d689a819d
diff --git a/source/PickerButton.js b/source/PickerButton.js index <HASH>..<HASH> 100644 --- a/source/PickerButton.js +++ b/source/PickerButton.js @@ -15,6 +15,8 @@ enyo.kind({ onChange: "change" }, change: function(inSender, inEvent) { - this.setContent(inEvent.content); + if (inEvent.content !== undefined){ ...
Checking for undefined content when setting the PickerButtons. Enyo-DCO-<I>-
enyojs_onyx
train
js
8b7569b1303b33b37c35792ea868b721673571f1
diff --git a/plexapi/client.py b/plexapi/client.py index <HASH>..<HASH> 100644 --- a/plexapi/client.py +++ b/plexapi/client.py @@ -490,7 +490,7 @@ class PlexClient(PlexObject): 'port': server_port, 'offset': offset, 'key': media.key, - 'token': media._server._token, + ...
lets not give on the master toke if we dont need to.
pkkid_python-plexapi
train
py
fc01c4bf8aa96b51ae92faad6366eee77f7f396f
diff --git a/DBUtils/Examples/DBUtilsExample.py b/DBUtils/Examples/DBUtilsExample.py index <HASH>..<HASH> 100644 --- a/DBUtils/Examples/DBUtilsExample.py +++ b/DBUtils/Examples/DBUtilsExample.py @@ -46,10 +46,10 @@ class DBUtilsExample(ExamplePage): dbapi_name = config.pop('dbapi', 'pg') if dbapi_name == 'pg'...
Use more new except syntax in Webware example
Cito_DBUtils
train
py
b3743d1a555e51f480f381eb1f97761fff75467b
diff --git a/DataCollector/GuzzleDataCollector.php b/DataCollector/GuzzleDataCollector.php index <HASH>..<HASH> 100644 --- a/DataCollector/GuzzleDataCollector.php +++ b/DataCollector/GuzzleDataCollector.php @@ -43,7 +43,7 @@ class GuzzleDataCollector extends DataCollector $requestContent = null; ...
we need to store string instead of object EntityBody contain a stream object which is not available inside the profiler
ludofleury_GuzzleBundle
train
php
d458f9dc4bb0e2624a0cc4846eaa0793ecd64580
diff --git a/lib/cinchize.rb b/lib/cinchize.rb index <HASH>..<HASH> 100644 --- a/lib/cinchize.rb +++ b/lib/cinchize.rb @@ -93,7 +93,7 @@ module Cinchize loop do bot = Cinch::Bot.new do configure do |c| - network.keys.each { |key| c.send("#{key}=".to_sym, network[key]) } + networ...
too used to not having each_pair and to just having a key. java does bad things to you
netfeed_cinchize
train
rb
0f70600f8ad3e89ec8ee5818e552f87a8ef07d39
diff --git a/director/lib/director/jobs/update_release.rb b/director/lib/director/jobs/update_release.rb index <HASH>..<HASH> 100644 --- a/director/lib/director/jobs/update_release.rb +++ b/director/lib/director/jobs/update_release.rb @@ -36,7 +36,11 @@ module Bosh::Director rescue Exception => e # clea...
cleanup all associations before trying to delete the release version
cloudfoundry_bosh
train
rb
da33f940a42aa72d27ca1af6b84290c74ea9a9c1
diff --git a/flink-connectors/flink-connector-elasticsearch6/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/table/Elasticsearch6DynamicSink.java b/flink-connectors/flink-connector-elasticsearch6/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/table/Elasticsearch6DynamicSink.java ind...
[FLINK-<I>][elasticsearch] Fix the returned value of Elasticsearch6DynamicSink#asSummaryString() This closes #<I>
apache_flink
train
java
3746b203487976e6961b60dac149635a00419051
diff --git a/import_export/admin.py b/import_export/admin.py index <HASH>..<HASH> 100644 --- a/import_export/admin.py +++ b/import_export/admin.py @@ -22,6 +22,7 @@ except ImportError: # Django<2.0 from django.conf import settings from django.template.defaultfilters import pluralize from django.utils.decorators imp...
Simplify TMP_STORAGE_CLASS importing Reuse Django's import_string(); avoid reimplementing it.
django-import-export_django-import-export
train
py
7fb985f3a1e944c897cb1b2f96347989cbc7dc73
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_4_parser.py +++ b/ryu/ofproto/ofproto_v1_4_parser.py @@ -4269,7 +4269,7 @@ class OFPFlowMod(MsgBase): entries to include this as an output port out_gro...
of<I>: Correct documentation of flow mod flags * Flags is a bitmap of OFPFF_* values rather than a single OFPFF_* value
osrg_ryu
train
py