hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
a3b02f3f8b78ed36eaf05c78a91920eebef19b4c | diff --git a/moto/iam/models.py b/moto/iam/models.py
index <HASH>..<HASH> 100644
--- a/moto/iam/models.py
+++ b/moto/iam/models.py
@@ -135,6 +135,14 @@ class User(object):
def get_all_access_keys(self):
return self.access_keys
+ def delete_access_key(self, access_key_id):
+ for key in self.acc... | Added get_user and delete_access_key endpoints. | spulec_moto | train |
1623ae0d7c71f9149c958250b0221ea9d78cc157 | diff --git a/API/ReferenceResolverInterface.php b/API/ReferenceResolverInterface.php
index <HASH>..<HASH> 100644
--- a/API/ReferenceResolverInterface.php
+++ b/API/ReferenceResolverInterface.php
@@ -9,7 +9,7 @@ namespace Kaliop\eZMigrationBundle\API;
interface ReferenceResolverInterface
{
/**
- * @param stri... | Allow resolving references when setting role names | kaliop-uk_ezmigrationbundle | train |
c5f1e98124f2df4b1f1194727865a1423c381883 | diff --git a/structure.go b/structure.go
index <HASH>..<HASH> 100644
--- a/structure.go
+++ b/structure.go
@@ -188,14 +188,6 @@ func flattenInstances(list []elb.Instance) []string {
// Takes the result of flatmap.Expand for an array of strings
// and returns a []string
func expandStringList(configured []interface{})... | helper/schema: test schema diffs with the interpolation splits | terraform-providers_terraform-provider-aws | train |
671c1476b7bcc20da69bed82df1075f7b7ef0674 | diff --git a/src/Jobby/BackgroundJob.php b/src/Jobby/BackgroundJob.php
index <HASH>..<HASH> 100644
--- a/src/Jobby/BackgroundJob.php
+++ b/src/Jobby/BackgroundJob.php
@@ -109,8 +109,8 @@ class BackgroundJob
*/
private function getLockFile()
{
- $tmp = $this->tmpDir;
- $job = $this->job;
+ ... | proper escape the name for the lockfile | jobbyphp_jobby | train |
dc8a302ddab17fd4b6dcaa552ee039adc24eb9c5 | diff --git a/app.py b/app.py
index <HASH>..<HASH> 100644
--- a/app.py
+++ b/app.py
@@ -18,7 +18,7 @@ from config import config
# Set up logging
logfilepath = os.path.join(os.path.dirname(os.path.abspath(__file__)),
- 'server.log')
+ config.get("Server Parameter... | Configured app.py to find the logfile setting in config.txt | NYUCCL_psiTurk | train |
3486a27bee3c039d4b0b0c241643271ace3efaa7 | diff --git a/sharding-core/src/main/java/io/shardingsphere/core/rewrite/SQLRewriteEngine.java b/sharding-core/src/main/java/io/shardingsphere/core/rewrite/SQLRewriteEngine.java
index <HASH>..<HASH> 100644
--- a/sharding-core/src/main/java/io/shardingsphere/core/rewrite/SQLRewriteEngine.java
+++ b/sharding-core/src/main... | pass through DataSourcePropertyManager. | apache_incubator-shardingsphere | train |
1dd7b386d0e1e943b16dd2f941e163e17b04687c | diff --git a/src/Providers/LighthouseServiceProvider.php b/src/Providers/LighthouseServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/LighthouseServiceProvider.php
+++ b/src/Providers/LighthouseServiceProvider.php
@@ -18,7 +18,7 @@ class LighthouseServiceProvider extends ServiceProvider
$this-... | remove method (not available in Lumen) | nuwave_lighthouse | train |
bc4590ad4f7c5633569215557c353a80c196217a | diff --git a/h2o-algos/src/test/java/hex/tree/drf/DRFTest.java b/h2o-algos/src/test/java/hex/tree/drf/DRFTest.java
index <HASH>..<HASH> 100755
--- a/h2o-algos/src/test/java/hex/tree/drf/DRFTest.java
+++ b/h2o-algos/src/test/java/hex/tree/drf/DRFTest.java
@@ -1210,7 +1210,7 @@ public class DRFTest extends TestUtil {
... | Fix DRF JUnit path issue. | h2oai_h2o-3 | train |
1c1570fdcac915232660758be02e91f636d2f16c | diff --git a/pyemma/util/_config.py b/pyemma/util/_config.py
index <HASH>..<HASH> 100644
--- a/pyemma/util/_config.py
+++ b/pyemma/util/_config.py
@@ -17,6 +17,7 @@
from __future__ import absolute_import, print_function
+import six
from six.moves.configparser import ConfigParser
import os
import shutil
@@ -32,6... | fix py2 issue (missing exception) | markovmodel_PyEMMA | train |
9c2e5e74540b339f49b98fd74b149ea78d32ffb7 | diff --git a/decidim-proposals/lib/decidim/proposals/component.rb b/decidim-proposals/lib/decidim/proposals/component.rb
index <HASH>..<HASH> 100644
--- a/decidim-proposals/lib/decidim/proposals/component.rb
+++ b/decidim-proposals/lib/decidim/proposals/component.rb
@@ -108,7 +108,7 @@ Decidim.register_component(:propo... | Simplify SQL query for endorsement stats (#<I>) | decidim_decidim | train |
fde75762f9d11379f646aea06d03d354db989850 | diff --git a/test/smart_titles/helper_test.rb b/test/smart_titles/helper_test.rb
index <HASH>..<HASH> 100644
--- a/test/smart_titles/helper_test.rb
+++ b/test/smart_titles/helper_test.rb
@@ -7,9 +7,26 @@ class SmartTitlesHelperTest < ActionView::TestCase
super
@av = ActionView::Base.new
@view_flow = Acti... | Lame excuse! Caught the previous bug in test | semaperepelitsa_smart_titles | train |
8d6041ef85d8d18a48a928d0e358b58da3495d02 | diff --git a/structurizr-core/src/com/structurizr/AbstractWorkspace.java b/structurizr-core/src/com/structurizr/AbstractWorkspace.java
index <HASH>..<HASH> 100644
--- a/structurizr-core/src/com/structurizr/AbstractWorkspace.java
+++ b/structurizr-core/src/com/structurizr/AbstractWorkspace.java
@@ -116,41 +116,6 @@ publ... | Removed the workspace source property, as this feature is no longer supported. | structurizr_java | train |
78fbca0a1c15f8c38fa482ecb8d316eacd3f5e6f | diff --git a/bmemcached/protocol.py b/bmemcached/protocol.py
index <HASH>..<HASH> 100644
--- a/bmemcached/protocol.py
+++ b/bmemcached/protocol.py
@@ -444,6 +444,32 @@ class Protocol(threading.local):
flags, value = struct.unpack('!L%ds' % (bodylen - 4, ), extra_content)
return self.deserialize(valu... | Added NOOP support (#<I>)
We need some basic `is_alive()` function for our memcache client. We currently just call `set()` on a special key and check the result, a NOOP would be better | jaysonsantos_python-binary-memcached | train |
e8e9ad614cb35cadb4a49bf4d7e102f09933bc4c | diff --git a/components/dashboards-web-component/src/utils/WidgetClassRegistry.js b/components/dashboards-web-component/src/utils/WidgetClassRegistry.js
index <HASH>..<HASH> 100644
--- a/components/dashboards-web-component/src/utils/WidgetClassRegistry.js
+++ b/components/dashboards-web-component/src/utils/WidgetClassR... | Use base Widget class to check version and patch subscribe method. | wso2_carbon-dashboards | train |
e79193f852238816a9eeb26fbf1e94b369911718 | diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/time_zone_test.rb
+++ b/activesupport/test/time_zone_test.rb
@@ -274,6 +274,11 @@ class TimeZoneTest < Test::Unit::TestCase
assert_raise(ArgumentError) { ActiveSupport::Time... | Test for unknown zone with nil utc_offset | rails_rails | train |
9382684a6d2e11dd25e41a31b455bcbdc434d0df | diff --git a/lib/protocol/Connection.js b/lib/protocol/Connection.js
index <HASH>..<HASH> 100644
--- a/lib/protocol/Connection.js
+++ b/lib/protocol/Connection.js
@@ -28,6 +28,7 @@ var part = require('./part');
var MessageType = common.MessageType;
var MessageTypeName = common.MessageTypeName;
var SegmentKind = comm... | do not treat an error segment with only a warning as an error. This commit closes #<I>. | SAP_node-hdb | train |
fcb50cdf195a39887c979cedd70214c829665806 | diff --git a/src/javascript/lib/core/erlang_compat/lists.js b/src/javascript/lib/core/erlang_compat/lists.js
index <HASH>..<HASH> 100644
--- a/src/javascript/lib/core/erlang_compat/lists.js
+++ b/src/javascript/lib/core/erlang_compat/lists.js
@@ -41,10 +41,10 @@ function foldr(fun, acc0, list) {
return foldl(fun, ac... | fix lists:keyfind/3, dont assume member is a tuple | elixirscript_elixirscript | train |
f4ac42f681163d293e38e16e0264c20613f7f3ec | diff --git a/openid/server/trustroot.py b/openid/server/trustroot.py
index <HASH>..<HASH> 100644
--- a/openid/server/trustroot.py
+++ b/openid/server/trustroot.py
@@ -233,9 +233,6 @@ class TrustRoot(object):
@rtype: C{NoneType} or C{L{TrustRoot}}
"""
- if not isinstance(trust_root, (str, unic... | [project @ server.trustroot.TrustRoot.parse: don't return None if other types are passed in.]
If code is passing in funny values for this, I don't want silent failure. | necaris_python3-openid | train |
d6dd5f3a23add0b9799ff30ed7da783f9944adeb | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -296,6 +296,7 @@ function ngraphSvg(graph, settings) {
function onNodePan(pos, model) {
return function onNodePan(e) {
var clickPosition = getModelPosition(e.center);
+ resetStable();
if (e.type ==... | Reset stable when user moves ndoe | anvaka_ngraph.svg | train |
fb79110d1aee5f732d0e2944d6109a5294cceae3 | diff --git a/library/CM/Process.php b/library/CM/Process.php
index <HASH>..<HASH> 100644
--- a/library/CM/Process.php
+++ b/library/CM/Process.php
@@ -57,10 +57,16 @@ class CM_Process {
return (false !== posix_getsid($processId));
}
- public function killChildren() {
+ /**
+ * @param float|nul... | Add test for forceful child process killing | cargomedia_cm | train |
0a17a4e7dd9e09198ffecfe33064e2360d0463ce | diff --git a/zipkin-autoconfigure/storage-mysql/src/main/java/zipkin/autoconfigure/storage/mysql/ZipkinMySQLStorageAutoConfiguration.java b/zipkin-autoconfigure/storage-mysql/src/main/java/zipkin/autoconfigure/storage/mysql/ZipkinMySQLStorageAutoConfiguration.java
index <HASH>..<HASH> 100644
--- a/zipkin-autoconfigure/... | Exposes property derived MySQL datasource so sparkstreaming can use it (#<I>)
The only thing ZipkinMySQLStorageProperties is used for is creating a
datasource. This exposes that so that the logic doesn't have to be copy
pasted into zipkin-sparkstreaming. | apache_incubator-zipkin | train |
119c2ffc8d1e4da119c5bc10e969d1869401d87a | diff --git a/lib/api.js b/lib/api.js
index <HASH>..<HASH> 100755
--- a/lib/api.js
+++ b/lib/api.js
@@ -1,6 +1,5 @@
var irc = require(__dirname + '/irc'),
- stub = require(__dirname + '/stub.js'),
- streamer = require(__dirname + '/streamer.js'),
+ readWriteStream = require(__dirname + '/stub.js').ReadWriteNetStream... | Added event hooks in the API, also added PING event incase someone wants to setup a timer for example | ircanywhere_irc-factory | train |
f5b3f73051938781f5c9d63630a008b2c0392e7e | diff --git a/lib/src/main/java/com/auth0/android/lock/errors/LoginAuthenticationErrorBuilder.java b/lib/src/main/java/com/auth0/android/lock/errors/LoginAuthenticationErrorBuilder.java
index <HASH>..<HASH> 100644
--- a/lib/src/main/java/com/auth0/android/lock/errors/LoginAuthenticationErrorBuilder.java
+++ b/lib/src/ma... | consider 'code' as well as 'error' key when parsing login errors | auth0_Lock.Android | train |
bf9986d577ddd4925b36ae5ace8812f2ffec80aa | diff --git a/src/com/opencms/core/CmsClassLoader.java b/src/com/opencms/core/CmsClassLoader.java
index <HASH>..<HASH> 100755
--- a/src/com/opencms/core/CmsClassLoader.java
+++ b/src/com/opencms/core/CmsClassLoader.java
@@ -1,8 +1,8 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/core/Attic/CmsClassLo... | working on the reload function of the CmsClassloader | alkacon_opencms-core | train |
4d6fc64485ddc2d6259016a78a97d51351180157 | diff --git a/src/main/java/org/cactoos/iterator/Endless.java b/src/main/java/org/cactoos/iterator/Endless.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cactoos/iterator/Endless.java
+++ b/src/main/java/org/cactoos/iterator/Endless.java
@@ -45,11 +45,6 @@ public final class Endless<T> implements Iterator<T> {... | (#<I>) Refactored endless iterator | yegor256_cactoos | train |
0e8d844f110f9de453ba15c7623af789674fe6d4 | diff --git a/src/main/java/org/asteriskjava/manager/ManagerConnection.java b/src/main/java/org/asteriskjava/manager/ManagerConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/asteriskjava/manager/ManagerConnection.java
+++ b/src/main/java/org/asteriskjava/manager/ManagerConnection.java
@@ -209,6 +209,10... | Added warning about using the async version of sendAction | asterisk-java_asterisk-java | train |
c2730cf18227fda2362adf0f66c8892bd89480fc | diff --git a/src/MaglMarkdown/Adapter/GithubMarkdownAdapter.php b/src/MaglMarkdown/Adapter/GithubMarkdownAdapter.php
index <HASH>..<HASH> 100644
--- a/src/MaglMarkdown/Adapter/GithubMarkdownAdapter.php
+++ b/src/MaglMarkdown/Adapter/GithubMarkdownAdapter.php
@@ -44,10 +44,10 @@ class GithubMarkdownAdapter implements Ma... | Removed short array syntax for PHP <I> compatibility | maglnet_MaglMarkdown | train |
4d1dbbc476d1235c6644d0d1871427e268af5a29 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -856,7 +856,7 @@ class Client
*/
public function execResize($exec, $w, $h)
{
- return $this->browser->get(
+ return $this->browser->post(
$this->uri->expand(
... | Fix execResize() to issue POST request | clue_php-docker-react | train |
12dbc61d6ff2c394237c4fd1a3a73a8813c2e834 | diff --git a/src/pyrocore/scripts/rtcontrol.py b/src/pyrocore/scripts/rtcontrol.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/scripts/rtcontrol.py
+++ b/src/pyrocore/scripts/rtcontrol.py
@@ -468,28 +468,29 @@ class RtorrentControl(ScriptBaseWithConfig):
self.parser.error("No filter conditions given!")
... | refactoring: changes to allow more than one action (in theory, so far) | pyroscope_pyrocore | train |
baacb35ce739ec0db3142370344d941ff0d95a73 | diff --git a/examples/analyze_mef.py b/examples/analyze_mef.py
index <HASH>..<HASH> 100644
--- a/examples/analyze_mef.py
+++ b/examples/analyze_mef.py
@@ -156,11 +156,13 @@ if __name__ == "__main__":
# histograms below. In this case, we will plot the forward/side scatter
# channels in the density plot, and th... | Improved comments on density_and_hist in example script. | taborlab_FlowCal | train |
a1c48a752f8d4749cc047830f16d74f12ce3170e | diff --git a/src/Composer/PackageManager.php b/src/Composer/PackageManager.php
index <HASH>..<HASH> 100644
--- a/src/Composer/PackageManager.php
+++ b/src/Composer/PackageManager.php
@@ -412,7 +412,7 @@ class PackageManager
'type' => $json['type'],
'descrip' => $json['desc... | Don't break when keywords aren't set. | bolt_bolt | train |
6f29268ea2affd4a3876666b051a7d5af0e6df6b | diff --git a/lib/rspec/active_model/mocks/mocks.rb b/lib/rspec/active_model/mocks/mocks.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec/active_model/mocks/mocks.rb
+++ b/lib/rspec/active_model/mocks/mocks.rb
@@ -52,6 +52,10 @@ module RSpec::ActiveModel::Mocks
send(key)
end
+ # Rails>4.2 uses _read... | Fix mocking belongs_to associations in Rails <I>+ | rspec_rspec-activemodel-mocks | train |
6f27317b7499c47d67fa11200afd6151a265baa0 | diff --git a/mama_cas/tests/test_utils.py b/mama_cas/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/mama_cas/tests/test_utils.py
+++ b/mama_cas/tests/test_utils.py
@@ -7,6 +7,7 @@ from mama_cas.utils import clean_service_url
from mama_cas.utils import is_valid_service_url
from mama_cas.utils import redirect
f... | Test import failure paths for get_callable | jbittel_django-mama-cas | train |
b38972ceacf9d9b4ecee39b814096e46944a6222 | diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -1277,7 +1277,9 @@ class TimestampField(IntegerField):
if value == 0:
return
elif self.resolution > 1:
- value, microseconds = divmod(value, self.resolution)
+ ... | fixed a problem with TimestampField resolution | coleifer_peewee | train |
594a3abdec383b55ce32a9e960263f55b41318e2 | diff --git a/src/Illuminate/Cookie/Middleware/EncryptCookies.php b/src/Illuminate/Cookie/Middleware/EncryptCookies.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Cookie/Middleware/EncryptCookies.php
+++ b/src/Illuminate/Cookie/Middleware/EncryptCookies.php
@@ -80,7 +80,11 @@ class EncryptCookies
}
... | improve cookie encryption (#<I>) | laravel_framework | train |
956d232e5cae0184c9f4f024fba25cc2de0d01e6 | diff --git a/test/assert-called-test.js b/test/assert-called-test.js
index <HASH>..<HASH> 100644
--- a/test/assert-called-test.js
+++ b/test/assert-called-test.js
@@ -6,7 +6,8 @@ process.nextTick(cb(function called() {}));
process.on('uncaughtException', function (ex) {
assert(ex instanceof assert.AssertionError)... | [test] Add tests for stack trace | mmalecki_assert-called | train |
462329197fcccb20f82bf082f0f968f15e189ed5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -77,6 +77,12 @@ const micromatch = (list, patterns, options) => {
};
/**
+ * Backwards compatibility
+ */
+
+micromatch.match = micromatch;
+
+/**
* Returns a matcher function from the given glob `pattern` and `options`.... | re-add match method
I want to avoid any regressions. I meant to do this before publish. | micromatch_micromatch | train |
d7c86041b31d73282a4726af0fd1fa8e6e491f6f | diff --git a/test/attributes.js b/test/attributes.js
index <HASH>..<HASH> 100644
--- a/test/attributes.js
+++ b/test/attributes.js
@@ -130,8 +130,9 @@ describe("attributes", function () {
assert(attributes.value[0].getValue() === "D");
});
- describe("and then with GPF inherit... | Fix test and include es6 specific (#<I>) | ArnaudBuchholz_gpf-js | train |
f750f54430e19960ed6f4dfbf62ff77658d3ae00 | diff --git a/src/PeskyCMF/Scaffold/NormalTableScaffoldConfig.php b/src/PeskyCMF/Scaffold/NormalTableScaffoldConfig.php
index <HASH>..<HASH> 100644
--- a/src/PeskyCMF/Scaffold/NormalTableScaffoldConfig.php
+++ b/src/PeskyCMF/Scaffold/NormalTableScaffoldConfig.php
@@ -83,7 +83,7 @@ abstract class NormalTableScaffoldConfi... | NormalTableScaffoldConfig->getRecordsForDataGrid() - primary key column now selected always | swayok_PeskyCMF | train |
c02498a52aada9091aa7b7cab10dd5a4313a26d7 | diff --git a/src/main/java/me/prettyprint/cassandra/service/CassandraClientPoolImpl.java b/src/main/java/me/prettyprint/cassandra/service/CassandraClientPoolImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/me/prettyprint/cassandra/service/CassandraClientPoolImpl.java
+++ b/src/main/java/me/prettyprint/cassandr... | fixed an off-by-one issue when only using one client | hector-client_hector | train |
851026362af417277ac05927339fcf5b01184be9 | diff --git a/server/standby_server.go b/server/standby_server.go
index <HASH>..<HASH> 100644
--- a/server/standby_server.go
+++ b/server/standby_server.go
@@ -27,7 +27,7 @@ type StandbyServer struct {
client *Client
cluster []*machineMessage
- syncInterval time.Duration
+ syncInterval float64
joinIndex ... | chore(standby_server): let syncInterval represent in second unit
This is done to keep consistency with other namings. | etcd-io_etcd | train |
8fa368d78edbad162c5003a6214805110a27cc04 | diff --git a/spdx/creationinfo.py b/spdx/creationinfo.py
index <HASH>..<HASH> 100644
--- a/spdx/creationinfo.py
+++ b/spdx/creationinfo.py
@@ -13,7 +13,7 @@
# limitations under the License.
import config
from datetime import datetime
-from utils import datetime_iso_format
+import utils
class Creator(object):... | Provides __str__ method to creator models.
Changes CreationInfo.has_comment to property | spdx_tools-python | train |
ec44b67e9f399801877e53c9dd5c1d9a35051bdf | diff --git a/logger/default.go b/logger/default.go
index <HASH>..<HASH> 100644
--- a/logger/default.go
+++ b/logger/default.go
@@ -4,8 +4,10 @@ import (
"context"
"fmt"
"os"
+ "path"
"runtime"
"sort"
+ "strings"
"sync"
"time"
@@ -53,6 +55,20 @@ func copyFields(src map[string]interface{}) map[string]inte... | Fixing log file path in logs (#<I>) | micro_go-micro | train |
95e01db382bde4e4964bdf037b84d0290646cca8 | diff --git a/lib/class/model.js b/lib/class/model.js
index <HASH>..<HASH> 100644
--- a/lib/class/model.js
+++ b/lib/class/model.js
@@ -370,7 +370,7 @@ Model.setMethod(function initBehaviours() {
*
* @author Jelle De Loecker <[email protected]>
* @since 0.2.0
- * @version 0.2.0
+ * @version 0.4.0
*
* @... | Documents created used Model#createDocument are singular now | skerit_alchemy | train |
60947a2ea35d8b706794c252bd7c0c0530f5e7bb | diff --git a/src/main/java/org/casbin/jcasbin/main/CoreEnforcer.java b/src/main/java/org/casbin/jcasbin/main/CoreEnforcer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/casbin/jcasbin/main/CoreEnforcer.java
+++ b/src/main/java/org/casbin/jcasbin/main/CoreEnforcer.java
@@ -54,46 +54,31 @@ public class CoreEnfo... | Improve Enforcer's constructors. | casbin_jcasbin | train |
c72c8022458112fbb517ec7941b8cb5aba6f7128 | diff --git a/lib/ruote/receiver/base.rb b/lib/ruote/receiver/base.rb
index <HASH>..<HASH> 100644
--- a/lib/ruote/receiver/base.rb
+++ b/lib/ruote/receiver/base.rb
@@ -137,6 +137,12 @@ module Ruote
wfid = fields[:wfid] || @context.wfidgen.generate
+ fields = Rufus::Json.dup(fields)
+ variables = Ruf... | stringify symbols in #launch fields/vars
closes gh-<I> | jmettraux_ruote | train |
639496fb031978c21760119e3961cb0d0ada2568 | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -745,7 +745,9 @@ abstract class Model implements ArrayAccess, ArrayableInterface, JsonableInterfa
if ($this->softDelete)
{
- $query->update(array(static::DELETED_AT => $this->f... | Set deleted_at on model when soft deleting. | illuminate_database | train |
03ab9a19f8d8aaa2138edd3d4e6663d5ed0f1c56 | diff --git a/lib/markdiff/differ.rb b/lib/markdiff/differ.rb
index <HASH>..<HASH> 100644
--- a/lib/markdiff/differ.rb
+++ b/lib/markdiff/differ.rb
@@ -183,8 +183,11 @@ module Markdiff
# @param [Nokogiri::XML::Node] node
def mark_li_as_changed(node)
until node.parent.nil? || node.parent.fragment?
- ... | Preserve classes on adding new class (e.g. .added) | r7kamura_markdiff | train |
bffa84c620eaaa676ebc3f14f95a0c455604adb8 | diff --git a/modules/saml2/lib/Auth/Source/SP.php b/modules/saml2/lib/Auth/Source/SP.php
index <HASH>..<HASH> 100644
--- a/modules/saml2/lib/Auth/Source/SP.php
+++ b/modules/saml2/lib/Auth/Source/SP.php
@@ -301,6 +301,7 @@ class sspmod_saml2_Auth_Source_SP extends SimpleSAML_Auth_Source {
public function onLogout($id... | saml2_Auth_Source_SP: Add two comments to logout code. | simplesamlphp_saml2 | train |
7f35ba96e6ea85b4ca13c8a6412c3bf52cefbff5 | diff --git a/pysat/instruments/methods/sw.py b/pysat/instruments/methods/sw.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/methods/sw.py
+++ b/pysat/instruments/methods/sw.py
@@ -193,7 +193,7 @@ def combine_kp(standard_inst=None, recent_inst=None, forecast_inst=None,
notes += "{:})".format(itime.date()... | BUG: fix for #<I> | rstoneback_pysat | train |
d165bc34881944f35278b2961467908bd36fc8a8 | diff --git a/app/routines/openstax/accounts/create_group.rb b/app/routines/openstax/accounts/create_group.rb
index <HASH>..<HASH> 100644
--- a/app/routines/openstax/accounts/create_group.rb
+++ b/app/routines/openstax/accounts/create_group.rb
@@ -9,11 +9,11 @@ module OpenStax
def exec(owner:, name: nil, is_publi... | Assign a fake openstax_uid to groups where the requestor has not authenticated so that they can actually be saved | openstax_accounts-rails | train |
4dbed10befe4bfb386f24577ee925e744540e207 | diff --git a/json-path/src/test/java/com/jayway/jsonpath/FilterTest.java b/json-path/src/test/java/com/jayway/jsonpath/FilterTest.java
index <HASH>..<HASH> 100644
--- a/json-path/src/test/java/com/jayway/jsonpath/FilterTest.java
+++ b/json-path/src/test/java/com/jayway/jsonpath/FilterTest.java
@@ -670,4 +670,16 @@ publ... | Added tests for issue #<I> | json-path_JsonPath | train |
176e1ba943a528a9e8d93c800adcb63c4bd6feae | diff --git a/lib/orbacle/data_flow_graph/builder.rb b/lib/orbacle/data_flow_graph/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/orbacle/data_flow_graph/builder.rb
+++ b/lib/orbacle/data_flow_graph/builder.rb
@@ -532,7 +532,6 @@ module Orbacle
return handle_custom_attr_writer_send(context, arg_exprs, ast) if... | Freeze is no longer a hack in the data flow graph | swistak35_orbacle | train |
c6b795baeaaf9fb44316873eb4129f83975932b7 | diff --git a/src/ngdoc.js b/src/ngdoc.js
index <HASH>..<HASH> 100644
--- a/src/ngdoc.js
+++ b/src/ngdoc.js
@@ -76,9 +76,9 @@ Doc.prototype = {
Doc.METADATA_IGNORE.forEach(function(ignore){ keywords[ignore] = true; });
function extractWords(text) {
- var tokens = text.toLowerCase().split(/[\.\s,`'"#]+/m... | updateSearch function doesn't search for controller's name
When having this format:
/**
* @ngdoc controller
* @name app.appname.controller:ControllerName
*
*
* @description
* ControllerName controller
*/
'search the docs' in generated UI doesn't work (it doesn't
find anything) when input is 'C... | nikhilmodak_gulp-ngdocs | train |
e43ef364cb99585d3285f51f7ab308f8a77fe09e | diff --git a/api_test.go b/api_test.go
index <HASH>..<HASH> 100644
--- a/api_test.go
+++ b/api_test.go
@@ -5,7 +5,6 @@ import (
"bufio"
"bytes"
"encoding/json"
- "github.com/dotcloud/docker/auth"
"github.com/dotcloud/docker/utils"
"io"
"net"
@@ -41,44 +40,6 @@ func TestGetBoolParam(t *testing.T) {
}
}
... | Remove all network dependencies from the test suite | containers_storage | train |
5b36422279cabaf8762a5e5ac552290aa06b379a | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -1439,6 +1439,7 @@ Client Library that allow third party to access AcademyHQ APIs.
);
</pre>
+
## Using Crms Repository
### 1> Create Organisation(Client) To Academyhq
@@ -1450,18 +1451,29 @@ Client Library that a... | new method to create course and move get courses to crms repo and readme updated | OliveMedia_academyhq-api-client | train |
11d33a4f9d64e3a55cbdbab19183b868510cf1ce | diff --git a/dciclient/v1/api/file.py b/dciclient/v1/api/file.py
index <HASH>..<HASH> 100644
--- a/dciclient/v1/api/file.py
+++ b/dciclient/v1/api/file.py
@@ -15,6 +15,7 @@
# under the License.
from dciclient.v1.api import base
+from dciclient.v1 import utils
RESOURCE = 'files'
@@ -24,9 +25,14 @@ TABLE_HEADERS... | Update the file upload.
This patch use the new way to upload a file: the
metadatas are now sent through the HTTP headers.
Change-Id: I<I>c6d<I>e0f6e<I>b1d1f9b<I>fbc8d<I> | redhat-cip_python-dciclient | train |
1a20fcfce6b802041e93de9274dbf136976c7286 | diff --git a/benchmarks/index.js b/benchmarks/index.js
index <HASH>..<HASH> 100644
--- a/benchmarks/index.js
+++ b/benchmarks/index.js
@@ -29,7 +29,7 @@ const fastestTests = [
() => renderDeepTree('styletron', styletron),
() => renderWideTree('styletron', styletron),
() => renderDeepTree('aphrodite', aphrodite... | [add] StyleSheet.compose
As per the recent addition to React Native. | necolas_react-native-web | train |
326b410d9328de0b4e12a229efc6625b7e5b603f | diff --git a/sh.py b/sh.py
index <HASH>..<HASH> 100644
--- a/sh.py
+++ b/sh.py
@@ -204,7 +204,14 @@ def glob(arg):
class RunningCommand(object):
def __init__(self, cmd, call_args, stdin, stdout, stderr):
- self.log = logging.getLogger("command %r call_args %r" % (cmd, call_args))
+ truncate = 20
+... | bugfix #<I> where too many command arguments created a huge logger | amoffat_sh | train |
df0cd4b1ce5a8f4377285a8e36e1f3f85d6eb801 | diff --git a/freemius/includes/entities/class-fs-plugin.php b/freemius/includes/entities/class-fs-plugin.php
index <HASH>..<HASH> 100755
--- a/freemius/includes/entities/class-fs-plugin.php
+++ b/freemius/includes/entities/class-fs-plugin.php
@@ -40,6 +40,10 @@
* @var FS_Plugin_Info
*/
public $info;
+ /**
+... | [plugin] Moved is_premium property to be part of the plugin members. | Freemius_wordpress-sdk | train |
1c11362fbb6435cd0c12f72a55cc0f5a79dbb2ad | diff --git a/src/instrumentTest/java/com/couchbase/lite/AttachmentsTest.java b/src/instrumentTest/java/com/couchbase/lite/AttachmentsTest.java
index <HASH>..<HASH> 100644
--- a/src/instrumentTest/java/com/couchbase/lite/AttachmentsTest.java
+++ b/src/instrumentTest/java/com/couchbase/lite/AttachmentsTest.java
@@ -19,7 ... | issue number #<I>, added raw SQL to update no_attachments column on revs table after calling private method insertAttachment | couchbase_couchbase-lite-android | train |
bdbc79dfd73f3d61a2f83916a2027180637997ad | diff --git a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/GermanSpellerRule.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/German... | [de] detect misspellings in "...schafte" | languagetool-org_languagetool | train |
4954f2c086cb948c878cea9bfa98a0f5c6eaa6ad | diff --git a/cwltool/sandboxjs.py b/cwltool/sandboxjs.py
index <HASH>..<HASH> 100644
--- a/cwltool/sandboxjs.py
+++ b/cwltool/sandboxjs.py
@@ -6,7 +6,6 @@ import os
import select
import subprocess
import threading
-from multiprocessing import Queue
import sys
from io import BytesIO
from typing import Any, Dict, L... | removed unused import urlparse from test_fetch | common-workflow-language_cwltool | train |
bd5a493b6d13a008e9915b2a1b48c586b88201f5 | diff --git a/src/SupervisorClient/SupervisorClient.php b/src/SupervisorClient/SupervisorClient.php
index <HASH>..<HASH> 100644
--- a/src/SupervisorClient/SupervisorClient.php
+++ b/src/SupervisorClient/SupervisorClient.php
@@ -207,16 +207,12 @@ class SupervisorClient
function addProgramToGroup($group, $program, ... | Make better use of available horizontal space. Use lowerCamelCase for method arguments. | mondalaci_supervisord-php-client | train |
70e190b5f3864992a1ec09ceca4bfa757ebc0326 | diff --git a/lib/octokit/client/organizations.rb b/lib/octokit/client/organizations.rb
index <HASH>..<HASH> 100644
--- a/lib/octokit/client/organizations.rb
+++ b/lib/octokit/client/organizations.rb
@@ -641,14 +641,14 @@ module Octokit
# Get an organization membership
#
- # @param org [String] Orga... | Use Organization.path instead of just org | octokit_octokit.rb | train |
21313016b375e807b78889686a80bed6e3187214 | diff --git a/zxbparser.py b/zxbparser.py
index <HASH>..<HASH> 100755
--- a/zxbparser.py
+++ b/zxbparser.py
@@ -2875,7 +2875,7 @@ def p_chr(p):
is_constant = True
constant = ''
for i in range(len(p[2])): # Convert every argument to 8bit unsigned
- p[2][i] = make_typecast(TYPE.ubyte, p[2][i], p.lin... | Fixed a bug in CHR typecast | boriel_zxbasic | train |
3993f027dbec04917c7e3d6cf5ee39d183608f57 | diff --git a/comment/comment.js b/comment/comment.js
index <HASH>..<HASH> 100644
--- a/comment/comment.js
+++ b/comment/comment.js
@@ -95,7 +95,7 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
color: { to: '#06e' },
... | MDL-<I> use 2in3 in comments | moodle_moodle | train |
153e16ac770f865853dd8379f4053d7a21b67d74 | diff --git a/railties/lib/rails/test_unit/reporter.rb b/railties/lib/rails/test_unit/reporter.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/test_unit/reporter.rb
+++ b/railties/lib/rails/test_unit/reporter.rb
@@ -16,8 +16,7 @@ module Rails
COLOR_CODES = {
red: 31,
green: 32,
- yellow: ... | Remove unused blue color.
I got the blues because we aren't coloring any lines blue. | rails_rails | train |
7857f1886a569530e8a77f18540b6773ac97c094 | diff --git a/drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/bigdecimaltest/BigDecimalTest.java b/drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/bigdecimaltest/BigDecimalTest.java
index <HASH>..<HASH> 100644
--- a/drools-model/drools-model-compiler/src/test/java/org/... | [DROOLS-<I>] Added some test for BigDecimal with decimal values (#<I>) | kiegroup_drools | train |
176cc8f59731267843bd37c7240d91857cef0e7a | diff --git a/src/main/java/hex/drf/DRF.java b/src/main/java/hex/drf/DRF.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hex/drf/DRF.java
+++ b/src/main/java/hex/drf/DRF.java
@@ -255,10 +255,10 @@ public class DRF extends SharedTreeModelBuilder<DRF.DRFModel> {
final float[] varimp = new float[_ncols]; // outpu... | Small fix in varimp launcher - using H2O submit task call. | h2oai_h2o-2 | train |
ae167525d0aec490d92ec3944543941403e1d3b0 | diff --git a/activejdbc/pom.xml b/activejdbc/pom.xml
index <HASH>..<HASH> 100644
--- a/activejdbc/pom.xml
+++ b/activejdbc/pom.xml
@@ -151,7 +151,7 @@
<configuration>
<outputDirectory>${project.basedir}/target/test-classes</outputDirectory>
... | Adding a .toUpdate() method. Issue #<I> | javalite_activejdbc | train |
ff13cf060fd0e2fa64e183ed63818ed698efcc96 | diff --git a/src/pywws/__init__.py b/src/pywws/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pywws/__init__.py
+++ b/src/pywws/__init__.py
@@ -1,3 +1,3 @@
__version__ = '18.8.0'
-_release = '1595'
-_commit = '6c0f067'
+_release = '1596'
+_commit = '83d1505'
diff --git a/src/pywws/template.py b/src/pywws/template.p... | Minor tweak of templating 'live' data
I don't expect this to affect anything in normal operation. | jim-easterbrook_pywws | train |
7ad39266da2553bea343b25c34ebb8d58bd97258 | diff --git a/satpy/scene.py b/satpy/scene.py
index <HASH>..<HASH> 100644
--- a/satpy/scene.py
+++ b/satpy/scene.py
@@ -614,7 +614,7 @@ class Scene(InfoObject):
writer = self.get_writer(writer, **kwargs)
writer.save_dataset(self[dataset_id],
filename=filename,
- ... | Pass kwargs to dataset saving | pytroll_satpy | train |
51fb84bd11726b4a1ee958b58e02d15deb4bdc16 | diff --git a/modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java b/modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java
index <HASH>..<HASH> 100644
--- a/modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java
+++ b/modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java
@@ -4... | APT: fix random bug on JDK <I> related to annotation and defalts value 2nd try | jooby-project_jooby | train |
76cc61c890b108ec5c822dd3199f0fe54f6e5d74 | diff --git a/analytics/sites.py b/analytics/sites.py
index <HASH>..<HASH> 100644
--- a/analytics/sites.py
+++ b/analytics/sites.py
@@ -20,6 +20,9 @@ class Gadgets(object):
def get_gadget(self, id):
return self._registry[id]
+ def get_gadgets(self):
+ return self._registry.values()
+
def r... | added get_gadgets() function to Gadgets class to list all gadgets in registry | praekelt_django-analytics | train |
acff5e3330808157a76be3743756e2a700f8930e | diff --git a/pulls/submit-queue.go b/pulls/submit-queue.go
index <HASH>..<HASH> 100644
--- a/pulls/submit-queue.go
+++ b/pulls/submit-queue.go
@@ -216,8 +216,24 @@ func (sq *SubmitQueue) MungePullRequest(config *github_util.Config, pr *github_a
return
}
- if !github_util.HasLabels(issue.Labels, []string{"lgtm"})... | Change order of merge queue tests to improve reason in web page
We checked for the LGTM label very early. But most people would rather
know that github jenkins is failing or it isn't mergable before they
worry about the LGTM label. Try to set the order to the order people
would need to fix the problems... | kubernetes_test-infra | train |
5270d8a416e3a8e9d6dbb9b32f7437357f6bd9bf | diff --git a/lib/omnibus.rb b/lib/omnibus.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus.rb
+++ b/lib/omnibus.rb
@@ -164,7 +164,7 @@ module Omnibus
#
# @return [void]
def process_configuration
- Config.validate
+ Config.validate!
process_dsl_files
end
diff --git a/lib/omnibus/co... | Update validations to behave like real validations on config | chef_omnibus | train |
5d508e2f5d72dab636e62b8f8d1b0e1286324959 | diff --git a/lib/hqmf-parser/2.0/data_criteria.rb b/lib/hqmf-parser/2.0/data_criteria.rb
index <HASH>..<HASH> 100644
--- a/lib/hqmf-parser/2.0/data_criteria.rb
+++ b/lib/hqmf-parser/2.0/data_criteria.rb
@@ -17,8 +17,8 @@ module HQMF2
"2.16.840.1.113883.10.20.28.3.18" => {valueset_path:"./*/cda:value", result_pat... | Update descriptions for data criteria to utilize a trimmed title to fix human readable issues | projecttacoma_cqm-parsers | train |
1464849e5474327cb22d04b6e6f1ea85d7b694cb | diff --git a/src/crdt/network.js b/src/crdt/network.js
index <HASH>..<HASH> 100644
--- a/src/crdt/network.js
+++ b/src/crdt/network.js
@@ -36,14 +36,15 @@ function createNetworkWrapper (id, log, createNetwork) {
const onRemoteHead = (remoteHead) => limit(() => _onRemoteHead(remoteHead))
const network = createNe... | preventing some race conditions on head setting | ipfs-shipyard_peer-crdt | train |
b0696ec42c66fbf7d975aa551879271c66ff0d59 | diff --git a/pkg/util/ciutil/travis.go b/pkg/util/ciutil/travis.go
index <HASH>..<HASH> 100644
--- a/pkg/util/ciutil/travis.go
+++ b/pkg/util/ciutil/travis.go
@@ -34,7 +34,12 @@ func (t travisCI) DetectVars() Vars {
v.SHA = os.Getenv("TRAVIS_PULL_REQUEST_SHA")
v.BranchName = os.Getenv("TRAVIS_BRANCH")
v.CommitMes... | Check if TRAVIS_PULL_REQUEST is false before setting the ci vars' PRNumber property (#<I>) | pulumi_pulumi | train |
b5d7cc30063b5b0e0bc401e6f5b0c2ae89866e80 | diff --git a/aws/resource_aws_config_remediation_configuration_test.go b/aws/resource_aws_config_remediation_configuration_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_config_remediation_configuration_test.go
+++ b/aws/resource_aws_config_remediation_configuration_test.go
@@ -21,6 +21,7 @@ func testAccCon... | tests/r/config_remediation_configuration: Add ErrorCheck | terraform-providers_terraform-provider-aws | train |
e76e4fd4278c18dccb19ec07d7550bbb76bdd8f7 | diff --git a/src/styles/style.js b/src/styles/style.js
index <HASH>..<HASH> 100644
--- a/src/styles/style.js
+++ b/src/styles/style.js
@@ -435,6 +435,7 @@ export var Style = {
catch (e) {
log('error', `Style: error compiling program for style '${this.name}' (program key '${key}')`,
... | re-throw style compilation errors so users can be notified via event subscriptions
fixes Tangram Play inline shader compile errors (!) | tangrams_tangram | train |
cc3a517b8cc5c36358c30ef6d5fd04ba7b445dfe | diff --git a/web/application.rb b/web/application.rb
index <HASH>..<HASH> 100644
--- a/web/application.rb
+++ b/web/application.rb
@@ -12,6 +12,7 @@ class WorkerholicWeb < Sinatra::Base
end
get '/overview' do
+ # require 'pry'; binding.pry
@processes = Workerholic::StatsAPI.process_stats
erb :ove... | Now shows historical data on overview page load for jobs/s & failed jobs | workerholic_workerholic | train |
025c253732a269d617c8a4f7113389fbea81b9c2 | diff --git a/lib/performance/SizeLimitsPlugin.js b/lib/performance/SizeLimitsPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/performance/SizeLimitsPlugin.js
+++ b/lib/performance/SizeLimitsPlugin.js
@@ -40,6 +40,7 @@ module.exports = class SizeLimitsPlugin {
entrypoint.getFiles().reduce((currentSize, file) => {
... | fix: check the asset's existence before running filter
fixes <URL> | webpack_webpack | train |
87cf908b0c4ecaa665b223eaa6915d386a386f8e | diff --git a/natural-language-classifier/src/main/java/com/ibm/watson/natural_language_classifier/v1/NaturalLanguageClassifier.java b/natural-language-classifier/src/main/java/com/ibm/watson/natural_language_classifier/v1/NaturalLanguageClassifier.java
index <HASH>..<HASH> 100644
--- a/natural-language-classifier/src/m... | chore: Clean up remaining checkstyle issues | watson-developer-cloud_java-sdk | train |
4243710fc1189ff05a81e4e6016b688ac0f5fc33 | diff --git a/jsf-undertow-bootsfaces-spring-boot-starter/src/test/java/com/github/persapiens/jsfboot/bootsfaces/UndertowEmptyTest.java b/jsf-undertow-bootsfaces-spring-boot-starter/src/test/java/com/github/persapiens/jsfboot/bootsfaces/UndertowEmptyTest.java
index <HASH>..<HASH> 100644
--- a/jsf-undertow-bootsfaces-spr... | #<I> all empty starter classes refactored to follow code standard | joinfaces_joinfaces | train |
7718642a42b1d2b6a57a82b85e542b5b3a5ba483 | diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based_risk.py
+++ b/openquake/calculators/event_based_risk.py
@@ -167,8 +167,9 @@ class EbrCalculator(base.RiskCalculator):
if not self.oqparam.ground... | Added comment [skip CI] | gem_oq-engine | train |
13ce15882c5925d189d7c867c3c4726c213c1ef8 | diff --git a/cfgrib/eccodes.py b/cfgrib/eccodes.py
index <HASH>..<HASH> 100644
--- a/cfgrib/eccodes.py
+++ b/cfgrib/eccodes.py
@@ -609,11 +609,11 @@ def codes_set(handle, key, value):
elif isinstance(value, bytes):
codes_set_string(handle, key, value)
else:
- raise TypeError('Unsupported type ... | Fix reference to typing module in type comments and clean up user visible errors. | ecmwf_cfgrib | train |
6bda889fc4a5340aea0854452367376d1bd36d3e | diff --git a/flask_resty/testing.py b/flask_resty/testing.py
index <HASH>..<HASH> 100644
--- a/flask_resty/testing.py
+++ b/flask_resty/testing.py
@@ -121,3 +121,4 @@ def assert_response(response, expected_status_code, expected_data=UNDEFINED):
expected_data = Shape(expected_data)
assert response_data =... | feat: Return response_data from assert_response (#<I>) | 4Catalyzer_flask-resty | train |
b6965b3f7d4e631ec14331b91fd74a4ea6080617 | diff --git a/lib/parallel.rb b/lib/parallel.rb
index <HASH>..<HASH> 100644
--- a/lib/parallel.rb
+++ b/lib/parallel.rb
@@ -246,6 +246,14 @@ module Parallel
map(array, options.merge(:with_index => true), &block)
end
+ def worker_number
+ Thread.current[:parallel_worker_number]
+ end
+
+ def w... | use .worker_number instead of direct thread var access | grosser_parallel | train |
489f1ad94481dd91abd29b56bba3cd6f0ac980c7 | diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/contexts.py
+++ b/openquake/hazardlib/contexts.py
@@ -703,7 +703,7 @@ class ContextMaker(object):
src, sitecol, planardict):
if not planarlist:
... | Added a comment [ci skip] | gem_oq-engine | train |
762377803f7761b0f6fbbb015fffc00a1ee3c0a4 | diff --git a/test/iterator-test.js b/test/iterator-test.js
index <HASH>..<HASH> 100644
--- a/test/iterator-test.js
+++ b/test/iterator-test.js
@@ -10,7 +10,6 @@
var assert = require('assert');
var MinIterator = require('min-iterator');
-var liveTree = require('live-tree');
var Node = require('../l... | Test for instanceof MinIterator instead of exact type | mantoni_glob-tree.js | train |
11c7e29d1d054f903ba00f6e7c5f1ae4792871f5 | diff --git a/resource_aws_vpc_peering_connection_accepter.go b/resource_aws_vpc_peering_connection_accepter.go
index <HASH>..<HASH> 100644
--- a/resource_aws_vpc_peering_connection_accepter.go
+++ b/resource_aws_vpc_peering_connection_accepter.go
@@ -4,6 +4,8 @@ import (
"errors"
"log"
+ "fmt"
+
"github.com/has... | Tighten up documentation, same-account acceptance test, better error handling. | terraform-providers_terraform-provider-aws | train |
21c09177635e9edf3760e75d92704ff0667c807d | diff --git a/test/test_examples.py b/test/test_examples.py
index <HASH>..<HASH> 100644
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -2,6 +2,7 @@
import os
import watson_developer_cloud
+import pytest
from os import getcwd
from subprocess import Popen, PIPE
from os.path import join, dirname
@@ -9,7 ... | skip integration tests when VCAP_SERVICES is not available | watson-developer-cloud_python-sdk | train |
e83435b2b6d3f93bd8cc7fe3678b02718a45c458 | diff --git a/tests/php/SiteTreeSubsitesTest.php b/tests/php/SiteTreeSubsitesTest.php
index <HASH>..<HASH> 100644
--- a/tests/php/SiteTreeSubsitesTest.php
+++ b/tests/php/SiteTreeSubsitesTest.php
@@ -392,11 +392,20 @@ class SiteTreeSubsitesTest extends BaseSubsiteTest
$controller = ModelAsController::controller... | update test for handling subsite specific themes
fixes #<I> | silverstripe_silverstripe-subsites | train |
8b43ef5480ff56b670f938f1c3dac0ac37ba1d13 | diff --git a/sklearn_porter/estimator/DecisionTreeClassifier/__init__.py b/sklearn_porter/estimator/DecisionTreeClassifier/__init__.py
index <HASH>..<HASH> 100644
--- a/sklearn_porter/estimator/DecisionTreeClassifier/__init__.py
+++ b/sklearn_porter/estimator/DecisionTreeClassifier/__init__.py
@@ -116,7 +116,7 @@ class... | feature/oop-api-refactoring: Get the most compact JSON representation with `(',', ':')` for the model data dump | nok_sklearn-porter | train |
30c09be6f634745560fbd6c1977d7bae33806a72 | diff --git a/src/client/firefox/commands.js b/src/client/firefox/commands.js
index <HASH>..<HASH> 100644
--- a/src/client/firefox/commands.js
+++ b/src/client/firefox/commands.js
@@ -281,9 +281,7 @@ function evaluate(
return Promise.resolve({ result: null });
}
- return new Promise(resolve => {
- console.... | [sync] Bug <I> - make evaluateJS calls use promise pattern rather than callbacks; r=ochameau | firefox-devtools_debugger | train |
b28c1c3860d98a4efc112976805f333bbf8b51e7 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/cas/CASDiskWriteAheadLog.java b/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/cas/CASDiskWriteAheadLog.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologie... | Revert - Maximum allowed size of WAL segment has been increased. | orientechnologies_orientdb | train |
71cfa1d52b4b1ea6a0b57fa2f22573e53250e4c7 | diff --git a/src/clients/ApplicationClient.js b/src/clients/ApplicationClient.js
index <HASH>..<HASH> 100644
--- a/src/clients/ApplicationClient.js
+++ b/src/clients/ApplicationClient.js
@@ -1090,6 +1090,12 @@ export default class ApplicationClient extends BaseClient {
});
}
+ invalidOperation(message) {
+ ... | Return promise handler for invalid operation between versions | ibm-watson-iot_iot-nodejs | train |
c792063e8c26d2859e8b0e6a74959cd40eb859a0 | diff --git a/src/Hydrator.php b/src/Hydrator.php
index <HASH>..<HASH> 100644
--- a/src/Hydrator.php
+++ b/src/Hydrator.php
@@ -8,6 +8,8 @@ use Doctrine\Common\Annotations\Reader;
use Doctrine\Common\Cache\Cache;
use GeneratedHydrator\Configuration;
use ReflectionClass;
+use RecursiveDirectoryIterator;
+use Recursive... | Preheating of hydrator to avoid blocking code | php-api-clients_hydrator | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.