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
ff5801ad0ccbc11deadeb37fa20922ebab878f5f
diff --git a/cmd/kubeadm/app/cmd/token.go b/cmd/kubeadm/app/cmd/token.go index <HASH>..<HASH> 100644 --- a/cmd/kubeadm/app/cmd/token.go +++ b/cmd/kubeadm/app/cmd/token.go @@ -92,6 +92,9 @@ func NewCmdToken(out io.Writer, errW io.Writer) *cobra.Command { Use: "delete", Short: "Delete bootstrap tokens on the serv...
kubeadm: fix to avoid panic if token not provided Prior to this, kubeadm would panic if no token was provided. This does a check and prints out a more reasonable message.
kubernetes_kubernetes
train
go
d486f6ab9b6885ac7468db8b9d5741197a2d7e42
diff --git a/server/reload.go b/server/reload.go index <HASH>..<HASH> 100644 --- a/server/reload.go +++ b/server/reload.go @@ -1106,8 +1106,17 @@ func (s *Server) reloadAuthorization() { for _, route := range s.routes { routes = append(routes, route) } + var resetCh chan struct{} + if s.sys != nil { + // can't ...
Move reset of internal client to after the account sublist was moved. This does not avoid the race condition, but makes it less likely to trigger in unit tests.
nats-io_gnatsd
train
go,go
6312a41e037954850867f29d329e5007df1424a5
diff --git a/src/saml2/authn.py b/src/saml2/authn.py index <HASH>..<HASH> 100644 --- a/src/saml2/authn.py +++ b/src/saml2/authn.py @@ -146,7 +146,8 @@ class UsernamePasswordMako(UserAuthnMethod): return resp def _verify(self, pwd, user): - assert is_equal(pwd, self.passwd[user]) + if not i...
Quick fix for the authentication bypass due to optimizations #<I>
IdentityPython_pysaml2
train
py
c218df87d7fa0aa13ead7080fed84b5c9a3ac3ef
diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_bare_client.py +++ b/telethon/telegram_bare_client.py @@ -86,7 +86,7 @@ class TelegramBareClient: if not api_id or not api_hash: raise PermissionError( ...
Remove reference to README.rst (#<I>)
LonamiWebs_Telethon
train
py
93fd045488565879bc40a6d942e165a9148351ca
diff --git a/core/src/main/java/com/google/bitcoin/core/Peer.java b/core/src/main/java/com/google/bitcoin/core/Peer.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/bitcoin/core/Peer.java +++ b/core/src/main/java/com/google/bitcoin/core/Peer.java @@ -818,7 +818,7 @@ public class Peer { * Retur...
Lock the ping time accessors correctly.
bitcoinj_bitcoinj
train
java
a905420a7d350f4fe753ae1e3dcb78be39e97875
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -69,8 +69,12 @@ module.exports = function(schema) { function defaultOptions(pathname, v) { const ret = { path: pathname, options: { maxDepth: 10 } }; - if (v.ref) { + if (v.ref != null) { ret.model = v.ref; + r...
fix: call function with options and include refPath in options Fix #<I>
mongodb-js_mongoose-autopopulate
train
js
11a42a06bed69974111a5c126bbf7411fbc103ae
diff --git a/icomoon/__init__.py b/icomoon/__init__.py index <HASH>..<HASH> 100644 --- a/icomoon/__init__.py +++ b/icomoon/__init__.py @@ -1,4 +1,4 @@ """ A Django app to deploy wefonts from Icomoon and display them """ -__version__ = '0.4.0' +__version__ = '1.0.0-pre.1'
Bump to <I> pre release 1
sveetch_django-icomoon
train
py
f15019a28b01bb58f36ee4bc99154cf6578ce490
diff --git a/compiler/src/Composer/ComposerJsonManipulator.php b/compiler/src/Composer/ComposerJsonManipulator.php index <HASH>..<HASH> 100644 --- a/compiler/src/Composer/ComposerJsonManipulator.php +++ b/compiler/src/Composer/ComposerJsonManipulator.php @@ -103,6 +103,9 @@ final class ComposerJsonManipulator ...
use extact version in phpstan compiler to rector.phar
rectorphp_rector
train
php
bc322f162e7f549e365b0735370ccb67e13da75b
diff --git a/Eloquent/Collection.php b/Eloquent/Collection.php index <HASH>..<HASH> 100755 --- a/Eloquent/Collection.php +++ b/Eloquent/Collection.php @@ -6,7 +6,7 @@ use LogicException; use Illuminate\Support\Arr; use Illuminate\Support\Str; use Illuminate\Contracts\Support\Arrayable; -use Illuminate\Database\Eloqu...
Fix QueueableCollection relying on Pivot->getQueueableId() instead of QueueableEntity->getQueueableId() Found this issue during development where we have a model that uses binary UUIDs. While the single model serialization works fine, the collection serialization + JSON encoding breaks.
illuminate_database
train
php
ab91ed06067411fbfb7221f27689db812fc1d86a
diff --git a/pypeerassets/kutil.py b/pypeerassets/kutil.py index <HASH>..<HASH> 100644 --- a/pypeerassets/kutil.py +++ b/pypeerassets/kutil.py @@ -69,9 +69,11 @@ class Kutil: ).hexdigest()[0:8] return b58encode(step1 + unhexlify(checksum)) - + @staticmethod def check_wif(wif): + ...
added docstring to check_wif method.
PeerAssets_pypeerassets
train
py
b2baa2c76f688dce2961b51a7684c1128c291c58
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,7 @@ var googleapis = require('googleapis'), return callback(err); } } - + // Cache the response, if caching is on if(cache )...
Added startIndex to gaArgs to allow paging.
jsguy_ga-api
train
js
50debf85ff295f4d0b8691dfc814f7cbf39dd844
diff --git a/primefaces/src/main/resources/META-INF/resources/primefaces/timeline/1-timeline.js b/primefaces/src/main/resources/META-INF/resources/primefaces/timeline/1-timeline.js index <HASH>..<HASH> 100644 --- a/primefaces/src/main/resources/META-INF/resources/primefaces/timeline/1-timeline.js +++ b/primefaces/src/m...
Fix #<I>: Timeline no longer assume moment date from snap (#<I>)
primefaces_primefaces
train
js
8b8d94e01ca06e0884f103bca907276a13b50ae0
diff --git a/src/python/twitter/pants/targets/internal.py b/src/python/twitter/pants/targets/internal.py index <HASH>..<HASH> 100644 --- a/src/python/twitter/pants/targets/internal.py +++ b/src/python/twitter/pants/targets/internal.py @@ -195,12 +195,6 @@ class InternalTarget(Target): """Subclasses can over-ride t...
Get rid of unused replace_dependency method. (sapling split of e<I>cd<I>d<I>f0f3c<I>df1bccf0eefde<I>d<I>)
pantsbuild_pants
train
py
e8616b982c0e1e5ff03aa87e4d1b71934592c65e
diff --git a/test/publish.spec.js b/test/publish.spec.js index <HASH>..<HASH> 100644 --- a/test/publish.spec.js +++ b/test/publish.spec.js @@ -22,6 +22,6 @@ describe('publish.js', () => { return stream.once('data'); }) .finally(stream.close); - }); + ...
Increase timeout to avoid breaking build (again)
rung-tools_rung-cli
train
js,js
47cb93c250f0267c678489bf994e5b4dded41fb9
diff --git a/src/API/QueryBuilder.php b/src/API/QueryBuilder.php index <HASH>..<HASH> 100755 --- a/src/API/QueryBuilder.php +++ b/src/API/QueryBuilder.php @@ -208,6 +208,7 @@ class QueryBuilder extends Injectable } } + $count = 1; foreach ($processedSearchFields a...
fix a bug when you pass 2 query params one with field=v1||v2||v3 and another query like f1||f2||f3=*a*
gte451f_phalcon-json-api-package
train
php
d971e2024c5e34db7468663ea4b98e9398975ee9
diff --git a/src/main/java/org/altbeacon/beacon/powersave/BackgroundPowerSaver.java b/src/main/java/org/altbeacon/beacon/powersave/BackgroundPowerSaver.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/altbeacon/beacon/powersave/BackgroundPowerSaver.java +++ b/src/main/java/org/altbeacon/beacon/powersave/Backgro...
Prevent crash due to null beaconManager by getting instance before starting power save callbacks
AltBeacon_android-beacon-library
train
java
a6d83dfae18aad74dcd45be1b809de8080ccc63a
diff --git a/src/rez/utils/colorize.py b/src/rez/utils/colorize.py index <HASH>..<HASH> 100644 --- a/src/rez/utils/colorize.py +++ b/src/rez/utils/colorize.py @@ -193,12 +193,7 @@ def _color(str_, fore_color=None, back_color=None, styles=None): .. _Colorama: https://pypi.python.org/pypi/colorama """ ...
Remove windows exception from colorize.py
nerdvegas_rez
train
py
375cc8dc22d907017e30e13a6d68c040bdeadae8
diff --git a/src/Convert/Converters/Gmagick.php b/src/Convert/Converters/Gmagick.php index <HASH>..<HASH> 100644 --- a/src/Convert/Converters/Gmagick.php +++ b/src/Convert/Converters/Gmagick.php @@ -107,7 +107,7 @@ class Gmagick extends AbstractConverter $im->setimageformat('WEBP'); - // Not complet...
Changed a comment. Closes #<I>
rosell-dk_webp-convert
train
php
0a4c3ceed3dc7cc505c10a6a80a3276868c6fa8e
diff --git a/mopidy_musicbox_webclient/static/js/functionsvars.js b/mopidy_musicbox_webclient/static/js/functionsvars.js index <HASH>..<HASH> 100644 --- a/mopidy_musicbox_webclient/static/js/functionsvars.js +++ b/mopidy_musicbox_webclient/static/js/functionsvars.js @@ -238,7 +238,7 @@ function resultsToTables(results,...
Better fake up Album model for stricter mopidy validation. (Fixes #<I>). This is a bit of a hack. The better solution is to only send URIs rather than full Track models.
pimusicbox_mopidy-musicbox-webclient
train
js
67458d0dd88c60f60bddb4835e6f5a6f38376d45
diff --git a/src/Illuminate/Foundation/Console/AppNameCommand.php b/src/Illuminate/Foundation/Console/AppNameCommand.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Foundation/Console/AppNameCommand.php +++ b/src/Illuminate/Foundation/Console/AppNameCommand.php @@ -59,6 +59,8 @@ class AppNameCommand extends Comman...
Dump auto loads after app:name set.
laravel_framework
train
php
af6683546d77001ed9db685f023071c69cd81376
diff --git a/lib/merb-core/logger.rb b/lib/merb-core/logger.rb index <HASH>..<HASH> 100755 --- a/lib/merb-core/logger.rb +++ b/lib/merb-core/logger.rb @@ -161,7 +161,7 @@ module Merb # Close and remove the current log object. def close flush - @log.close if @log.respond_to?(:close) + @log.clo...
Ensure that Merb::Logger doesn't try to close terminal streams.
wycats_merb
train
rb,rb
79f329fb4f3763df85da97c8a50e9ec61e63adeb
diff --git a/mapping/sql/all/src/test/java/it/unibz/inf/ontop/spec/mapping/parser/ParserFileTest.java b/mapping/sql/all/src/test/java/it/unibz/inf/ontop/spec/mapping/parser/ParserFileTest.java index <HASH>..<HASH> 100644 --- a/mapping/sql/all/src/test/java/it/unibz/inf/ontop/spec/mapping/parser/ParserFileTest.java +++ ...
More realistic JDBC url given to ParserFileTest.
ontop_ontop
train
java
ac8d190a440c525fa946c789c9883e1e1f1debe7
diff --git a/lib/mongo/background_thread.rb b/lib/mongo/background_thread.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/background_thread.rb +++ b/lib/mongo/background_thread.rb @@ -129,7 +129,16 @@ module Mongo # Some driver objects can be reconnected, for backwards compatibiilty # reasons. Clear the th...
RUBY-<I> Consider threads in aborting state dead (#<I>)
mongodb_mongo-ruby-driver
train
rb,rb
335b045325c1d488aae79db1726baeeeeb4fc573
diff --git a/packages/ui-text-area/src/TextArea/styles.js b/packages/ui-text-area/src/TextArea/styles.js index <HASH>..<HASH> 100644 --- a/packages/ui-text-area/src/TextArea/styles.js +++ b/packages/ui-text-area/src/TextArea/styles.js @@ -77,14 +77,11 @@ const generateStyle = (theme, themeOverride, props, state) => { ...
refactor: make CSS selectors more specific
instructure_instructure-ui
train
js
1de299c0dc0b5359a419297e5ac8f54dbd54d95c
diff --git a/src/RuleSet/RuleSetDescriptionInterface.php b/src/RuleSet/RuleSetDescriptionInterface.php index <HASH>..<HASH> 100644 --- a/src/RuleSet/RuleSetDescriptionInterface.php +++ b/src/RuleSet/RuleSetDescriptionInterface.php @@ -19,8 +19,6 @@ namespace PhpCsFixer\RuleSet; */ interface RuleSetDescriptionInterfa...
Remove __constructor() from RuleSetDescriptionInterface Constructor should be defined by the implementation, not by the interface.
FriendsOfPHP_PHP-CS-Fixer
train
php
007a64a8258b7c0346e93985b42f8d71e15b4bcc
diff --git a/synapse/lib/storm.py b/synapse/lib/storm.py index <HASH>..<HASH> 100644 --- a/synapse/lib/storm.py +++ b/synapse/lib/storm.py @@ -1464,7 +1464,7 @@ class Runtime(Configable): limt = self.getLiftLimitHelp(opts.get('limit')) if isinstance(limt.limit, int) and limt.limit < 0: - ...
Use correct oper name in raising BadOperArg
vertexproject_synapse
train
py
63a2ff7029815e3b41a69e83430b9b58ea0bef59
diff --git a/evcache-client/src/main/java/com/netflix/evcache/pool/EVCacheClient.java b/evcache-client/src/main/java/com/netflix/evcache/pool/EVCacheClient.java index <HASH>..<HASH> 100644 --- a/evcache-client/src/main/java/com/netflix/evcache/pool/EVCacheClient.java +++ b/evcache-client/src/main/java/com/netflix/evcac...
if there is any exception while shutting down we will not propagate it
Netflix_EVCache
train
java
fbdc28b2e68ac52eb194ceda04572218c9c9d582
diff --git a/src/Layers/BasemapLayer.js b/src/Layers/BasemapLayer.js index <HASH>..<HASH> 100644 --- a/src/Layers/BasemapLayer.js +++ b/src/Layers/BasemapLayer.js @@ -204,7 +204,7 @@ export var BasemapLayer = TileLayer.extend({ Util.setOptions(this, tileOptions); - if (this.options.token) { + if (this.op...
Prevent token repeating in url Fix for #<I>
Esri_esri-leaflet
train
js
58f5c2cb6faa9a516ead4594c8ea4dcc5f75a182
diff --git a/lib/dm-core/collection.rb b/lib/dm-core/collection.rb index <HASH>..<HASH> 100644 --- a/lib/dm-core/collection.rb +++ b/lib/dm-core/collection.rb @@ -1142,10 +1142,7 @@ module DataMapper # TODO: spec what should happen when none of the resources in self are saved query = relationship.query_...
Cosmetics: use postfix condition in Collection#delegate_to_relationship
datamapper_dm-core
train
rb
3f6e372b925b3b6ff28b8f4a33a64d2e835f2e58
diff --git a/lib/flor/unit/storage.rb b/lib/flor/unit/storage.rb index <HASH>..<HASH> 100644 --- a/lib/flor/unit/storage.rb +++ b/lib/flor/unit/storage.rb @@ -191,17 +191,14 @@ module Flor n = Time.now - @db.transaction do - - @db[:flor_messages] - .import( - [ :domain, :exid,...
revert "use transaction in Storage#put_messages" This reverts commit ea2fbfa<I>cb<I>a<I>dc<I>a1c<I>f<I>a8e7.
floraison_flor
train
rb
304f3d4f959a297207204b08695b8d349305d31a
diff --git a/test/integration/test_runner.py b/test/integration/test_runner.py index <HASH>..<HASH> 100644 --- a/test/integration/test_runner.py +++ b/test/integration/test_runner.py @@ -42,6 +42,7 @@ def test_run_command_with_unicode(rc): if six.PY2: expected = expected.decode('utf-8') rc.command = ...
Adding test for unicode environment
ansible_ansible-runner
train
py
6444a4eefbff70ba571ec29e3ea6bbdda4344b55
diff --git a/simplesqlite/core.py b/simplesqlite/core.py index <HASH>..<HASH> 100644 --- a/simplesqlite/core.py +++ b/simplesqlite/core.py @@ -1492,7 +1492,7 @@ class SimpleSQLite(object): return [record[0] for record in result] - def __extract_attr_desc_list_from_tabledata(self, table_data, primary_key...
Refactor: rename a private method
thombashi_SimpleSQLite
train
py
06f857f4e6236406449a1f21812616d9dc5f3d57
diff --git a/spec/lib/redis_analytics/dashboard_spec.rb b/spec/lib/redis_analytics/dashboard_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/redis_analytics/dashboard_spec.rb +++ b/spec/lib/redis_analytics/dashboard_spec.rb @@ -6,24 +6,24 @@ describe Rack::RedisAnalytics::Dashboard do context 'the pretty dashbo...
dashboard endpoint is not mandatory, dashboard app should test against '/'
d0z0_redis_analytics
train
rb
e21279071704abe7406d745778cdb4243fa26644
diff --git a/lib/ipc.js b/lib/ipc.js index <HASH>..<HASH> 100644 --- a/lib/ipc.js +++ b/lib/ipc.js @@ -920,14 +920,14 @@ Ipc.prototype.subscribeQueue = function(options, callback) // It keeps a count how many subscribe/unsubscribe calls been made and stops any internal listeners once nobody is // subscribed. This is ...
fixed unsubscribedQueue
vseryakov_backendjs
train
js
07927bfea802025b434b6af1fca72b230f5a5d4f
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/serializers.py +++ b/nodeconductor/structure/serializers.py @@ -233,6 +233,14 @@ class ProjectSerializer(core_serializers.RestrictedSerializerMixin, return quer...
Mark certifications as readonly on project update It is not allowed to update certifications on direct project update through PUT or POST request. /update_certifications method is used for that purpose.
opennode_waldur-core
train
py
c37220e08f1915411e4eeffd078562a837c49324
diff --git a/libraries/lithium/tests/cases/util/StringTest.php b/libraries/lithium/tests/cases/util/StringTest.php index <HASH>..<HASH> 100644 --- a/libraries/lithium/tests/cases/util/StringTest.php +++ b/libraries/lithium/tests/cases/util/StringTest.php @@ -366,6 +366,14 @@ class StringTest extends \lithium\test\Unit ...
Adding test coverage for `util\String::tokenize()`
UnionOfRAD_framework
train
php
83b160fc7af0c3dffe78bf4e18ccbedffe0ee1f4
diff --git a/dantil.js b/dantil.js index <HASH>..<HASH> 100644 --- a/dantil.js +++ b/dantil.js @@ -250,7 +250,7 @@ exports.getModuleCallerPathAndLineNumber = function () { * @private * @static * @param {Function} getFrameFunc The function passed the structured stack trace and returns a single stack frame. - * @re...
Tweak JSDoc to use lowercase for primitive types
DannyNemer_dantil
train
js
3b13545d3847f75c78becc8d56e6b524ed9d6a5b
diff --git a/lib/jazzy/doc_builder.rb b/lib/jazzy/doc_builder.rb index <HASH>..<HASH> 100644 --- a/lib/jazzy/doc_builder.rb +++ b/lib/jazzy/doc_builder.rb @@ -43,6 +43,7 @@ module Jazzy stdout = SourceKitten.run_sourcekitten(options.xcodebuild_arguments) exitstatus = $?.exitstatus if exitstat...
added 'building site' status message
realm_jazzy
train
rb
db64f5c74e9075349bab1e92fb64390d2960cca4
diff --git a/e2e/visual/webpack.config.js b/e2e/visual/webpack.config.js index <HASH>..<HASH> 100644 --- a/e2e/visual/webpack.config.js +++ b/e2e/visual/webpack.config.js @@ -26,6 +26,12 @@ module.exports = { content: 'mini-html-webpack-template', }, ], + scripts: [ + ...
chore(e2e): add polyfills to Cartesian application
telus_tds-core
train
js
19a124700fd9941ae090973a37afc529a5c2db61
diff --git a/core.js b/core.js index <HASH>..<HASH> 100644 --- a/core.js +++ b/core.js @@ -3621,14 +3621,13 @@ const _makeWindow = (options = {}, parent = null, top = null) => { }, }, getVRDisplaysSync() { - const result = []; + const result = fakeVrDisplays.slice(); if (nativeMl && na...
Make fake vr dispalys come first in getVRDisplaysSync
exokitxr_exokit
train
js
ceeaf8967543e0da66abd116136570665b5bc320
diff --git a/tasks/typescript.js b/tasks/typescript.js index <HASH>..<HASH> 100644 --- a/tasks/typescript.js +++ b/tasks/typescript.js @@ -20,12 +20,11 @@ module.exports = function (grunt) { resolvePath:path.resolve, readFile:function (file){ - var content = grunt....
fix task failure when typescript looks for files that may be missing typescript seems to look for files by trying to read them, this causes problems as if the grunt.file.read fails it will fail the task.
k-maru_grunt-typescript
train
js
62696b0622dce58f93dec9e70d16c999f348a3d5
diff --git a/src/Router/RouterRequest.php b/src/Router/RouterRequest.php index <HASH>..<HASH> 100644 --- a/src/Router/RouterRequest.php +++ b/src/Router/RouterRequest.php @@ -47,9 +47,9 @@ class RouterRequest protected static function checkMethods($value, $method) { $valid = false; - if ($valu...
Bug fixed on isAjax method.
izniburak_php-router
train
php
7f3aca62c4178649fe271cf31fc4652a3ef7e4b4
diff --git a/storage/remote/queue_manager.go b/storage/remote/queue_manager.go index <HASH>..<HASH> 100644 --- a/storage/remote/queue_manager.go +++ b/storage/remote/queue_manager.go @@ -526,7 +526,8 @@ func (t *QueueManager) calculateDesiredShards() int { samplesPendingRate = samplesInRate*samplesKeptRatio - sample...
Only reduce the number of shards when caught up.
prometheus_prometheus
train
go
0dff6a9030d8f2ff7a03654258f3b02f01d9d57e
diff --git a/caravel/db_engine_specs.py b/caravel/db_engine_specs.py index <HASH>..<HASH> 100644 --- a/caravel/db_engine_specs.py +++ b/caravel/db_engine_specs.py @@ -56,6 +56,7 @@ class PostgresEngineSpec(BaseEngineSpec): Grain("day", _('day'), "DATE_TRUNC('day', {col})"), Grain("week", _('week'), "D...
Add quarter time grain to postgresql (#<I>) The timestamp returned is the start date of the period. Reference: <URL>
apache_incubator-superset
train
py
11bef5cb940163d7d9e490a9413b8495fc8d13e2
diff --git a/lib/SlackBot.js b/lib/SlackBot.js index <HASH>..<HASH> 100755 --- a/lib/SlackBot.js +++ b/lib/SlackBot.js @@ -396,10 +396,11 @@ function Slackbot(configuration) { if (slack_botkit.config.redirectUri) { var redirect_query = ''; - if (redirect_params) + var redir...
Fix issue with creation of redirectUri when parameters were not included
howdyai_botkit
train
js
14c135dceeb4dd9f1ad8d15a6e2dec7678abe7f8
diff --git a/stream-lib.js b/stream-lib.js index <HASH>..<HASH> 100644 --- a/stream-lib.js +++ b/stream-lib.js @@ -13,7 +13,6 @@ /** * Associative array of lib classes. * @type {{}} - * @property {streamLib.Beat} Beat * @property {streamLib.BufferStream} Buffer * @property {streamLib.Concat} Concat * @proper...
fix required libraries in doc for private ones
atd-schubert_node-stream-lib
train
js
49d57b190385ac67965e8e80a659bfc5c63d20e5
diff --git a/python/mxnet/metric.py b/python/mxnet/metric.py index <HASH>..<HASH> 100644 --- a/python/mxnet/metric.py +++ b/python/mxnet/metric.py @@ -3,7 +3,7 @@ """Online evaluation metric module.""" from __future__ import absolute_import - +import math import numpy from . import ndarray @@ -261,9 +261,11 @@ ...
Compute perplexity by averaging over the document (#<I>) * Compute perplexity by averaging over the document solve the problem that the perplexity is related to the batch size * Update metric.py * Update metric.py
apache_incubator-mxnet
train
py
045ca303947e7e9209cee4b3fdede05f6dbb02c4
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -463,7 +463,7 @@ module ActiveRecord #:nodoc: # # # You can use the same string replacemen...
fixes a missmatched column in example
rails_rails
train
rb
5a1bb2b7f6f63acd4c3db8fd1c34a43d44fc0152
diff --git a/tests/test-rest-posts-controller.php b/tests/test-rest-posts-controller.php index <HASH>..<HASH> 100644 --- a/tests/test-rest-posts-controller.php +++ b/tests/test-rest-posts-controller.php @@ -181,10 +181,10 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te $this->asse...
Fix typo in post terms url test
WP-API_WP-API
train
php
423ece86ed4efa957e10edc0cc416ffe9a333b5c
diff --git a/api/util_test.go b/api/util_test.go index <HASH>..<HASH> 100644 --- a/api/util_test.go +++ b/api/util_test.go @@ -10,6 +10,10 @@ import ( . "launchpad.net/gocheck" ) +type UtilSuite struct{} + +var _ = Suite(&UtilSuite{}) + func (s *S) TestFileSystem(c *C) { fsystem = &testing.RecordingFs{} c.Ass...
Creating a suite for util test.
tsuru_tsuru
train
go
5db4e1804284d40e6d78caaf472579f66e6b17f5
diff --git a/src/core/resolve.js b/src/core/resolve.js index <HASH>..<HASH> 100644 --- a/src/core/resolve.js +++ b/src/core/resolve.js @@ -147,8 +147,8 @@ function resolverReducer(resolvers, map) { function requireResolver(name, modulePath) { try { // Try to resolve package with absolute path (/Volumes/....) -...
Require module with absolute path without resolving
benmosher_eslint-plugin-import
train
js
d0d8b9e9815c1f837ef8149889f03c75fd92f82e
diff --git a/src/android/BackgroundMode.java b/src/android/BackgroundMode.java index <HASH>..<HASH> 100644 --- a/src/android/BackgroundMode.java +++ b/src/android/BackgroundMode.java @@ -44,7 +44,7 @@ public class BackgroundMode extends CordovaPlugin { private boolean isDisabled = false; // Settings for the...
Fix null pointer exception for settings
katzer_cordova-plugin-background-mode
train
java
0a167c16ec7901245aaaaddc56391c7deddecf5b
diff --git a/spec/mail/encodings_spec.rb b/spec/mail/encodings_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mail/encodings_spec.rb +++ b/spec/mail/encodings_spec.rb @@ -246,8 +246,9 @@ describe Mail::Encodings do mail[:subject].charset = 'koi8-r' wrapped = mail[:subject].wrapped_value unwrapped =...
Yeah yeah, I fixed for ruby <I>, but neglected to test with older rubies. I'm a dud! (<URL>)
mikel_mail
train
rb
5d347c41bf9940f3a86770b87f07cf0fb8541d08
diff --git a/resolver.go b/resolver.go index <HASH>..<HASH> 100644 --- a/resolver.go +++ b/resolver.go @@ -30,12 +30,8 @@ type Resolver struct { // New initializes a Resolver with the specified cache size. func New(capacity int) *Resolver { r := &Resolver{ - cache: newCache(capacity), - client: &dns.Client{ - D...
Create new resolvers with the default timeout. Previously, the default timeout was used for each operation, which extended the effective timeout to 3x the intended value.
domainr_dnsr
train
go
ca26ba58d9558ee1ac372536a816cb0abb186105
diff --git a/src/main/java/org/xbill/DNS/Zone.java b/src/main/java/org/xbill/DNS/Zone.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/xbill/DNS/Zone.java +++ b/src/main/java/org/xbill/DNS/Zone.java @@ -539,11 +539,9 @@ public class Zone implements Serializable { /** Returns the contents of the Zone in mas...
Migrate iterator to foreach
dnsjava_dnsjava
train
java
68403ec93d51d2d8a1e6c2bfb2822db5b6930cb4
diff --git a/minivents.js b/minivents.js index <HASH>..<HASH> 100644 --- a/minivents.js +++ b/minivents.js @@ -1,5 +1,5 @@ function Events(target){ - var events = {}, i, A = Array; + var events = {}; target = target || this /** * On: listen to events @@ -20,7 +20,7 @@ function Events(target){ * ...
simplifications - `A` is only used once, so I'd suggest to use the native `Array` instead. - `i` is defined in each method separately, no need to define it on constructor
allouis_minivents
train
js
e207959717538836d1dc99076de1d779013fb376
diff --git a/matrix_client/client.py b/matrix_client/client.py index <HASH>..<HASH> 100644 --- a/matrix_client/client.py +++ b/matrix_client/client.py @@ -393,7 +393,7 @@ class Room(object): self.events.pop(0) for listener in self.listeners: - listener(event) + listener(sel...
client: Pass room as arguement to event callbacks. When we get an event, the room part is striped away before the event callback on the room gets the event. So inside the callback there is no easy way to find in which room the event has happened.
matrix-org_matrix-python-sdk
train
py
490e0f6ae7568cd4ba867a98836e13933b2af74c
diff --git a/lib/phusion_passenger/platform_info/apache.rb b/lib/phusion_passenger/platform_info/apache.rb index <HASH>..<HASH> 100644 --- a/lib/phusion_passenger/platform_info/apache.rb +++ b/lib/phusion_passenger/platform_info/apache.rb @@ -170,7 +170,7 @@ module PlatformInfo end # The Apache config file su...
Fix regex compatibiliy problem with Ruby <I>
phusion_passenger
train
rb
d0d7781798f466e20e68aa463f3ce3777b381db7
diff --git a/resolwe/flow/managers/workload_connectors/kubernetes.py b/resolwe/flow/managers/workload_connectors/kubernetes.py index <HASH>..<HASH> 100644 --- a/resolwe/flow/managers/workload_connectors/kubernetes.py +++ b/resolwe/flow/managers/workload_connectors/kubernetes.py @@ -498,9 +498,9 @@ class Connector(BaseC...
Change credentials loading order First try to load credentials from file and then from incluster config.
genialis_resolwe
train
py
0cc0b80a2b0d734eb9a9a40e4eb6fae2b00c3762
diff --git a/lib/sup/index.rb b/lib/sup/index.rb index <HASH>..<HASH> 100644 --- a/lib/sup/index.rb +++ b/lib/sup/index.rb @@ -6,7 +6,7 @@ begin require 'chronic' $have_chronic = true rescue LoadError => e - debug "optional 'chronic' library not found; date-time query restrictions disabled" + debug "No 'chroni...
change chronic missing message to be similar to that of ncursesw
sup-heliotrope_sup
train
rb
22fa61ac5c71515d397942557f6ec6605c8aa729
diff --git a/benchexec/model.py b/benchexec/model.py index <HASH>..<HASH> 100644 --- a/benchexec/model.py +++ b/benchexec/model.py @@ -91,7 +91,7 @@ def load_task_definition_file(task_def_file): raise BenchExecException("Invalid task definition: " + str(e)) if not task_def: - raise BenchExecExcep...
Fix syntax error from <I>a1a<I>a1da1c<I>e5a<I>d<I>e
sosy-lab_benchexec
train
py
4d721b5d11ecf05e35d08c7972f4244b9b5e3582
diff --git a/app/models/agents/email_digest_agent.rb b/app/models/agents/email_digest_agent.rb index <HASH>..<HASH> 100644 --- a/app/models/agents/email_digest_agent.rb +++ b/app/models/agents/email_digest_agent.rb @@ -11,7 +11,7 @@ module Agents used events also relies on the `Keep events` option of the emittin...
Add missing word in description of an agent
huginn_huginn
train
rb
d1920a3b4612b86da4f3e735540a3c7cf19c8dd0
diff --git a/tests/scripts/test_phy_spikesort.py b/tests/scripts/test_phy_spikesort.py index <HASH>..<HASH> 100644 --- a/tests/scripts/test_phy_spikesort.py +++ b/tests/scripts/test_phy_spikesort.py @@ -21,4 +21,4 @@ def test_quick_start(chdir_tempdir): main('download hybrid_10sec.dat') main('download hybrid_...
Don't open the GUI by default in integration test.
kwikteam_phy
train
py
d6d6fac1ab19d261be3986fe27c5d8e04650ae8c
diff --git a/generators/generator-constants.js b/generators/generator-constants.js index <HASH>..<HASH> 100644 --- a/generators/generator-constants.js +++ b/generators/generator-constants.js @@ -8,7 +8,7 @@ const DOCKER_MARIADB = 'mariadb:10.1.16'; const DOCKER_POSTGRESQL = 'postgres:9.5.3'; const DOCKER_MONGODB = 'm...
upgrade elasticsearch to <I> (#<I>) Fix #<I>
jhipster_generator-jhipster
train
js
e83dd9bf9ef63881a9aab91373ea0c855d1634ff
diff --git a/lib/veewee/definitions.rb b/lib/veewee/definitions.rb index <HASH>..<HASH> 100644 --- a/lib/veewee/definitions.rb +++ b/lib/veewee/definitions.rb @@ -67,7 +67,7 @@ module Veewee git_template = false # Check if the template is a git repo - if template_name.start_with?("git://") + i...
Support git via SSH and HTTP Simple and obvious patch who workforus® in production
jedi4ever_veewee
train
rb
0f9fa8c08cb055d031dcd435e1488172395e707c
diff --git a/pymatgen/analysis/local_env.py b/pymatgen/analysis/local_env.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/local_env.py +++ b/pymatgen/analysis/local_env.py @@ -2489,8 +2489,8 @@ class CrystalNN(NearNeighbors): NNData = namedtuple("nn_data", ["all_nninfo", "cn_weights", "cn_nninfo"]) d...
fix bug in default val (should be float, not bool)
materialsproject_pymatgen
train
py
fd77883a3fc0a68ca1701a5bfb12ec9b4934ef06
diff --git a/desugarer.go b/desugarer.go index <HASH>..<HASH> 100644 --- a/desugarer.go +++ b/desugarer.go @@ -302,8 +302,8 @@ func desugar(astPtr *astNode, objLevel int) (err error) { return unimplErr case *astLocal: - for _, bind := range ast.binds { - err = desugar(&bind.body, objLevel) + for i := range a...
Fix local bind body not being desugared In Go `for i, val := range arr` creates a *copy* so it was changing some temporary value.
google_go-jsonnet
train
go
e222a5bd9da4ee34405e3a3870e5e4b220076bfc
diff --git a/grimoire_elk/panels.py b/grimoire_elk/panels.py index <HASH>..<HASH> 100755 --- a/grimoire_elk/panels.py +++ b/grimoire_elk/panels.py @@ -63,7 +63,8 @@ def find_item_json(elastic, type_, item_id): item_json_url = elastic.index_url+"/doc/"+item_id res = requests_ses.get(item_json_url, verify...
[panels] If an item is not found in .kibana don't raise an exception It is normal than in an empty Kibana a dashboard for example does not exists yet. Just raise a requests exception if not found is not the case.
chaoss_grimoirelab-elk
train
py
e355bf5bb43c47b11cec470e83505cb157b2f00a
diff --git a/parsimonious/expressions.py b/parsimonious/expressions.py index <HASH>..<HASH> 100644 --- a/parsimonious/expressions.py +++ b/parsimonious/expressions.py @@ -32,18 +32,18 @@ class Expression(object): # http://stackoverflow.com/questions/1336791/dictionary-vs-object-which-is-more-efficient-and-why ...
Support parsing from not-the-beginning of a string.
erikrose_parsimonious
train
py
f959eede2135d6dbc5592aee125c5cce24c90ae0
diff --git a/lib/mongoid/document.rb b/lib/mongoid/document.rb index <HASH>..<HASH> 100644 --- a/lib/mongoid/document.rb +++ b/lib/mongoid/document.rb @@ -266,10 +266,10 @@ module Mongoid #:nodoc: def instantiate(attrs = nil) attributes = attrs || {} if attributes["_id"] - document = a...
Slight refactoring of Document.instantiate
mongodb_mongoid
train
rb
9766c25f0d629ebea177a14fe5d2ec18c209003a
diff --git a/app/helpers/contextual_link_helpers.rb b/app/helpers/contextual_link_helpers.rb index <HASH>..<HASH> 100644 --- a/app/helpers/contextual_link_helpers.rb +++ b/app/helpers/contextual_link_helpers.rb @@ -22,7 +22,12 @@ module ContextualLinkHelpers end def icon_link_to(action, url = nil, options = {})...
Support passing in a :class param as option in icon_link_to.
huerlisi_i18n_rails_helpers
train
rb
31189472d241e7e4901e0db597a3a29babfc70e0
diff --git a/make/config.js b/make/config.js index <HASH>..<HASH> 100644 --- a/make/config.js +++ b/make/config.js @@ -126,9 +126,7 @@ Promise.resolve(new ConfigFile()) config.content.host.java = javaInstalled; return askForQualityMetrics(config); }) + .then(() ...
Tmp folder exists, save before detecting selenium
ArnaudBuchholz_gpf-js
train
js
8396c075c1f9555a571befc31474ee8897cc7a7b
diff --git a/redis_shard/shard.py b/redis_shard/shard.py index <HASH>..<HASH> 100644 --- a/redis_shard/shard.py +++ b/redis_shard/shard.py @@ -54,7 +54,7 @@ class RedisShardAPI(object): "lindex", "pop", "lset", "lrem", "sadd", "srem", "sismember", "smembers", - "zadd", ...
support zrank in redis shard
zhihu_redis-shard
train
py
b07168b5ecbad5883912f865018dc95d4597a7ca
diff --git a/eval.go b/eval.go index <HASH>..<HASH> 100644 --- a/eval.go +++ b/eval.go @@ -1084,9 +1084,7 @@ func (st *Runtime) evalBaseExpressionGroup(node Node) reflect.Value { } // limit the number of pointers to follow - dereferenceLimit := 2 - for resolved.Kind() == reflect.Ptr && dereferenceLimit >= 0 {...
Add support for pointer fields on structs
CloudyKit_jet
train
go
27c6a2a42edd0fdbae1b8c3bdf9e1374e7715d7b
diff --git a/packages/date/src/DateRange.js b/packages/date/src/DateRange.js index <HASH>..<HASH> 100644 --- a/packages/date/src/DateRange.js +++ b/packages/date/src/DateRange.js @@ -67,7 +67,6 @@ const DateRange = ({ const [focusedInput, setFocusedInput] = useState(null); const calendarIconRef = useRef(); - ...
fix(date): autosync infinite loop
Availity_availity-react
train
js
ea198a02ac76959d573ab3c9182c7ae62bf8a930
diff --git a/acstools/utils_calib.py b/acstools/utils_calib.py index <HASH>..<HASH> 100644 --- a/acstools/utils_calib.py +++ b/acstools/utils_calib.py @@ -22,7 +22,7 @@ __all__ = ['extract_dark', 'extract_flash', 'extract_flatfield', 'check_overscan', 'SM4_MJD'] # The MJD date of the EVA during SM4 to re...
Update acstools/utils_calib.py Resolve minor typo in code comment
spacetelescope_acstools
train
py
3d64a8573401c1d9ba42b9296aa81b7131c0e82f
diff --git a/lib/marked.js b/lib/marked.js index <HASH>..<HASH> 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -17,7 +17,7 @@ var block = { hr: /^( *[-*_]){3,} *(?:\n+|$)/, heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/, nptable: noop, - lheading: /^([^\n]+)\n *(=|-){2,} *\n*/, + lheading: /^([^\n]+)\n ...
fix new lheading rule (2 chars) for markdown guide test.
remarkjs_remark
train
js
063c1ca6df57b69892486f53abace3b59cd9df10
diff --git a/Content/Filter/Connect.php b/Content/Filter/Connect.php index <HASH>..<HASH> 100644 --- a/Content/Filter/Connect.php +++ b/Content/Filter/Connect.php @@ -31,7 +31,7 @@ class Connect implements FilterInterface ->doRequest( $params->getMandatoryParam('method'), ...
No POST payload in case the payload is not set
Atlantic18_CoralSiteBundle
train
php
54b9c55af39529065cfba757bf78695ea1b28261
diff --git a/etcdserver/server_test.go b/etcdserver/server_test.go index <HASH>..<HASH> 100644 --- a/etcdserver/server_test.go +++ b/etcdserver/server_test.go @@ -53,11 +53,6 @@ func testServer(t *testing.T, ns int64) { ss[i] = srv } - // TODO: find fast way to trigger leader election - // TODO: introduce the wa...
etcdserver: remove useless sleep etcdserver.Do will block until there exists leader
etcd-io_etcd
train
go
cdbbbcde8d355474a38d2a3268422dc588e05056
diff --git a/src/urh/ui/views/SimulatorGraphicsView.py b/src/urh/ui/views/SimulatorGraphicsView.py index <HASH>..<HASH> 100644 --- a/src/urh/ui/views/SimulatorGraphicsView.py +++ b/src/urh/ui/views/SimulatorGraphicsView.py @@ -374,5 +374,6 @@ class SimulatorGraphicsView(QGraphicsView): for item in self.copied_...
fix crash when pasting to empty simulator scene
jopohl_urh
train
py
119da3e5922b01cdd69f9e46563c1e0f0c852df1
diff --git a/src/Aws/S3/S3SignatureV4.php b/src/Aws/S3/S3SignatureV4.php index <HASH>..<HASH> 100644 --- a/src/Aws/S3/S3SignatureV4.php +++ b/src/Aws/S3/S3SignatureV4.php @@ -31,14 +31,8 @@ class S3SignatureV4 extends SignatureV4 implements S3SignatureInterface */ public function signRequest(RequestInterface...
Fixed an issue with the SignatureV4 implementation when used with Amazon S3.
aws_aws-sdk-php
train
php
f43dd686f37bfbc33d65ce28095c0326d5ba4417
diff --git a/packages/core/is-v2-ready-yet/src/Footer.js b/packages/core/is-v2-ready-yet/src/Footer.js index <HASH>..<HASH> 100644 --- a/packages/core/is-v2-ready-yet/src/Footer.js +++ b/packages/core/is-v2-ready-yet/src/Footer.js @@ -31,7 +31,7 @@ class Footer extends React.Component { Project Board ...
is-v2-ready-yet page source url correction (#<I>)
parcel-bundler_parcel
train
js
b537f16effec3d74df3db324b90504a01dc55968
diff --git a/client/driver/rkt.go b/client/driver/rkt.go index <HASH>..<HASH> 100644 --- a/client/driver/rkt.go +++ b/client/driver/rkt.go @@ -599,6 +599,7 @@ networkLoop: if status, err := rktGetStatus(uuid); err == nil { for _, net := range status.Networks { if !net.IP.IsGlobalUnicast() { + d.logger.P...
Improve rkt driver network status poll loop The network status poll loop will now report any networks it ignored, as well as a no-networks situations.
hashicorp_nomad
train
go
0e5426b649c0895221e9078d217c93c8d882dfdb
diff --git a/src/toil/worker.py b/src/toil/worker.py index <HASH>..<HASH> 100644 --- a/src/toil/worker.py +++ b/src/toil/worker.py @@ -252,14 +252,18 @@ def main(): # The job is a checkpoint, and is being restarted after previously completing if jobGraph.checkpoint != None: logger.debug("...
Add comment about checkpoint restart (and comment indentation fixes)
DataBiosphere_toil
train
py
d582e58b6c3e446ffeefa1e41f4238e280971652
diff --git a/salt/modules/chocolatey.py b/salt/modules/chocolatey.py index <HASH>..<HASH> 100644 --- a/salt/modules/chocolatey.py +++ b/salt/modules/chocolatey.py @@ -298,7 +298,7 @@ def list_windowsfeatures(): return result['stdout'] -def install(name, version=None, source=None, force=False): +def install(nam...
Added the ability to pass install arguments to chocolatey packages
saltstack_salt
train
py
72ba5c2bd78da8bae5d0d8dcaf17454e0830b9ac
diff --git a/src/emir/recipes/image/shared.py b/src/emir/recipes/image/shared.py index <HASH>..<HASH> 100644 --- a/src/emir/recipes/image/shared.py +++ b/src/emir/recipes/image/shared.py @@ -189,8 +189,8 @@ class DirectImageCommon(object): # Basic processing # FIXME: ...
Removing BPM line, is not working
guaix-ucm_pyemir
train
py
fa5840c1f45ff541948f586bc6a10d33ce708baa
diff --git a/src/Omniphx/Forrest/Providers/Laravel/ForrestServiceProvider.php b/src/Omniphx/Forrest/Providers/Laravel/ForrestServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Omniphx/Forrest/Providers/Laravel/ForrestServiceProvider.php +++ b/src/Omniphx/Forrest/Providers/Laravel/ForrestServiceProvider.php @@ -2...
Fixed routes path for case-sensitive systems.
omniphx_forrest
train
php
6c2d9e4961c81231c390d42f06bdbc6b6929fc1c
diff --git a/ceph_deploy/__init__.py b/ceph_deploy/__init__.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/__init__.py +++ b/ceph_deploy/__init__.py @@ -1,3 +1,3 @@ -__version__ = '1.5.37' +__version__ = '1.5.38'
[RM-<I>] bump to <I>
ceph_ceph-deploy
train
py
2cdcc5a00102de4f9126406b0751add42983cff3
diff --git a/lib/get-webpack-config.js b/lib/get-webpack-config.js index <HASH>..<HASH> 100644 --- a/lib/get-webpack-config.js +++ b/lib/get-webpack-config.js @@ -105,8 +105,13 @@ module.exports = function (options) { output: { ascii_only: true }, + ...
refactor: improve webpack UglifyJsPlugin config
zuzucheFE_guido
train
js
df83cf798f28585a77e489bda5565a66ee741089
diff --git a/src/Testability.php b/src/Testability.php index <HASH>..<HASH> 100644 --- a/src/Testability.php +++ b/src/Testability.php @@ -30,10 +30,12 @@ class Testability $this->excludeDirs = $exclude; } + /* public function setCloverReport ($file) { $this->cloverXML = $file; } + */ public functio...
Commented out unused method (for now)
edsonmedina_php_testability
train
php
fc5d68ed94f849852f11089aef701a4148b0a4c7
diff --git a/juju/model.py b/juju/model.py index <HASH>..<HASH> 100644 --- a/juju/model.py +++ b/juju/model.py @@ -1521,7 +1521,7 @@ class Model: if raw: return result_status - + result_str = self._print_status_model(result_status) result_str += '\n' result_str...
Changes for lint.
juju_python-libjuju
train
py
7757b9472c6ce0d945413d179b2d32f1b4a2ec98
diff --git a/lib/yard/templates/helpers/base_helper.rb b/lib/yard/templates/helpers/base_helper.rb index <HASH>..<HASH> 100644 --- a/lib/yard/templates/helpers/base_helper.rb +++ b/lib/yard/templates/helpers/base_helper.rb @@ -39,12 +39,8 @@ module YARD::Templates::Helpers url end - def format_obje...
Remove unused methods from BaseHelper
lsegal_yard
train
rb
9444f242244c3fb3ccf83c23ec6cb87d0319d6bf
diff --git a/flake8_docstrings.py b/flake8_docstrings.py index <HASH>..<HASH> 100644 --- a/flake8_docstrings.py +++ b/flake8_docstrings.py @@ -6,6 +6,7 @@ included as module into flake8 """ import sys +from flake8_polyfill import stdin import pycodestyle try: import pydocstyle as pep257 @@ -15,7 +16,9 @@ exc...
Use flake8-polyfill to monkey-patch stdin In order to support flake8 2.x and 3.x, we need to rely on flake8-polyfill to provide a compatibility shim here. Once we release flake8-docstrings that only relies on Flake8 3.x we can drop this shim.
tylertrussell_flake8-docstrings-catnado
train
py,py
3d58672770c22d277ec674d9dc2a210d9762b545
diff --git a/lib/port.rb b/lib/port.rb index <HASH>..<HASH> 100644 --- a/lib/port.rb +++ b/lib/port.rb @@ -16,7 +16,7 @@ module Dataflow include Enumerable def each s = self - while 1 + loop do yield s.head s = s.tail end
Changed "while 1" to "loop do"
larrytheliquid_dataflow
train
rb
67ec981b873d7a83cc6a606bbd95b983af40416e
diff --git a/spyderlib/widgets/externalshell/pythonshell.py b/spyderlib/widgets/externalshell/pythonshell.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/pythonshell.py +++ b/spyderlib/widgets/externalshell/pythonshell.py @@ -387,10 +387,13 @@ The process may not exit as a result of clicking this b...
Spyder's remote console: in debug mode (SPYDER_DEBUG=True), Python interpreters are in verbose mode (-v command line option). Update Issue <I> Status: Fixed @Steve: this is the changeset I was referring to in my previous comment.
spyder-ide_spyder
train
py
9d08d245be143c417a9cd8803fb4b7d39d199ffc
diff --git a/salt/modules/ps.py b/salt/modules/ps.py index <HASH>..<HASH> 100755 --- a/salt/modules/ps.py +++ b/salt/modules/ps.py @@ -76,6 +76,8 @@ def top(num_processes=5, interval=3): else: cmdline = process.cmdline info = {'cmd': cmdline, + 'user': process.username, + ...
Add process username and status fields to top output
saltstack_salt
train
py
1e1c54d1756f1d16740f58fe8e778dac408b0406
diff --git a/app/controllers/clickfunnels_auth/user_sessions_controller.rb b/app/controllers/clickfunnels_auth/user_sessions_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/clickfunnels_auth/user_sessions_controller.rb +++ b/app/controllers/clickfunnels_auth/user_sessions_controller.rb @@ -24,7 +24,7 @@...
Allow for non-expiring tokens. Ugh.
Etison_clickfunnels_auth
train
rb
0ac9e854db9c1a6d50c45fc753823fa8015beeef
diff --git a/lib/addressable/idna/pure.rb b/lib/addressable/idna/pure.rb index <HASH>..<HASH> 100644 --- a/lib/addressable/idna/pure.rb +++ b/lib/addressable/idna/pure.rb @@ -301,7 +301,7 @@ module Addressable (class <<self; private :lookup_unicode_lowercase; end) def self.lookup_unicode_composition(unpacke...
Fixed a bug with Ruby <I>.x unicode composition lookups.
sporkmonger_addressable
train
rb
b3146683f24b7e9b2dcc19483857848f27ed1798
diff --git a/src/tilesource.js b/src/tilesource.js index <HASH>..<HASH> 100644 --- a/src/tilesource.js +++ b/src/tilesource.js @@ -65,7 +65,7 @@ $.TileSource = function( width, height, tileSize, tileOverlap, minLevel, maxLeve height: args[1], tileSize: args[2], tileOverlap: args[3...
applying patch provided by eikeon for position parameter constructor of TileSource. At some point I hope to deprecate most of these constructors that have more than two positional parameters.
openseadragon_openseadragon
train
js
5a471d0dda7630460d2ced114a19adbd6a1bab1c
diff --git a/src/Drupal/Driver/Fields/Drupal8/EntityReferenceHandler.php b/src/Drupal/Driver/Fields/Drupal8/EntityReferenceHandler.php index <HASH>..<HASH> 100644 --- a/src/Drupal/Driver/Fields/Drupal8/EntityReferenceHandler.php +++ b/src/Drupal/Driver/Fields/Drupal8/EntityReferenceHandler.php @@ -26,7 +26,7 @@ class E...
Fix condition to get the target bundle key when there are target bundles
jhedstrom_DrupalDriver
train
php