hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
8ddf35a9b8e8e1aedd2478f27fc8dddaab3b1746 | diff --git a/lib/cucumber/rb_support/rb_transform.rb b/lib/cucumber/rb_support/rb_transform.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/rb_support/rb_transform.rb
+++ b/lib/cucumber/rb_support/rb_transform.rb
@@ -39,7 +39,9 @@ module Cucumber
private
def convert_captures(regexp_source)
- rege... | Fix transformation of regex with lookahead/lookbehind | cucumber_cucumber-ruby | train |
f00ce6c17289b6c29021fe11c08ef4087659563a | diff --git a/test/common/driver.py b/test/common/driver.py
index <HASH>..<HASH> 100644
--- a/test/common/driver.py
+++ b/test/common/driver.py
@@ -610,7 +610,7 @@ class _Process(object):
assert self.process is not None
assert self.check() is None, 'When asked to kill a process it was already stopped!'... | putting in a missing 't' | rethinkdb_rethinkdb | train |
018c68bfe3e4bb798e06d326a5b9efe0a417c6f3 | diff --git a/i18n/language/pluralspec_test.go b/i18n/language/pluralspec_test.go
index <HASH>..<HASH> 100644
--- a/i18n/language/pluralspec_test.go
+++ b/i18n/language/pluralspec_test.go
@@ -544,7 +544,7 @@ func TestCroatian(t *testing.T) {
{"100.0", Other},
{"1000.0", Other},
}
- runtests(t, "hr", tests)
+ run... | runtests = runTests | nicksnyder_go-i18n | train |
68b686df7cfd87a13ba680d8b0cf2328f4de457a | diff --git a/db/migrate/20150930183738_migrate_content_hosts.rb b/db/migrate/20150930183738_migrate_content_hosts.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20150930183738_migrate_content_hosts.rb
+++ b/db/migrate/20150930183738_migrate_content_hosts.rb
@@ -292,6 +292,11 @@ class MigrateContentHosts < ActiveRecord... | Fixes #<I> - fail migration if backend services are not up (#<I>) | Katello_katello | train |
b7e1fe41476c4a52081f291802229f901d859be8 | diff --git a/nupic/regions/TPRegion.py b/nupic/regions/TPRegion.py
index <HASH>..<HASH> 100644
--- a/nupic/regions/TPRegion.py
+++ b/nupic/regions/TPRegion.py
@@ -517,7 +517,8 @@ class TPRegion(PyRegion):
size = activeLearnCells.shape[0] * activeLearnCells.shape[1]
outputs['lrnActiveStateT'][:] = activeLe... | used getattr to get unionMode to make it backwards compatible | numenta_nupic | train |
82060126efbfb55de621ac0157c8254edc55c7b7 | diff --git a/vendor/k8s.io/kubernetes/plugin/pkg/admission/namespace/lifecycle/admission.go b/vendor/k8s.io/kubernetes/plugin/pkg/admission/namespace/lifecycle/admission.go
index <HASH>..<HASH> 100644
--- a/vendor/k8s.io/kubernetes/plugin/pkg/admission/namespace/lifecycle/admission.go
+++ b/vendor/k8s.io/kubernetes/plu... | UPSTREAM: <I>: compensate for raft/cache delay in namespace admission | openshift_origin | train |
3284ea98262e9c466e900858826a121a1e1565fe | diff --git a/lib/flipper/adapter.rb b/lib/flipper/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/flipper/adapter.rb
+++ b/lib/flipper/adapter.rb
@@ -25,7 +25,6 @@ module Flipper
adapter.features.each do |key|
feature = Flipper::Feature.new(key, adapter)
destination_feature = Flipper::Feature.... | No need to clear since we are wiping before importing | jnunemaker_flipper | train |
0e18e591761ee5fd13ecb13dabc551847f11cd45 | diff --git a/tests/support/_bootstrap.php b/tests/support/_bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/support/_bootstrap.php
+++ b/tests/support/_bootstrap.php
@@ -134,7 +134,7 @@ if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/Constants.php'))
require_once APPPATH.'config/'.ENVIRONMENT.'/Constants.php';
... | Modified test bootstrap to read the main contstants file and stop breaking tests. | codeigniter4_CodeIgniter4 | train |
234537e040f303331ab67dcc7119dda745d4d0e5 | diff --git a/spinoff/contrib/filetransfer/fileref.py b/spinoff/contrib/filetransfer/fileref.py
index <HASH>..<HASH> 100644
--- a/spinoff/contrib/filetransfer/fileref.py
+++ b/spinoff/contrib/filetransfer/fileref.py
@@ -100,7 +100,10 @@ class FileRef(object):
return ret
def upload(self, url):
- ... | Made FileRef.upload() raise FileNotFound if file does not exist on the file server | eallik_spinoff | train |
53d25a71fe1392424a5f3846758bfe1be9f03283 | diff --git a/src/Role.php b/src/Role.php
index <HASH>..<HASH> 100644
--- a/src/Role.php
+++ b/src/Role.php
@@ -58,7 +58,7 @@ class Role extends Eloquent
*/
public function users()
{
- return $this->belongsToMany(User::class, 'user_role')->withTimestamps();
+ return $this->belongsToMany(Use... | Explicitly set the relationship field. | orchestral_model | train |
4eabe59e4e827ec195312fb1f1d58ad496463cd1 | diff --git a/panc/src/org/quattor/pan/template/BuildContext.java b/panc/src/org/quattor/pan/template/BuildContext.java
index <HASH>..<HASH> 100644
--- a/panc/src/org/quattor/pan/template/BuildContext.java
+++ b/panc/src/org/quattor/pan/template/BuildContext.java
@@ -121,8 +121,6 @@ public class BuildContext implements ... | remove flag for compile time context which is not needed for the BuildContext | quattor_pan | train |
cd0485eacc18a81f86fb45c4482f648047d6e7e2 | diff --git a/consumer.go b/consumer.go
index <HASH>..<HASH> 100644
--- a/consumer.go
+++ b/consumer.go
@@ -461,6 +461,7 @@ feederLoop:
child.messages <- msg
}
child.broker.input <- child
+ expiryTicker.Stop()
continue feederLoop
} else {
// current message has not been sent, retu... | Avoid Ticker leak in case of slow consumer | Shopify_sarama | train |
f4bcabfa153f65f48c19c0642a812b424586f3b9 | diff --git a/lib/date_picker/styles/flatpickr.rb b/lib/date_picker/styles/flatpickr.rb
index <HASH>..<HASH> 100644
--- a/lib/date_picker/styles/flatpickr.rb
+++ b/lib/date_picker/styles/flatpickr.rb
@@ -4,22 +4,27 @@ module DatePicker
def types
[:date, :datetime, :time]
end
- def mapping()
+... | Fix data_format submit, handle min and max date | benignware_date_picker | train |
eff3beba81b7f5e8d6fddb8d24c8dcde6553e209 | diff --git a/src/Resque.php b/src/Resque.php
index <HASH>..<HASH> 100644
--- a/src/Resque.php
+++ b/src/Resque.php
@@ -94,7 +94,9 @@ class Resque
$port = null;
}
self::$redis = new Redis($host, $port);
- $result = self::$redis->auth(self::$redisPassword);
+ ... | Refine the code about redis password | CraryPrimitiveMan_php-resque | train |
942bf846fffbdd0aa873115756281bd91d155dea | diff --git a/sysconfig.py b/sysconfig.py
index <HASH>..<HASH> 100644
--- a/sysconfig.py
+++ b/sysconfig.py
@@ -509,7 +509,10 @@ def get_config_vars(*args):
# are in CFLAGS or LDFLAGS and remove them if they are.
# This is needed when building extensions on a 10.3 system
... | MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
universal build of python on OSX <I> to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on <I>). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED. | pypa_setuptools | train |
52634fb7be1fcd0fc830f68aa541ba103935ba8b | diff --git a/src/python/grpcio/grpc/__init__.py b/src/python/grpcio/grpc/__init__.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio/grpc/__init__.py
+++ b/src/python/grpcio/grpc/__init__.py
@@ -628,7 +628,7 @@ class AuthMetadataPlugin(six.with_metaclass(abc.ABCMeta)):
def __call__(self, context, callback):
... | Correct the docstring and implementation of AuthMetadataPlugin | grpc_grpc | train |
83bf5a149567b658f71d0b78a622752019c03608 | diff --git a/tests/test_msvc9compiler.py b/tests/test_msvc9compiler.py
index <HASH>..<HASH> 100644
--- a/tests/test_msvc9compiler.py
+++ b/tests/test_msvc9compiler.py
@@ -46,7 +46,7 @@ class msvc9compilerTestCase(unittest.TestCase):
# windows registeries versions.
path = r'Control Panel\Desktop'
... | Merged revisions <I> via svnmerge from
svn+ssh://<EMAIL>/python/trunk
........
r<I> | tarek.ziade | <I>-<I>-<I> <I>:<I>:<I> <I> (Thu, <I> Nov <I>) | 1 line
dragfullwindows can have value 2
........ | pypa_setuptools | train |
43dc6bb642f267e7a02977c780d021edc508deab | diff --git a/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/servers/AbstractEmbeddedServer.java b/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/servers/AbstractEmbeddedServer.java
index <HASH>..<HASH> 100644
--- a/junit-servers-core/src/main/java/com/github/mjeanroy/junit/server... | fix: connectors and webapp context must not be destroyed | mjeanroy_junit-servers | train |
ceea71fc38d62b2a817f2a3b63f0e97fcc9c7b85 | diff --git a/spring-bootstrap/src/main/java/org/springframework/bootstrap/autoconfigure/jdbc/EmbeddedDatabaseAutoConfiguration.java b/spring-bootstrap/src/main/java/org/springframework/bootstrap/autoconfigure/jdbc/EmbeddedDatabaseAutoConfiguration.java
index <HASH>..<HASH> 100644
--- a/spring-bootstrap/src/main/java/or... | [bs-<I>] Fix class loading problem with Log in a Condition | spring-projects_spring-boot | train |
ca20656b4bdedb80e442630b431020a2d0805d1b | diff --git a/dragnet/weninger.py b/dragnet/weninger.py
index <HASH>..<HASH> 100644
--- a/dragnet/weninger.py
+++ b/dragnet/weninger.py
@@ -7,7 +7,7 @@
import numpy as np
from scipy.ndimage import gaussian_filter
from .content_extraction_model import ContentExtractionModel, IdentityPredictor
-from .blocks import Bloc... | Use content-to-tag ratio to Weninger et al features | dragnet-org_dragnet | train |
a27b1d59bce8e579331b565665807b60f2a28b0e | diff --git a/story/menu.py b/story/menu.py
index <HASH>..<HASH> 100644
--- a/story/menu.py
+++ b/story/menu.py
@@ -257,6 +257,7 @@ class AdventureItem(Item):
def select(self):
self.menu.exit()
+ self.menu.story.set_current(self.adventure.name)
print(self.adventure.problem_formatted) | Update the current adventure on each ProblemItem.select() | pyschool_story | train |
d917045f07dd46cb14bf46fb6f6117c7fd56e449 | diff --git a/driver-core/src/main/com/mongodb/internal/connection/tlschannel/async/AsynchronousTlsChannelGroup.java b/driver-core/src/main/com/mongodb/internal/connection/tlschannel/async/AsynchronousTlsChannelGroup.java
index <HASH>..<HASH> 100644
--- a/driver-core/src/main/com/mongodb/internal/connection/tlschannel/a... | Fix AsynchronousTlsChannelGroup closing
Ensure the registered sockets' callback is called
JAVA-<I> | mongodb_mongo-java-driver | train |
45b84a1413d211267c6b69d14ab35357cd10460d | diff --git a/server/rest/src/main/java/org/infinispan/rest/configuration/RestServerConfigurationBuilder.java b/server/rest/src/main/java/org/infinispan/rest/configuration/RestServerConfigurationBuilder.java
index <HASH>..<HASH> 100644
--- a/server/rest/src/main/java/org/infinispan/rest/configuration/RestServerConfigura... | ISPN-<I> CORS is not enabled for localhost on port <I> by default | infinispan_infinispan | train |
7e7990928c5cc4330817d35d586de52faa0ba6f1 | diff --git a/clients/java/client/src/main/java/org/camunda/bpm/client/impl/EngineClient.java b/clients/java/client/src/main/java/org/camunda/bpm/client/impl/EngineClient.java
index <HASH>..<HASH> 100644
--- a/clients/java/client/src/main/java/org/camunda/bpm/client/impl/EngineClient.java
+++ b/clients/java/client/src/m... | chore(client): make attributes & methods more accessible
related to CAM-<I> | camunda_camunda-bpm-platform | train |
eafb073a3fab66b8039e032369c93635347c9503 | diff --git a/source/rafcon/gui/mygaphas/view.py b/source/rafcon/gui/mygaphas/view.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/mygaphas/view.py
+++ b/source/rafcon/gui/mygaphas/view.py
@@ -200,6 +200,8 @@ class ExtendedGtkView(GtkView, Observer):
return set(self.canvas.get_view_for_model(model) for m... | Allow to pass single element to selection handler | DLR-RM_RAFCON | train |
c6207468879a5fece56cfecd5e46bc34b3acdc35 | diff --git a/lib/client.js b/lib/client.js
index <HASH>..<HASH> 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -123,7 +123,13 @@ Client.prototype._invoke = function(method, arguments, location, callback) {
callback(error, null, body);
return;
}
- callback(nul... | Issue #<I>, support WSDL <I> section <I> default naming | vpulim_node-soap | train |
8abe6b3ff0f780f8e883a872134f45224544e36c | diff --git a/packages/perspective-webpack-plugin/index.js b/packages/perspective-webpack-plugin/index.js
index <HASH>..<HASH> 100644
--- a/packages/perspective-webpack-plugin/index.js
+++ b/packages/perspective-webpack-plugin/index.js
@@ -9,6 +9,7 @@
const {get_config} = require("@finos/perspective/dist/esm/config")... | Fix cross-origin webpack defaults | finos_perspective | train |
16c58a08c309d1dbed65a00c5f2fd9269cc65e48 | diff --git a/environments/se/core/src/main/java/org/jboss/weld/environment/se/WeldSEBeanRegistrant.java b/environments/se/core/src/main/java/org/jboss/weld/environment/se/WeldSEBeanRegistrant.java
index <HASH>..<HASH> 100644
--- a/environments/se/core/src/main/java/org/jboss/weld/environment/se/WeldSEBeanRegistrant.jav... | WELD-<I> - Weld can't coexist with another CDI container in a large multi-module project. | weld_core | train |
e1f36e7d66bb86e54a620314f7b7352d3aca621a | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
## Version
-1.0.1
+1.0.2
## Installing
diff --git a/neteria/client.py b/neteria/client.py
index <HASH>..<HASH> 100644
--- a/neteria/client.py
+++ b/neteria/client.py
@@ -106,7 +106,7 @@ class NeteriaClie... | Updated version number to <I> | ShadowBlip_Neteria | train |
f0c7106e8470797fac875c6092603a55d09f9862 | diff --git a/spec/dummy/app/assets/javascripts/application.js b/spec/dummy/app/assets/javascripts/application.js
index <HASH>..<HASH> 100644
--- a/spec/dummy/app/assets/javascripts/application.js
+++ b/spec/dummy/app/assets/javascripts/application.js
@@ -1,5 +1,4 @@
-//= require jquery
-// Must be required right after ... | Demo app: use jQuery v3 instead of loading both v1 and v3 | thredded_thredded | train |
9708af83f8ecc02bc25398d50dd693431b4ee390 | diff --git a/ipaddrs_test.go b/ipaddrs_test.go
index <HASH>..<HASH> 100644
--- a/ipaddrs_test.go
+++ b/ipaddrs_test.go
@@ -412,11 +412,11 @@ func TestSockAddr_IPAddrs_IPAddrsByCmp(t *testing.T) {
"172.16.1.3/12",
"192.168.0.0/16",
"192.168.1.10/24",
+ "240.0.0.1/4",
"128.95.120.1/32",
"128.9... | Define "private networks" to mean RFC <I>.
Fix tests accordingly. | hashicorp_go-sockaddr | train |
ec270f0c3abf422d17a8246c59174ccf35a295f0 | diff --git a/shinken/modules/status_dat_broker/objectscache.py b/shinken/modules/status_dat_broker/objectscache.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/status_dat_broker/objectscache.py
+++ b/shinken/modules/status_dat_broker/objectscache.py
@@ -37,7 +37,8 @@ from util import from_bool_to_string,from_list_... | *Fix a bug in the status_dat_broker (incorrect servicegroup-definition in objects.cache)
*Fix testscripts so they now import from ../shinken instead of ../src | Alignak-monitoring_alignak | train |
b94995a04490465d2658f8327d7e40beb0ac44e2 | diff --git a/src/utils/DateLanguages.js b/src/utils/DateLanguages.js
index <HASH>..<HASH> 100644
--- a/src/utils/DateLanguages.js
+++ b/src/utils/DateLanguages.js
@@ -282,6 +282,22 @@ export default {
},
'days': ['Ned', 'Pon', 'Tor', 'Sre', 'Čet', 'Pet', 'Sob']
},
+ 'sr': {
+ 'language': 'Ser... | Added Serbian latin and Serbian cyrillic locale | charliekassel_vuejs-datepicker | train |
75d7f058092e9adbc750f3c48d7b0e3baf551014 | diff --git a/benchexec/runexecutor.py b/benchexec/runexecutor.py
index <HASH>..<HASH> 100644
--- a/benchexec/runexecutor.py
+++ b/benchexec/runexecutor.py
@@ -808,6 +808,7 @@ class RunExecutor(containerexecutor.ContainerExecutor):
returnvalue = 0
ru_child = None
self._termination_reason = Non... | Fix a bug in RunExecutor in non-container mode.
Child processes were not actively killed but instead RunExecutor waited
for them, leading to possibly non-termination and a higher CPU time. | sosy-lab_benchexec | train |
d3eb998fd0c811b316bc0ce4038e30a5e176cf07 | diff --git a/snug/core.py b/snug/core.py
index <HASH>..<HASH> 100644
--- a/snug/core.py
+++ b/snug/core.py
@@ -292,7 +292,7 @@ class Resource(metaclass=ResourceClass):
return '{0.__class__.__name__} object'.format(self)
def __repr__(self):
- return '<{0.__module__}.{0.__class__.__name__}: {0}>'.f... | module now not included in resource repr | ariebovenberg_snug | train |
d4403b99731e04667688ec563aff8e654a157f0d | diff --git a/lib/yt/models/claim.rb b/lib/yt/models/claim.rb
index <HASH>..<HASH> 100644
--- a/lib/yt/models/claim.rb
+++ b/lib/yt/models/claim.rb
@@ -131,6 +131,12 @@ module Yt
def block_outside_ownership?
@block_outside_ownership ||= @data["blockOutsideOwnership"]
end
+
+ # @return [String... | add #match_reference_id to claim model | Fullscreen_yt | train |
3db71ed911e2ed3f9e450913ac27d15a35097307 | diff --git a/keanu-project/src/main/java/io/improbable/keanu/network/ProtobufSaver.java b/keanu-project/src/main/java/io/improbable/keanu/network/ProtobufSaver.java
index <HASH>..<HASH> 100644
--- a/keanu-project/src/main/java/io/improbable/keanu/network/ProtobufSaver.java
+++ b/keanu-project/src/main/java/io/improbabl... | Forgot to add ProtoSaver to the previous commit, still ensuring ordering for output proto and json files. | improbable-research_keanu | train |
313fa42ae6e97c49fa20c369a9a050ecd1c5a3a3 | diff --git a/src/bot/Bot.js b/src/bot/Bot.js
index <HASH>..<HASH> 100644
--- a/src/bot/Bot.js
+++ b/src/bot/Bot.js
@@ -13,6 +13,7 @@ import { type FunctionalHandler, type Builder } from '../handlers/Handler';
import { type Connector } from './Connector';
const debugRequest = debug('bottender:request');
+const debug... | add debugger for sync response | Yoctol_bottender | train |
7bce2c7ffd2daa74e6de03adc43f4d3be520d2b0 | diff --git a/Controller/Annotations/QueryParam.php b/Controller/Annotations/QueryParam.php
index <HASH>..<HASH> 100644
--- a/Controller/Annotations/QueryParam.php
+++ b/Controller/Annotations/QueryParam.php
@@ -27,4 +27,6 @@ class QueryParam
public $default = '';
/** @var string */
public $description;
+... | Allow specifying the strictness on the annotation | FriendsOfSymfony_FOSRestBundle | train |
8ef2095a49d4ab341f560c2ee304720b85d7cf63 | diff --git a/lib/backup/storage/configuration/s3.rb b/lib/backup/storage/configuration/s3.rb
index <HASH>..<HASH> 100644
--- a/lib/backup/storage/configuration/s3.rb
+++ b/lib/backup/storage/configuration/s3.rb
@@ -5,7 +5,19 @@ module Backup
module Configuration
class S3 < Base
class << self
- ... | Added comments to the S3 global configuration class. | backup_backup | train |
e9ddafe2f5c4494c9016a4b4d11b95df7fc5522a | diff --git a/lib/rubocop/cop/style/nested_modifier.rb b/lib/rubocop/cop/style/nested_modifier.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/style/nested_modifier.rb
+++ b/lib/rubocop/cop/style/nested_modifier.rb
@@ -77,24 +77,34 @@ module RuboCop
end
def new_expression(outer_node, inner_node)... | Reduce complexity in NestedModifier
Split `new_expression` into smaller methods. | rubocop-hq_rubocop | train |
c3f406ce82e216d449f4fbeba8a71ff08da4704d | diff --git a/drools-simulator/src/main/java/org/drools/fluent/compact/imp/FluentCompactSimulationImpl.java b/drools-simulator/src/main/java/org/drools/fluent/compact/imp/FluentCompactSimulationImpl.java
index <HASH>..<HASH> 100644
--- a/drools-simulator/src/main/java/org/drools/fluent/compact/imp/FluentCompactSimulatio... | reorder methods according to usage patterns, so it's clearer how much FluentCompactSI and FluentStandardSI relate | kiegroup_droolsjbpm-integration | train |
30534e99d97630d3d6acf804f536c474076c9f67 | diff --git a/tsdb/head.go b/tsdb/head.go
index <HASH>..<HASH> 100644
--- a/tsdb/head.go
+++ b/tsdb/head.go
@@ -1168,12 +1168,12 @@ func (h *Head) Close() error {
defer h.closedMtx.Unlock()
h.closed = true
errs := tsdb_errors.NewMulti(h.chunkDiskMapper.Close())
- if errs.Err() == nil && h.opts.EnableMemorySnapshot... | Take snapshot only after closing the WAL (#<I>) | prometheus_prometheus | train |
d920ab2f11b57f2bc7b79a7b94ea97a91ee37a93 | diff --git a/properties/Directory/FilteringDoesntAffectTheDirectory.php b/properties/Directory/FilteringDoesntAffectTheDirectory.php
index <HASH>..<HASH> 100644
--- a/properties/Directory/FilteringDoesntAffectTheDirectory.php
+++ b/properties/Directory/FilteringDoesntAffectTheDirectory.php
@@ -23,7 +23,8 @@ final class... | Directory::filter returns a Directory now to keep encapsulation | Innmind_Filesystem | train |
e4bb6cd9c71cd734a4db7b4af14ba4278e323f06 | diff --git a/src/scout_apm/socket.py b/src/scout_apm/socket.py
index <HASH>..<HASH> 100644
--- a/src/scout_apm/socket.py
+++ b/src/scout_apm/socket.py
@@ -5,7 +5,14 @@ import logging
import socket
import struct
import threading
-import queue
+
+try:
+ # Python 3.x
+ import queue
+except ImportError:
+ # Pyt... | Support import of Queue for 2.x and 3.x | scoutapp_scout_apm_python | train |
7234c3938bc682aa264ee34a2933db78be07c4ac | diff --git a/core/serial_web_serial.js b/core/serial_web_serial.js
index <HASH>..<HASH> 100644
--- a/core/serial_web_serial.js
+++ b/core/serial_web_serial.js
@@ -52,7 +52,7 @@
navigator.serial.requestPort({}).then(function(port) {
Espruino.Core.Status.setStatus("Connecting to serial port");
serialPo... | Use configured baud rate for Web Serial
This was originally hard-coded to <I> which doesn't work for all
boards. The configured value (defaults to <I>) should be used instead. | espruino_EspruinoTools | train |
4bc9e48b154a3f7dc8b55960f1c02fa2f23fcf54 | diff --git a/lib/netsuite/records/pricing_matrix.rb b/lib/netsuite/records/pricing_matrix.rb
index <HASH>..<HASH> 100644
--- a/lib/netsuite/records/pricing_matrix.rb
+++ b/lib/netsuite/records/pricing_matrix.rb
@@ -2,11 +2,6 @@ module NetSuite
module Records
class PricingMatrix < Support::Sublist
include... | Removed changes to PricingMatrix | NetSweet_netsuite | train |
2250d91c59423eecc20463a0e85772a66358a7a3 | diff --git a/src/js/Buttons/getBtnStyles.js b/src/js/Buttons/getBtnStyles.js
index <HASH>..<HASH> 100644
--- a/src/js/Buttons/getBtnStyles.js
+++ b/src/js/Buttons/getBtnStyles.js
@@ -23,7 +23,9 @@ export default function getBtnStyles({
const flatStyles = flat || icon;
const raisedStyles = raised || floating;
c... | Small fix for apply md-text to buttons
Added a small fix to correctly apply .md-text to buttons when they do
not have primary or secondary colors applied. If you never used the dark
theme and always styled with primary/secondary, this probably didn't
affect you. | mlaursen_react-md | train |
29269347e820c4011fd277948eb8b13308b61bb9 | diff --git a/restapi.go b/restapi.go
index <HASH>..<HASH> 100644
--- a/restapi.go
+++ b/restapi.go
@@ -903,6 +903,20 @@ func (s *Session) GuildMemberMute(guildID string, userID string, mute bool) (err
return
}
+// GuildMemberTimeout times out a guild member
+// guildID : The ID of a Guild.
+// userID : The ... | Add guild member timeouts (#<I>)
* added guild member timeouts
* fix spelling error
* Use time.Time, allow timeout removal | bwmarrin_discordgo | train |
21a189eb98513e4bfb3cfab5f3886fa25253d01e | diff --git a/Kwc/Root/Category/Trl/Generator.php b/Kwc/Root/Category/Trl/Generator.php
index <HASH>..<HASH> 100644
--- a/Kwc/Root/Category/Trl/Generator.php
+++ b/Kwc/Root/Category/Trl/Generator.php
@@ -90,7 +90,7 @@ class Kwc_Root_Category_Trl_Generator extends Kwc_Chained_Trl_Generator
$ret['name'] = $dbRow-... | Fix wrong visible status for trl | koala-framework_koala-framework | train |
79c1705ecaf76f446f56ce16a8b0b3ab3ba0613a | diff --git a/state/subnets.go b/state/subnets.go
index <HASH>..<HASH> 100644
--- a/state/subnets.go
+++ b/state/subnets.go
@@ -20,7 +20,8 @@ import (
type Subnet struct {
st *State
doc subnetDoc
- // spaceID is the space id from the subnet's FanLocalUnderlay, or this subnet's space id,
+ // spaceID is either the ... | Makes non-functional comment and code format changes to the subnets
module in the state package. | juju_juju | train |
721a59658b2a3872f778ac6fa379ac4bf02354ad | diff --git a/libkbfs/disk_block_cache.go b/libkbfs/disk_block_cache.go
index <HASH>..<HASH> 100644
--- a/libkbfs/disk_block_cache.go
+++ b/libkbfs/disk_block_cache.go
@@ -22,6 +22,7 @@ import (
"github.com/pkg/errors"
metrics "github.com/rcrowley/go-metrics"
"github.com/syndtr/goleveldb/leveldb"
+ ldberrors "gith... | disk_block_cache: Properly handle corrupted databases and log where the error came from. | keybase_client | train |
16832aff5eb45a716915ba70a55c904e95288f62 | diff --git a/notifier.go b/notifier.go
index <HASH>..<HASH> 100644
--- a/notifier.go
+++ b/notifier.go
@@ -4,16 +4,6 @@ import (
"github.com/bugsnag/bugsnag-go/errors"
)
-var backgroundQueue = make(chan func(), 10)
-
-func init() {
- go func() {
- for job := range backgroundQueue {
- job()
- }
- }()
-}
-
type... | Don't go async.
Go has an annoying habit of quiting before the notification is sent.
Maybe in the future we could call back to the wrapper process and get it
to do things, or have it be a config property. | bugsnag_bugsnag-go | train |
b2667cfed3c7a5c21083ffacf61ea25b03c2f6ca | diff --git a/src/faker.js b/src/faker.js
index <HASH>..<HASH> 100644
--- a/src/faker.js
+++ b/src/faker.js
@@ -1 +1,5 @@
-export default {};
+import * as Number from './faker/number';
+
+export default {
+ Number
+};
diff --git a/test/faker.spec.js b/test/faker.spec.js
index <HASH>..<HASH> 100644
--- a/test/faker.spec... | Added the Number faker to the Faker object. | mrstebo_fakergem | train |
5fc893534031ff443e00b94325fdfc007274f99a | diff --git a/auto_tests/tests/hidpi.js b/auto_tests/tests/hidpi.js
index <HASH>..<HASH> 100644
--- a/auto_tests/tests/hidpi.js
+++ b/auto_tests/tests/hidpi.js
@@ -17,7 +17,10 @@ hidpiTestCase.prototype.tearDown = function() {
window.devicePixelRatio = savePixelRatio;
};
-hidpiTestCase.prototype.testNameGoesHere =... | Update the hidpi test to work on a wider variety of platforms (e.g. when running the tests via `java -jar ./auto_tests/lib/JsTestDriver-<I>c.jar --tests all`) | danvk_dygraphs | train |
b3ae407ed0292b2d4b95b415fe5175339b250328 | diff --git a/populous/buffer.py b/populous/buffer.py
index <HASH>..<HASH> 100644
--- a/populous/buffer.py
+++ b/populous/buffer.py
@@ -7,11 +7,14 @@ class Buffer(object):
self.blueprint = blueprint
self.backend = blueprint.backend
self.maxlen = maxlen
- self.buffers = OrderedDict()
+ ... | Initialize buffers for all items at once | peopledoc_populous | train |
83bbabc11afe8cbb2481c9819921788f5f28ba2a | diff --git a/rules/prefer-starts-ends-with.js b/rules/prefer-starts-ends-with.js
index <HASH>..<HASH> 100644
--- a/rules/prefer-starts-ends-with.js
+++ b/rules/prefer-starts-ends-with.js
@@ -25,7 +25,7 @@ const stringMatchSelector = [
].join('');
const checkRegex = ({pattern, flags}) => {
- if (flags.includes('i'))... | `prefer-starts-ends-with`: Fix bug with `m` flag (#<I>) | sindresorhus_eslint-plugin-unicorn | train |
ceb94beecdc99bc9e9a62eb80d54dcfdeb6de4f4 | diff --git a/rtwilio/views.py b/rtwilio/views.py
index <HASH>..<HASH> 100644
--- a/rtwilio/views.py
+++ b/rtwilio/views.py
@@ -54,6 +54,7 @@ class TwilioBackendView(GenericHttpBackendView):
form_class = TwilioForm
@method_decorator(validate_twilio_signature)
+ @method_decorator(csrf_exempt)
def disp... | Fix CSRF regression caused by the Twilio validation. | caktus_rapidsms-twilio | train |
9f0a7039cd72991cc38cac8723bd8340ca673b83 | diff --git a/tests/test_unit.py b/tests/test_unit.py
index <HASH>..<HASH> 100644
--- a/tests/test_unit.py
+++ b/tests/test_unit.py
@@ -61,15 +61,17 @@ def get_rel_oid(c, relname):
class OperationTest(unittest.TestCase):
- def setUp(self):
+ @classmethod
+ def setUpClass(cls):
"""The environment m... | tests: Retain DB connection & schema between tests
Total test time: <I> -> <I>ms | voicecom_pgtool | train |
b6268a0eb4b8cef73470acf7cb51d583196fbb23 | diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -305,7 +305,7 @@ function forum_cron () {
add_to_log($course->id, 'forum', 'mail error', "discuss.php?d=$discussion->id#$post->id",
... | == was not working I think, but === definitely does | moodle_moodle | train |
823cf6ab5d277dd905f7d4e384f01f9bfe6d1a3b | diff --git a/codenerix/__init__.py b/codenerix/__init__.py
index <HASH>..<HASH> 100644
--- a/codenerix/__init__.py
+++ b/codenerix/__init__.py
@@ -1,4 +1,4 @@
-__version__ = "1.1.5"
+__version__ = "1.1.6"
__authors__ = [
'Juan Miguel Taboada Godoy <juanmi@juanmitaboada.com>',
diff --git a/codenerix/widgets.py b... | WYSIWYG field bug repaired | codenerix_django-codenerix | train |
c458153c55df0207a428c27c0db3ad5802d59beb | diff --git a/resilience4j-circuitbreaker/src/main/java/io/github/resilience4j/circuitbreaker/internal/AutoTransitioner.java b/resilience4j-circuitbreaker/src/main/java/io/github/resilience4j/circuitbreaker/internal/AutoTransitioner.java
index <HASH>..<HASH> 100644
--- a/resilience4j-circuitbreaker/src/main/java/io/gith... | #<I> - this change should fix bug that prevents JVM shutdown | resilience4j_resilience4j | train |
3c5eef49d9ba0b4f4baa41c3a46f348c353b0496 | diff --git a/lib/reform/contract.rb b/lib/reform/contract.rb
index <HASH>..<HASH> 100644
--- a/lib/reform/contract.rb
+++ b/lib/reform/contract.rb
@@ -130,6 +130,10 @@ module Reform
end
end
+ def self.clone
+ Class.new(self)
+ end
+
require 'reform/schema'
extend Schema
diff --git a... | experimental (no big deal): add Form::clone, which simply subclasses the form class in an anonymous class. this works great in combo with inheritable_attr, e.g. in Operation, where forms are inherited to the sub-operations.
the only problem is, as always, rails: AM's validations require every form to have a name. | trailblazer_reform | train |
0b305dcea10c5344d2423557c5f3ef8151012b5d | diff --git a/src/mako/http/routing/traits/AuthorizationTrait.php b/src/mako/http/routing/traits/AuthorizationTrait.php
index <HASH>..<HASH> 100644
--- a/src/mako/http/routing/traits/AuthorizationTrait.php
+++ b/src/mako/http/routing/traits/AuthorizationTrait.php
@@ -19,13 +19,14 @@ trait AuthorizationTrait
/**
* T... | Add missing param to AuthorizationTrait | mako-framework_framework | train |
fcc6c9776e3315913620a1fbe7be749834b33a26 | diff --git a/src/test/java/com/codeborne/selenide/impl/ElementFinderTest.java b/src/test/java/com/codeborne/selenide/impl/ElementFinderTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/codeborne/selenide/impl/ElementFinderTest.java
+++ b/src/test/java/com/codeborne/selenide/impl/ElementFinderTest.java
@@ -1... | add new test for ElementFinder class with By.xpath search | selenide_selenide | train |
dad60a965d1edb881f8781afdf22b24800d51219 | diff --git a/test/ArrayField_test.js b/test/ArrayField_test.js
index <HASH>..<HASH> 100644
--- a/test/ArrayField_test.js
+++ b/test/ArrayField_test.js
@@ -394,11 +394,9 @@ describe("ArrayField", () => {
const {node} = createFormComponent({
schema,
uiSchema: {
- "ui:widget": {
-... | Avoid deprecation warnings printed in test output. | mozilla-services_react-jsonschema-form | train |
bc3dc85517b9377b15863b662dcbc50317a23066 | diff --git a/pycbc/types/array.py b/pycbc/types/array.py
index <HASH>..<HASH> 100644
--- a/pycbc/types/array.py
+++ b/pycbc/types/array.py
@@ -832,7 +832,7 @@ class Array(object):
@property
@cpuonly
@_convert
- def _swighelper(self):
+ def _swighelper(self):
""" Used internally by SWIG ty... | removing double spaces in function definitions | gwastro_pycbc | train |
88bba556e4adab74a8a615afd7e7cabe43b0685d | diff --git a/go/zeusclient/zeusclient.go b/go/zeusclient/zeusclient.go
index <HASH>..<HASH> 100644
--- a/go/zeusclient/zeusclient.go
+++ b/go/zeusclient/zeusclient.go
@@ -32,6 +32,9 @@ var terminatingSignals = []os.Signal{syscall.SIGHUP, syscall.SIGINT, syscall.SIG
func doRun() int {
if os.Getenv("RAILS_ENV") != "" ... | Don't just warn if RAILS_ENV is set; refuse to run. [fixes #<I>] | burke_zeus | train |
5165c4f9bc1a5183615fa1c0a1498aa5d01fc606 | diff --git a/debug/debug-to-stateless.js b/debug/debug-to-stateless.js
index <HASH>..<HASH> 100644
--- a/debug/debug-to-stateless.js
+++ b/debug/debug-to-stateless.js
@@ -2,6 +2,8 @@ const fs = require('fs');
const path = require('path');
const statelessTransform = require('../source/transforms/to-stateless');
+con... | fixes ensure-can-convert-to-stateless failing silently because of missing 'babel-eslint' | Creuna-Oslo_react-scripts | train |
bf6d6b962ae2a717c7c9cb506f0209d1aeab3474 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -175,7 +175,7 @@ class Service {
return query[method].call(query, column, value) // eslint-disable-line no-useless-call
}
- const property = this.jsonSchema.properties[column] || (methodK... | Fixed bug when trying to get model schema properties | feathersjs-ecosystem_feathers-objection | train |
150d60ec1297f6a44064680bede71128f4483cff | diff --git a/src/RegExp/AST/FsmBuilder.php b/src/RegExp/AST/FsmBuilder.php
index <HASH>..<HASH> 100644
--- a/src/RegExp/AST/FsmBuilder.php
+++ b/src/RegExp/AST/FsmBuilder.php
@@ -5,11 +5,19 @@ namespace Remorhaz\UniLex\RegExp\AST;
use Remorhaz\UniLex\AST\AbstractTranslatorListener;
use Remorhaz\UniLex\AST\Node;
use ... | RegExp: FSM builder work in progress | remorhaz_php-unilex | train |
08389b1ce8201b7417f810d4a961a1a636d92663 | diff --git a/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java b/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java
index <HASH>..<HASH> 100644
--- a/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizar... | Now assumes under limiter throws exception in dropwizard integration | mokies_ratelimitj | train |
03ff4151a708e95b7908e9692a6b3b3fb2d1cabc | diff --git a/src/radical/ensemblemd/exec_plugins/simulation_analysis_loop/static.py b/src/radical/ensemblemd/exec_plugins/simulation_analysis_loop/static.py
index <HASH>..<HASH> 100644
--- a/src/radical/ensemblemd/exec_plugins/simulation_analysis_loop/static.py
+++ b/src/radical/ensemblemd/exec_plugins/simulation_analy... | account for multiple kernels in analysis step for prof | radical-cybertools_radical.entk | train |
fec7f63125eaafee83d690184a3d66a05ed7a9d9 | diff --git a/src/DefinitionAssistant.php b/src/DefinitionAssistant.php
index <HASH>..<HASH> 100644
--- a/src/DefinitionAssistant.php
+++ b/src/DefinitionAssistant.php
@@ -138,8 +138,11 @@ class DefinitionAssistant extends Base
*/
protected static function RegisterDaftObjectTypeFromTypeAndProps(
strin... | tinkering with implementation since at least one properties is expected | SignpostMarv_daft-object | train |
a89dd424ed7d23a58e1212532f7acdceb481a1b1 | diff --git a/h2o-extensions/xgboost/src/test/java/hex/tree/xgboost/XGBoostTest.java b/h2o-extensions/xgboost/src/test/java/hex/tree/xgboost/XGBoostTest.java
index <HASH>..<HASH> 100755
--- a/h2o-extensions/xgboost/src/test/java/hex/tree/xgboost/XGBoostTest.java
+++ b/h2o-extensions/xgboost/src/test/java/hex/tree/xgboos... | XGBoost binomial response weights test assertions enhanced | h2oai_h2o-3 | train |
49d905a7b12a790d7d79fdeda5d15113e3415913 | diff --git a/src/client/Client.js b/src/client/Client.js
index <HASH>..<HASH> 100644
--- a/src/client/Client.js
+++ b/src/client/Client.js
@@ -91,7 +91,6 @@ class Client extends EventEmitter {
* @type {?ShardUtil}
*/
this.shard = process.send ? ShardClientUtil.singleton(this) : null;
- if (this.shar... | Reorganise some shard logic | discordjs_discord.js | train |
4bbae66b4a951ef6bf61672fed14363179590f77 | diff --git a/spyder/plugins/completion/plugin.py b/spyder/plugins/completion/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/completion/plugin.py
+++ b/spyder/plugins/completion/plugin.py
@@ -50,7 +50,6 @@ class CompletionManager(SpyderCompletionPlugin):
LSPRequestTypes.DOCUMENT_COMPLETION: {
... | Completion: Avoid waiting logic when fallback is the only working client | spyder-ide_spyder | train |
b457a7ff9791e1248f97b30667c8f2c5a4f3c3a7 | diff --git a/tapioca/tapioca.py b/tapioca/tapioca.py
index <HASH>..<HASH> 100755
--- a/tapioca/tapioca.py
+++ b/tapioca/tapioca.py
@@ -64,7 +64,9 @@ class TapiocaClient(object):
resource_mapping = self._api.resource_mapping
if name in resource_mapping:
resource = resource_mapping[name]
- ... | using a method to get api root from adapter | vintasoftware_tapioca-wrapper | train |
6e58dc3f1202c51cfb5c2f19f8f8b552bf56c706 | diff --git a/moto/cloudformation/parsing.py b/moto/cloudformation/parsing.py
index <HASH>..<HASH> 100644
--- a/moto/cloudformation/parsing.py
+++ b/moto/cloudformation/parsing.py
@@ -335,9 +335,12 @@ def parse_and_create_resource(logical_id, resource_json, resources_map, region_n
def parse_and_update_resource(logi... | CloudFormation - allow updates of unknown resources (#<I>) | spulec_moto | train |
b44a18f4d5d2c6288caa7113aede4b6cb94a4f6e | diff --git a/lib/iso8601/time.rb b/lib/iso8601/time.rb
index <HASH>..<HASH> 100644
--- a/lib/iso8601/time.rb
+++ b/lib/iso8601/time.rb
@@ -115,22 +115,32 @@ module ISO8601
fail ISO8601::Errors::UnknownPattern, @original if hour.nil?
@separator = separator
+ require_separator = !minute.nil?
... | Fix #<I> accepting time components to have timezone when only the hour atom is provided | arnau_ISO8601 | train |
d3639055251d7acd647c284ee3e33c07f133fa4b | diff --git a/cwltool/cwltest.py b/cwltool/cwltest.py
index <HASH>..<HASH> 100755
--- a/cwltool/cwltest.py
+++ b/cwltool/cwltest.py
@@ -17,35 +17,41 @@ _logger.setLevel(logging.INFO)
UNSUPPORTED_FEATURE = 33
+class CompareFail(Exception):
+ pass
+
def compare(a, b):
try:
if isinstance(a, dict):
... | Improve error reporting in cwltest. | common-workflow-language_cwltool | train |
f070066766fe92286d2903cb9057d615fa8a80a6 | diff --git a/test/cli.js b/test/cli.js
index <HASH>..<HASH> 100644
--- a/test/cli.js
+++ b/test/cli.js
@@ -2,5 +2,5 @@ import test from 'ava'
import execa from 'execa'
test('it runs', () => {
- return execa('../cli.js', ['--help'])
+ return execa('./cli.js', ['--help'])
})
diff --git a/test/util/load.js b/test/u... | Handle ava breaking change. Test cwd is now always project root dir | bustle_shep | train |
3610f08d6b6d9a038bc10cb41769f9a1a3e45b3b | diff --git a/js-packages/webpack-config/index.js b/js-packages/webpack-config/index.js
index <HASH>..<HASH> 100644
--- a/js-packages/webpack-config/index.js
+++ b/js-packages/webpack-config/index.js
@@ -40,7 +40,11 @@ module.exports = function (options = {}) {
['@babel/plugin-transform-runtime', { useE... | Support Mithril fragments with `<></>` syntax (#<I>)
* Support Mithril fragments with `<></>` syntax
* Use '[' for pragmaFrag | flarum_core | train |
c29f79312db00aa4fc66c3a37967394bb78ab584 | diff --git a/scout/ext/backend/case_handler.py b/scout/ext/backend/case_handler.py
index <HASH>..<HASH> 100644
--- a/scout/ext/backend/case_handler.py
+++ b/scout/ext/backend/case_handler.py
@@ -5,7 +5,7 @@ from path import path
from mongoengine import DoesNotExist, Q
from ped_parser import FamilyParser
-from scout... | avoid adding duplicate gene panels
add gene panel method
introduce unique restrictions in model | Clinical-Genomics_scout | train |
010f3a8408ebf41131ffafa59e03d86f4da375fb | diff --git a/ezp/Base/Service.php b/ezp/Base/Service.php
index <HASH>..<HASH> 100644
--- a/ezp/Base/Service.php
+++ b/ezp/Base/Service.php
@@ -8,8 +8,9 @@
*/
namespace ezp\Base;
-use ezp\Base\Repository,
- ezp\Base\Exception\PropertyNotFound,
+use ezp\Base\Model,
+ ezp\Base\Repository,
+ ezp\Base\Exce... | Add: on Servide->fillStruct and missing class in 'use' | ezsystems_ezpublish-kernel | train |
4cac08c48fddd2251c915e3f76cd3aa38d18e324 | diff --git a/lib/classes/record/adapter.php b/lib/classes/record/adapter.php
index <HASH>..<HASH> 100644
--- a/lib/classes/record/adapter.php
+++ b/lib/classes/record/adapter.php
@@ -1107,8 +1107,11 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
$this->set_xml($xml);
unse... | ask to write metadata only if record has subdefs | alchemy-fr_Phraseanet | train |
4f68c9d515287dc6552fb2ec08583f7ebebe1b9b | diff --git a/formwizard/contrib/forms.py b/formwizard/contrib/forms.py
index <HASH>..<HASH> 100644
--- a/formwizard/contrib/forms.py
+++ b/formwizard/contrib/forms.py
@@ -20,8 +20,12 @@ class NamedUrlSessionFormWizard(SessionFormWizard):
if self.request.GET.has_key('reset'):
self.reset_wiz... | updating extra context needs to be done _after_ resetting the form! | stephrdev_django-formwizard | train |
808760be81794d6f0ed94c6f8d3eeb90b79ca3e8 | diff --git a/cumulusci/tasks/bulkdata/extract.py b/cumulusci/tasks/bulkdata/extract.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/bulkdata/extract.py
+++ b/cumulusci/tasks/bulkdata/extract.py
@@ -83,7 +83,7 @@ class ExtractData(SqlAlchemyMixin, BaseSalesforceApiTask):
soql = self._soql_for_mapping(m... | Fix bug with after steps in autopk extracts | SFDO-Tooling_CumulusCI | train |
4ef5bf228acfa9f62751f12988ef935e57c02134 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -221,16 +221,16 @@ class SftpClient {
case 'ENOTFOUND':
case 'ECONNREFUSED':
case 'ERR_SOCKET_BAD_PORT':
- throw err;
- case undefined: {
- ... | Fix bug in end() method
The test for an existing sftp connection was incorrect.
Fixed to actually test for existance of an instantiated
sftp object before claling end() | jyu213_ssh2-sftp-client | train |
0743272c20c034c2252fcf098a94776cc3300144 | diff --git a/qface/watch.py b/qface/watch.py
index <HASH>..<HASH> 100644
--- a/qface/watch.py
+++ b/qface/watch.py
@@ -28,15 +28,15 @@ class RunScriptChangeHandler(FileSystemEventHandler):
self.is_running = False
-def monitor(script, src, dst):
+def monitor(script, src, dst, args):
"""
reloads th... | changed calling of watch.monitor.
It takes now the location of the original script, the source
and destinations and and argv list of the calling arguments | Pelagicore_qface | train |
b289d49cc41c79ff7765bc75bf4bf95ea37bfc09 | diff --git a/lib/simple_response/simple_struct.rb b/lib/simple_response/simple_struct.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_response/simple_struct.rb
+++ b/lib/simple_response/simple_struct.rb
@@ -15,12 +15,12 @@ module SimpleResponse
private
def method_missing(name, *args, &block)
- if exist... | On method missing, ask first for an existing attribute, then for a query method and finally for a write method | giovannibenussi_simple-response | train |
10311f2bb052b41f0894db9415c08323f326bccb | diff --git a/stream.js b/stream.js
index <HASH>..<HASH> 100644
--- a/stream.js
+++ b/stream.js
@@ -35,6 +35,8 @@ Stream.prototype._ready = function () {
else
this.cursor = ltgt.lowerBound(this.opts, 0)
+ if(this.cursor < 0) this.cursor = 0
+
var self = this
this.blocks.getBlock(~~(this.cursor/self.bloc... | accept -1 as a lower bound, compat with flumelog | dominictarr_flumelog-aligned-offset | train |
66b73c9acc531966c9110925ccf4600a9104b92b | diff --git a/cocaine/testing/mocks.py b/cocaine/testing/mocks.py
index <HASH>..<HASH> 100644
--- a/cocaine/testing/mocks.py
+++ b/cocaine/testing/mocks.py
@@ -1,8 +1,11 @@
import collections
import datetime
+import functools
import logging
import sys
+import threading
import msgpack
+from tornado.ioloop import IOL... | Application mock server now runs via event loop in separate thread.
This is needed to perform synchronous operations without blocking program control. | cocaine_cocaine-framework-python | train |
240d7255c5319e3ec566e7460ca4b3edbb32006a | diff --git a/openquake/calculators/hazard/uhs/core.py b/openquake/calculators/hazard/uhs/core.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/hazard/uhs/core.py
+++ b/openquake/calculators/hazard/uhs/core.py
@@ -25,7 +25,7 @@ from django.db import transaction
from django.contrib.gis.geos.geometry import GEO... | Work in progress
I'm stopping here for a moment to create another independent branch to
better handle job parameter validation. | gem_oq-engine | train |
832416543a77d47f3229855283a83afc9967144e | diff --git a/proso_models/models.py b/proso_models/models.py
index <HASH>..<HASH> 100644
--- a/proso_models/models.py
+++ b/proso_models/models.py
@@ -283,7 +283,7 @@ class InMemoryDatabaseFlushEnvironment(InMemoryEnvironment):
del self._prefetched[prefetched_key]
InMemoryEnvironment.write(
... | keep time for audit during recomputation of model
issues: #<I> | adaptive-learning_proso-apps | train |
50fffdf894bf8d29496952b56fbb325e5de7cd41 | diff --git a/topology/probes/k8s/probe.go b/topology/probes/k8s/probe.go
index <HASH>..<HASH> 100644
--- a/topology/probes/k8s/probe.go
+++ b/topology/probes/k8s/probe.go
@@ -23,8 +23,14 @@
package k8s
import (
+ "sync"
+ "time"
+
+ "github.com/skydive-project/skydive/logging"
"github.com/skydive-project/skydive/... | k8s: throttle internal k8s errors | skydive-project_skydive | train |
f7a07387a8b93e670d35e898e3886a3cf8e60f49 | diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -24,7 +24,8 @@ DISTRO_CMD = {
}
APP_USER = APP_NAME = VENV_NAME = 'colab'
-REPO_URL = 'git@github.com:colab-community/colab.git'
+REPO_URL = 'https://github.com/colab-community/colab.git'
+REPO_BRANCH = 'master'
... | Using git branch for deploy
Conflicts:
fabfile.py | colab_colab | train |
05ae63d481b8a705ff02afc5939731e455092b2a | diff --git a/lib/ReactViews/Workbench/Controls/DateTimeSelectorSection.js b/lib/ReactViews/Workbench/Controls/DateTimeSelectorSection.js
index <HASH>..<HASH> 100644
--- a/lib/ReactViews/Workbench/Controls/DateTimeSelectorSection.js
+++ b/lib/ReactViews/Workbench/Controls/DateTimeSelectorSection.js
@@ -41,6 +41,7 @@ con... | notify repaint after datetime picker change | TerriaJS_terriajs | train |
08afbfdd721e6e9d7968dda63217cabe538e7517 | diff --git a/examples/djopenid/consumer/views.py b/examples/djopenid/consumer/views.py
index <HASH>..<HASH> 100644
--- a/examples/djopenid/consumer/views.py
+++ b/examples/djopenid/consumer/views.py
@@ -5,7 +5,7 @@ from django.views.generic.simple import direct_to_template
from openid.consumer import consumer
from ... | [project @ djopenid.consumer.views: correct ax bugs] | necaris_python3-openid | train |
98eb99327b25d955176c2152646bd7fa4a258255 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
## log
<img align="right" src="https://raw.githubusercontent.com/go-playground/log/master/logo.png">
-
+![Project status](https://img.sh... | expanded on pull request 7 by @sm<I> and made same changes to all handlers. | go-playground_log | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.