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
18bb16674e3b7632fde9901fd23f951901e85f03
diff --git a/src/Controller/UserRegistrationController.php b/src/Controller/UserRegistrationController.php index <HASH>..<HASH> 100644 --- a/src/Controller/UserRegistrationController.php +++ b/src/Controller/UserRegistrationController.php @@ -119,7 +119,7 @@ class UserRegistrationController extends AbstractActionContro...
getUserMapper method should be private
hrevert_HtUserRegistration
train
php
d791177659fd79f975eab5c0ba2929eef1c130b8
diff --git a/Kwc/Shop/Products/Directory/Controller.php b/Kwc/Shop/Products/Directory/Controller.php index <HASH>..<HASH> 100644 --- a/Kwc/Shop/Products/Directory/Controller.php +++ b/Kwc/Shop/Products/Directory/Controller.php @@ -5,10 +5,6 @@ class Kwc_Shop_Products_Directory_Controller extends Kwc_Directories_Item_Di...
shop-controller does not have editDialog, removed because it caused error with tabPanel
koala-framework_koala-framework
train
php
609a232216cf6114246d749124414b2eafaebd72
diff --git a/lib/config.js b/lib/config.js index <HASH>..<HASH> 100644 --- a/lib/config.js +++ b/lib/config.js @@ -4,6 +4,13 @@ var fs = require('fs'); var extend = require('extend'); var path = require('path'); +// Create the cfg dir if it does not exist +/* istanbul ignore next: Simple directory creation, we know...
[config] Remove browserify check. We have a separate lib for the broweserified config now.
nodecg_nodecg
train
js
2a21bf8474789a288bb70f2a4369f2425e595f83
diff --git a/etrago/cluster/gasclustering.py b/etrago/cluster/gasclustering.py index <HASH>..<HASH> 100755 --- a/etrago/cluster/gasclustering.py +++ b/etrago/cluster/gasclustering.py @@ -77,6 +77,8 @@ def create_gas_busmap(etrago): Integer weighting for each ch4_buses.index """ + MAX_W...
capped maximum bus weight to 1E5 in order to handle extra high/inf ch4 generator capacities from foreign nodes
openego_eTraGo
train
py
4e704ab26f4ed326dd4ca1c04e1355b619109d09
diff --git a/tests/test_wfgenerator.py b/tests/test_wfgenerator.py index <HASH>..<HASH> 100644 --- a/tests/test_wfgenerator.py +++ b/tests/test_wfgenerator.py @@ -9,4 +9,4 @@ class TestWFGenerator(object): return WorkflowGenerator() def test_steps_in_library(self, wf): - assert len(wf.steps_libra...
Fix reference to new StepsLibrary object
nlppln_nlppln
train
py
ed2d102c6fe438d15a8a3c0b270efbe5c431c101
diff --git a/filesystems/tests/test_path.py b/filesystems/tests/test_path.py index <HASH>..<HASH> 100644 --- a/filesystems/tests/test_path.py +++ b/filesystems/tests/test_path.py @@ -90,10 +90,13 @@ class TestPath(TestCase): self.assertEqual(Path().basename(), "") def test_dirname(self): - self.a...
Start to fix a few tests for Windows.
Julian_Filesystems
train
py
892302e4dfc65fcb8ab6ccdb1a81817fe6627f63
diff --git a/lib/generators/rails/templates/controller.rb b/lib/generators/rails/templates/controller.rb index <HASH>..<HASH> 100644 --- a/lib/generators/rails/templates/controller.rb +++ b/lib/generators/rails/templates/controller.rb @@ -2,6 +2,8 @@ class <%= controller_class_name %>Controller < ApplicationController...
Add a default `respond_to` for generated scaffolded controllers so they will work out of the box. This way users using `responders` will get a functional scaffold when using the Rails generator, without having to define the format by themselves. Based on plataformatec/devise#<I>.
plataformatec_responders
train
rb
1b4cb678ca944d81da6cd8d31ec94926873cff1a
diff --git a/src/main/java/com/codeborne/selenide/WebDriverRunner.java b/src/main/java/com/codeborne/selenide/WebDriverRunner.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codeborne/selenide/WebDriverRunner.java +++ b/src/main/java/com/codeborne/selenide/WebDriverRunner.java @@ -98,6 +98,10 @@ public class W...
Added method htmlUnit()
selenide_selenide
train
java
b6bd377a3c004969a994c47ac02aec0011b0c97c
diff --git a/webpack.config.js b/webpack.config.js index <HASH>..<HASH> 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,15 +3,21 @@ require('babel-loader'); require('json-loader'); module.exports = { - entry: { - keo: ['./src/keo.js'] - }, + entry: './src/keo.js', output: { ...
Added externals. Relates to #<I>
Wildhoney_Keo
train
js
e13f7817818aabbf7bd241ff956d8f1f5eefcca3
diff --git a/core/src/main/java/org/testcontainers/utility/ResourceReaper.java b/core/src/main/java/org/testcontainers/utility/ResourceReaper.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/testcontainers/utility/ResourceReaper.java +++ b/core/src/main/java/org/testcontainers/utility/ResourceReaper.java @...
Fix AutoRemove of Ryuk container (#<I>)
testcontainers_testcontainers-java
train
java
c6c82cb872d8025bccae25c8ded259eccbce3824
diff --git a/lib/sensu/api.rb b/lib/sensu/api.rb index <HASH>..<HASH> 100644 --- a/lib/sensu/api.rb +++ b/lib/sensu/api.rb @@ -302,9 +302,11 @@ module Sensu :occurrences => 1 }.to_json).callback do $redis.set('stash:test/test', '{"key": "value"}').callback do - Thin::Lo...
[testing] fix test scaffolding
sensu_sensu
train
rb
12762d81eee45c074cd679a1a6cdf472c00d44db
diff --git a/src/password/actions.js b/src/password/actions.js index <HASH>..<HASH> 100644 --- a/src/password/actions.js +++ b/src/password/actions.js @@ -228,7 +228,6 @@ function autoSignInError(id, error) { // TODO: proper error message // const errorMessage = l.ui.t(lock, ["error", "signIn", error.error], {cre...
Remove no longer needed console.log debug calls
auth0_lock
train
js,js
fb0c24527a1f69ffca2b44bdd259489f3c540f79
diff --git a/examples/blesh/main.go b/examples/blesh/main.go index <HASH>..<HASH> 100644 --- a/examples/blesh/main.go +++ b/examples/blesh/main.go @@ -357,6 +357,9 @@ func cmdSub(c *cli.Context) error { if err := doConnect(c); err != nil { return err } + if err := doDiscover(c); err != nil { + return err + } ...
blesh: discover profile before sub fix #<I>
currantlabs_ble
train
go
52b33589dc9d73554ec323d85b531b2991247ab8
diff --git a/lib/cancan/controller_additions.rb b/lib/cancan/controller_additions.rb index <HASH>..<HASH> 100644 --- a/lib/cancan/controller_additions.rb +++ b/lib/cancan/controller_additions.rb @@ -294,7 +294,7 @@ module CanCan # # class ApplicationController < ActionController::Base # rescue_from...
changing flash[:error] to flash[:alert] in rdocs - closes #<I>
ryanb_cancan
train
rb
7086a71b8464cc5b6783b19c93f876d323c7e9af
diff --git a/playhouse/sqlite_ext.py b/playhouse/sqlite_ext.py index <HASH>..<HASH> 100644 --- a/playhouse/sqlite_ext.py +++ b/playhouse/sqlite_ext.py @@ -554,6 +554,13 @@ def ClosureTable(model_class, foreign_key=None): return type(name, (BaseClosureTable,), {'Meta': Meta}) +@Node.extend(clone=False) +def dis...
Disqualify index operator for sqlite.
coleifer_peewee
train
py
bd3aeb20a1640849578b6526d1c9736de2b52fdc
diff --git a/airflow/www/security.py b/airflow/www/security.py index <HASH>..<HASH> 100644 --- a/airflow/www/security.py +++ b/airflow/www/security.py @@ -21,7 +21,7 @@ from flask import g from flask_appbuilder.security.sqla import models as sqla_models from flask_appbuilder.security.sqla.manager import SecurityMana...
[AIRFLOW-<I>] Fix isort problem (#<I>)
apache_airflow
train
py
8de67932cf7420b42c4ca5e20cb3301ff90e8046
diff --git a/moment.js b/moment.js index <HASH>..<HASH> 100644 --- a/moment.js +++ b/moment.js @@ -1409,7 +1409,9 @@ }; for (i in lists) { - makeList(lists[i]); + if (lists.hasOwnProperty(i)) { + makeList(lists[i]); + } } // for use by developers when extending th...
added hasOwnProperty check to lists enumeration
moment_moment
train
js
7c99635e4909b6904e89020b02a9193d5b7ea0d9
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java index <HASH>..<HASH> 100644 --- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java +...
Reversed logic of if to place null first CTR
apache_tinkerpop
train
java
eb2345d456eabc0ebada3a2e9bc007d00169b53e
diff --git a/spec/helper.rb b/spec/helper.rb index <HASH>..<HASH> 100644 --- a/spec/helper.rb +++ b/spec/helper.rb @@ -25,10 +25,6 @@ class TimeWithZone end end -def nsjsonserialization_on_other_than_macruby(engine) - engine == 'nsjsonserialization' && !macruby? -end - def jruby? defined?(RUBY_ENGINE) && RUB...
Don't test Oj on JRuby
intridea_multi_json
train
rb,rb
49eec6f1d3e3dd83956fbf6f8029bc277c2795dd
diff --git a/Kwf_js/Menu/Index.js b/Kwf_js/Menu/Index.js index <HASH>..<HASH> 100644 --- a/Kwf_js/Menu/Index.js +++ b/Kwf_js/Menu/Index.js @@ -191,7 +191,7 @@ Kwf.Menu.Index = Ext2.extend(Ext2.Toolbar, if (result.fullname && result.userSelfControllerUrl) { this.userToolbar.add({ i...
escape username in backend to prevent xss vulnerability
koala-framework_koala-framework
train
js
4c67e5729bff2cec59856eba5073a1c171b60cbf
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -46,7 +46,9 @@ function Shrinkwrap(options) { ? options.mirrors : false; - this.registry = new Registry({ + this.registry = options.registry instanceof Registry + ? options.registry + : new Registry({ ...
[fix] Allow pre-configured npmjs instances to be passed.
3rd-Eden_shrinkwrap
train
js
f96885d37549408a032f535e57edc1201ebc0be2
diff --git a/bambi/tests/test_model.py b/bambi/tests/test_model.py index <HASH>..<HASH> 100644 --- a/bambi/tests/test_model.py +++ b/bambi/tests/test_model.py @@ -1,4 +1,4 @@ -import pytest +import pytest, re from bambi.models import Term, Model from bambi.priors import Prior from os.path import dirname, join @@ -38...
Fixed the test of _filter_names It looks like some versions of pymc3 add a trailing '_' to transformed vars and some don't. Mine doesn't but it seems that the travis version does. So for consistency across pymc3 versions, the test strips off any trailing '_' found in the var names. Note that this is purely a test issu...
bambinos_bambi
train
py
e60bc2e68d9f18aab6214840c41a506723bc17b9
diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java b/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java index <HASH>..<HASH> 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java +...
Fixed issue #<I> about polymorphic cluster selection on distributed execution
orientechnologies_orientdb
train
java
75d80a2b14ffd6f61eb02f924bf8c484b08b5f87
diff --git a/lib/cm_client.js b/lib/cm_client.js index <HASH>..<HASH> 100644 --- a/lib/cm_client.js +++ b/lib/cm_client.js @@ -1,6 +1,6 @@ var Steam = require('../index.js'); var ByteBuffer = require('bytebuffer'); -var SteamCrypto = require('steam-crypto'); +var SteamCrypto = require('@doctormckay/steam-crypto'); v...
Fixed broken references to steam-crypto
DoctorMcKay_node-steam-client
train
js,js,js
b296b3cf8b37c046f7bb708de03232c0ada96017
diff --git a/pkg/dns/etcd_dns.go b/pkg/dns/etcd_dns.go index <HASH>..<HASH> 100644 --- a/pkg/dns/etcd_dns.go +++ b/pkg/dns/etcd_dns.go @@ -101,6 +101,15 @@ func (c *coreDNS) list(key string) ([]SrvRecord, error) { } srvRecord.Key = strings.TrimPrefix(string(n.Key), key) srvRecord.Key = strings.TrimSuffix(srvRe...
Skip non-bucket dns entry in federated bucket list (#<I>)
minio_minio
train
go
df28f53073deaf592eb98fad50bf841183539bf8
diff --git a/src/Money.php b/src/Money.php index <HASH>..<HASH> 100644 --- a/src/Money.php +++ b/src/Money.php @@ -354,6 +354,8 @@ final class Money implements JsonSerializable /** * @throws InvalidArgumentException if the given $money is zero. + * + * @psalm-return numeric-string */ pub...
Missing numeric-string type in ratioOf
moneyphp_money
train
php
c7d8fce6a6dfbd3d59abe0eef671cee67f5c7ffa
diff --git a/src/android/com/adobe/phonegap/push/PushPlugin.java b/src/android/com/adobe/phonegap/push/PushPlugin.java index <HASH>..<HASH> 100644 --- a/src/android/com/adobe/phonegap/push/PushPlugin.java +++ b/src/android/com/adobe/phonegap/push/PushPlugin.java @@ -138,6 +138,7 @@ public class PushPlugin extends Cordo...
✨🐧 Issue #<I>: Implement Android Oreo Notification badges
phonegap_phonegap-plugin-push
train
java
78a263a587218be7840a028d469aaf010a37bde1
diff --git a/spec/unit/transformer_spec.rb b/spec/unit/transformer_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/transformer_spec.rb +++ b/spec/unit/transformer_spec.rb @@ -29,6 +29,11 @@ describe Transproc::Transformer do it { expect(klass.container).to eq(container) } it { is_expected.to be_a(::Clas...
Add more tests to Transformer.[]
solnic_transproc
train
rb
49db7fa0fbbc4163c85c2ba9fc623572a30506b8
diff --git a/test/test-79-npm/nightmare/nightmare.meta.js b/test/test-79-npm/nightmare/nightmare.meta.js index <HASH>..<HASH> 100644 --- a/test/test-79-npm/nightmare/nightmare.meta.js +++ b/test/test-79-npm/nightmare/nightmare.meta.js @@ -1,10 +1,10 @@ 'use strict'; module.exports = function (stamp, flags) { - if ...
revoke nightmare from all ci platforms
zeit_pkg
train
js
ee21ee86871ad1fb9ee0c0b1d86dbebd754290d2
diff --git a/tasks/engines/fontforge.js b/tasks/engines/fontforge.js index <HASH>..<HASH> 100644 --- a/tasks/engines/fontforge.js +++ b/tasks/engines/fontforge.js @@ -55,9 +55,6 @@ module.exports = function(o, allDone) { else { logger.verbose(chalk.grey('fontforge: ') + line); } - if (line.match(vers...
Do not store fontforge version in options object.
sapegin_grunt-webfont
train
js
ff18f9d435ab462c85a8a0742d09ba5b8fd95cb5
diff --git a/rah_cache.php b/rah_cache.php index <HASH>..<HASH> 100644 --- a/rah_cache.php +++ b/rah_cache.php @@ -112,11 +112,11 @@ class rah_cache { */ public function update_lastmod() { - global $prefs, $rah_cache; + global $rah_cache; if(!empty($rah_cache['path'])) { file_put_contents( - $rah...
Textpattern doesn't update the lastmod value in memory. Need to get the up to date value from the database then.
gocom_rah_cache
train
php
a1350571e79aeb64b45f70d16491c29043166c22
diff --git a/routes/http.go b/routes/http.go index <HASH>..<HASH> 100644 --- a/routes/http.go +++ b/routes/http.go @@ -24,6 +24,8 @@ var routes = []route{ {"/", controllers.MainHandler}, {"/openidcallback", login.LoginCallbackHandler}, {"/startLogin", login.LoginHandler}, + {"/startTwitchLogin", login.TwitchLogin...
Add routes for twitch authentication.
TF2Stadium_Helen
train
go
07e1c8d806c8f5702dc2fba3fd96d5b7d7e20c6e
diff --git a/openquake/risklib/riskinput.py b/openquake/risklib/riskinput.py index <HASH>..<HASH> 100644 --- a/openquake/risklib/riskinput.py +++ b/openquake/risklib/riskinput.py @@ -173,7 +173,8 @@ class EpsilonGetter(object): If the ``asset_correlation`` is 1 the numbers are the same for all assets of the s...
Improved doctest [ci skip]
gem_oq-engine
train
py
0922eb024b5a4dacf62a71d1766753e717b77287
diff --git a/prow/gerrit/gerrit.go b/prow/gerrit/gerrit.go index <HASH>..<HASH> 100644 --- a/prow/gerrit/gerrit.go +++ b/prow/gerrit/gerrit.go @@ -212,6 +212,8 @@ func (c *Controller) queryProjectChanges(proj string) ([]gerrit.ChangeInfo, erro continue } + logrus.Infof("Change %s, last updated %s", change....
add some more log entries for gerrit
kubernetes_test-infra
train
go
087dca5aca0ec032663328b0055b800485db38fd
diff --git a/test/basic.js b/test/basic.js index <HASH>..<HASH> 100644 --- a/test/basic.js +++ b/test/basic.js @@ -185,11 +185,13 @@ tape("addon - sample query with an episode", function(t) { t.ok(resp && !isNaN(resp.availability), "has availability"); //t.ok(resp && !isNaN(resp.uploaders), "has uploaders"); + ...
we don't return map now, so fix test
jaruba_multipass-torrent
train
js
0feb8ea520031e73b38fefb921dea1d715ace38e
diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/serializer/sequencer/HiddenTokenSequencer.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/serializer/sequencer/HiddenTokenSequencer.java index <HASH>..<HASH> 100644 --- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/serializer/sequencer/HiddenTokenS...
fixed a regression introduced by the fix for [<I>]
eclipse_xtext-core
train
java
cc7d205b25298348ba4b79e9d3bfe18a391ed79d
diff --git a/src/resources/messaging.js b/src/resources/messaging.js index <HASH>..<HASH> 100644 --- a/src/resources/messaging.js +++ b/src/resources/messaging.js @@ -122,7 +122,6 @@ class Messaging extends ResourceBase { this.convs = {} this.ecies = ecies this.events = new EventEmitter() - this.unrea...
Convenience method for read status (#<I>)
OriginProtocol_origin-js
train
js
c572d63bba9b1cc5b220fadad398c92dc972b81f
diff --git a/systems/builder-plugin.js b/systems/builder-plugin.js index <HASH>..<HASH> 100644 --- a/systems/builder-plugin.js +++ b/systems/builder-plugin.js @@ -128,7 +128,7 @@ function builderPlugin(system) { const buildTask = this.state[buildSym][task.index]; if (buildTask.touched === false) { -...
quiet down builder debug a little by pushing new tasks to only 1 io line
node-sc2_core
train
js
e6e7600583d03b3421df233a78797c90f54277a2
diff --git a/src/components/validationMixin.js b/src/components/validationMixin.js index <HASH>..<HASH> 100755 --- a/src/components/validationMixin.js +++ b/src/components/validationMixin.js @@ -116,9 +116,7 @@ export default function validationMixin(strategy) { clearValidations={this.clearValidations} ...
Remove redundant forwarding of children property to wrapped component
jurassix_react-validation-mixin
train
js
581ff6749993c867d4e5279eb80eec5e719adfce
diff --git a/core/server/middleware/serve-favicon.js b/core/server/middleware/serve-favicon.js index <HASH>..<HASH> 100644 --- a/core/server/middleware/serve-favicon.js +++ b/core/server/middleware/serve-favicon.js @@ -45,7 +45,7 @@ function serveFavicon() { if (settingsCache.get('icon')) { ...
🐛 correct favicon redirects with subdirectory (#<I>) refs #<I>, #<I> Use our url util `urlFor` to ensure, the redirect includes the subdirectory, if set up.
TryGhost_Ghost
train
js
0c7732e644c632f8ebce57529ff24b2ce7932620
diff --git a/benchmark.js b/benchmark.js index <HASH>..<HASH> 100644 --- a/benchmark.js +++ b/benchmark.js @@ -309,14 +309,24 @@ run(fileNames.map(function(fileName) { res.on('data', function(chunk) { response += chunk; }).on('end', function() { - // Extract result from <te...
handle errors from Will Peavy's HTML Minifier
kangax_html-minifier
train
js
f527099061ab18bdc01e22a6cc8270c4002de92d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +# encoding: utf-8 + +import io import sys import os.path import setuptools @@ -6,10 +9,10 @@ import setuptools MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" -with open("README.rst") as fp: - long_d...
[ci skip] Update setup.py
thombashi_DataProperty
train
py
b56632318cc82a45b33d1329222a1dfc00ad2535
diff --git a/tests/test_middleware.py b/tests/test_middleware.py index <HASH>..<HASH> 100644 --- a/tests/test_middleware.py +++ b/tests/test_middleware.py @@ -87,19 +87,21 @@ class BarkMiddlewareTest(unittest2.TestCase): class BarkFilterTest(unittest2.TestCase): + @mock.patch.object(middleware.LOG, 'warn') ...
Test that LOG.warn() isn't called in the no-config case.
klmitch_bark
train
py
ed0b0b2a5420c2da9e3d289fc751df6a7bc88c9f
diff --git a/src/main/java/com/j256/ormlite/table/TableInfo.java b/src/main/java/com/j256/ormlite/table/TableInfo.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/j256/ormlite/table/TableInfo.java +++ b/src/main/java/com/j256/ormlite/table/TableInfo.java @@ -136,11 +136,11 @@ public class TableInfo<T, ID> { ...
Turned this into case insenstive field match.
j256_ormlite-core
train
java
558d6fc8d9c37567e2fcc49b0e69b791ee6e3546
diff --git a/stellar/command.py b/stellar/command.py index <HASH>..<HASH> 100644 --- a/stellar/command.py +++ b/stellar/command.py @@ -4,6 +4,7 @@ import hashlib import uuid import os import sys +from time import sleep from sqlalchemy.exc import ProgrammingError @@ -130,10 +131,14 @@ class CommandApp(object): ...
Wait if backgroud process is still working
fastmonkeys_stellar
train
py
8a8ebd46e0d4089a6d85589e8a5d056e821e22e0
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,6 +28,7 @@ gulp.task('lint', function () { * Task to run mocha tests */ gulp.task('mocha', function () { + require('./').settings.ENTITIESPATH = '../../../tests/unit/back/models/'; return gulp.src(path...
improvements on ENTITIESPATH
back4app_back4app-entity
train
js,js
2a3276c61955c0d9748469d022f672df3365ae08
diff --git a/lib/fog/bin.rb b/lib/fog/bin.rb index <HASH>..<HASH> 100644 --- a/lib/fog/bin.rb +++ b/lib/fog/bin.rb @@ -3,7 +3,7 @@ require 'fog/core/credentials' module Fog class << self def available_providers - @available_providers ||= Fog.providers.values.select {|provider| Kernel.const_get(provider).a...
make available check in bin resilient to nil
fog_fog
train
rb
47f8fefd1db1b7135c38248b16e895039769cd58
diff --git a/dropwizard-client/src/test/java/io/dropwizard/client/DropwizardApacheConnectorTest.java b/dropwizard-client/src/test/java/io/dropwizard/client/DropwizardApacheConnectorTest.java index <HASH>..<HASH> 100644 --- a/dropwizard-client/src/test/java/io/dropwizard/client/DropwizardApacheConnectorTest.java +++ b/d...
Remove @Ignore from DropwizardApacheConnectorTest
dropwizard_dropwizard
train
java
fcf09aff290b9de18d4c3fedd3d125ee3d50d569
diff --git a/getmac/getmac.py b/getmac/getmac.py index <HASH>..<HASH> 100644 --- a/getmac/getmac.py +++ b/getmac/getmac.py @@ -8,7 +8,7 @@ try: except ImportError: DEVNULL = open(os.devnull, 'wb') # Py2 -__version__ = '0.2.2' +__version__ = '0.2.3' DEBUG = False PY2 = sys.version_info[0] == 2 @@ -187,6 +18...
Fix Windows remote host on Python 3 - In Python 3, the ctypes method for getting the MAC of a remote host would fail. This was caused by the host being implicitly encoded to bytes in Python 2, but not in 3. Fixes #7
GhostofGoes_getmac
train
py
49e6be59b4fb28d60930e43ae361a03cbed6a2bd
diff --git a/lib/drizzlepac/astrodrizzle.py b/lib/drizzlepac/astrodrizzle.py index <HASH>..<HASH> 100644 --- a/lib/drizzlepac/astrodrizzle.py +++ b/lib/drizzlepac/astrodrizzle.py @@ -250,8 +250,8 @@ def run(configobj, wcsmap=None): image.clean() image.close() - del imgObjList ...
Fixed a bug in astrodrizzle that affects clean up after a successful run. git-svn-id: <URL>
spacetelescope_drizzlepac
train
py
140c98558ce4d2c868ba8c90b58e4f820fc2a6da
diff --git a/lib/solargraph/api_map.rb b/lib/solargraph/api_map.rb index <HASH>..<HASH> 100755 --- a/lib/solargraph/api_map.rb +++ b/lib/solargraph/api_map.rb @@ -493,6 +493,11 @@ module Solargraph meths += yard_map.get_instance_methods('Module') end end + if namespace == '' and root ...
Infer return types from domain (DSL) methods.
castwide_solargraph
train
rb,rb
23b866d2f9c6467e84bcc5d4baed979b62413278
diff --git a/examples/java/com/ibm/watson/developer_cloud/document_conversion/v1/DocumentConversionExample.java b/examples/java/com/ibm/watson/developer_cloud/document_conversion/v1/DocumentConversionExample.java index <HASH>..<HASH> 100644 --- a/examples/java/com/ibm/watson/developer_cloud/document_conversion/v1/Docum...
Removes the token from the example since the persistence uses it differently
watson-developer-cloud_java-sdk
train
java
0a986c34c81d5954620f7d004386afe9b30d4309
diff --git a/source/rafcon/gui/helpers/state.py b/source/rafcon/gui/helpers/state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/helpers/state.py +++ b/source/rafcon/gui/helpers/state.py @@ -115,6 +115,7 @@ def save_selected_state_as(): storage.save_state_machine_to_path(sm_m.state_machine, base_pa...
Add warning if no path is selected in dialog
DLR-RM_RAFCON
train
py,py
b4849422967819996a48b2ab8cbe945558bfa6b2
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -179,13 +179,6 @@ copy.base = function copyBase(src, dest, opts) { */ function rewrite(fp, dest, options) { - // options = options || {}; - // if (options.flatten) { - // dest = path.basename(dest); - // } - // if ...
clean up before updating rewrite logic
jonschlinkert_copy
train
js
fcd455ed03d418dccdbcbb88aa26844058f6bd70
diff --git a/src/Klein/Klein.php b/src/Klein/Klein.php index <HASH>..<HASH> 100644 --- a/src/Klein/Klein.php +++ b/src/Klein/Klein.php @@ -457,15 +457,10 @@ class Klein if ($_route === '*') { $match = true; - } elseif ($_route === '404' && !$matched && count($methods_matched) ...
Merging the logic of the <I> and <I> handlers
klein_klein.php
train
php
81b1690cd0f0bef3d87698a6a38654b70ecee8c5
diff --git a/changelog.rb b/changelog.rb index <HASH>..<HASH> 100755 --- a/changelog.rb +++ b/changelog.rb @@ -56,7 +56,7 @@ end arg_from = args["<from-commit>"] arg_to = args["<to-commit>"] -use_markdown = args["--md"] != nil +use_markdown = args["--md"] # Find if we're operating on tags tag_from = tagWithName...
fix(arguments): arguments for output formats now work correctly * fix: the output format is not stuck to `md` anymore and defaults to `slack`
iv-mexx_git-releaselog
train
rb
ddd3457d39fc5409f4fe98c8bbd83a429d825a13
diff --git a/elki-clustering/src/main/java/elki/clustering/kmeans/spherical/SphericalKMeans.java b/elki-clustering/src/main/java/elki/clustering/kmeans/spherical/SphericalKMeans.java index <HASH>..<HASH> 100644 --- a/elki-clustering/src/main/java/elki/clustering/kmeans/spherical/SphericalKMeans.java +++ b/elki-clusteri...
Repair spherical kmeans on unnormalized data.
elki-project_elki
train
java
68dec631b3b8d02a6d11d0c5ad13f9e952f25ab5
diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index <HASH>..<HASH> 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -1232,14 +1232,8 @@ success: function (res) { res = calculateObjectValue(that.options, that.options.responseHandler, [res], res); - ...
Fix #<I>: load method support pagination.
wenzhixin_bootstrap-table
train
js
56515036a8c921a08f61096bc4cd51ca638943a1
diff --git a/pghoard/restore.py b/pghoard/restore.py index <HASH>..<HASH> 100644 --- a/pghoard/restore.py +++ b/pghoard/restore.py @@ -7,6 +7,7 @@ See LICENSE for details from __future__ import print_function from .common import lzma_decompressor, lzma_open_read, default_log_format_str from .errors import Error +fro...
create_recovery_conf: properly quote recovery.conf entries Use psycopg2.extensions.adapt to properly quote the primary_conninfo and trigger_file entries in the generated recovery.conf. Previously any callers had to make sure they passed in a quoted form (including enclosing quotes) of the connection string.
aiven_pghoard
train
py
c3c8b7f5cad2a479bac193d94d2328f8ced3b8c3
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ module.exports = function renameOverwrite (oldPath, newPath) { case 'EEXIST': return rimraf(newPath) .then(() => rename(oldPath, newPath)) - // weird Windows shit + ...
refactor: better language in comments
zkochan_rename-overwrite
train
js
cc0ea37c300c60e35eea72c44491a803277bab7e
diff --git a/test/test-server-metadata.js b/test/test-server-metadata.js index <HASH>..<HASH> 100644 --- a/test/test-server-metadata.js +++ b/test/test-server-metadata.js @@ -7,6 +7,9 @@ var exec = require('child_process').exec; var path = require('path'); var util = require('util'); +// TODO: convert to tap test a...
test: mark test-server-metadata for tap@1 This is the last test that is incompatible with tap@1, mainly due to the lack of any TAP compliant output and in its place a bunch of TAP-like noise that is mistaken for unplanned nested tests. See isaacs/node-tap#<I>
strongloop_strong-pm
train
js
4f2195af2b666ab078d03e4197185adb77b55e25
diff --git a/internal/terraform/node_resource_abstract.go b/internal/terraform/node_resource_abstract.go index <HASH>..<HASH> 100644 --- a/internal/terraform/node_resource_abstract.go +++ b/internal/terraform/node_resource_abstract.go @@ -143,12 +143,17 @@ func (n *NodeAbstractResource) References() []*addrs.Reference ...
collect references from replace_triggered_by The replace_triggered_by expressions create edges in the graph, so must be returned in the References method.
hashicorp_terraform
train
go
65028381674eea5b2ef3f627a675539f9705b672
diff --git a/core/src/test/java/tech/tablesaw/filters/TimeDependentFilteringTest.java b/core/src/test/java/tech/tablesaw/filters/TimeDependentFilteringTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/tech/tablesaw/filters/TimeDependentFilteringTest.java +++ b/core/src/test/java/tech/tablesaw/filters/TimeD...
Remove unused variables (#<I>)
jtablesaw_tablesaw
train
java
bc2a706b5749a0989121094e7199de0b817848d1
diff --git a/src/main/java/com/github/jasminb/jsonapi/ResourceConverter.java b/src/main/java/com/github/jasminb/jsonapi/ResourceConverter.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/jasminb/jsonapi/ResourceConverter.java +++ b/src/main/java/com/github/jasminb/jsonapi/ResourceConverter.java @@ -819,8...
Always removing relationship field (also if it has a null null) as it should never be part of attributes (#<I>)
jasminb_jsonapi-converter
train
java
c50b2e3b5e13f8af636b4c3ae69683c883f599cf
diff --git a/js/okex.js b/js/okex.js index <HASH>..<HASH> 100644 --- a/js/okex.js +++ b/js/okex.js @@ -1314,7 +1314,7 @@ module.exports = class okex extends Exchange { 'datetime': this.iso8601 (timestamp), }); } - return rates; + return this.sortBy (rates, 'timestamp...
okex-sort-fundingRate
ccxt_ccxt
train
js
4a23fa66297eb19226b6220ba3eb258f34969dfb
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,8 +5,12 @@ For full docs visit https://docs.bigchaindb.com """ from setuptools import setup, find_packages +import sys +if sys.version_info < (3, 6): + sys.exit('Please use Python version 3.6 or higher.') + # ge...
Problem: Python version not check before running (#<I>) (#<I>) Solution: Check python version
bigchaindb_bigchaindb
train
py
05003d305ab7f1a8d373793e144cf0ac5e41a0c4
diff --git a/src/inner-slider.js b/src/inner-slider.js index <HASH>..<HASH> 100644 --- a/src/inner-slider.js +++ b/src/inner-slider.js @@ -368,7 +368,9 @@ export class InnerSlider extends React.Component { window.ontouchmove = null } swipeStart = (e) => { - this.disableBodyScroll() + if (this.props.ver...
fixed bug related to vertical body scroll while swiping
akiran_react-slick
train
js
62857cfa45e65fd31d6f90532a3a1988a24ed2b0
diff --git a/ndio/remote/boss/tests/int_test_group.py b/ndio/remote/boss/tests/int_test_group.py index <HASH>..<HASH> 100644 --- a/ndio/remote/boss/tests/int_test_group.py +++ b/ndio/remote/boss/tests/int_test_group.py @@ -59,8 +59,6 @@ class ProjectGroupTest(unittest.TestCase): self.existing_grp_name = 'int_t...
Moved creation of test group. No need to create test group in setUpClass().
jhuapl-boss_intern
train
py
2a20630f2fa1d3acdab217b143f7279f945cbe6f
diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index <HASH>..<HASH> 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -352,7 +352,7 @@ describe('browser-window module', function () { describe('BrowserWindow.setContentBounds(bounds)', function () {...
Use same position as setPosition test
electron_electron
train
js
95df8cbee7198f8986c89e7ef679acdfa9e7d31b
diff --git a/src/Strategy/PrivateCacheStrategy.php b/src/Strategy/PrivateCacheStrategy.php index <HASH>..<HASH> 100644 --- a/src/Strategy/PrivateCacheStrategy.php +++ b/src/Strategy/PrivateCacheStrategy.php @@ -11,6 +11,19 @@ use Kevinrob\GuzzleCache\Storage\DoctrineCacheWrapper; use Psr\Http\Message\RequestInterface;...
Add PHPDoc for PrivateCacheStrategy
Kevinrob_guzzle-cache-middleware
train
php
f2a00b7d8cec2f1119108304295829f13993329b
diff --git a/tunable/tunablemanager.py b/tunable/tunablemanager.py index <HASH>..<HASH> 100644 --- a/tunable/tunablemanager.py +++ b/tunable/tunablemanager.py @@ -349,8 +349,9 @@ class TunableManager(object): parser.add_argument(*register['save'], type=str, action=SaveTunablesAction) @classmethod - ...
made tunable load conditionally reset the state
csachs_tunable
train
py
c2dcd88b073aedb9d85f7e7f9e230e9d9a9fbfbe
diff --git a/lib/table.rb b/lib/table.rb index <HASH>..<HASH> 100644 --- a/lib/table.rb +++ b/lib/table.rb @@ -224,7 +224,7 @@ module Enumerable # # +---------+-----------+--------+ # def to_text_table(options = {}) - table = Text::Table.new :rows => self.to_a + table = Text::Table.new :rows => s...
fixed Enumerable#to_text_table modifying self when :first_row_is_head or :last_row_is_foot is set to true
aptinio_text-table
train
rb
6ba9e0a6575446550807e70e2a9fa8f3a778a6b0
diff --git a/lib/kafka/version.rb b/lib/kafka/version.rb index <HASH>..<HASH> 100644 --- a/lib/kafka/version.rb +++ b/lib/kafka/version.rb @@ -1,3 +1,3 @@ module Kafka - VERSION = "0.1.4" + VERSION = "0.1.5" end
Bump to version <I>
zendesk_ruby-kafka
train
rb
98e153d2fb126e27a27ca8370b73e65c0babd90c
diff --git a/pantheon/scripts/tokens.py b/pantheon/scripts/tokens.py index <HASH>..<HASH> 100644 --- a/pantheon/scripts/tokens.py +++ b/pantheon/scripts/tokens.py @@ -52,7 +52,7 @@ def tokenize_corpora(): for text_fname in text_files: json_fname = text_fname.split('.')[0] + '.json' - if os.path.i...
Fix mistake that results in all srcs being re-tokenized every time
carawarner_pantheon
train
py
0960fc01466d7708dfa3f6c59d7c32381f742e02
diff --git a/staff/__init__.py b/staff/__init__.py index <HASH>..<HASH> 100644 --- a/staff/__init__.py +++ b/staff/__init__.py @@ -1,7 +1,7 @@ __version_info__ = { 'major': 0, 'minor': 3, - 'micro': 2, + 'micro': 3, 'releaselevel': 'final', 'serial': 0 }
bumped the version to <I>
callowayproject_django-staff
train
py
621ac4fd477286387ee934deb65fdf31885631c0
diff --git a/src/Console/Shell.php b/src/Console/Shell.php index <HASH>..<HASH> 100644 --- a/src/Console/Shell.php +++ b/src/Console/Shell.php @@ -184,7 +184,6 @@ class Shell ['tasks'], ['associative' => ['tasks']] ); - $this->_io->setLoggers(true); if (isset($this->...
Remove redundant setLoggers() call. This call is no longer necessary as the logging levels are set in ShellDispatcher. Refs #<I>
cakephp_cakephp
train
php,php
4432fe220a71bcb48c5c3fcec2158404d61b8974
diff --git a/c7n/resources/vpc.py b/c7n/resources/vpc.py index <HASH>..<HASH> 100644 --- a/c7n/resources/vpc.py +++ b/c7n/resources/vpc.py @@ -654,10 +654,10 @@ class SGPermission(Filter): OnlyPorts: [22, 443, 80] - type: egress - IpRanges: - - value_type: cidr - - op: in - ...
docs - fix documentation about matching Cidr on security-groups (#<I>)
cloud-custodian_cloud-custodian
train
py
d228ff9fbd386ea5c4b0bdd792dd3be8bf01895d
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,6 +1,7 @@ const gulp = require('gulp'); const glob = require('glob'); const ts = require('gulp-typescript'); +const execa = require('execa'); const utils = require('./Tools/gulp/utils'); const tasks = { @...
Tools: Improve tsc watch
laurent22_joplin
train
js
ab0b3a314c6b306300748826289944c028dbedc1
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java b/flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java +++ b/f...
Remove error message in execution graph for concurrent state changes that are fully acceptable.
apache_flink
train
java
e8d43a34a4c2debac87321bf77aa3ea7f22f0d05
diff --git a/lib/node-libnmap.js b/lib/node-libnmap.js index <HASH>..<HASH> 100644 --- a/lib/node-libnmap.js +++ b/lib/node-libnmap.js @@ -180,7 +180,8 @@ var version = 'v0.0.7' } if (opts.ports) { - if (!/(\d+){1,6}|((\d+){1,6}\-(\d+){1,6})/.test(opts.ports)) + /* http://stackoverflow.com...
setup: verify() methods: setup: verify(): Updated regex & comment to verify port ranges
jas-_node-libnmap
train
js
a5d45f66e1f71bb5eda417c688db0ea08b474903
diff --git a/packages/ember-routing/lib/vendor/route-recognizer.js b/packages/ember-routing/lib/vendor/route-recognizer.js index <HASH>..<HASH> 100644 --- a/packages/ember-routing/lib/vendor/route-recognizer.js +++ b/packages/ember-routing/lib/vendor/route-recognizer.js @@ -186,9 +186,9 @@ define("route-recognizer", ...
Update route-recognizer with wildcard fixes
emberjs_ember.js
train
js
f91c8ddac66a69aeb2a5217a38ff0dd6ced48d54
diff --git a/src/main/java/com/googlecode/lanterna/graphics/ThemedTextGraphics.java b/src/main/java/com/googlecode/lanterna/graphics/ThemedTextGraphics.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/googlecode/lanterna/graphics/ThemedTextGraphics.java +++ b/src/main/java/com/googlecode/lanterna/graphics/Theme...
Return yourself after call applyThemeStyle
mabe02_lanterna
train
java
afaf982529e52c0f44fffad2b4c599cc5a8cf940
diff --git a/packages/firestore/rollup.config.js b/packages/firestore/rollup.config.js index <HASH>..<HASH> 100644 --- a/packages/firestore/rollup.config.js +++ b/packages/firestore/rollup.config.js @@ -194,7 +194,11 @@ const browserBuilds = [ // MARK: Node builds const nodeBuildPlugins = [ - ...es5BuildPlugins, +...
Remove mangling from Node build (#<I>)
firebase_firebase-js-sdk
train
js
4d2c3f442c041dbcaabab7c93c6bad55ddd0d440
diff --git a/lib/base.js b/lib/base.js index <HASH>..<HASH> 100644 --- a/lib/base.js +++ b/lib/base.js @@ -51,8 +51,8 @@ class TeamspeakQuery extends EventEmitter { */ disconnect() { return new Promise((resolve, reject) => { - while(this.queue.length) - this.queue.pop(); + const error = new...
Add TeamspeakQuery.rejectPending/2 method Calling this function will reject all pending commands with the given reason. This might be useful for TeamspeakQuery.Custom
schroffl_teamspeak-query
train
js
ce1c69d94c3efdb1f287015f851b17db8fa205b1
diff --git a/uri_test.go b/uri_test.go index <HASH>..<HASH> 100644 --- a/uri_test.go +++ b/uri_test.go @@ -26,15 +26,6 @@ var uriTests = []testURI{ canon: "amqp://user:pass@host:10000/vhost", }, - // this fails due to net/url not parsing pct-encoding in host - // testURI{url: "amqp://user%61:%61pass@ho%61st:1...
Remove commented URI test We trust the community to feedback if % in URIs are an issue
streadway_amqp
train
go
7cd66e951c1ea58fa7fba4542fcd763b1d875725
diff --git a/detectem/core.py b/detectem/core.py index <HASH>..<HASH> 100644 --- a/detectem/core.py +++ b/detectem/core.py @@ -249,20 +249,24 @@ class Detector(): for plugin in generic_plugins: pm = self.apply_plugin_matchers(plugin, entry) - if pm: - pl...
Add support for hints from generic plugins
alertot_detectem
train
py
913dcc0dcc79e2ce87a4c3e52a1affe2aaae9948
diff --git a/src/main/java/org/tehuti/metrics/stats/Percentiles.java b/src/main/java/org/tehuti/metrics/stats/Percentiles.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/tehuti/metrics/stats/Percentiles.java +++ b/src/main/java/org/tehuti/metrics/stats/Percentiles.java @@ -108,6 +108,13 @@ public class Percent...
Fixed Percentiles so samples get cleared properly.
tehuti-io_tehuti
train
java
f592d43b38624136c033abc9c8330509356bdaef
diff --git a/modules/sheet/editTags.js b/modules/sheet/editTags.js index <HASH>..<HASH> 100644 --- a/modules/sheet/editTags.js +++ b/modules/sheet/editTags.js @@ -5,6 +5,7 @@ const filter = require('lodash/filter') const parallel = require('run-parallel') const addSuggest = require('suggest-box') const TagHelper = r...
use normalizeChannel on new tag names
ssbc_patchwork
train
js
a4e87faeb8bebc38b7b915120935a10872939a7e
diff --git a/js/trackView.js b/js/trackView.js index <HASH>..<HASH> 100755 --- a/js/trackView.js +++ b/js/trackView.js @@ -116,7 +116,8 @@ var igv = (function (igv) { target; self.igvTrackDragScrim = $('<div class="igv-track-drag-scrim">')[0]; - $(self.trackDiv).append(self.ig...
Issue <I>. Drag & drop. Track drag scrim now child of viewport.
igvteam_igv.js
train
js
951ea0e203178e958a261e292ab0ae6b6cd87f12
diff --git a/django_user_agents/__init__.py b/django_user_agents/__init__.py index <HASH>..<HASH> 100644 --- a/django_user_agents/__init__.py +++ b/django_user_agents/__init__.py @@ -1 +1 @@ -VERSION = (0, 1) \ No newline at end of file +VERSION = (0, 1, 1) \ No newline at end of file diff --git a/setup.py b/setup.py i...
Bumped version number to <I>.
selwin_django-user_agents
train
py,py
2c1a34e331b1cc9513263b369a848dc500866ea7
diff --git a/eventsourcing/postgres.py b/eventsourcing/postgres.py index <HASH>..<HASH> 100644 --- a/eventsourcing/postgres.py +++ b/eventsourcing/postgres.py @@ -426,7 +426,7 @@ class PostgresApplicationRecorder( "originator_version integer NOT NULL, " "topic text, " "state bytea...
Changed notification_id from SERIAL to BIGSERIAL.
johnbywater_eventsourcing
train
py
a3ecb671e6fb5282c2e727b04b79a67bbf8a24b8
diff --git a/src/input.js b/src/input.js index <HASH>..<HASH> 100644 --- a/src/input.js +++ b/src/input.js @@ -17,7 +17,9 @@ var Input = function(app, container) { isMiddleDown: false, isRightDown: false, x: null, - y: null + y: null, + dx: 0, + dy: 0 }; this._addEvents(app); @@ -63,6...
add new delta x/y to mouse
jansedivy_potion
train
js
1bb92346fa5d924c23aeb01dc07f368a9e8b9568
diff --git a/config/karma/config.js b/config/karma/config.js index <HASH>..<HASH> 100644 --- a/config/karma/config.js +++ b/config/karma/config.js @@ -6,8 +6,6 @@ module.exports = function (config) { basePath: '../../', - concurrency: 2, - files: [ 'test/unit/**/*.js' ...
build: set concurrency only for local tests
chrisguttandin_vehicles
train
js
c3067c65a79f309abf47a851e0f28a7c454b825c
diff --git a/aikif/dataTools/cls_dataset.py b/aikif/dataTools/cls_dataset.py index <HASH>..<HASH> 100644 --- a/aikif/dataTools/cls_dataset.py +++ b/aikif/dataTools/cls_dataset.py @@ -1,5 +1,6 @@ -# cls_dataset.py written by Duncan Murray 25/6/2014 - +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# cls_dataset.py clas...
correct header, login/out keeps schema
acutesoftware_AIKIF
train
py
a35520abace41a87b455b15398be630e7ef5b2da
diff --git a/lib/lumber/level_util.rb b/lib/lumber/level_util.rb index <HASH>..<HASH> 100644 --- a/lib/lumber/level_util.rb +++ b/lib/lumber/level_util.rb @@ -3,7 +3,7 @@ module Lumber # So we have a named thread and can tell which we are in Thread.list class MonitorThread < Thread - attr_accessor ...
self refers to the module here, not the thread. And renamed :exit to :should_exit to avoid conflicts with the Kernel#exit method.
wr0ngway_lumber
train
rb
58b5e827ff5852798639a234715c158537ba4195
diff --git a/ortstore/ortstore.go b/ortstore/ortstore.go index <HASH>..<HASH> 100644 --- a/ortstore/ortstore.go +++ b/ortstore/ortstore.go @@ -86,7 +86,7 @@ func (vsc *OrtStore) Set(key []byte, value []byte) { if bytes.Equal(key, rediscache.BYTES_SHUTDOWN) && bytes.Equal(value, rediscache.BYTES_NOW) { vsc.vs.Disab...
Changed GatherStats to just Stats
pandemicsyn_oort
train
go
adac1e913121c96529c0f9f51b7f4a4b4ba19804
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -4,9 +4,7 @@ var assert = require('assert') describe('builder', function () { it('builds no directives', function () { - var result = builder({ - directives: {} - }) + var result = build...
Minor: shorten a test declaration to one line
helmetjs_content-security-policy-builder
train
js
75dfc19f679dc62a2d0713cbf7415b2c6dc6e0cb
diff --git a/pyqode/python/modes/autoindent.py b/pyqode/python/modes/autoindent.py index <HASH>..<HASH> 100644 --- a/pyqode/python/modes/autoindent.py +++ b/pyqode/python/modes/autoindent.py @@ -121,6 +121,10 @@ class PyAutoIndentMode(AutoIndentMode): return len(open_p), len(closed_p), open_p, closed_p ...
Fix infinite recursion if no symbol matcher has been installed
pyQode_pyqode.python
train
py
b2cd99decec410e6fbc920d8e72c0504e9db0e93
diff --git a/lib/catarse_pagarme/configuration.rb b/lib/catarse_pagarme/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/catarse_pagarme/configuration.rb +++ b/lib/catarse_pagarme/configuration.rb @@ -1,9 +1,11 @@ module CatarsePagarme class Configuration - attr_accessor :api_key + attr_accessor :api_ke...
added slip_tax and credit_card_tax into configuration for get the fee
catarse_catarse_pagarme
train
rb
1d1b8e28589c8210a476abfdcacee276bf4ce43c
diff --git a/beyond/frames/stations.py b/beyond/frames/stations.py index <HASH>..<HASH> 100644 --- a/beyond/frames/stations.py +++ b/beyond/frames/stations.py @@ -34,7 +34,7 @@ class TopocentricFrame(Frame): from ..orbits.listeners import stations_listeners, Listener - listeners = [] + listen...
User listeners merged to stations' when computing visibility
galactics_beyond
train
py