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
a90ff7726427745d84c6d09e48b9d1e79eb431f2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,16 +5,18 @@ # See the files INSTALL and README for details or visit # https://github.com/Becksteinlab/GromacsWrapper from __future__ import with_statement - from setuptools import setup, find_packages +import imp, os ...
not import the whole package while setuping
Becksteinlab_GromacsWrapper
train
py
560c3bd153fb12fd5d4065a2bdc7a783bec825bf
diff --git a/bucket-handlers.go b/bucket-handlers.go index <HASH>..<HASH> 100644 --- a/bucket-handlers.go +++ b/bucket-handlers.go @@ -487,6 +487,7 @@ func (api objectAPIHandlers) PutBucketHandler(w http.ResponseWriter, r *http.Req errCode := isValidLocationContraint(r.Body, serverConfig.GetRegion()) if errCode != ...
Adding return statement after error response in the lastest commit to verify location constraint (#<I>)
minio_minio
train
go
acb2b680d05785c00de6434cb30c4dbec87a2d2e
diff --git a/web/src/main/java/org/springframework/security/web/authentication/rememberme/JdbcTokenRepositoryImpl.java b/web/src/main/java/org/springframework/security/web/authentication/rememberme/JdbcTokenRepositoryImpl.java index <HASH>..<HASH> 100644 --- a/web/src/main/java/org/springframework/security/web/authenti...
SEC-<I>: Change log of no results to debug
spring-projects_spring-security
train
java
e99055a1ef11bf49f84e235eb60c13b07c7fbbdb
diff --git a/src/search/FindReplace.js b/src/search/FindReplace.js index <HASH>..<HASH> 100644 --- a/src/search/FindReplace.js +++ b/src/search/FindReplace.js @@ -398,10 +398,10 @@ define(function (require, exports, module) { var cm = editor._codeMirror; cm.operation(function () { var nex...
Clean up double-negative if statement
adobe_brackets
train
js
812f2a416aa35d258b2caee190709f1afe2d299b
diff --git a/tests/test_io.py b/tests/test_io.py index <HASH>..<HASH> 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -78,7 +78,10 @@ def generic_mdata_tests(mdata, extra_index_cols={"todo": "object"}): assert mdata["climate_model"].dtype == "object" if extra_index_cols is not None: for n, t ...
Attempt to make type tests platform independent
openclimatedata_pymagicc
train
py
8edb57996877c379d5df55163211d61933e4ff88
diff --git a/pilot/lib/pilot/manager.rb b/pilot/lib/pilot/manager.rb index <HASH>..<HASH> 100644 --- a/pilot/lib/pilot/manager.rb +++ b/pilot/lib/pilot/manager.rb @@ -53,6 +53,7 @@ module Pilot result = config[:app_identifier] result ||= FastlaneCore::IpaFileAnalyser.fetch_app_identifier(config[:ipa]) ...
Show what app identifier Pilot is using Sometimes Pilot guesses wrong. This should help pin that down.
fastlane_fastlane
train
rb
f743288ce06494dcc7d0526f4f4806b1697cc651
diff --git a/src/app/components/settings.js b/src/app/components/settings.js index <HASH>..<HASH> 100644 --- a/src/app/components/settings.js +++ b/src/app/components/settings.js @@ -17,6 +17,7 @@ function (_, crypto) { window_title_prefix : 'Grafana - ', panels : { ...
Graph: fix for legends on the side and graph dimensions adaptation
grafana_grafana
train
js,js
b229d6cf55027ca8ee1887d4017c833d93893ff0
diff --git a/lib/jsduck/lexer.rb b/lib/jsduck/lexer.rb index <HASH>..<HASH> 100644 --- a/lib/jsduck/lexer.rb +++ b/lib/jsduck/lexer.rb @@ -140,7 +140,7 @@ module JsDuck elsif @input.check(/\//) # Several things begin with dash: # - comments, regexes, division-operators - if @inpu...
Ignore empty multi-line comments: /**/ A corner case that wasn't taken care of.
senchalabs_jsduck
train
rb,rb
87579b1974d81d94d2f25710ff32e7db08e001fa
diff --git a/helpers.php b/helpers.php index <HASH>..<HASH> 100755 --- a/helpers.php +++ b/helpers.php @@ -384,20 +384,18 @@ if (! function_exists('retry')) { function retry($times, callable $callback, $sleep = 0, $when = null) { $attempts = 0; - $times--; beginning: $attem...
Improve function `retry()` (#<I>) If given a value less than 1 for `$times`, function could be stuck in an infinite loop.
illuminate_support
train
php
525fa5395ef8926861d6a7922a565709ee59418b
diff --git a/lib/solargraph/language_server/message/initialize.rb b/lib/solargraph/language_server/message/initialize.rb index <HASH>..<HASH> 100644 --- a/lib/solargraph/language_server/message/initialize.rb +++ b/lib/solargraph/language_server/message/initialize.rb @@ -20,10 +20,10 @@ module Solargraph ...
Initialize result hash keys are symbols.
castwide_solargraph
train
rb
8996fb20cc17fe651733ec252e6f3d84908275f1
diff --git a/lib/odba/cache_entry.rb b/lib/odba/cache_entry.rb index <HASH>..<HASH> 100644 --- a/lib/odba/cache_entry.rb +++ b/lib/odba/cache_entry.rb @@ -79,9 +79,10 @@ module ODBA end end def ready_to_destroy?(destroy_horizon = Time.now - ODBA.cache.destroy_age) - !@odba_object.odba_unsaved? \ - && ...
Empty cache-entries can be released.
zdavatz_odba
train
rb
d7eeb39ed79b1fbb8245e9324b6c76dfd2fff774
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -2201,7 +2201,7 @@ function days_in_month($month, $year) { function dayofweek($day, $month, $year) { // I wonder if this is any different from // strftime('%w', mktime(12, 0, 0, $...
NOBUG: Removed deprecated mktime arg from dayofweek func in moodlelib
moodle_moodle
train
php
0e4078d99e1cae23d35d3d8525a241fa65290106
diff --git a/lib/slop.rb b/lib/slop.rb index <HASH>..<HASH> 100644 --- a/lib/slop.rb +++ b/lib/slop.rb @@ -561,7 +561,7 @@ class Slop items.shift opts = @commands[command] delete ? opts.parse!(items) : opts.parse(items) - opts.execute(items.reject { |i| i[/\A--?/] }) + opts.execute(items....
we should only reject -- inside of items passed to execute
leejarvis_slop
train
rb
1560f6b730043578ea08701dd03b161ead9fbea8
diff --git a/textview.go b/textview.go index <HASH>..<HASH> 100644 --- a/textview.go +++ b/textview.go @@ -127,6 +127,13 @@ func (w TextViewWriter) HasFocus() bool { // The ScrollToHighlight() function can be used to jump to the currently // highlighted region once when the text view is drawn the next time. // +// L...
Added a note about TextView not being suitable for large texts.
rivo_tview
train
go
f417b4467b4a2ae787cfe58eccec03639766d048
diff --git a/openpnm/models/geometry/pore_seed.py b/openpnm/models/geometry/pore_seed.py index <HASH>..<HASH> 100644 --- a/openpnm/models/geometry/pore_seed.py +++ b/openpnm/models/geometry/pore_seed.py @@ -10,6 +10,7 @@ sizes. """ import numpy as _np import scipy as _sp +from scipy import special from openpnm.mode...
from scipy import special is added, otherwise gives attribute error for sp.special [ci skip]
PMEAL_OpenPNM
train
py
a69a43b5ef5cb38745d1efe086624376bb70e028
diff --git a/tornado/websocket.py b/tornado/websocket.py index <HASH>..<HASH> 100644 --- a/tornado/websocket.py +++ b/tornado/websocket.py @@ -746,6 +746,9 @@ class WebSocketClientConnection(simple_httpclient._HTTPConnection): def _on_close(self): self.on_message(None) + def _on_body(self, body): + ...
websocket_connect: don't hang on HTTP errors
tornadoweb_tornado
train
py
b49a78d0f7519edb9bfac4a8ae3f093f4f48d346
diff --git a/safe/gui/tools/wizard/step_kw30_field.py b/safe/gui/tools/wizard/step_kw30_field.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/wizard/step_kw30_field.py +++ b/safe/gui/tools/wizard/step_kw30_field.py @@ -3,6 +3,7 @@ import re import logging +from copy import deepcopy from PyQt4.QtCore import Q...
Use default deepcopy to prevent bug in run time.
inasafe_inasafe
train
py
071cf19632cb1da79e3035cebcc70f4406ac28d5
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities'], - install_requires=['setuptools', 'vobject'], + i...
Not all distros package python-dateutil anymore, and this app requires it
llazzaro_django-scheduler
train
py
16de3c758c3c471afbab9c0e23b9e385bb6f1b30
diff --git a/lib/active_admin/router.rb b/lib/active_admin/router.rb index <HASH>..<HASH> 100644 --- a/lib/active_admin/router.rb +++ b/lib/active_admin/router.rb @@ -41,14 +41,12 @@ module ActiveAdmin end def define_resource_routes(router, config) - routes = proc { define_routes(router, config) } - + ...
Simplify #define_routes.
activeadmin_activeadmin
train
rb
3767a1755d6972e5253c71a30bbcf25edadeba32
diff --git a/angr/analyses/cfg/indirect_jump_resolvers/mips_elf_fast.py b/angr/analyses/cfg/indirect_jump_resolvers/mips_elf_fast.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg/indirect_jump_resolvers/mips_elf_fast.py +++ b/angr/analyses/cfg/indirect_jump_resolvers/mips_elf_fast.py @@ -58,7 +58,6 @@ class MipsE...
removed dangling print statement (#<I>)
angr_angr
train
py
db0a71d69917f2cb8e3b389d8fef3307ebc71f3e
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -6537,7 +6537,7 @@ class core_string_manager implements string_manager { $component = $plugintype . '_' . $pluginname; } - $cachekey = $lang.'/'.$component; + ...
MDL-<I> cache: fixed issue within string cache key
moodle_moodle
train
php
f6a058665361feafc2eb5aa0a44747f46a25da19
diff --git a/src/Telescope.php b/src/Telescope.php index <HASH>..<HASH> 100644 --- a/src/Telescope.php +++ b/src/Telescope.php @@ -270,7 +270,7 @@ class Telescope } if (static::$afterRecordingHook) { - call_user_func(static::$afterRecordingHook, new static); + c...
Add entry to afterRecording hook
laravel_telescope
train
php
aa2dad9b7efc7ab1063a23be3c8fe6cc1a565051
diff --git a/src/oidcendpoint/session/claims.py b/src/oidcendpoint/session/claims.py index <HASH>..<HASH> 100755 --- a/src/oidcendpoint/session/claims.py +++ b/src/oidcendpoint/session/claims.py @@ -42,7 +42,10 @@ class ClaimsInterface: def _get_client_claims(self, client_id, usage): client_info = self....
Keep backwards compatibility with client claims
IdentityPython_oidcendpoint
train
py
beb6e7d13abe85f5825bdf181c98f8edeb00ba58
diff --git a/lib/fields/api.js b/lib/fields/api.js index <HASH>..<HASH> 100644 --- a/lib/fields/api.js +++ b/lib/fields/api.js @@ -13,6 +13,7 @@ * @requires mout/lang/kindOf * @requires mout/date/strftime * @requires mout/object/get + * @requires mout/object/hasOwn * @requires tastypie/lib/class * @requires t...
Use the hasOwn method to look up data properties. Object.create(null) is an object with no methods. We should allow for that
node-tastypie_tastypie
train
js
411c0e046aaceb93c01d241dce15749dc7753811
diff --git a/lib/sshkit/configuration.rb b/lib/sshkit/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/sshkit/configuration.rb +++ b/lib/sshkit/configuration.rb @@ -53,9 +53,16 @@ module SSHKit end def formatter(format) - SSHKit::Formatter.constants.each do |const| - return SSHKit::Formatt...
Raise NameError if a bad formatter name is given This makes the error more explicit and helpful. Previously, setting `output.format = :bad_value` would not raise immediately, but would fail later with a confusing error once a logging operation is attempted.
capistrano_sshkit
train
rb,rb
5a0388f654f3bdbe099ecf05099f441c243fda67
diff --git a/install.rb b/install.rb index <HASH>..<HASH> 100755 --- a/install.rb +++ b/install.rb @@ -354,7 +354,7 @@ prepare_installation run_tests(tests) if InstallOptions.tests #build_rdoc(rdoc) if InstallOptions.rdoc #build_ri(ri) if InstallOptions.ri -build_man(bins) if InstallOptions.man +#build_man(bins) if ...
Disabled new man page creation support
puppetlabs_puppet
train
rb
0e51d8a94611d85d8d947ed093b9682e4b8cd48e
diff --git a/views/js/picCreator/dev/studentToolSample/runtime/studentToolSample.js b/views/js/picCreator/dev/studentToolSample/runtime/studentToolSample.js index <HASH>..<HASH> 100644 --- a/views/js/picCreator/dev/studentToolSample/runtime/studentToolSample.js +++ b/views/js/picCreator/dev/studentToolSample/runtime/st...
fix: Render PIC icons to the toolbar in scope of given item
oat-sa_extension-tao-itemqti-pic
train
js
ae33d95d51e73034ce7a83fee6984ef9580ca8b6
diff --git a/dwave/embedding/pegasus.py b/dwave/embedding/pegasus.py index <HASH>..<HASH> 100644 --- a/dwave/embedding/pegasus.py +++ b/dwave/embedding/pegasus.py @@ -79,8 +79,8 @@ def get_pegasus_coordinates(chimera_coords, pegasus_vertical_offsets, pegasus_ho #TODO: change function interface to more closely rese...
Changed function to solve for a k-sized clique rather than for finding the largest native clique
dwavesystems_minorminer
train
py
4ae6b66fb78298f4e7ebb91f04f5c412acf0c19a
diff --git a/smartdc/datacenter.py b/smartdc/datacenter.py index <HASH>..<HASH> 100644 --- a/smartdc/datacenter.py +++ b/smartdc/datacenter.py @@ -22,10 +22,10 @@ KNOWN_LOCATIONS = { } TELEFONICA_LOCATIONS = { - u'London': u'https://eu-lon-1.api.instantservers.telefonica.com', - u'eu-lon-1': u'https://eu-lon...
canonical locations for Telefonica are known
atl_py-smartdc
train
py
94fcffd44f8053b8004e5f8d27df861b708ce0b0
diff --git a/ricecooker/classes/nodes.py b/ricecooker/classes/nodes.py index <HASH>..<HASH> 100644 --- a/ricecooker/classes/nodes.py +++ b/ricecooker/classes/nodes.py @@ -171,6 +171,8 @@ class Node(object): return format_presets.EXERCISE_THUMBNAIL elif isinstance(self, HTML5AppNode): ...
fixing problem with h5p_thumbnail
learningequality_ricecooker
train
py
c1ad7bae0c153282ad9fb8c760a1a69f03df8d03
diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php index <HASH>..<HASH> 100644 --- a/lib/Parser/XML.php +++ b/lib/Parser/XML.php @@ -58,7 +58,7 @@ class XML extends Parser { if($this->input['name'] === '{' . self::XCAL_NAMESPACE . '}icalendar') { - $this->root = new VCalendar(array(), false); ...
!xml Support parameters.
sabre-io_vobject
train
php
8e83fe9c140bd78491b3b00230492211ce24ba08
diff --git a/lib/chargify_api_ares.rb b/lib/chargify_api_ares.rb index <HASH>..<HASH> 100644 --- a/lib/chargify_api_ares.rb +++ b/lib/chargify_api_ares.rb @@ -171,6 +171,19 @@ module Chargify end class Transaction < Base + def full_refund(attrs = {}) + return false if self.transaction_type != 'p...
Extending transactions to support refunds on payments.
chargify_chargify_api_ares
train
rb
4c47c32606becfa6b5204a8a1d23482bf547631e
diff --git a/src/PHPImageOptim/Tools/Gif/Gifsicle.php b/src/PHPImageOptim/Tools/Gif/Gifsicle.php index <HASH>..<HASH> 100644 --- a/src/PHPImageOptim/Tools/Gif/Gifsicle.php +++ b/src/PHPImageOptim/Tools/Gif/Gifsicle.php @@ -15,7 +15,7 @@ class Gifsicle extends Common implements ToolsInterface public function optimi...
Update Gifsicle.php
bensquire_php-image-optim
train
php
25f213b5364dd0d684af7a505305d7b94d978036
diff --git a/lib/paper_trail/version_concern.rb b/lib/paper_trail/version_concern.rb index <HASH>..<HASH> 100644 --- a/lib/paper_trail/version_concern.rb +++ b/lib/paper_trail/version_concern.rb @@ -271,11 +271,12 @@ module PaperTrail # option, and if so enforces it. # @api private def enforce_version_li...
Reduce duplication: extract local variable: limit
paper-trail-gem_paper_trail
train
rb
6c645b61e030f205f1877d5572883ba04f8a9090
diff --git a/app/mixins/handles-validation-errors-for-inputs.js b/app/mixins/handles-validation-errors-for-inputs.js index <HASH>..<HASH> 100644 --- a/app/mixins/handles-validation-errors-for-inputs.js +++ b/app/mixins/handles-validation-errors-for-inputs.js @@ -18,7 +18,7 @@ export default Ember.Mixin.create({ // P...
don't rollback if not defined
dollarshaveclub_ember-uni-form
train
js
1860982b50c45c0fb7052ba630c7d6613b494aa7
diff --git a/staff/models.py b/staff/models.py index <HASH>..<HASH> 100644 --- a/staff/models.py +++ b/staff/models.py @@ -53,7 +53,7 @@ class StaffMember(models.Model): Makes sure the User field is in sync with the values here """ theslug = slugify('%s %s' % (self.first_name, self.last_name)...
Excluded the id field if it is equal to the current staff object
callowayproject_django-staff
train
py
cf062f43385914e5c8cb36767422b712ae7ad1b2
diff --git a/post_office/__init__.py b/post_office/__init__.py index <HASH>..<HASH> 100644 --- a/post_office/__init__.py +++ b/post_office/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 5, 0) +VERSION = (0, 5, 1) from .backends import EmailBackend from .models import PRIORITY diff --git a/setup.py b/setup.py index <HAS...
Bumped to <I>.
ui_django-post_office
train
py,py
7707ba9d103637fca58e46466298cc2a1a94e9be
diff --git a/components/json/src/main/java/org/eobjects/analyzer/beans/ParseJsonTransformer.java b/components/json/src/main/java/org/eobjects/analyzer/beans/ParseJsonTransformer.java index <HASH>..<HASH> 100644 --- a/components/json/src/main/java/org/eobjects/analyzer/beans/ParseJsonTransformer.java +++ b/components/js...
Added convenience setters to parse json transformer
datacleaner_AnalyzerBeans
train
java
01f0a4586059dca3011a783caa8f1efcbcf0a866
diff --git a/bin/parse.php b/bin/parse.php index <HASH>..<HASH> 100644 --- a/bin/parse.php +++ b/bin/parse.php @@ -98,19 +98,19 @@ class Parse extends \Parsoid\Tools\Maintenance { if ( isset( $cliOpts['html2wt'] ) ) { $selser = null; - if ( $yargs->hasOption( 'selser' ) ) { - if ( !$yargs->hasOption( 'old...
Finish replacing $yargs with $this Leftover from a<I>b<I> Change-Id: I<I>ac<I>a<I>a<I>a<I>dca6a<I>c5f3e
wikimedia_parsoid
train
php
787d9d34e9fe107255ff8ad51db5e1ea258a697c
diff --git a/tests/ScheduledExecutionTest.php b/tests/ScheduledExecutionTest.php index <HASH>..<HASH> 100644 --- a/tests/ScheduledExecutionTest.php +++ b/tests/ScheduledExecutionTest.php @@ -112,12 +112,12 @@ class ScheduledExecutionTest extends SapphireTest { class TestScheduledDataObject extends DataObject imple...
Fix deprecation errors on static vars Fixes these warnings: Deprecated: Config static TestScheduledDataObject::$extensions must be marked as private Deprecated: Config static TestScheduledDataObject::$db must be marked as private
symbiote_silverstripe-queuedjobs
train
php
10be5d5a7cf4fb1f7e01c2e683c118857d1f00d3
diff --git a/tests/unit/Grav/Common/UtilsTest.php b/tests/unit/Grav/Common/UtilsTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/Grav/Common/UtilsTest.php +++ b/tests/unit/Grav/Common/UtilsTest.php @@ -297,11 +297,11 @@ class UtilsTest extends \Codeception\TestCase\Test $arrayOfLanguages = ['en', 'de', 'i...
fix text if language is found and is part as enabled languages
getgrav_grav
train
php
f457727c75d02628d5bd87d4e27be2977a0fc8e7
diff --git a/lib/autocomplete-manager.js b/lib/autocomplete-manager.js index <HASH>..<HASH> 100644 --- a/lib/autocomplete-manager.js +++ b/lib/autocomplete-manager.js @@ -40,7 +40,6 @@ class AutocompleteManager { this.providerManager = null this.ready = false this.subscriptions = null - this.suggestio...
remove <I>ms delay before displaying suggestions The <I>ms delay was probably leftover from when the default provider was synchronous as an effort to delay rendering suggestions until the next frame.
atom_autocomplete-plus
train
js
c08a8af4999a200fc873abbeefc61febd7b6dba7
diff --git a/code/media/koowa/com_files/js/files.tree.js b/code/media/koowa/com_files/js/files.tree.js index <HASH>..<HASH> 100644 --- a/code/media/koowa/com_files/js/files.tree.js +++ b/code/media/koowa/com_files/js/files.tree.js @@ -116,6 +116,34 @@ if(!Files) var Files = {}; this.tree('selectNode', no...
re #<I> adding appendNode API for easy adding of nodes that are user created
joomlatools_joomlatools-framework
train
js
bc9be46a524b7142657d5de93b9a6342d3538a8e
diff --git a/lib/etcdv3/version.rb b/lib/etcdv3/version.rb index <HASH>..<HASH> 100644 --- a/lib/etcdv3/version.rb +++ b/lib/etcdv3/version.rb @@ -1,3 +1,3 @@ class Etcdv3 - VERSION = '0.11.1'.freeze + VERSION = '0.11.2'.freeze end
Bumping version to <I>
davissp14_etcdv3-ruby
train
rb
24e418c051cb621af70fcaba3e5f616213e706f9
diff --git a/components/dropdown-menu/dropdown-menu.js b/components/dropdown-menu/dropdown-menu.js index <HASH>..<HASH> 100644 --- a/components/dropdown-menu/dropdown-menu.js +++ b/components/dropdown-menu/dropdown-menu.js @@ -29,11 +29,15 @@ function DropdownAnchorWrapper({anchor, pinned, active, activeListItemId, lis...
RG-<I> one more warning in console was fixed
JetBrains_ring-ui
train
js
596bbe5b3f11f5e07e0c606bcb287ddd986c7276
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -110,8 +110,8 @@ class upload_doc(distutils.cmd.Command): build = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'build', 'sphinx', 'html') os.chdir(path) - os.s...
Raise the development status (PyPI classifier)
sass_libsass-python
train
py
c47c01106377ba4c5e17d539ae6ed5ad1c029578
diff --git a/collector/mdadm.go b/collector/mdadm.go index <HASH>..<HASH> 100644 --- a/collector/mdadm.go +++ b/collector/mdadm.go @@ -162,7 +162,7 @@ func parseMdstat(mdStatusFilePath string) ([]mdStatus, error) { // If device is syncing at the moment, get the number of currently synced bytes, // otherwise tha...
Fix go format style in mdadm collector
prometheus_node_exporter
train
go
33f53066ef2d8b6b4fd9905ed8f52dcb180b1557
diff --git a/etcd3/client.py b/etcd3/client.py index <HASH>..<HASH> 100644 --- a/etcd3/client.py +++ b/etcd3/client.py @@ -176,6 +176,9 @@ class Etcd3Client(object): def __exit__(self, *args): self.close() + + def __del__(self): + self.close() def _get_secure_creds(self, ca_cert...
Implement __del__ for Client objects If a user forgets to call close or use a context manager, try to cleanup grpc connections
kragniz_python-etcd3
train
py
f8c46e885464cdb36c196c97b36f93e3dd416106
diff --git a/src/DataTable/index.js b/src/DataTable/index.js index <HASH>..<HASH> 100644 --- a/src/DataTable/index.js +++ b/src/DataTable/index.js @@ -1114,17 +1114,15 @@ export default compose( const fieldsByPath = keyBy(schema.fields, "path"); columnOrderings.forEach((path, i) => { ...
fix bug in column reordering
TeselaGen_teselagen-react-components
train
js
02aa6480abcfdaf8887dcfb186be29a4044098c6
diff --git a/p2p/net/pnet/psk_conn.go b/p2p/net/pnet/psk_conn.go index <HASH>..<HASH> 100644 --- a/p2p/net/pnet/psk_conn.go +++ b/p2p/net/pnet/psk_conn.go @@ -43,13 +43,10 @@ func (c *pskConn) Read(out []byte) (int, error) { in = in[:maxn] // truncate to required length n, err := c.Conn.Read(in) // rea...
correctly handle Read errors/EOF Read can read data *and* return an error.
libp2p_go-libp2p
train
go
b5d49cd73a38b87d2a62a74452d3cb0932e6aa7b
diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py index <HASH>..<HASH> 100644 --- a/scapy/layers/inet6.py +++ b/scapy/layers/inet6.py @@ -1487,7 +1487,7 @@ class ICMPv6NDOptRedirectedHdr(_ICMPv6NDGuessPayload, Packet): fields_desc = [ ByteField("type",4), FieldLenField("len", None, le...
Fixed size of reserved field in ICMPv6 ND Redirect Option header Field size was changed from 2 to 6 bytes, according to the RFC. <URL>
secdev_scapy
train
py
9d240546230035912079ebcf5b3dc3cceb3d79ef
diff --git a/lib/utils/object/equals.js b/lib/utils/object/equals.js index <HASH>..<HASH> 100644 --- a/lib/utils/object/equals.js +++ b/lib/utils/object/equals.js @@ -1,6 +1,10 @@ const entries = require("./entries"); module.exports = (a, b) => { + if (typeof a !== "object" || typeof b !== "object") { + return a =...
Adding support for equals across types
dynamoosejs_dynamoose
train
js
9b1c72bc8a718d4c910321828c6a582e4149139f
diff --git a/sources/scalac/util/Names.java b/sources/scalac/util/Names.java index <HASH>..<HASH> 100644 --- a/sources/scalac/util/Names.java +++ b/sources/scalac/util/Names.java @@ -123,6 +123,7 @@ public class Names { public static final Name Unit = Name.fromString("Unit"); public static final Name While = ...
- Added constant arrray
scala_scala
train
java
31ed35e653cfd61d1028da522933aef1e8a551ee
diff --git a/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java b/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java index <HASH>..<HASH> 100644 --- a/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java +++ b/lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java @@ -200,6...
Support for the 'Referer' header.
kevinsawicki_http-request
train
java
0b0356f348e144969f10ea63d106efce96b2c848
diff --git a/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php b/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php +++ b/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php @@ -50,11 +50,16 @@ class...
[HttpKernel] fixed exception handler when an exception is thrown during handling
symfony_symfony
train
php
753bad96d6a77c5b97236eec1e77ed74757f5138
diff --git a/lib/aws/endpoint_provider.rb b/lib/aws/endpoint_provider.rb index <HASH>..<HASH> 100644 --- a/lib/aws/endpoint_provider.rb +++ b/lib/aws/endpoint_provider.rb @@ -19,6 +19,7 @@ module Aws service_rules(options[:service].to_s).each do |rule| return rule.apply(options) if rule.matches?(options...
The endpoint provider now returns nil when an endpoint can not be resolved.
aws_aws-sdk-ruby
train
rb
5ee75e57538ffb04c8e7a43775a1fa2e3eb1dc05
diff --git a/entity-store/src/main/java/jetbrains/exodus/entitystore/PersistentEntityStoreImpl.java b/entity-store/src/main/java/jetbrains/exodus/entitystore/PersistentEntityStoreImpl.java index <HASH>..<HASH> 100644 --- a/entity-store/src/main/java/jetbrains/exodus/entitystore/PersistentEntityStoreImpl.java +++ b/enti...
XD-<I>: fix init stage
JetBrains_xodus
train
java
ef55c92a6e714b26bb08cc6dc75f424e7c565c72
diff --git a/jaxrs/src/main/java/org/killbill/billing/jaxrs/resources/KillBillApiDefinition.java b/jaxrs/src/main/java/org/killbill/billing/jaxrs/resources/KillBillApiDefinition.java index <HASH>..<HASH> 100644 --- a/jaxrs/src/main/java/org/killbill/billing/jaxrs/resources/KillBillApiDefinition.java +++ b/jaxrs/src/mai...
jaxrs: Remove renaming of tag/custom field parameter swagger name as it breaks client codegen
killbill_killbill
train
java
065900fee5bb36b0252ac8d1d39b194afb1e02d4
diff --git a/header.go b/header.go index <HASH>..<HASH> 100644 --- a/header.go +++ b/header.go @@ -64,12 +64,19 @@ func ReadPackageHeader(r io.Reader) (*Header, error) { for x := 0; x < h.IndexCount; x++ { o := 16 * x - index := IndexEntry{} + index := IndexEntry{ + Tag: int(binary.BigEndian.Uint32(ind...
Added validation of header index offsets
cavaliercoder_go-rpm
train
go
188334e64f9d9d7a7c1889dc5eb64c27e925077b
diff --git a/EditableColumn.php b/EditableColumn.php index <HASH>..<HASH> 100644 --- a/EditableColumn.php +++ b/EditableColumn.php @@ -66,8 +66,13 @@ class EditableColumn extends DataColumn */ protected function renderDataCellContent($model, $key, $index) { - $value = parent::renderDataCellCont...
feat: allow to overwrite default options editableOptions can overwrite default options. It is a must if you want to generate url and params for every column.
yii2mod_yii2-editable
train
php
4d15a3ccddfcd3346082abd6b137778afa892050
diff --git a/src/context/extensions/helpers/processCommands.js b/src/context/extensions/helpers/processCommands.js index <HASH>..<HASH> 100644 --- a/src/context/extensions/helpers/processCommands.js +++ b/src/context/extensions/helpers/processCommands.js @@ -54,7 +54,9 @@ export function normalizeCommands(name, extensi...
Fixed a bug in processCommands that would write over .__extensions
rocjs_roc
train
js
a53ed2729d17b0251abb0cdf3f7a2ab6981895a2
diff --git a/lib/service.js b/lib/service.js index <HASH>..<HASH> 100644 --- a/lib/service.js +++ b/lib/service.js @@ -2,7 +2,7 @@ //- service.js ~~ // ~~ (c) SRW, 24 Nov 2012 -// ~~ last updated 14 Jan 2015 +// ...
Default "worker_procs" is now 1
qmachine_qm-nodejs
train
js
83eb69f93068938190e6be6256261c51594d28e1
diff --git a/webpack.config.js b/webpack.config.js index <HASH>..<HASH> 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,7 +18,7 @@ module.exports = { context: root(), debug: true, - devtool: 'cheap-eval-source-map', + devtool: 'cheap-module-eval-source-map', resolve: { extensions: ['',...
(chore): better source maps
swimlane_ngx-datatable
train
js
46c47ffa597d7f0b0616ec18fb5dc25d59f0332a
diff --git a/lib/ruby-metrics/instruments/meter.rb b/lib/ruby-metrics/instruments/meter.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-metrics/instruments/meter.rb +++ b/lib/ruby-metrics/instruments/meter.rb @@ -74,7 +74,7 @@ module Metrics convert_to_ns @fifteen_minute_rate, rate_unit end - ...
Fixing a typo in meter.rb for default units
johnewart_ruby-metrics
train
rb
89318075ea087e9abd1cdb0ac406452224453150
diff --git a/tests/selenium/config.js b/tests/selenium/config.js index <HASH>..<HASH> 100644 --- a/tests/selenium/config.js +++ b/tests/selenium/config.js @@ -1,5 +1,5 @@ export default { - mochaTimeout: 5000, + mochaTimeout: 7000, seleniumTimeout: 5000, testClient: 'http://localhost:8080' }
increased timeout for mocha tests 5s -> 7s
KlausBenndorf_guide4you
train
js
3b69c14f5d48d583f240cdbdc38818a47ec6761d
diff --git a/whisper/whisperv6/message_test.go b/whisper/whisperv6/message_test.go index <HASH>..<HASH> 100644 --- a/whisper/whisperv6/message_test.go +++ b/whisper/whisperv6/message_test.go @@ -36,7 +36,7 @@ func generateMessageParams() (*MessageParams, error) { sz := mrand.Intn(400) var p MessageParams - p.PoW ...
whisper/whisperv6: decrease pow requirement in tests (#<I>)
ethereum_go-ethereum
train
go
ffc1b61500cb5d81c7f814345215bf91dddc180f
diff --git a/lib/sqlHandler.js b/lib/sqlHandler.js index <HASH>..<HASH> 100644 --- a/lib/sqlHandler.js +++ b/lib/sqlHandler.js @@ -617,7 +617,7 @@ SqlStore.prototype.update = function(request, partialResource, finishedCallback) if (err) return finishTransaction(err); theResource.update(partialResour...
Fix typo this was blindly ignoring validation errors
holidayextras_jsonapi-store-relationaldb
train
js
c95dd799535771df2ac789f5db17a24f8cfcf1c0
diff --git a/rllib/agents/ppo/appo.py b/rllib/agents/ppo/appo.py index <HASH>..<HASH> 100644 --- a/rllib/agents/ppo/appo.py +++ b/rllib/agents/ppo/appo.py @@ -140,7 +140,5 @@ class APPOTrainer(impala.ImpalaTrainer): from ray.rllib.agents.ppo.appo_torch_policy import AsyncPPOTorchPolicy retur...
[RLlib] APPO eager fix (APPOTFPolicy gets wrapped `as_eager()` twice by mistake). (#<I>)
ray-project_ray
train
py
630f1ec517da17f123893da3b29f536c254c9054
diff --git a/backend/handler.py b/backend/handler.py index <HASH>..<HASH> 100644 --- a/backend/handler.py +++ b/backend/handler.py @@ -32,6 +32,7 @@ import os import re from six import BytesIO +from six import StringIO from six.moves import BaseHTTPServer from six.moves import urllib from six.moves import xrange...
Merge changes from github. Change: <I>
tensorflow_tensorboard
train
py
df7e6ad18d69c10c58f5948360dfb17b0c87f083
diff --git a/AssetManager.php b/AssetManager.php index <HASH>..<HASH> 100644 --- a/AssetManager.php +++ b/AssetManager.php @@ -109,4 +109,23 @@ class AssetManager implements AssetManagerInterface { return isset($this->data[$index]); } + + /** + * Check to see if this manager provides a specifi...
Add provides() functionality to the asset manager.
proem_proem
train
php,php
db2bda1f9b7a62c0be1a49db8642451b595dfd81
diff --git a/fbchat/_attachment.py b/fbchat/_attachment.py index <HASH>..<HASH> 100644 --- a/fbchat/_attachment.py +++ b/fbchat/_attachment.py @@ -66,7 +66,7 @@ class ShareAttachment(Attachment): description=data["description"].get("text") if data.get("description") else None, - ...
Fix ShareAttachment GraphQL `source` parsing Fixes #<I>
carpedm20_fbchat
train
py
bdd1042ed849e01322f3d2535309570a0bbeadd7
diff --git a/pylint_django/tests/input/func_noerror_foreign_key_package.py b/pylint_django/tests/input/func_noerror_foreign_key_package.py index <HASH>..<HASH> 100644 --- a/pylint_django/tests/input/func_noerror_foreign_key_package.py +++ b/pylint_django/tests/input/func_noerror_foreign_key_package.py @@ -7,7 +7,7 @@ f...
Fix the module full path when using foreign key in tests
PyCQA_pylint-django
train
py
50ad7a973a2cc4f893cdbe0dd0d3f17310c7bace
diff --git a/web/concrete/core/helpers/form/date_time.php b/web/concrete/core/helpers/form/date_time.php index <HASH>..<HASH> 100644 --- a/web/concrete/core/helpers/form/date_time.php +++ b/web/concrete/core/helpers/form/date_time.php @@ -125,7 +125,7 @@ class Concrete5_Helper_Form_DateTime { } else { $selecte...
space between selected keyword and attribute There needs to be a space between the attribute and the word "selected". It currently reads value="<I>"selected Former-commit-id: 5fff<I>b<I>dd7bd7deecdd<I>ee<I>e<I>
concrete5_concrete5
train
php
b913990d803d65172d95523f4b46551869bb8baa
diff --git a/rtv/content.py b/rtv/content.py index <HASH>..<HASH> 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -257,7 +257,8 @@ class SubredditContent(BaseContent): try: self.get(0) except (praw.errors.APIException, requests.HTTPError, - praw.errors.RedirectException...
Updated subreddit exception handling for PRAW 3.
michael-lazar_rtv
train
py
e6bec760774d813750c5bee48717bbb5c6ef3803
diff --git a/src/theme.js b/src/theme.js index <HASH>..<HASH> 100644 --- a/src/theme.js +++ b/src/theme.js @@ -59,13 +59,11 @@ function maybe(module, name, logger) { * Require default theme or throw an exception. */ function def() { - let theme; - try { - theme = resolve('sassdoc-theme-default'); + resol...
Workaround a bug with Traceur `require`
SassDoc_sassdoc
train
js
7f2f0e8ec3bfec8ab15213569ea15ba7d9bec873
diff --git a/salt/client/mixins.py b/salt/client/mixins.py index <HASH>..<HASH> 100644 --- a/salt/client/mixins.py +++ b/salt/client/mixins.py @@ -450,8 +450,7 @@ class AsyncClientMixin(object): # people use more events that don't quite fit into this mold if suffix == 'ret': # for "ret" just print ou...
Fix double-call (thanks @s0undt3ch)
saltstack_salt
train
py
f396aeaee3c87080f43060ccbbc8259d87d26de4
diff --git a/test/verify_with_amatch_spec.rb b/test/verify_with_amatch_spec.rb index <HASH>..<HASH> 100644 --- a/test/verify_with_amatch_spec.rb +++ b/test/verify_with_amatch_spec.rb @@ -26,6 +26,7 @@ require 'amatch' def amatch_getDistance( s1, s2 ) @jarow = Amatch::JaroWinkler.new( s1 ) + @jarow.ignore_case = ...
Fixed issue of redbeardenterprises's comment. Added @jarow.ignore_case = false to verify with amatch. <URL>
kiyoka_fuzzy-string-match
train
rb
9291959b1e01cc0c01d7d93c87810b333efb8e7e
diff --git a/tests/TestCase/Identifier/OrmIdentifierTest.php b/tests/TestCase/Identifier/OrmIdentifierTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/Identifier/OrmIdentifierTest.php +++ b/tests/TestCase/Identifier/OrmIdentifierTest.php @@ -15,6 +15,7 @@ namespace Authentication\Test\TestCase\Identifier; u...
Use ::class constant instead of string.
cakephp_authentication
train
php
25b7ee37ae06705d0815471c1855f13d6b984455
diff --git a/asyncwebsockets/common.py b/asyncwebsockets/common.py index <HASH>..<HASH> 100644 --- a/asyncwebsockets/common.py +++ b/asyncwebsockets/common.py @@ -203,4 +203,5 @@ class Websocket(object): to_send = self.state.bytes_to_send() await self.sock.sendall(to_send) await self.sock.clo...
Close the state of the websocket properly.
Fuyukai_asyncwebsockets
train
py
d85106eb38821d9ca2d89a74b6e65f15d20ebe87
diff --git a/spec/moped/database_spec.rb b/spec/moped/database_spec.rb index <HASH>..<HASH> 100644 --- a/spec/moped/database_spec.rb +++ b/spec/moped/database_spec.rb @@ -1,6 +1,7 @@ require "spec_helper" describe Moped::Database do + let(:session) do Moped::Session.new "" end @@ -10,6 +11,7 @@ describe ...
Keep database spec structure in line with mongoid and origin
mongoid_moped
train
rb
707cdd67d511cce932d51785888c234b3de2e6f4
diff --git a/crispy/gui/quanty/axes.py b/crispy/gui/quanty/axes.py index <HASH>..<HASH> 100644 --- a/crispy/gui/quanty/axes.py +++ b/crispy/gui/quanty/axes.py @@ -106,6 +106,13 @@ class Gaussian(Broadening): super().__init__(parent=parent, name=name) self._value = value + @property + def repla...
Write the Gaussian FWHM as a comment
mretegan_crispy
train
py
10455f557be45ca4f30f0c0f9f8bc93bc5553be8
diff --git a/lib/Dwoo/Core.php b/lib/Dwoo/Core.php index <HASH>..<HASH> 100644 --- a/lib/Dwoo/Core.php +++ b/lib/Dwoo/Core.php @@ -1053,6 +1053,10 @@ class Dwoo_Core $this->curBlock = end($this->stack); $this->curBlock->buffer($tmp->process()); } else { + if($this->buffer !...
Fixed {capture} contents lacking the output of block plugins when multiple block plugins are used
dwoo-project_dwoo
train
php
b33dac33489bed68213d17c5136d22b9a43cf448
diff --git a/lib/tracker_api/resources/epic.rb b/lib/tracker_api/resources/epic.rb index <HASH>..<HASH> 100644 --- a/lib/tracker_api/resources/epic.rb +++ b/lib/tracker_api/resources/epic.rb @@ -25,7 +25,6 @@ module TrackerApi property :name property :description - property :comments ...
Remove comments from update json model
dashofcode_tracker_api
train
rb
ac473c464a3f12889dfef066341a0d018aec9e87
diff --git a/sacred/__init__.py b/sacred/__init__.py index <HASH>..<HASH> 100644 --- a/sacred/__init__.py +++ b/sacred/__init__.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # coding=utf-8 from __future__ import division, print_function, unicode_literals +from experiment import Experiment -__version__ = "0.4" \ No newl...
put Experiment back into sacred namespace
IDSIA_sacred
train
py
22f5687c48387429c385c20a204851960395ff50
diff --git a/tests/web_client_test.py b/tests/web_client_test.py index <HASH>..<HASH> 100644 --- a/tests/web_client_test.py +++ b/tests/web_client_test.py @@ -19,6 +19,7 @@ import os import subprocess +import sys # Need to set the environment variable before importing girder os.environ['GIRDER_PORT'] = '50001' ...
Output web client tests stdout and stderr output immediately rather than collecting it with communicate and outputting it at the end. This makes debug easier, since the test output is interleaved with the failure report, rather than all at the end (or not present under certain failures).
girder_girder
train
py
ab8ac23749d90f0265d29cfe3440357098b97225
diff --git a/thefuck/main.py b/thefuck/main.py index <HASH>..<HASH> 100644 --- a/thefuck/main.py +++ b/thefuck/main.py @@ -76,7 +76,10 @@ def wait_output(settings, popen): def get_command(settings, args): """Creates command from `args` and executes it.""" - script = ' '.join(arg.decode('utf-8') for arg in ar...
Fix python 3 support
nvbn_thefuck
train
py
45863c84580145fcddca8136ba1600fe88946c35
diff --git a/treeCl/utils/fileIO.py b/treeCl/utils/fileIO.py index <HASH>..<HASH> 100644 --- a/treeCl/utils/fileIO.py +++ b/treeCl/utils/fileIO.py @@ -6,6 +6,7 @@ import cPickle import glob import gzip import os +import shutil import tempfile from subprocess import Popen, PIPE @@ -34,14 +35,27 @@ __all__ = [ ...
Added context-managed TempDir and directory prefix to TempFile
kgori_treeCl
train
py
66826910126b1adec48167ed62541b2d68828170
diff --git a/discord/state.py b/discord/state.py index <HASH>..<HASH> 100644 --- a/discord/state.py +++ b/discord/state.py @@ -194,8 +194,15 @@ class ConnectionState: def parse_guild_member_add(self, data): server = self._get_server(data.get('guild_id')) + + roles = [server.default_role] + ...
Fix cases where Member.roles would have a string instead of Role. Fixes #<I>.
Rapptz_discord.py
train
py
6cfda844e7abbc098715caad4db325df67486f5b
diff --git a/tests/ProxyManagerTest/ProxyGenerator/AccessInterceptor/MethodGenerator/SetMethodSuffixInterceptorTest.php b/tests/ProxyManagerTest/ProxyGenerator/AccessInterceptor/MethodGenerator/SetMethodSuffixInterceptorTest.php index <HASH>..<HASH> 100644 --- a/tests/ProxyManagerTest/ProxyGenerator/AccessInterceptor/M...
Providing IDE hints for mocks
Ocramius_ProxyManager
train
php
91bbedc005d6d63a2d57f99558661b38230f64b6
diff --git a/docs/examples/example.php b/docs/examples/example.php index <HASH>..<HASH> 100644 --- a/docs/examples/example.php +++ b/docs/examples/example.php @@ -113,4 +113,4 @@ try { 'An error occured: %s', $e->getMessage() ); -} \ No newline at end of file +}
test commit, for further details see following commits please. git-svn-id: <URL>
ZendExperts_phpids
train
php
bbaf4636e53d8a4a5e8e65821861955777d888cc
diff --git a/rehive/api/resources/auth_resources.py b/rehive/api/resources/auth_resources.py index <HASH>..<HASH> 100644 --- a/rehive/api/resources/auth_resources.py +++ b/rehive/api/resources/auth_resources.py @@ -62,12 +62,14 @@ class AuthResources(Resource, ResourceCollection): return response de...
Hotfix: correct SDK logout functions
rehive_rehive-python
train
py
a4178d05efa854b2c9dee5e8419ecf3d0002f694
diff --git a/src/ol/array.js b/src/ol/array.js index <HASH>..<HASH> 100644 --- a/src/ol/array.js +++ b/src/ol/array.js @@ -196,6 +196,7 @@ export function equals(arr1, arr2) { /** * @param {Array<*>} arr The array to sort (modifies original). * @param {Function} compareFnc Comparison function. + * @api */ expor...
Expose the stableSort function This is a low level function, essential to OpenLayers so it is always shipped with OpenLayers.
openlayers_openlayers
train
js
5beb5f195d99b668d1163516ec1d043c2e93e421
diff --git a/assets/assets/scripts/ruboto.rb b/assets/assets/scripts/ruboto.rb index <HASH>..<HASH> 100644 --- a/assets/assets/scripts/ruboto.rb +++ b/assets/assets/scripts/ruboto.rb @@ -37,9 +37,16 @@ java_import "java.util.Arrays" java_import "java.util.ArrayList" java_import "android.R" +java_import "android.uti...
ruboto.rb tweak. it was assuming that R$id was defined, which is true in ruboto-irb but is not true in the base app generated by `android create project`
ruboto_ruboto
train
rb
69debff7a3c9c8ef13bbcf03c0d955068c2721f2
diff --git a/src/pydocstyle/parser.py b/src/pydocstyle/parser.py index <HASH>..<HASH> 100644 --- a/src/pydocstyle/parser.py +++ b/src/pydocstyle/parser.py @@ -487,6 +487,7 @@ class Parser: self.dunder_all = None self.dunder_all_error = 'Could not evaluate contents of __all__. ' ...
fix parser dead loop when meet comment after __all__
PyCQA_pydocstyle
train
py,py
eb504604fe7b6a95ff5d308e4ec32baa81043592
diff --git a/packages/components/data-table/src/data-table.story.js b/packages/components/data-table/src/data-table.story.js index <HASH>..<HASH> 100644 --- a/packages/components/data-table/src/data-table.story.js +++ b/packages/components/data-table/src/data-table.story.js @@ -204,7 +204,7 @@ const ColumnConfigForm = ...
fix: storybook data-table example (#<I>)
commercetools_ui-kit
train
js
d791ea068fb0a7a39b078b4238d757daf9b89ad8
diff --git a/lib/codemirror.js b/lib/codemirror.js index <HASH>..<HASH> 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -1194,7 +1194,7 @@ var CodeMirror = (function() { from = clipPos(from); to = clipPos(to); var tm = new TextMarker(); function add(line, from, to, className) { - m...
"mark" is neither declared, nor used.
codemirror_CodeMirror
train
js
712f723957fb6a3e522e853b651e0d5cbe539586
diff --git a/ArgusCore/src/main/java/com/salesforce/dva/argus/service/monitor/DefaultMonitorService.java b/ArgusCore/src/main/java/com/salesforce/dva/argus/service/monitor/DefaultMonitorService.java index <HASH>..<HASH> 100644 --- a/ArgusCore/src/main/java/com/salesforce/dva/argus/service/monitor/DefaultMonitorService....
Update size of JVM Metrics inside synchronized block
salesforce_Argus
train
java
2e95d22e0c487b0b10a8246ed93e39c8b4440979
diff --git a/chef/lib/chef/resource.rb b/chef/lib/chef/resource.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/resource.rb +++ b/chef/lib/chef/resource.rb @@ -28,6 +28,9 @@ require 'chef/mixin/deprecation' class Chef class Resource + class Notification < Struct.new(:resource, :action) + end + HIDDE...
no openstructs in the production code, they're slooooooooooooooo
chef_chef
train
rb
8fb037744e0bf2d1ca51aed325d10aa2d43c27c8
diff --git a/worker/peergrouper/worker.go b/worker/peergrouper/worker.go index <HASH>..<HASH> 100644 --- a/worker/peergrouper/worker.go +++ b/worker/peergrouper/worker.go @@ -369,7 +369,9 @@ func (w *pgWorker) updateControllerMachines() (bool, error) { if err != nil { return false, errors.Annotatef(err, "cannot ...
Treat any state that isn't Pending as valid for controllers. Stopped actually caused teardown problems, this should avoid that. (it caused the peergrouper to freak out because one of the controller machines was still voting but had been Stopped, but then we couldn't remove the vote from it because peergrouper treated ...
juju_juju
train
go
b73fcf70560cd31498c97da84c38216ca6a57778
diff --git a/PyChromeDevTools/__init__.py b/PyChromeDevTools/__init__.py index <HASH>..<HASH> 100644 --- a/PyChromeDevTools/__init__.py +++ b/PyChromeDevTools/__init__.py @@ -39,16 +39,17 @@ class ChromeInterface(object): self.ws = None self.tabs = None self.timeout = timeout - self.co...
Made slight tweak to help when working with multiple tabs
marty90_PyChromeDevTools
train
py