hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
b92297cd4649d3f37ed4aa87480231ebdc1d7c28 | diff --git a/creamas/core/environment.py b/creamas/core/environment.py
index <HASH>..<HASH> 100644
--- a/creamas/core/environment.py
+++ b/creamas/core/environment.py
@@ -20,6 +20,7 @@ from aiomas import Container
from creamas.logging import ObjectLogger
from creamas.util import run_or_coro
+from creamas.serializer... | Added basic serializers as default extra_serializers when creating a new Environment. | assamite_creamas | train |
463bba25b865e54de1dd219f5e9fa1624d6f5f8f | diff --git a/src/helpers/em.js b/src/helpers/em.js
index <HASH>..<HASH> 100644
--- a/src/helpers/em.js
+++ b/src/helpers/em.js
@@ -6,10 +6,6 @@ import stripUnit from './stripUnit'
/**
* Convert pixel value to ems. The default base value is 16px, but can be changed by passing a
* second argument to the function.
- ... | chore(helpers): update rem helper based on merged em helper | styled-components_polished | train |
0d7a956ed7d5050860c7b532f7719eda6a346553 | diff --git a/src/dialogs.js b/src/dialogs.js
index <HASH>..<HASH> 100644
--- a/src/dialogs.js
+++ b/src/dialogs.js
@@ -499,7 +499,7 @@ angular.module('dialogs.main',['dialogs.services','ngSanitize']) // requires ang
if(!_sheets[i].disabled){
// check href of style sheet first
if(_sheets[i].href !== ... | href added to detect font-awesome
Font-Awesome was not being detected and returning a match on line <I> - changed it to look at the href property to fix the bug. | m-e-conroy_angular-dialog-service | train |
2a7f3e95abd7884f73a5788c57063871d8d0d57a | diff --git a/vault/core.go b/vault/core.go
index <HASH>..<HASH> 100644
--- a/vault/core.go
+++ b/vault/core.go
@@ -1048,6 +1048,11 @@ func (c *Core) Unseal(key []byte) (bool, error) {
// UnsealWithRecoveryKeys is used to provide one of the recovery key shares to
// unseal the Vault.
func (c *Core) UnsealWithRecovery... | Acquire state lock at the start of UnsealWithRecoveryKeys (#<I>)
* Acquire state lock from the start of UnsealWithRecoveryKeys, add metrics
* Change metrics variable | hashicorp_vault | train |
5ff9db68a892544c4619f9aa1d843e3ceceb4851 | diff --git a/src/Roave/DeveloperTools/Inspection/AggregateInspection.php b/src/Roave/DeveloperTools/Inspection/AggregateInspection.php
index <HASH>..<HASH> 100644
--- a/src/Roave/DeveloperTools/Inspection/AggregateInspection.php
+++ b/src/Roave/DeveloperTools/Inspection/AggregateInspection.php
@@ -18,6 +18,8 @@
name... | Ensuring type-safety of collected inspections in the aggregate inspection | Roave_RoaveDeveloperTools | train |
b4e49756dac47774bd1720d4c75e9f7fe40fb326 | diff --git a/Test/PHPUnit/ApiTestCase.php b/Test/PHPUnit/ApiTestCase.php
index <HASH>..<HASH> 100644
--- a/Test/PHPUnit/ApiTestCase.php
+++ b/Test/PHPUnit/ApiTestCase.php
@@ -225,7 +225,8 @@ abstract class ApiTestCase extends WebTestCase
$client = new Client($url);
$client->setHead([
'Acc... | Adding the application/vnd.api+json content type to the HTTP client in the API test case. | GoIntegro_hateoas-bundle | train |
32b15604c6c6b9b18944efcc703db53761c526db | diff --git a/api/app/core/PushNotification/Services/GCM.php b/api/app/core/PushNotification/Services/GCM.php
index <HASH>..<HASH> 100644
--- a/api/app/core/PushNotification/Services/GCM.php
+++ b/api/app/core/PushNotification/Services/GCM.php
@@ -3,7 +3,13 @@ namespace PushNotification\Services;
class GCM {
- publ... | add reference implementation as comment for Android/GCM. #<I> | doubleleft_hook | train |
5adfdc2357bfb94f5de224e1394f286a4c790e5d | diff --git a/src/main/java/com/parship/roperty/Roperty.java b/src/main/java/com/parship/roperty/Roperty.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/parship/roperty/Roperty.java
+++ b/src/main/java/com/parship/roperty/Roperty.java
@@ -241,7 +241,8 @@ public class Roperty {
}
public KeyValues KeyValues... | keys are always trimmed from surrounding whitespace | parship_roperty | train |
38b46145b4e2fb467180f5940bdbefec6c747c01 | diff --git a/shakedown/dcos/helpers.py b/shakedown/dcos/helpers.py
index <HASH>..<HASH> 100644
--- a/shakedown/dcos/helpers.py
+++ b/shakedown/dcos/helpers.py
@@ -93,7 +93,6 @@ def validate_key(key_path):
key_path = os.path.expanduser(key_path)
if not os.path.isfile(key_path):
- print('error: key not... | Remove 'key not found' error
By default, shakedown/paramiko will look for a valid key (default: `~/.ssh/id_rsa`), then fall back to those loaded in `ssh-agent`. Previous to this patch, an error would be continually displayed if `~/.ssh/id_rsa` could not be found. With this removal, the entire keychain will be examin... | dcos_shakedown | train |
600644d5fba0c7216a1cce1eb68e80526e710cc4 | diff --git a/plaso/storage/sqlite/sqlite_file.py b/plaso/storage/sqlite/sqlite_file.py
index <HASH>..<HASH> 100644
--- a/plaso/storage/sqlite/sqlite_file.py
+++ b/plaso/storage/sqlite/sqlite_file.py
@@ -1147,6 +1147,17 @@ class SQLiteStorageFile(interface.BaseStore):
else:
connection = sqlite3.connect(path,... | Changed SQLite store to use in-memory journal (#<I>) | log2timeline_plaso | train |
49cc66cf387a27c146f8f0a111c3dff90101f47a | diff --git a/src/network.js b/src/network.js
index <HASH>..<HASH> 100644
--- a/src/network.js
+++ b/src/network.js
@@ -141,8 +141,8 @@ class Network {
async findAndConnect (cid, options) {
const connectAttempts = []
for await (const provider of this.findProviders(cid, CONSTANTS.maxProvidersPerRequest, opti... | fix: update provider multiaddrs before dial (#<I>)
The output of `libp2p.contentRouting.findProviders()` is `AsyncIterable<{ id: PeerId, multiaddrs: Multiaddr[] }>`
and not `AsyncIterable<PeerId>` as the code assumes. | ipfs_js-ipfs-bitswap | train |
a75d0cf20265db5791c2b6e868fcf151ec13d059 | diff --git a/js/bibox.js b/js/bibox.js
index <HASH>..<HASH> 100644
--- a/js/bibox.js
+++ b/js/bibox.js
@@ -194,6 +194,14 @@ module.exports = class bibox extends Exchange {
'mdata': 'v1',
'cdata': 'v1',
'orderpending': 'v1',
+ ... | bibox added v3 api endpoints | ccxt_ccxt | train |
d432f2ef2b81632cb95bd90f15e75457d258168f | diff --git a/law/contrib/tensorflow/formatter.py b/law/contrib/tensorflow/formatter.py
index <HASH>..<HASH> 100644
--- a/law/contrib/tensorflow/formatter.py
+++ b/law/contrib/tensorflow/formatter.py
@@ -108,11 +108,11 @@ class TFGraphFormatter(Formatter):
However, when *variables_to_constants* is *True*, *obj*... | Allow keras models being converted to graphs in TF graph formatter. | riga_law | train |
cdd9ea66208e3d70d1cf2a34530ba69bc3c58a50 | diff --git a/airflow/www/views.py b/airflow/www/views.py
index <HASH>..<HASH> 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -4920,3 +4920,28 @@ class CustomUserOIDModelView(MultiResourceUserMixin, UserOIDModelView):
class CustomUserRemoteUserModelView(MultiResourceUserMixin, UserRemoteUserModelView... | Add possibility to create user in the Remote User mode (#<I>) | apache_airflow | train |
8b82353a2c329e3326c13dff1fc09b5112e54d96 | diff --git a/atomic_reactor/plugins/pre_resolve_composes.py b/atomic_reactor/plugins/pre_resolve_composes.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/plugins/pre_resolve_composes.py
+++ b/atomic_reactor/plugins/pre_resolve_composes.py
@@ -149,8 +149,14 @@ class ResolveComposesPlugin(PreBuildPlugin):
... | ResolveComposesPlugin allows to handle FROM-scratch image
* CLOUDBLD-<I> | projectatomic_atomic-reactor | train |
4070140e538960a594a158503a13e6c7f79c6f0a | diff --git a/fmn/lib/__init__.py b/fmn/lib/__init__.py
index <HASH>..<HASH> 100644
--- a/fmn/lib/__init__.py
+++ b/fmn/lib/__init__.py
@@ -120,7 +120,7 @@ def validate_detail_value(ctx, value):
elif ctx.name == 'email':
if re.match(email_regex, value) is None:
raise ValueError("value must be ... | change it here too, since I already messed up master | fedora-infra_fmn.lib | train |
99151092682ea5d7722450777d710c6da430dad9 | diff --git a/lib/tests/weblib_test.php b/lib/tests/weblib_test.php
index <HASH>..<HASH> 100644
--- a/lib/tests/weblib_test.php
+++ b/lib/tests/weblib_test.php
@@ -285,6 +285,16 @@ class core_weblib_testcase extends advanced_testcase {
$this->assertTrue($url1->compare($url2, URL_MATCH_BASE));
$this->as... | MDL-<I> moodle_url: compare now considers anchor | moodle_moodle | train |
6345e02d20189d90240e2e41c51718c493b043c4 | diff --git a/store/store.go b/store/store.go
index <HASH>..<HASH> 100644
--- a/store/store.go
+++ b/store/store.go
@@ -465,12 +465,16 @@ func (s *Store) TestAndSet(key string, prevValue string, value string, expireTim
resp := s.internalGet(key)
if resp == nil {
- return nil, etcdErr.NewError(100, "testandset: "+... | test and set creates the key if key does not exists. fixes #<I> | etcd-io_etcd | train |
345341bb40033ca948b654b9fa2e24f57ffadf6e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -12,7 +12,7 @@ var Marvel = function(opts) {
}
this.publicKey = opts.publicKey
this.privateKey = opts.privateKey
- this.apiDomain = "http://gateway.marvel.com"
+ this.apiDomain = "https://gateway.marvel.com"
}
v... | setting strictSSL to false to allow for self-signed Marvel cert | swang_marvel | train |
5caeea240e9d6bfce0eeca2a752862a76b228766 | diff --git a/lib/data_mapper/engine.rb b/lib/data_mapper/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/engine.rb
+++ b/lib/data_mapper/engine.rb
@@ -47,7 +47,7 @@ module DataMapper
def initialize(uri)
@uri = Addressable::URI.parse(uri)
@relations = Relation::Graph.new(self)
- ... | Pass the already coerced uri down to DataObjects | rom-rb_rom | train |
3c6f9ff9b6eba4125e9170800028a927991f7978 | diff --git a/src/model/Computation.js b/src/model/Computation.js
index <HASH>..<HASH> 100644
--- a/src/model/Computation.js
+++ b/src/model/Computation.js
@@ -157,4 +157,13 @@ export default class Computation extends Model {
this.dependencies = dependencies;
}
+
+ teardown () {
+ let i = this.dependencies.lengt... | make sure components and expressions don't keep old stuff in scope | ractivejs_ractive | train |
9eb4b8972a0d6fea34fd0cb1505a6c07d727acb6 | diff --git a/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb b/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/transaction.rb
+++ b/activerecord/lib/active_record/connectio... | Re-allow committing transactions already rolled back | rails_rails | train |
64978e323f0d6951a079f1dbe7d6b80127ffc19d | diff --git a/chart/tests/test_pod_template_file.py b/chart/tests/test_pod_template_file.py
index <HASH>..<HASH> 100644
--- a/chart/tests/test_pod_template_file.py
+++ b/chart/tests/test_pod_template_file.py
@@ -193,7 +193,7 @@ class PodTemplateFileTest(unittest.TestCase):
self.assertRegex(docs[0]["kind"], "P... | Fix helm unit test for pod_template_file (#<I>)
Fixes bug in unittest that is causing master to fail. | apache_airflow | train |
ba2f2901009185a57e450dcc3399f486c184db62 | diff --git a/src/js/ripple/remote.js b/src/js/ripple/remote.js
index <HASH>..<HASH> 100644
--- a/src/js/ripple/remote.js
+++ b/src/js/ripple/remote.js
@@ -370,6 +370,16 @@ var Remote = function (opts, trace) {
util.inherits(Remote, EventEmitter);
+// Flags for ledger entries. In support of account_root().
+Remote.... | Add support for AccountSet and account_root flags. | ChainSQL_chainsql-lib | train |
e365f0e4960baaf1427228f9ddfd2ae10f0bdd43 | diff --git a/jujupy.py b/jujupy.py
index <HASH>..<HASH> 100644
--- a/jujupy.py
+++ b/jujupy.py
@@ -1335,11 +1335,17 @@ class EnvJujuClient:
return exit_status
def kill_controller(self):
- """Kill a controller and its models."""
+ """Kill a controller and its models. Hard kill option."""
... | Added the soft kill destroy-controller. | juju_juju | train |
fc997e103bbf787e621b181beb70f0fb6c2929b4 | diff --git a/lib/will_paginate/view_helpers.rb b/lib/will_paginate/view_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/will_paginate/view_helpers.rb
+++ b/lib/will_paginate/view_helpers.rb
@@ -298,6 +298,7 @@ module WillPaginate
def page_link_or_span(page, span_class, text = nil)
text ||= page.to_s
... | mark prev/next page labels as `html_safe!`
closes #<I> | mislav_will_paginate | train |
0ab421b40659dbed225960bdf68fb1bdb0fbbf5b | diff --git a/src/TestSuite/IntegrationTestCase.php b/src/TestSuite/IntegrationTestCase.php
index <HASH>..<HASH> 100644
--- a/src/TestSuite/IntegrationTestCase.php
+++ b/src/TestSuite/IntegrationTestCase.php
@@ -22,6 +22,7 @@ if (class_exists('PHPUnit_Runner_Version', false) && !interface_exists('PHPUnit\
use Cake\Co... | Fixed regression in IntegrationTestCase where urls with query strings failed security checks | cakephp_cakephp | train |
ad8c5796a308bc24a93f5a435f73d9dd85992915 | diff --git a/src/org/opencms/staticexport/CmsLinkManager.java b/src/org/opencms/staticexport/CmsLinkManager.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/staticexport/CmsLinkManager.java
+++ b/src/org/opencms/staticexport/CmsLinkManager.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/or... | Corrected error in handling local links (fragment only) | alkacon_opencms-core | train |
52c223ed5a138b599ca68313945e1f74e9f202d6 | diff --git a/themes/socialblue/color/preview.js b/themes/socialblue/color/preview.js
index <HASH>..<HASH> 100644
--- a/themes/socialblue/color/preview.js
+++ b/themes/socialblue/color/preview.js
@@ -70,31 +70,24 @@
var colorPreviewLever = $('.color-preview-hero .switch .lever');
var colorPreviewCover = $(... | Issue #<I> by agami4: Clear preview.js file | goalgorilla_open_social | train |
3e1d21eb85489e62fa48a9c4112ef1c9d8a10795 | diff --git a/mozilla/gcli/settings.js b/mozilla/gcli/settings.js
index <HASH>..<HASH> 100644
--- a/mozilla/gcli/settings.js
+++ b/mozilla/gcli/settings.js
@@ -36,26 +36,8 @@ imports.XPCOMUtils.defineLazyGetter(imports, 'supportsString', function() {
var util = require('gcli/util');
var types = require('gcli/types');
... | perf-<I>: Only read system prefs when needed
We can now use gcli-only settings without needing to load system prefs.
This allows us to do things like check if we need to use the intro
command without and pref related slowdown. | joewalker_gcli | train |
134e7aa58225ffaa7d075b9f121b8733c7c5b274 | diff --git a/spring-data-simpledb-impl/src/main/java/org/springframework/data/simpledb/core/AbstractSimpleDbTemplate.java b/spring-data-simpledb-impl/src/main/java/org/springframework/data/simpledb/core/AbstractSimpleDbTemplate.java
index <HASH>..<HASH> 100644
--- a/spring-data-simpledb-impl/src/main/java/org/springfra... | Added domain creation on find/delete/count to avoid non-existent domain
exception. | 3pillarlabs_spring-data-simpledb | train |
cda0330a109e5a7d95b7d7c273ae61089ffe7e5f | diff --git a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/HasMetadataOperation.java b/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/HasMetadataOperation.java
index <HASH>..<HASH> 100644
--- a/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/HasMetada... | Fixes #<I>: optimize watch to avoid missing events | fabric8io_kubernetes-client | train |
de59c531f6c05602da069af7fb5d6a35c80dec94 | diff --git a/app/lib/actions/staypuft/host/deploy.rb b/app/lib/actions/staypuft/host/deploy.rb
index <HASH>..<HASH> 100644
--- a/app/lib/actions/staypuft/host/deploy.rb
+++ b/app/lib/actions/staypuft/host/deploy.rb
@@ -20,17 +20,25 @@ module Actions
input.update host: { id: host.id, name: host.name }
- ... | Support adding new machines to OpenStack roles after initial deployment | theforeman_staypuft | train |
79fd1749f331a1016d41c7cfb9a65e7b4fbe8339 | diff --git a/tests.js b/tests.js
index <HASH>..<HASH> 100644
--- a/tests.js
+++ b/tests.js
@@ -67,6 +67,7 @@ test('basics', function(t){
tt(e('var', 'i'), 'var i;');
tt(e('var', 'i', e.num(1.5)), 'var i = 1.5;');
+ tt(e('var', e.id('blah')), 'var blah;');
tt(e.fn(['a', 'b'], [
e('return', e('+', e.id... | test for var, when given estree node as id | smallhelm_estree-builder | train |
3fec766e390b5d926efe8d52c3bcbd23e5f22af9 | diff --git a/webagg/responseloader.py b/webagg/responseloader.py
index <HASH>..<HASH> 100644
--- a/webagg/responseloader.py
+++ b/webagg/responseloader.py
@@ -133,7 +133,17 @@ class RedisResolver(RedisIndexSource):
if hasattr(cdx, '_formatter') and cdx._formatter:
redis_key = cdx._formatter.format... | webagg: redis lookup: if url contains wildcard, scan redis keys to check multiple keys until one is found
webagg tests: fix test to include mime in live cdx | webrecorder_pywb | train |
4f440fcbb9f92723ac8ae227534bbde51d5be2d9 | diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java
index <HASH>..<HASH> 100644
--- a/spring-boot-tools/spring-boot-loader/src/main/jav... | Java 7 ClassLoader performance improvements
Use Java 7 `registerAsParallelCapable` and `getClassLoadingLock` methods
when possible. This should improve performance when running on JDK 7+
whilst still remaining JDK 6 compatible.
Closes gh-<I> | spring-projects_spring-boot | train |
5b6f3afefa47a065ba883220afb5eae20d7ed3fa | diff --git a/tsdb/store.go b/tsdb/store.go
index <HASH>..<HASH> 100644
--- a/tsdb/store.go
+++ b/tsdb/store.go
@@ -8,6 +8,7 @@ import (
"log"
"os"
"path/filepath"
+ "runtime"
"sort"
"strconv"
"strings"
@@ -131,7 +132,7 @@ func (s *Store) loadShards() error {
err error
}
- throttle := newthrottle(4)
+... | Limit concurrent shards loading to number of cores available | influxdata_influxdb | train |
837591c9db77940e625904fdeaa9f43f27a9966b | diff --git a/lib/test-client.js b/lib/test-client.js
index <HASH>..<HASH> 100644
--- a/lib/test-client.js
+++ b/lib/test-client.js
@@ -79,7 +79,7 @@ function testPair(pair,done){
try{
assert.deepEqual(
body.nextConfiguration.sort(),
- ( ((typeof sessionToken === 'nu... | Updated the test client so that it is able to accept non-number session tokens. | jbeard4_scxml-test-framework | train |
c3563133935abfe109f4563500526e7b37e6344d | diff --git a/src/main/java/org/lmdbjava/Dbi.java b/src/main/java/org/lmdbjava/Dbi.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/lmdbjava/Dbi.java
+++ b/src/main/java/org/lmdbjava/Dbi.java
@@ -136,24 +136,6 @@ public final class Dbi<T> {
}
/**
- * Gets an item from the database.
- *
- * @param k... | Remove Dbi.get(T):T as returned buffer may be reclaimed | lmdbjava_lmdbjava | train |
48e4e5c02c03c36ff6e2edff7ebb0df437de5cc2 | diff --git a/protempa-framework/src/main/java/org/protempa/backend/BackendSpecLoader.java b/protempa-framework/src/main/java/org/protempa/backend/BackendSpecLoader.java
index <HASH>..<HASH> 100644
--- a/protempa-framework/src/main/java/org/protempa/backend/BackendSpecLoader.java
+++ b/protempa-framework/src/main/java/o... | <?> construct was somehow breaking compilation. | eurekaclinical_protempa | train |
ba9c8e80fddfe16d370c2618121948f5a3e18ef0 | diff --git a/odl/space/ntuples.py b/odl/space/ntuples.py
index <HASH>..<HASH> 100644
--- a/odl/space/ntuples.py
+++ b/odl/space/ntuples.py
@@ -701,6 +701,12 @@ class Fn(FnBase, Ntuples):
self._space_funcs = _FnCustomInnerProduct(inner)
else: # all None -> no weighing
self._space_func... | moved real_dtype to Fn, closes #<I> | odlgroup_odl | train |
da635c5f2d7360a27518e1e7e0ae977bd142226f | diff --git a/build.gradle b/build.gradle
index <HASH>..<HASH> 100644
--- a/build.gradle
+++ b/build.gradle
@@ -146,6 +146,10 @@ subprojects {
required { gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}
+
+ tasks.withType(Compile) {
+ options.compilerArgs << "-... | suppress warnings in json path request extractor and fixed waring on dynamic request matcher parser | dreamhead_moco | train |
d388b48951327955a9a9031a229f02880e2c6f05 | diff --git a/kafka/client_async.py b/kafka/client_async.py
index <HASH>..<HASH> 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -321,14 +321,15 @@ class KafkaClient(object):
log.warning("Node %s connection failed -- refreshing metadata", node_id)
self.cluster.... | Dont do client wakeup when sending from sender thread (#<I>) | dpkp_kafka-python | train |
379e5494746940e4962cb8610b1cc4a2ca910ab8 | diff --git a/core-bundle/contao/dca/tl_page.php b/core-bundle/contao/dca/tl_page.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/dca/tl_page.php
+++ b/core-bundle/contao/dca/tl_page.php
@@ -332,6 +332,7 @@ $GLOBALS['TL_DCA']['tl_page'] = array
'staticFiles' => array
(
'label' => &$G... | [Core] Add two missing "exclude" flags in the tl_page data container (see #<I>) | contao_contao | train |
082b17bd43c6ebf708c6e71a6db38578d8def315 | diff --git a/DrdPlus/Tests/PropertiesByLevels/PropertiesByLevelsTest.php b/DrdPlus/Tests/PropertiesByLevels/PropertiesByLevelsTest.php
index <HASH>..<HASH> 100644
--- a/DrdPlus/Tests/PropertiesByLevels/PropertiesByLevelsTest.php
+++ b/DrdPlus/Tests/PropertiesByLevels/PropertiesByLevelsTest.php
@@ -40,7 +40,7 @@ use Drd... | Fixed after a library incompatible change | drdplusinfo_drdplus-properties-by-levels | train |
22b35cf76d0289ddd693c4a6f41a55ac4bc62a64 | diff --git a/modules/core/src/main/java/org/torquebox/TorqueBox.java b/modules/core/src/main/java/org/torquebox/TorqueBox.java
index <HASH>..<HASH> 100644
--- a/modules/core/src/main/java/org/torquebox/TorqueBox.java
+++ b/modules/core/src/main/java/org/torquebox/TorqueBox.java
@@ -1,5 +1,6 @@
package org.torquebox;
... | Remove linkage to org.jboss.logging classes, allow exception to percolate. | torquebox_torquebox | train |
dd5b92e53c1af6b10c1cfb10afc8e83ea10d31f0 | diff --git a/telehash.js b/telehash.js
index <HASH>..<HASH> 100644
--- a/telehash.js
+++ b/telehash.js
@@ -47,11 +47,69 @@ exports.generate = function(cb)
});
}
-exports.mesh = function(args, cb)
+exports.mesh = function(args, cbMesh)
{
- if(typeof args != 'object' || typeof args.id != 'object') return cb('inva... | much more of the mesh creation/init logic | telehash_telehash-js | train |
159bd36e5bd43a1d1e57d992e5604deabcaa4374 | diff --git a/src/Driver/RemoteClient.php b/src/Driver/RemoteClient.php
index <HASH>..<HASH> 100644
--- a/src/Driver/RemoteClient.php
+++ b/src/Driver/RemoteClient.php
@@ -439,7 +439,7 @@ final class RemoteClient implements Client
\assert($this->logger->debug(\sprintf(
"TLS handshake error ... | Handle last error not being set
I’m surprised this can happen here, but it did… | amphp_http-server | train |
41eebf2cebed569223c4858eb24e7c6549b5996b | diff --git a/src/main/java/org/primefaces/extensions/component/knob/Knob.java b/src/main/java/org/primefaces/extensions/component/knob/Knob.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/extensions/component/knob/Knob.java
+++ b/src/main/java/org/primefaces/extensions/component/knob/Knob.java
@@ -4... | Added missing height property to knob component | primefaces-extensions_core | train |
0cc0eb91a1126d1a7a5986d5e2a9655280a01cea | diff --git a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/Naming.java b/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/Naming.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/Naming.java
+++ b/plugins/org.eclipse.xtext... | [ide] fixed naming of idea base package
Using the same approach as for the ui base package now | eclipse_xtext-extras | train |
9aafea99118e306f88489e632c895068e042b594 | diff --git a/aloe_webdriver/tests/base.py b/aloe_webdriver/tests/base.py
index <HASH>..<HASH> 100644
--- a/aloe_webdriver/tests/base.py
+++ b/aloe_webdriver/tests/base.py
@@ -5,6 +5,8 @@ Base functions for tests.
import os
from functools import wraps
+from selenium import webdriver
+
from aloe.testing import in_di... | Extract creating a test browser into a function | aloetesting_aloe_webdriver | train |
bff5a8018b10f46d03fef552d5b5d255c0b207c3 | diff --git a/lib/credy.rb b/lib/credy.rb
index <HASH>..<HASH> 100644
--- a/lib/credy.rb
+++ b/lib/credy.rb
@@ -13,33 +13,12 @@ module Credy
# Generate a credit card number
def self.generate(options = {})
-
- # Include global rules (not based on country)
- include_global_rules = options[:country].n... | Refactor CreditCard.generate | TimPetricola_Credy | train |
ad95c9aa5e80975d384ff840baf02670fe7532e7 | diff --git a/cli/cmd/cmd.go b/cli/cmd/cmd.go
index <HASH>..<HASH> 100644
--- a/cli/cmd/cmd.go
+++ b/cli/cmd/cmd.go
@@ -131,6 +131,13 @@ func New(driver api.API, config utils.ConfigReader, logControl logging.LogContro
cli.IntFlag{"service-run-level-timeout", defaultOps.ServiceRunLevelTimeout, "max time in seconds t... | Add cli flags that were accidentally removed | control-center_serviced | train |
67d1d2dc8192c09d9cda591d63719a7964f365c8 | diff --git a/app/scripts/angular-apimock.js b/app/scripts/angular-apimock.js
index <HASH>..<HASH> 100644
--- a/app/scripts/angular-apimock.js
+++ b/app/scripts/angular-apimock.js
@@ -70,26 +70,25 @@ angular.module('apiMock', [])
}
function serializeQueryObject(paramObj) {
- paramObj = sortObjPropertiesAlpha(p... | refactor(queryParams): simplify param object handling
By sorting query params within the serializer we keep that logic as a
part of it, and delete sortObjPropertiesAlpha() to save space.
Also cleaned up some variables around queryStringToObject() usage. | seriema_angular-apimock | train |
f9c5aa6bd0e76a1812106bacbc38ff48e0c9a60b | diff --git a/src/reporter/console.js b/src/reporter/console.js
index <HASH>..<HASH> 100644
--- a/src/reporter/console.js
+++ b/src/reporter/console.js
@@ -41,7 +41,11 @@ ConsoleReporter.prototype.onAfterScenario = function (err, scenarioRunner, brows
this.matrix[browserId(browserCfg)][scenarioRunner.getName()] = e... | Output is more sexy. | themouette_selenium-grid | train |
e85fc02db38bc4c3b7f678b912af1ad849ffc06d | diff --git a/src/assegai/TestController.php b/src/assegai/TestController.php
index <HASH>..<HASH> 100644
--- a/src/assegai/TestController.php
+++ b/src/assegai/TestController.php
@@ -54,7 +54,18 @@ class TestController extends \PHPUnit_Framework_TestCase implements IController
$this->server = $container->give('serve... | Updated the test controller to the latest code. | Etenil_assegai | train |
920e7a6543985926dbf29b48ff72482a580d49d4 | diff --git a/spikeylab/main/acqmodel.py b/spikeylab/main/acqmodel.py
index <HASH>..<HASH> 100644
--- a/spikeylab/main/acqmodel.py
+++ b/spikeylab/main/acqmodel.py
@@ -155,13 +155,9 @@ class AcquisitionModel():
if 'caldb' in kwargs or 'calv' in kwargs:
self.update_reference_voltage()
- def cle... | Updates vocal stimulus file only when double clicked | portfors-lab_sparkle | train |
1d172e56cf985b602ea93723af303c0e4483bc59 | diff --git a/geomdl/_operations.py b/geomdl/_operations.py
index <HASH>..<HASH> 100644
--- a/geomdl/_operations.py
+++ b/geomdl/_operations.py
@@ -8,6 +8,8 @@
"""
from . import linalg, helpers
+from .exceptions import GeomdlException
+
# Initialize an empty __all__ for controlling imports
__all__ = []
@@ -292,3... | Add _operations.link_curves to support degree change operations | orbingol_NURBS-Python | train |
3236702569aaf24e0ee52063a23734c1a0e52e64 | diff --git a/core/chords.js b/core/chords.js
index <HASH>..<HASH> 100644
--- a/core/chords.js
+++ b/core/chords.js
@@ -457,6 +457,64 @@ function dominant_thirteenth(note) {
arr.push(intervals.major_sixth(note));
return arr;
}
+
+/*===================================================================
+ Suspende... | ADD: Suspended Chords | btwael_zazate.js | train |
bc6902623a32ae562273ec5ff8ce2b0b34ffec73 | diff --git a/lib/FrameManager.js b/lib/FrameManager.js
index <HASH>..<HASH> 100644
--- a/lib/FrameManager.js
+++ b/lib/FrameManager.js
@@ -618,7 +618,7 @@ class Frame {
* @return {!Promise}
*/
waitForFunction(pageFunction, options = {}, ...args) {
- const timeout = options.timeout || 30000;
+ const tim... | fix: allow timeouts of be 0 (#<I>)
This patch fixes timeouts for `puppeteer.launch` and `page.waitForFunction`
to be `0`.
Fixes #<I> . | GoogleChrome_puppeteer | train |
ebc1718abeaa45faf39fd066f173e8bef8c2deac | diff --git a/src/main/java/com/github/tonivade/zeromock/Handlers.java b/src/main/java/com/github/tonivade/zeromock/Handlers.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/tonivade/zeromock/Handlers.java
+++ b/src/main/java/com/github/tonivade/zeromock/Handlers.java
@@ -18,11 +18,11 @@ public class Hand... | Using generics in Handlers | tonivade_zeromock | train |
ff24109c3baad0ca1037aeb17677c95d25d9709a | diff --git a/paperweight/gitio.py b/paperweight/gitio.py
index <HASH>..<HASH> 100755
--- a/paperweight/gitio.py
+++ b/paperweight/gitio.py
@@ -62,3 +62,27 @@ def _read_blob(tree, filename):
# txt = txt.encode('utf-8')
return txt
return None
+
+
+def absolute_git_root_dir(fpath=""):
+ "... | Hacky function to get abs path of git repo root | jonathansick_paperweight | train |
4cfb2250f1db3ffc2947e9ddc844d66db69f25ee | diff --git a/src/Mailer/Mail.php b/src/Mailer/Mail.php
index <HASH>..<HASH> 100644
--- a/src/Mailer/Mail.php
+++ b/src/Mailer/Mail.php
@@ -28,19 +28,16 @@ class Mail
{
$params = array();
- AppConfig::where(function ($query) {
- $query->where('name', 'mail.driver')
- ... | throw 'origin_not_allowed' error when allowed origin isn't present. #<I> | doubleleft_hook | train |
dfa05dab16dc841d1909e17d2a3e8dda9c60fb58 | diff --git a/closure/goog/editor/link.js b/closure/goog/editor/link.js
index <HASH>..<HASH> 100644
--- a/closure/goog/editor/link.js
+++ b/closure/goog/editor/link.js
@@ -307,11 +307,9 @@ goog.editor.Link.isLikelyUrl = function(str) {
return true;
}
- // Require domains to contain a '.', unless the domain is... | Automated g4 rollback
*** Reason for rollback ***
Breaks
*** Original change description ***
Update parsing in goog.Uri to correctly handle IPv6 and domains
with certain non-authority-terminating characters.
R=mfrederick
DELTA=<I> (2 added, <I> deleted, 4 changed)
Revision created by MOE tool push_codebase.
MOE... | google_closure-library | train |
691baa0376efef4b98af070c86298f357fcea422 | diff --git a/test/renderer/agendas/index_spec.js b/test/renderer/agendas/index_spec.js
index <HASH>..<HASH> 100644
--- a/test/renderer/agendas/index_spec.js
+++ b/test/renderer/agendas/index_spec.js
@@ -8,7 +8,7 @@ describe('executeCell', function() {
this.timeout(5000);
it('produces the right output', () => {
... | Use the immutable document store in agenda spec | nteract_nteract | train |
2762aca031555ac52b3e5b2ad6e10fa34aabe36b | diff --git a/src/test/java/com/cronutils/model/time/ExecutionTimeQuartzIntegrationTest.java b/src/test/java/com/cronutils/model/time/ExecutionTimeQuartzIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/cronutils/model/time/ExecutionTimeQuartzIntegrationTest.java
+++ b/src/test/java/com/cronutils/... | Bugfix: Issue #<I>: Add test and validate issue was fixed. | jmrozanec_cron-utils | train |
3fbaa22b66df44de5cb8b2e35ae0a8122f775e6c | diff --git a/nion/swift/test/DocumentController_test.py b/nion/swift/test/DocumentController_test.py
index <HASH>..<HASH> 100644
--- a/nion/swift/test/DocumentController_test.py
+++ b/nion/swift/test/DocumentController_test.py
@@ -418,6 +418,56 @@ class TestDocumentControllerClass(unittest.TestCase):
self.... | Add (failing, disabled) tests for cascading deletes. | nion-software_nionswift | train |
d648ddbac953aa238a812cce0d6b5a690d1a0e53 | diff --git a/worker/buildbot_worker/base.py b/worker/buildbot_worker/base.py
index <HASH>..<HASH> 100644
--- a/worker/buildbot_worker/base.py
+++ b/worker/buildbot_worker/base.py
@@ -58,9 +58,9 @@ class WorkerForBuilderBase(service.Service):
# is running. We use it to implement the stopBuild method.
command =... | worker: Synchronize worker naming for master's remote command | buildbot_buildbot | train |
8a69c2dbf80045264094d79576e23c62a06cba45 | diff --git a/chrome/src/extension/content_script.js b/chrome/src/extension/content_script.js
index <HASH>..<HASH> 100644
--- a/chrome/src/extension/content_script.js
+++ b/chrome/src/extension/content_script.js
@@ -1046,30 +1046,44 @@ function findWhetherElementIsSelected(element) {
}
/**
- * Gets the coordinate... | DanielWagnerHall: Fixing up element coord getting to actually get document position, not clipped position, and be more accurate
r<I> | SeleniumHQ_selenium | train |
6cfc36d8cc77e739a8d2299247db3147b6d93e6f | diff --git a/src/ol/object.js b/src/ol/object.js
index <HASH>..<HASH> 100644
--- a/src/ol/object.js
+++ b/src/ol/object.js
@@ -91,7 +91,8 @@ ol.Object.getAccessors = function(obj) {
* @return {string} Changed name.
*/
ol.Object.getChangedEventType = function(key) {
- return ol.Object.changedEventTypeCache_[key] |... | Using hasOwnProperty is better for user keys on objects we control | openlayers_openlayers | train |
b59e062f8613916a4d17de56c3ae75b1dc13d6ba | diff --git a/local_settings/settings.py b/local_settings/settings.py
index <HASH>..<HASH> 100644
--- a/local_settings/settings.py
+++ b/local_settings/settings.py
@@ -84,6 +84,14 @@ class Settings(dict):
def __setattr__(self, name, value):
self[name] = value
+ # Support for copying and pickling.
+
+ ... | Add support for copying & pickling to Settings
This is necessary because of the way `Settings.__getattr__()` works.
This was initially added because Raven (the Python/Django library for
Sentry) does copies the settings object for some unknown reason. | PSU-OIT-ARC_django-local-settings | train |
32cd03a5f0fe566b9feac008b61fc2097b094d9a | diff --git a/chorus/src/main/java/org/chorusbdd/chorus/handlers/processes/AbstractChorusProcess.java b/chorus/src/main/java/org/chorusbdd/chorus/handlers/processes/AbstractChorusProcess.java
index <HASH>..<HASH> 100644
--- a/chorus/src/main/java/org/chorusbdd/chorus/handlers/processes/AbstractChorusProcess.java
+++ b/c... | Refactoring to prepare for match expression against output without line terminator | Chorus-bdd_Chorus | train |
f23a8de55c7d7d4bb0cfe86f530f694f944ad4ca | diff --git a/src/cmd/library_install.js b/src/cmd/library_install.js
index <HASH>..<HASH> 100644
--- a/src/cmd/library_install.js
+++ b/src/cmd/library_install.js
@@ -137,12 +137,15 @@ export class LibraryInstallCommand extends Command {
const cloudRepo = new CloudLibraryRepository({client});
const context = {};
... | updates library install to use async libraries folder | particle-iot_particle-commands | train |
2822fc26e7de2c07329dd98cfc2567b6c2ffcdef | diff --git a/lib/moped/cluster.rb b/lib/moped/cluster.rb
index <HASH>..<HASH> 100644
--- a/lib/moped/cluster.rb
+++ b/lib/moped/cluster.rb
@@ -5,22 +5,24 @@ module Moped
# The cluster represents a cluster of MongoDB server nodes, either a single
# node, a replica set, or a mongos server.
+ #
+ # @since 1.0.0
... | Ensure refresh happens on ring shift | mongoid_moped | train |
58b0e788acd598c171aa76564500987a1fa59c92 | diff --git a/context.go b/context.go
index <HASH>..<HASH> 100644
--- a/context.go
+++ b/context.go
@@ -251,6 +251,8 @@ func (c *nativeContext) Sender() *User {
return c.preCheckoutQuery.Sender
case c.pollAnswer != nil:
return c.pollAnswer.Sender
+ case c.chatJoinRequest != nil:
+ return c.chatJoinRequest.Sende... | context: add chat join request to the Sender and Chat functions | tucnak_telebot | train |
728a66f793b1ae4f0fc679157f9f5f465ada8d62 | diff --git a/test/helpers_test.rb b/test/helpers_test.rb
index <HASH>..<HASH> 100644
--- a/test/helpers_test.rb
+++ b/test/helpers_test.rb
@@ -716,7 +716,7 @@ class HelpersTest < Test::Unit::TestCase
get '/compare', {}, { 'HTTP_IF_MODIFIED_SINCE' => 'Sun, 26 Sep 2010 23:43:52 GMT' }
assert_equ... | fix last_modified tests failing on OSX <I> with <I> due to Time.httpdate limitations | sinatra_sinatra | train |
4ca3510edfec43333ce3ed38c9afaac3d8bcf43f | diff --git a/calendar/src/main/java/net/time4j/calendar/hijri/AstronomicalHijriData.java b/calendar/src/main/java/net/time4j/calendar/hijri/AstronomicalHijriData.java
index <HASH>..<HASH> 100644
--- a/calendar/src/main/java/net/time4j/calendar/hijri/AstronomicalHijriData.java
+++ b/calendar/src/main/java/net/time4j/cal... | simplify method names in HijriCalendar
see issue #<I> | MenoData_Time4J | train |
80d47e4b0cc40f4f2796b51996c3677339d8a074 | diff --git a/src/components/TimeBasedLineChart.js b/src/components/TimeBasedLineChart.js
index <HASH>..<HASH> 100644
--- a/src/components/TimeBasedLineChart.js
+++ b/src/components/TimeBasedLineChart.js
@@ -708,7 +708,7 @@ TimeBasedLineChart.propTypes = {
lineColor: React.PropTypes.string,
margin: React.PropTypes... | TimeBasedLineChart: restrict rangeType to 'day' and 'month' | mxenabled_mx-react-components | train |
f452c33ed2d1a79aa044c2eb23e3156cfe77f4d9 | diff --git a/polyfills/_mutation/polyfill.js b/polyfills/_mutation/polyfill.js
index <HASH>..<HASH> 100644
--- a/polyfills/_mutation/polyfill.js
+++ b/polyfills/_mutation/polyfill.js
@@ -1,22 +1,38 @@
-// http://dom.spec.whatwg.org/#mutation-method-macro
-function _mutation(nodes) { // eslint-disable-line no-unused-var... | non-node are accepted and converted as Text (#<I>)
* non-node are converted as Text
* .append, .after, .. can be called with no arg
* fix more or less badly for ie8-
* Use a safer isDOM check
* Update polyfill.js | Financial-Times_polyfill-service | train |
e3bdd07242134260b02a359142115f2db48e68f4 | diff --git a/lib/winrm/http/transport.rb b/lib/winrm/http/transport.rb
index <HASH>..<HASH> 100644
--- a/lib/winrm/http/transport.rb
+++ b/lib/winrm/http/transport.rb
@@ -44,25 +44,15 @@ module WinRM
log_soap_message(message)
hdr = { 'Content-Type' => 'application/soap+xml;charset=UTF-8',
... | refactored the winrm_service to call ClientCertAuthSSL whe na cert is provided | WinRb_WinRM | train |
3620f945d10ebb12213163dbfeef9eb547ae201b | diff --git a/sources/scala/runtime/types/ScalaClassType.java b/sources/scala/runtime/types/ScalaClassType.java
index <HASH>..<HASH> 100644
--- a/sources/scala/runtime/types/ScalaClassType.java
+++ b/sources/scala/runtime/types/ScalaClassType.java
@@ -190,35 +190,38 @@ public class ScalaClassType extends ClassType {
... | - bug fix: computation of the display fixed for...
- bug fix: computation of the display fixed for classes which inherit
directly from Java classes. | scala_scala | train |
80fef4af4a03b4c832442d6676862a87fbee8b96 | diff --git a/tsdb/store.go b/tsdb/store.go
index <HASH>..<HASH> 100644
--- a/tsdb/store.go
+++ b/tsdb/store.go
@@ -224,6 +224,9 @@ func (s *Store) loadShards() error {
// Open engine.
shard := NewShard(shardID, path, walPath, opt)
+
+ // Disable compactions, writes and queries until all shards are loa... | Enable shards after loading
Compactions are enabled as soon as the shard is opened. This can
slow down startup or cause the system to spike in CPU usage at startup
if many shards need to be compacted.
This now delays compactions until after they are loaded. | influxdata_influxdb | train |
bb41d7d19518e700749dea20bf6439fba5401ea0 | diff --git a/aeron-cluster/src/test/java/io/aeron/cluster/ConsensusModuleHarness.java b/aeron-cluster/src/test/java/io/aeron/cluster/ConsensusModuleHarness.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/test/java/io/aeron/cluster/ConsensusModuleHarness.java
+++ b/aeron-cluster/src/test/java/io/aeron/cluster/C... | [Java] Terminate Agent when termination hook is called in the ConsensusModuleHarness. | real-logic_aeron | train |
7c348f96c058f8741267ed69810bc17ac51a0ae6 | diff --git a/dev/com.ibm.ws.session.cache_fat/fat/src/com/ibm/ws/session/cache/fat/SessionCacheTwoServerTest.java b/dev/com.ibm.ws.session.cache_fat/fat/src/com/ibm/ws/session/cache/fat/SessionCacheTwoServerTest.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.session.cache_fat/fat/src/com/ibm/ws/session/cache/fat... | changed hazelcastConfigFile string to only point to hazelcast-localhost-only-multicastDisabled.xml as it was causing errors in the fat tests | OpenLiberty_open-liberty | train |
73c8331da4b72ca873fc090fde8de7a6f23b0e2c | diff --git a/lib/Buzz/Message/FormRequest.php b/lib/Buzz/Message/FormRequest.php
index <HASH>..<HASH> 100644
--- a/lib/Buzz/Message/FormRequest.php
+++ b/lib/Buzz/Message/FormRequest.php
@@ -23,17 +23,30 @@ class FormRequest extends Request
public function setField($name, $value)
{
+ if (is_array($va... | refactored form request to store flattened field names | kriswallsmith_Buzz | train |
cba53536a77aa0615899725796cd2f8299b48c8f | diff --git a/src/main/java/org/jenkinsci/plugins/github/util/JobInfoHelpers.java b/src/main/java/org/jenkinsci/plugins/github/util/JobInfoHelpers.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jenkinsci/plugins/github/util/JobInfoHelpers.java
+++ b/src/main/java/org/jenkinsci/plugins/github/util/JobInfoHelper... | since jdoc + fix logger class | jenkinsci_github-plugin | train |
31765d9605ec8e699cf10c124b93070316b1d91d | diff --git a/tests/integration/tickstore/test_ts_read.py b/tests/integration/tickstore/test_ts_read.py
index <HASH>..<HASH> 100644
--- a/tests/integration/tickstore/test_ts_read.py
+++ b/tests/integration/tickstore/test_ts_read.py
@@ -2,7 +2,7 @@ from datetime import datetime as dt
from mock import patch
import numpy... | update tests to address numpy changes | manahl_arctic | train |
77c1f1605f6977b8d46a33a44698104e37e7b21d | diff --git a/question/format.php b/question/format.php
index <HASH>..<HASH> 100644
--- a/question/format.php
+++ b/question/format.php
@@ -539,7 +539,10 @@ class qformat_default {
if (is_readable($filename)) {
$filearray = file($filename);
- /// Check for Macintosh OS line returns (ie... | MDL-<I> question import: strip UTF8 BOM
Previously, if there was a byte-order mark at the start of the file, the
import would just break, which was silly. Much better to just strip it
off. | moodle_moodle | train |
f1b44e36b41d3977e00db278459a4e3c6d95c099 | diff --git a/terraform/state.go b/terraform/state.go
index <HASH>..<HASH> 100644
--- a/terraform/state.go
+++ b/terraform/state.go
@@ -814,6 +814,8 @@ func (s *OutputState) Equal(other *OutputState) bool {
if s == nil || other == nil {
return false
}
+ s.Lock()
+ defer s.Unlock()
if s.Type != other.Type {
... | add lock to OutputState.Equal | hashicorp_terraform | train |
e6acf90f2b3be438daad9c68ac3fafa72dbce114 | diff --git a/tests/device_tests/test_msg_resetdevice_skipbackup.py b/tests/device_tests/test_msg_resetdevice_skipbackup.py
index <HASH>..<HASH> 100644
--- a/tests/device_tests/test_msg_resetdevice_skipbackup.py
+++ b/tests/device_tests/test_msg_resetdevice_skipbackup.py
@@ -88,6 +88,42 @@ class TestDeviceResetSkipBacku... | tests: add test for broken BackupDevice workflow | trezor_python-trezor | train |
b8c84ecda37f0bc4b001f15887b77dd099cc704d | diff --git a/pyinstrument/profiler.py b/pyinstrument/profiler.py
index <HASH>..<HASH> 100644
--- a/pyinstrument/profiler.py
+++ b/pyinstrument/profiler.py
@@ -16,45 +16,49 @@ class NotMainThreadError(Exception):
class SignalUnavailableError(Exception):
- '''pyinstrument uses signal.SIGALRM in signal mode, which... | Changed the API for signal/setprofile mode | joerick_pyinstrument | train |
1ac3582dcd957b54ed351fd4a3e916c19b0215d3 | diff --git a/lib/primary.rb b/lib/primary.rb
index <HASH>..<HASH> 100644
--- a/lib/primary.rb
+++ b/lib/primary.rb
@@ -1,57 +1,58 @@
module Primary
- def is_primary options={}
+ def is_primary(options = {})
cattr_accessor :primary_is_primary_opts
- self.primary_is_primary_opts = options.reverse_merge({
- ... | Use RuboCop auto-correct for sanity | prograils_primary | train |
191060ea002607e77d97c861aefc1fb8113c5cc8 | diff --git a/t/proof/count.t.js b/t/proof/count.t.js
index <HASH>..<HASH> 100755
--- a/t/proof/count.t.js
+++ b/t/proof/count.t.js
@@ -1,29 +1,15 @@
#!/usr/bin/env node
-require('../..')(1, function (assert) {
+require('../..')(2, function (assert) {
var count = require('../../count')
var arr = [ "one", "t... | Asserts an exception has been thrown. | bigeasy_proof | train |
216fecf9eec251ab7bd767bb7ebbd16ebb9571f9 | diff --git a/stapes.js b/stapes.js
index <HASH>..<HASH> 100644
--- a/stapes.js
+++ b/stapes.js
@@ -47,8 +47,15 @@
});
},
- toArray : function(arr) {
- return Array.prototype.slice.call(arr, 0);
+ toArray : function(val) {
+ if (util.isObject(val)) return value... | adding changemany and createmany events | hay_stapes | train |
ea15b8bd7062960e34a8959965d7a8fd81e3a9ab | diff --git a/addon/authenticators/osf-cookie.js b/addon/authenticators/osf-cookie.js
index <HASH>..<HASH> 100644
--- a/addon/authenticators/osf-cookie.js
+++ b/addon/authenticators/osf-cookie.js
@@ -51,8 +51,7 @@ export default Base.extend({
// Can't do this via AJAX request because it redirects to CAS, an... | Add ability to have a redirect url after logout | CenterForOpenScience_ember-osf | train |
00989d46446d8029f47a85f5449dfaa42e89cdc4 | diff --git a/lib/puppet/provider/package/puppet_gem.rb b/lib/puppet/provider/package/puppet_gem.rb
index <HASH>..<HASH> 100755
--- a/lib/puppet/provider/package/puppet_gem.rb
+++ b/lib/puppet/provider/package/puppet_gem.rb
@@ -4,7 +4,7 @@ Puppet::Type.type(:package).provide :puppet_gem, :parent => :gem do
desc "Pupp... | (PUP-<I>) Add uninstall_options support to puppet_gem | puppetlabs_puppet | train |
357f210bbee9de0aa722a759e8037e0333f46f2c | diff --git a/lib/perpetuity/postgres/sql_update.rb b/lib/perpetuity/postgres/sql_update.rb
index <HASH>..<HASH> 100644
--- a/lib/perpetuity/postgres/sql_update.rb
+++ b/lib/perpetuity/postgres/sql_update.rb
@@ -17,7 +17,8 @@ module Perpetuity
if attributes.any?
sql << " SET "
sql << attri... | Serialize data only if not already serialized | jgaskins_perpetuity-postgres | train |
e54854c082d87e007035b85e37c4ab1e8a24caf1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -81,7 +81,7 @@ setup(
version=version['__version__'],
description='BigchainDB: A Scalable Blockchain Database',
long_description=(
- "BigchainDB allows developers and enterprise to deploy blockchain "
+ ... | In setup.py: enterprise --> enterprises | bigchaindb_bigchaindb | train |
8848fc476dc93dfc4db337744462a1675f993f7f | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -113,6 +113,7 @@ import (
db, err := gorm.Open("postgres", "user=gorm dbname=gorm sslmode=disable")
// db, err := gorm.Open("foundation", "dbname=gorm") // FoundationDB.
// db, err := gorm.Open("mysql", "user:password@/... | Table suffix to create tables with InnoDB engine with mysql. Alter table is not affected yet, only create table and auto migration | jinzhu_gorm | train |
5c34e9fc239aa92b45242046cbe1cffe8038e48d | diff --git a/lib/rails-footnotes/notes/log_note.rb b/lib/rails-footnotes/notes/log_note.rb
index <HASH>..<HASH> 100644
--- a/lib/rails-footnotes/notes/log_note.rb
+++ b/lib/rails-footnotes/notes/log_note.rb
@@ -24,7 +24,7 @@ module Footnotes
def content
result = '<table>'
- log.each do |l|
+ ... | Don't loop through nil logs closes #<I> | josevalim_rails-footnotes | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.