hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
420fbc3b5a5e67d843067f727b815a4024ed8fbb | diff --git a/pages/Favorites/subscriptions.js b/pages/Favorites/subscriptions.js
index <HASH>..<HASH> 100644
--- a/pages/Favorites/subscriptions.js
+++ b/pages/Favorites/subscriptions.js
@@ -3,6 +3,8 @@ import { addFavorites } from '@shopgate/pwa-common-commerce/favorites/actions/to
import { favoritesWillRemoveItem$ }... | PWA-<I>: adjust timing and subscriber | shopgate_pwa | train |
2263b518293ccdd752dd09bc307424c6b1fb436b | diff --git a/lib/veewee/provider/kvm/box.rb b/lib/veewee/provider/kvm/box.rb
index <HASH>..<HASH> 100644
--- a/lib/veewee/provider/kvm/box.rb
+++ b/lib/veewee/provider/kvm/box.rb
@@ -33,6 +33,12 @@ module Veewee
@connection=::Fog::Compute[:libvirt]
+ # Many of the existing templates have disk_fo... | [KVM] Add support for alternate disk formats
Allows the user to define a Libvirt-supported disk_format
(ex. qcow2, raw, vmdk) in the definition.rb. Existing
templates that use the VDI disk_format will instead be
treated as 'raw'. | jedi4ever_veewee | train |
f79ba761cec90e5964c541a0e5cfc8469f323dbb | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -330,8 +330,16 @@ class ProjectTest(BaseTest):
"""
# Create it
title = "00 - (%s) - This is only a test" % get_random_string()
- proj = self.private_client.projects.create(title)
+ doc = se... | Added some unittests that verify you can successfully add documents to a project during in the create method. Fixes #<I>. | datadesk_python-documentcloud | train |
1510463e67da68024b8a370d6d0a7d2808eaeebc | diff --git a/docs/src/pages/demos/grid-list/AdvancedGridList.js b/docs/src/pages/demos/grid-list/AdvancedGridList.js
index <HASH>..<HASH> 100644
--- a/docs/src/pages/demos/grid-list/AdvancedGridList.js
+++ b/docs/src/pages/demos/grid-list/AdvancedGridList.js
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes... | [GridList] Remove named export (#<I>) | mui-org_material-ui | train |
e33949e5d4f4f880ed259ac8506395f63486c515 | diff --git a/.gitignore b/.gitignore
index <HASH>..<HASH> 100644
--- a/.gitignore
+++ b/.gitignore
@@ -93,3 +93,4 @@ docs/_*.md
.gradle
wallaby.conf.js
tags
+tests/.retry_succeeded
diff --git a/packages/webdriverio/src/commands/browser/url.js b/packages/webdriverio/src/commands/browser/url.js
index <HASH>..<HASH> 10... | Fix invalid urls (#<I>)
* fix invalid urls
* added missing code
* implement better solution with validateUrl
* return if original error
* import URL because it is not a global in node v8 | webdriverio_webdriverio | train |
9d1bd8911cf52825e8432fad8e768dce881392a8 | diff --git a/search/first_occurance.py b/search/first_occurance.py
index <HASH>..<HASH> 100644
--- a/search/first_occurance.py
+++ b/search/first_occurance.py
@@ -8,14 +8,16 @@ import unittest
def firstOccurance(array, query):
lo, hi = 0, len(array) - 1
- while lo < hi:
+ while lo <= hi:
mid = lo... | Update first_occurance.py
Fixing the infinite loop. It is good idea to keep the following loop condition always in binary search and incorporating additional conditions if required within the while lo <= hi: loop instead of writing multiple variants as <URL> - 1 | keon_algorithms | train |
f14871c92847504094b5eabf6126f94722940227 | diff --git a/NavigationSample/Scripts/navigation.mvc.js b/NavigationSample/Scripts/navigation.mvc.js
index <HASH>..<HASH> 100644
--- a/NavigationSample/Scripts/navigation.mvc.js
+++ b/NavigationSample/Scripts/navigation.mvc.js
@@ -64,8 +64,8 @@
}
var link = win.location.pathname + win.location.search;
- ... | Added target to navigate api.
When response returns can use target on the client to decide what to to.
For example, the target of auto complete list of would the text box.
Don't want to update the html of the form in this case otherwise focus of text box would be lost | grahammendick_navigation | train |
ed1e0744d1d3e4b2bf4eab4fb5d12703a92bb603 | diff --git a/database.py b/database.py
index <HASH>..<HASH> 100644
--- a/database.py
+++ b/database.py
@@ -4,7 +4,7 @@ import types
from son_manipulator import ObjectIdInjector
from collection import Collection
-from errors import InvalidName
+from errors import InvalidName, CollectionInvalid, OperationFailure
A... | validate_collection. another test (and corresponding fix) for drop_collection. | mongodb_mongo-python-driver | train |
6e03d6fc614f42f73a43988592dc4e088d447d14 | diff --git a/inputstream.py b/inputstream.py
index <HASH>..<HASH> 100644
--- a/inputstream.py
+++ b/inputstream.py
@@ -1,4 +1,4 @@
-import codecs
+import codecs, cStringIO as StringIO
class HTMLInputStream(object):
"""For reading data from an input stream
@@ -20,34 +20,36 @@ class HTMLInputStream(object):
... | Made a few style changes suggested by jgraham and added support for passing a string instead of a file object
--HG--
extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I> | html5lib_html5lib-python | train |
ec0d01d7a40af3d7f7b5e2f4d4c549bd27701f4e | diff --git a/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java b/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java
index <HASH>..<HASH> 100644
--- a/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java
+++ b/netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java
@@ -58,6 +58,7 @@ import io.n... | netty: TCP close during TLS handshake should be UNAVAILABLE
Normally the first exception/event experienced is the cause and is
followed by a stampede of ClosedChannelExceptions. In this case,
SslHandler is manufacturing a ClosedChannelException of its own and
propagating it _before_ the trigger event. This might be co... | grpc_grpc-java | train |
b62991d121b333ee162bbc5e0b5a48bbeca91ca3 | diff --git a/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java b/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java
index <HASH>..<HASH> 100644
--- a/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java
+++ b/modules/client/src/main/j... | [JBWS-<I>] final refactoring of common packages | jbossws_jbossws-cxf | train |
a17aab90dbe54a5a084b1afd2a748180574e5a58 | diff --git a/schedula/utils/alg.py b/schedula/utils/alg.py
index <HASH>..<HASH> 100755
--- a/schedula/utils/alg.py
+++ b/schedula/utils/alg.py
@@ -10,10 +10,10 @@
It contains basic algorithms, numerical tricks, and data processing tasks.
"""
+import collections
from .gen import counter
from .cst import EMPTY, NON... | fix(alg): Correct pipe generation when `NoSub` found. | vinci1it2000_schedula | train |
af1faf69004a30996aa875195fe3d9c5a9a8550b | diff --git a/lib/mongoid/finders.rb b/lib/mongoid/finders.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/finders.rb
+++ b/lib/mongoid/finders.rb
@@ -71,19 +71,7 @@ module Mongoid #:nodoc:
#
# A document or criteria.
def find(*args)
- type, crit = criteria.search(*args)
- case type
- when... | Finishing refactoring out duplicate find code to all point at criteria. | mongodb_mongoid | train |
1d12fccd758d9eb7a6c9c8253fe50f0cd0778626 | diff --git a/lib/Userbin/SessionToken.php b/lib/Userbin/SessionToken.php
index <HASH>..<HASH> 100644
--- a/lib/Userbin/SessionToken.php
+++ b/lib/Userbin/SessionToken.php
@@ -19,14 +19,14 @@ class Userbin_SessionToken
return new Userbin_User('$current');
}
- public function hasChallenge()
+ public function ... | Rename bool-methods on SessionToken to be more intuitive | castle_castle-php | train |
96aa96952c14eff19b6736fb773c68f5fa2f9026 | diff --git a/seaglass/trunk/seaglass/src/main/java/com/seaglass/util/ImageCache.java b/seaglass/trunk/seaglass/src/main/java/com/seaglass/util/ImageCache.java
index <HASH>..<HASH> 100644
--- a/seaglass/trunk/seaglass/src/main/java/com/seaglass/util/ImageCache.java
+++ b/seaglass/trunk/seaglass/src/main/java/com/seaglas... | Added a comment about the original Nimbus class being package local. | khuxtable_seaglass | train |
533e0ccd4969bb9d73f77c1d09a915b5ff7cf45f | diff --git a/lib/dm-core/associations/one_to_one.rb b/lib/dm-core/associations/one_to_one.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/associations/one_to_one.rb
+++ b/lib/dm-core/associations/one_to_one.rb
@@ -6,13 +6,17 @@ module DataMapper
module OneToOne
class Relationship < Associations::OneToMany:... | Document DataMapper::Associations::OneToOne::Relationship. That one was easy. | datamapper_dm-core | train |
df4a17b1776cd60a6aa34c6c2a48fec063259ce0 | diff --git a/spec/integration/length_validator_spec.rb b/spec/integration/length_validator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/length_validator_spec.rb
+++ b/spec/integration/length_validator_spec.rb
@@ -15,7 +15,7 @@ class BoatDock
end
describe DataMapper::Validate::LengthValidator do
- it ... | Simplify spec example titles: 'should' is a plague, really | emmanuel_aequitas | train |
3d17c19c519b70ae8b688965c7079957a271b6a4 | diff --git a/klein.php b/klein.php
index <HASH>..<HASH> 100644
--- a/klein.php
+++ b/klein.php
@@ -293,6 +293,8 @@ class _Request {
// HTTP headers helper
static $_headers = null;
+ protected $_body = null;
+
// Returns all parameters (GET, POST, named) that match the mask
public function param... | Get request body, closes #<I> | klein_klein.php | train |
3bf18f26a2c3b1f4e37e0cf39da1950bdaeb6b83 | diff --git a/examples/block-images.js b/examples/block-images.js
index <HASH>..<HASH> 100644
--- a/examples/block-images.js
+++ b/examples/block-images.js
@@ -29,7 +29,7 @@ page.on('request', request => {
else
request.continue();
});
-await page.goto('https://www.reuters.com/');
+await page.goto('https://news.... | chore(examples): use news.google.com for block-images.js (#<I>)
Addresses insecure content errors on try-puppeteer
ebidel/try-puppeteer#7 | GoogleChrome_puppeteer | train |
c3fc551c876d0625f1f4604b3456342b281945e0 | diff --git a/src/Digest/Pbkdf2/Pbkdf2Factory.php b/src/Digest/Pbkdf2/Pbkdf2Factory.php
index <HASH>..<HASH> 100644
--- a/src/Digest/Pbkdf2/Pbkdf2Factory.php
+++ b/src/Digest/Pbkdf2/Pbkdf2Factory.php
@@ -21,6 +21,10 @@ class Pbkdf2Factory
*/
public function pbkdf2($method = self::HMAC_WITH_SHA1, $iterationCou... | Modify some constraints on factory method inputs, and Pbkdf2Params | afk11_pkcs5 | train |
0250386f624fd6c90405f0dad2fdefe07c5679a0 | diff --git a/src/lib/niceClone.js b/src/lib/niceClone.js
index <HASH>..<HASH> 100644
--- a/src/lib/niceClone.js
+++ b/src/lib/niceClone.js
@@ -11,8 +11,8 @@ module.exports = function(children, props, keepOriginalProps) {
return React.isValidElement(child) ?
React.cloneElement(child, keepOriginalProps ?
- ... | LUD-<I>: Change merge function for the niceClone library | reapp_reapp-ui | train |
21662adac33938679e72091910993652bfa3c294 | diff --git a/scanpy/plotting/tools/scatterplots.py b/scanpy/plotting/tools/scatterplots.py
index <HASH>..<HASH> 100644
--- a/scanpy/plotting/tools/scatterplots.py
+++ b/scanpy/plotting/tools/scatterplots.py
@@ -220,7 +220,7 @@ def plot_scatter(adata,
n_panels_x = panels_per_row
n_panels_y = np.ceil(le... | adjusted image size with respect to wspace to maintain proportions | theislab_scanpy | train |
4b68927aed9478e64787806665480af7f8861589 | diff --git a/gwt-polymer-elements/template/helpers.js b/gwt-polymer-elements/template/helpers.js
index <HASH>..<HASH> 100644
--- a/gwt-polymer-elements/template/helpers.js
+++ b/gwt-polymer-elements/template/helpers.js
@@ -14,6 +14,11 @@ module.exports = {
return m.toUpperCase().replace(/-/, '');
});
},
... | Fix issue with hyphenized attributes | manolo_gwt-polymer-elements | train |
9fff635ed2b22afb6bd7e9b139bf1f7a25b806b5 | diff --git a/benchexec/tablegenerator/util.py b/benchexec/tablegenerator/util.py
index <HASH>..<HASH> 100644
--- a/benchexec/tablegenerator/util.py
+++ b/benchexec/tablegenerator/util.py
@@ -36,8 +36,14 @@ import tempita
from benchexec import model
DEFAULT_TIME_PRECISION = 3
-REGEX_SIGNIFICANT_DIGITS = re.compile('... | Simplify significant digits rounding and account for more cases.
Instead of checking for special cases separately, the new rounding
mechanism checks for the number of current significant digits and
intended significant digits and removes a trailing '<I>' or adds zeros,
based on the need.
Also accounts for floats in e... | sosy-lab_benchexec | train |
bb3067aab9efe73eec7e6f7b4b3eec973144ff69 | diff --git a/src/Packer/Pure.php b/src/Packer/Pure.php
index <HASH>..<HASH> 100644
--- a/src/Packer/Pure.php
+++ b/src/Packer/Pure.php
@@ -14,21 +14,22 @@ declare(strict_types=1);
namespace Tarantool\Client\Packer;
use MessagePack\BufferUnpacker;
-use MessagePack\Exception\UnpackingFailedException as PureUnpackingF... | Tweak Packer\Pure | tarantool-php_client | train |
554623332c51e3ce21273c131e67297ed53f8ef5 | diff --git a/pandas/tests/reshape/merge/test_merge.py b/pandas/tests/reshape/merge/test_merge.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/reshape/merge/test_merge.py
+++ b/pandas/tests/reshape/merge/test_merge.py
@@ -1437,6 +1437,17 @@ class TestMergeDtypes:
result = B.merge(A, left_on="Y", right_on="X")... | TST: Test key dtype cast after merge (#<I>) | pandas-dev_pandas | train |
732467da6f3a2df11f6689d92186c17960b2c68b | diff --git a/sitebricks/src/main/java/com/google/sitebricks/compiler/StandardCompilers.java b/sitebricks/src/main/java/com/google/sitebricks/compiler/StandardCompilers.java
index <HASH>..<HASH> 100644
--- a/sitebricks/src/main/java/com/google/sitebricks/compiler/StandardCompilers.java
+++ b/sitebricks/src/main/java/com... | special case for @Show on methods combined with @Decorated | dhanji_sitebricks | train |
d23ea62ce2a262a8cb22bce73a636cc20b2e2039 | diff --git a/src/org/opencms/ui/apps/sitemanager/CmsEditSiteForm.java b/src/org/opencms/ui/apps/sitemanager/CmsEditSiteForm.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/ui/apps/sitemanager/CmsEditSiteForm.java
+++ b/src/org/opencms/ui/apps/sitemanager/CmsEditSiteForm.java
@@ -1552,12 +1552,23 @@ public class ... | Site Management: Avoid showing report for editing sites. | alkacon_opencms-core | train |
d7fc1d178a98a1de3e37c3a303d70083336c1f77 | diff --git a/spec/integration/other_spec.rb b/spec/integration/other_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/other_spec.rb
+++ b/spec/integration/other_spec.rb
@@ -9,7 +9,8 @@ end
describe server(:proxy) do
let(:time) { Time.now }
before :all do
- current_server.ssh_exec "echo 'Hello once' ... | Don't use let declaration in before :all block because of deprecation | ryotarai_infrataster | train |
76e7e896fb4ab2334c96e707501feb84be8730c1 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,7 +41,6 @@ extensions = [
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
- 'sphinx.ext.githubpages',
'sphinx.ext.inheritance_diagram',
] | removed github extension. Not supported by read the docs | Pelagicore_qface | train |
7b6663315b581cb27922550845c72b38e1d6ad28 | diff --git a/lib/authlogic/session/cookies.rb b/lib/authlogic/session/cookies.rb
index <HASH>..<HASH> 100644
--- a/lib/authlogic/session/cookies.rb
+++ b/lib/authlogic/session/cookies.rb
@@ -23,7 +23,7 @@ module Authlogic
# session = UserSession.new(:super_high_secret)
# session.cookie_key => "sup... | Changes cookie_key doc to reflect the previous change. | binarylogic_authlogic | train |
0b99649d7e96678d5418b6352e49f54d52ea7b8d | diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py
index <HASH>..<HASH> 100644
--- a/troposphere/autoscaling.py
+++ b/troposphere/autoscaling.py
@@ -205,7 +205,7 @@ class AutoScalingGroup(AWSObject):
min_instances = rolling_update.properties.get(
"MinInsta... | Ignore If expression during validation on AutoScalingRollingUpdate min instances (#<I>) | cloudtools_troposphere | train |
a4fbee1b108513e4dde1624b174b348f5348cc0e | diff --git a/packages/@vue/cli-plugin-typescript/__tests__/tsPluginTest.spec.js b/packages/@vue/cli-plugin-typescript/__tests__/tsPluginTest.spec.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli-plugin-typescript/__tests__/tsPluginTest.spec.js
+++ b/packages/@vue/cli-plugin-typescript/__tests__/tsPluginTest.spec.... | test: also test ts + babel + jest | vuejs_vue-cli | train |
849d3eb6d1b4d72ec7865d80740da7bda37567b7 | diff --git a/src/controllers/UserAuthenticationAjax.php b/src/controllers/UserAuthenticationAjax.php
index <HASH>..<HASH> 100644
--- a/src/controllers/UserAuthenticationAjax.php
+++ b/src/controllers/UserAuthenticationAjax.php
@@ -12,14 +12,12 @@
namespace erdiko\users\controllers;
-use erdiko\authenticate\BasicAu... | ER-<I>: JWT Auth
- removed JWT creation to module code
- refactored the login data collection | Erdiko_users | train |
53736a98ad3b7ce4c7825507aa19404212b225d9 | diff --git a/concrete/tools/page_types/composer/form/add_control.php b/concrete/tools/page_types/composer/form/add_control.php
index <HASH>..<HASH> 100644
--- a/concrete/tools/page_types/composer/form/add_control.php
+++ b/concrete/tools/page_types/composer/form/add_control.php
@@ -11,7 +11,7 @@ if (!is_object($set)) {... | Avoid accessing undefined array index in page_types/composer/form/add_control (#<I>) | concrete5_concrete5 | train |
6e385a081153104461f7061fd37163943ef51e34 | diff --git a/nest.class.php b/nest.class.php
index <HASH>..<HASH> 100644
--- a/nest.class.php
+++ b/nest.class.php
@@ -678,10 +678,10 @@ class Nest {
// Update cacert.pem (valid CA certificates list) from the cURL website once a month
$curl_cainfo = sys_get_temp_dir() . DIRECTORY_SEPARATOR . '... | Safeguard against too small CACert file fetched from remote | gboudreau_nest-api | train |
b2b5f62847ce8c58d4b4b31878c45876ac7555db | diff --git a/autoapi/extension.py b/autoapi/extension.py
index <HASH>..<HASH> 100644
--- a/autoapi/extension.py
+++ b/autoapi/extension.py
@@ -186,6 +186,9 @@ def doctree_read(app, doctree):
"""
Inject AutoAPI into the TOC Tree dynamically.
"""
+
+ add_domain_to_toctree(app, doctree, app.env.docname)
... | Fix #<I>: Inject TOCs just after doctrees are read | rtfd_sphinx-autoapi | train |
ee955f4b2e0fe84c57b5b0387f3db5d18fd4b9ca | diff --git a/dist/jquery.qtip.js b/dist/jquery.qtip.js
index <HASH>..<HASH> 100644
--- a/dist/jquery.qtip.js
+++ b/dist/jquery.qtip.js
@@ -389,9 +389,16 @@ function QTip(target, options, id, attr)
// Skip if the src is already present
if(srcs[elem.src] !== undefined) { return; }
+ // Keep track of ho... | Basic sanity check to make sure dimension polling doesn't wait forever. | qTip2_qTip2 | train |
e043d6be1c623e73bfba17ccc2fb245713a131e0 | diff --git a/openquake/calculators/disaggregation.py b/openquake/calculators/disaggregation.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/disaggregation.py
+++ b/openquake/calculators/disaggregation.py
@@ -224,10 +224,11 @@ class DisaggregationCalculator(classical.ClassicalCalculator):
... | Fixed disaggregation demo
Former-commit-id: <I>c<I>f6a<I>ee0cf6ee8d7ba4aad9c<I>d<I> | gem_oq-engine | train |
6902351cddd48f37a79f624f8191ef4a091106e9 | diff --git a/py/nupic/research/TP.py b/py/nupic/research/TP.py
index <HASH>..<HASH> 100644
--- a/py/nupic/research/TP.py
+++ b/py/nupic/research/TP.py
@@ -3376,12 +3376,12 @@ class Segment(object):
The duty cycle is computed as follows:
- dc[t] = (1-alpha) * dc[t-1] + alpha * value[t]
+ dc[t] = (1-al... | Adding more docs, testing automatic doc build. | numenta_nupic | train |
2b32ca9d94ac2b371d7bad6d0f07ac984f15b037 | diff --git a/all_of_test.go b/all_of_test.go
index <HASH>..<HASH> 100644
--- a/all_of_test.go
+++ b/all_of_test.go
@@ -16,13 +16,29 @@
package oglematchers_test
import (
+ . "github.com/jacobsa/oglematchers"
. "github.com/jacobsa/ogletest"
+ "errors"
)
/////////////////////////////////////////////////////////... | Added a fake matcher helper, for #<I>. | jacobsa_oglematchers | train |
9699712c354f7f0e954eb95bd339a5dbd7fd6944 | diff --git a/tchannel-core/src/main/java/com/uber/tchannel/handlers/RequestRouter.java b/tchannel-core/src/main/java/com/uber/tchannel/handlers/RequestRouter.java
index <HASH>..<HASH> 100644
--- a/tchannel-core/src/main/java/com/uber/tchannel/handlers/RequestRouter.java
+++ b/tchannel-core/src/main/java/com/uber/tchann... | Tracer and TracingContext can be null if channel is created with tracing
* adding null checks and guards around usage of span | uber_tchannel-java | train |
6ec2c54c5bcbf5871d047dddaeb10fda4ea1d084 | diff --git a/pkg/tsdb/intervalv2/intervalv2.go b/pkg/tsdb/intervalv2/intervalv2.go
index <HASH>..<HASH> 100644
--- a/pkg/tsdb/intervalv2/intervalv2.go
+++ b/pkg/tsdb/intervalv2/intervalv2.go
@@ -7,6 +7,7 @@ import (
"time"
"github.com/grafana/grafana-plugin-sdk-go/backend"
+ "github.com/grafana/grafana-plugin-sdk... | Interval: Use gtime for parsing of time string to duration (#<I>) | grafana_grafana | train |
57a3bd85b1fd4404686cf46c009e5ae687465c35 | diff --git a/simuvex/s_errors.py b/simuvex/s_errors.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_errors.py
+++ b/simuvex/s_errors.py
@@ -6,6 +6,13 @@ class SimError(Exception):
ins_addr = None
executed_instruction_count = None
+ def record_state(self, state):
+ self.bbl_addr = state.scratch.bbl_... | create a common baseclass for unsupported errors, and record the location of error occurrence before passing on exceptions | angr_angr | train |
397bbf96ffb7980ddf19d8fb7ffeabc9e38c2c94 | diff --git a/classes/Config.php b/classes/Config.php
index <HASH>..<HASH> 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -70,6 +70,7 @@ class Config
/**
* Path to the directory that contains the phantomjs binary.
+ *
* @var string
*/
public $phantomjsDir = 'vendor/bin/';
d... | style: Lint
Changes suggested by StyleCI | Rudloff_alltube | train |
9d6b59e595ab7c2fa500b62514e542c6f380fe07 | diff --git a/demo/demoPages/components/ProgressBarPage.js b/demo/demoPages/components/ProgressBarPage.js
index <HASH>..<HASH> 100644
--- a/demo/demoPages/components/ProgressBarPage.js
+++ b/demo/demoPages/components/ProgressBarPage.js
@@ -49,7 +49,8 @@ export default class ProgressBarPage extends Component {
... | chore: adding prop for aria-valuetext to Progress Bar | Pearson-Higher-Ed_elements-sdk | train |
2babf796c99be94cd06dd4f0e59067d6dcee769d | diff --git a/producer.go b/producer.go
index <HASH>..<HASH> 100644
--- a/producer.go
+++ b/producer.go
@@ -117,7 +117,7 @@ type Producer struct {
errors chan *ProducerError
input, successes, retries chan *ProducerMessage
- brokers map[*Broker]*brokerWorker
+ brokers map[*Broker]*brokerPro... | Rename brokerWorker -> brokerProducer | Shopify_sarama | train |
69f27f1cab99034a038bf788f7c479eb0ae77185 | diff --git a/src/Node.js b/src/Node.js
index <HASH>..<HASH> 100644
--- a/src/Node.js
+++ b/src/Node.js
@@ -11,39 +11,44 @@ define(function(require) {
var glMatrix = require('glmatrix');
var mat4 = glMatrix.mat4;
- var Node = Base.derive(function() {
+ var Node = Base.derive({
+
+ parent... | Optimize the node construction, add setLocalTransform, setWorldTransform method | pissang_claygl | train |
5951185a54dc58776840985f200b9eb24efdfbcc | diff --git a/static-content/MetricControlCtrl.js b/static-content/MetricControlCtrl.js
index <HASH>..<HASH> 100644
--- a/static-content/MetricControlCtrl.js
+++ b/static-content/MetricControlCtrl.js
@@ -19,7 +19,6 @@ aardvark.directive('tagSelection', function() {
*/
.controller('MetricControlCtrl', [ '$scope', '$ro... | #<I> - config option to always show metric filter input | eswdd_aardvark | train |
2503bd0d788041e9ee01b5a869c48c14c6872d7a | diff --git a/cobe/brain.py b/cobe/brain.py
index <HASH>..<HASH> 100644
--- a/cobe/brain.py
+++ b/cobe/brain.py
@@ -213,7 +213,7 @@ class Brain:
score = self._evaluate_reply(token_ids, reply, c)
_trace.trace("Brain.evaluate_reply_us", _trace.now()-_now)
- if log.isEnabledFor(logging.DEBUG):
+ ... | Remove a debugging statement (logging when score == 0) | pteichman_cobe | train |
8a3deb98cd3f565ba3bdb7c2256bdcaf1ba3d643 | diff --git a/lib/devise/rails.rb b/lib/devise/rails.rb
index <HASH>..<HASH> 100644
--- a/lib/devise/rails.rb
+++ b/lib/devise/rails.rb
@@ -17,6 +17,17 @@ module Devise
Devise.include_helpers(Devise::Controllers)
end
+ initializer "devise.auth_keys" do
+ if Devise.authentication_keys.size > 1
+ ... | Add a descriptive text for those upgrading. | plataformatec_devise | train |
4bb10438b32845aecf61f7afc45aec49b61ec9dc | diff --git a/09_compare_best_designs.py b/09_compare_best_designs.py
index <HASH>..<HASH> 100755
--- a/09_compare_best_designs.py
+++ b/09_compare_best_designs.py
@@ -598,7 +598,7 @@ def discover_custom_metrics(metrics, workspaces):
any of the given workspaces. Only scripts named 'custom_metrics.py' will
be... | Add some more comments to the <I> script. | Kortemme-Lab_pull_into_place | train |
2d21f88ee558a2ead1ecc2a5cd5c0b3024c87147 | diff --git a/legacy/app.js b/legacy/app.js
index <HASH>..<HASH> 100644
--- a/legacy/app.js
+++ b/legacy/app.js
@@ -42,7 +42,6 @@ var additionalProperties = require('./routes/additionalProperties.js');
var coverageEndpoint = require('./coverage/coverageEndpoint.js');
var xml = require('./routes/xml.js'); // XML seri... | Try the port change again but better (#<I>)
* Try again
* Update package.json | Azure_autorest.testserver | train |
ac5c26f03ef46c11cd61ccc1622877b3d6ac400c | diff --git a/XBRL.php b/XBRL.php
index <HASH>..<HASH> 100644
--- a/XBRL.php
+++ b/XBRL.php
@@ -7806,7 +7806,7 @@ class XBRL {
{
// If the resource has a name make sure the name is unique
$qname = new QName( "", $node['name']['namespace'], $node['name']['name'] );
- if ( isset( $t... | Fixed: the variable variableSetNames which is used to find names used
more than once was not indexed by linkbase filename so instances of the
same name used in different linkbases produced an invalid error.
Fixed: Enhanced the XLink check which would find duplicates because the
test was not restricted to the same ELR | bseddon_XBRL | train |
6480a45fc4de65548f5b0f9942e56c07a5e11549 | diff --git a/server/stream.go b/server/stream.go
index <HASH>..<HASH> 100644
--- a/server/stream.go
+++ b/server/stream.go
@@ -884,12 +884,8 @@ func (mset *Stream) unsubscribeInternal(subject string) error {
if c == nil {
return fmt.Errorf("invalid stream")
}
- if !c.srv.eventsEnabled() {
- return ErrNoSysAccou... | Fix for data race, don't need to check here | nats-io_gnatsd | train |
da25097cf35fa014a059200542bd2503b4373750 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -83,21 +83,20 @@ module.exports = function construct(config) {
return new Error(code);
};
- /** Add test globals if configured
- *
- */
- if (config.useTestGlobals) {
- require('./src/testing/t... | useTestGlobals can be initialized after first initialization. | webinverters_win-common | train |
80a7af046028c0975d1ad0b8e6d9fe84630f67e8 | diff --git a/src/__tests__/starWarsData.js b/src/__tests__/starWarsData.js
index <HASH>..<HASH> 100644
--- a/src/__tests__/starWarsData.js
+++ b/src/__tests__/starWarsData.js
@@ -89,15 +89,7 @@ var droidData = {
*/
function getCharacter(id) {
// Returning a promise just to illustrate GraphQL.js's support.
- retu... | Ensure star wars example is following best practice
For example, resolveType must not return null. | graphql_graphql-js | train |
8f3c9cae4fe19e6e315a0c538c1b74e0693c4872 | diff --git a/src/consumer/__tests__/pause.spec.js b/src/consumer/__tests__/pause.spec.js
index <HASH>..<HASH> 100644
--- a/src/consumer/__tests__/pause.spec.js
+++ b/src/consumer/__tests__/pause.spec.js
@@ -256,5 +256,65 @@ describe('Consumer', () => {
},
])
})
+
+ it('resumes fetching from earl... | Fix and verify resuming of a partition paused earlier | tulios_kafkajs | train |
f323e1d9d123ca3d98fb3c4f5df7fab256e5c8ac | diff --git a/lib/job.rb b/lib/job.rb
index <HASH>..<HASH> 100644
--- a/lib/job.rb
+++ b/lib/job.rb
@@ -6,16 +6,17 @@ require_relative 'sorted_set'
module Workerholic
module Job
def self.included(base)
- base.extend(ClassModules)
+ base.extend(ClassMethods)
+ base.job_options
end
- modu... | fix error with job_options and default queue name | workerholic_workerholic | train |
07e0698e485f43d6560b129e7a0e88544e1ecadc | diff --git a/lib/puppet_library/module_repo/proxy.rb b/lib/puppet_library/module_repo/proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet_library/module_repo/proxy.rb
+++ b/lib/puppet_library/module_repo/proxy.rb
@@ -21,10 +21,10 @@ require 'puppet_library/http/url'
module PuppetLibrary::ModuleRepo
class Prox... | Preparing to add disk caching to proxy | drrb_puppet-library | train |
d55bdf7bb01363e1bc22e422d3397c46facc378e | diff --git a/lib/idlc-sdk-core/restclient.rb b/lib/idlc-sdk-core/restclient.rb
index <HASH>..<HASH> 100644
--- a/lib/idlc-sdk-core/restclient.rb
+++ b/lib/idlc-sdk-core/restclient.rb
@@ -70,7 +70,9 @@ module Idlc
https = Net::HTTP.new(uri.host, uri.port)
https.use_ssl = true
signature = sigv4_signa... | fix RestClient to handle uri query strings | NathanTCz_idlc-sdk-core | train |
a2c9b3317499ded833d911157a3e2088d62b7b85 | diff --git a/runtests.php b/runtests.php
index <HASH>..<HASH> 100755
--- a/runtests.php
+++ b/runtests.php
@@ -4,8 +4,11 @@
define('BASEDIR',dirname(__FILE__));
require_once(BASEDIR.'/classes/Ergo/ClassLoader.php');
-$classloader = new \Ergo\ClassLoader();
-$classloader->register(array(BASEDIR."/classes"));
+$class... | Updated runtests.php to use new vendor path for simpletest | 99designs_ergo | train |
205fe603b704b521ee707e274ccef300fe113bfd | diff --git a/grapheneapi/graphenewsrpc.py b/grapheneapi/graphenewsrpc.py
index <HASH>..<HASH> 100644
--- a/grapheneapi/graphenewsrpc.py
+++ b/grapheneapi/graphenewsrpc.py
@@ -110,60 +110,6 @@ class GrapheneWebsocketRPC(object):
"""
return self.get_objects([o], **kwargs)[0]
- """ Block Streams
- ... | deprecate block_stream and put it into python-bitshares | xeroc_python-graphenelib | train |
07b257b63526d34fc9c4f987ddd1f69e97de33d6 | diff --git a/src/lib/Radial/RiskService/Sdk/Transaction/Response.php b/src/lib/Radial/RiskService/Sdk/Transaction/Response.php
index <HASH>..<HASH> 100644
--- a/src/lib/Radial/RiskService/Sdk/Transaction/Response.php
+++ b/src/lib/Radial/RiskService/Sdk/Transaction/Response.php
@@ -38,7 +38,8 @@ class Radial_RiskServic... | MPTF-<I> expand enum list for TransactionResponses to accept all possible payment service responses | RadialCorp_magento-core | train |
7f841979ec31b069255b9811951015ababf99c76 | diff --git a/example_bot.py b/example_bot.py
index <HASH>..<HASH> 100644
--- a/example_bot.py
+++ b/example_bot.py
@@ -16,54 +16,3 @@ mip = op.algorithms.Porosimetry(network=net, phase=hg)
mip.set_inlets(pores=net.pores('top'))
mip.run()
mip.plot_intrusion_curve()
-
-#
-#pn = op.network.Cubic(shape=[10, 10, 10], spa... | fixing pep8 error in example_script | PMEAL_OpenPNM | train |
59258859ab02a057364481d65aab3e7059dbea07 | diff --git a/canary/api.py b/canary/api.py
index <HASH>..<HASH> 100644
--- a/canary/api.py
+++ b/canary/api.py
@@ -108,7 +108,7 @@ class Api:
def get_readings(self, device_id):
end = datetime.utcnow()
- start = end - timedelta(hours=1)
+ start = end - timedelta(minutes=40)
created... | fix: time range to get data dropped to <I> minutes
drops the time range to get readings from 1 hour to <I> minutes. This allows to get 5 different reading types instead of 4, due to the <I> record limit returned by canary's API call. Current sensor types are air_quality, humidity, temperature, battery and wifi. | snjoetw_py-canary | train |
ec9948ae52488ea462b2a8766b4e092c84d782b8 | diff --git a/lib/homesick.rb b/lib/homesick.rb
index <HASH>..<HASH> 100644
--- a/lib/homesick.rb
+++ b/lib/homesick.rb
@@ -10,8 +10,8 @@ class Homesick < Thor
destination = Pathname.new(destination)
if destination.symlink?
- say "+ #{content.expand_path}", :green, true
say "- #{destinati... | Switched order of symlink diff. | technicalpickles_homesick | train |
630bd96bd9005772dbb33b66474507acb1e5a2f2 | diff --git a/mod/forum/index.php b/mod/forum/index.php
index <HASH>..<HASH> 100644
--- a/mod/forum/index.php
+++ b/mod/forum/index.php
@@ -150,10 +150,14 @@
} else {
$unreadlink = '<span class="read"><a href="view.php?f='.$forum->id.'">'.$unread.'</a>';
... | Fixing read tracking link when tracking is forced. | moodle_moodle | train |
0500f2b9b35d300895d8a45990e3908e0c8910d3 | diff --git a/plugins/synced_folders/rsync/helper.rb b/plugins/synced_folders/rsync/helper.rb
index <HASH>..<HASH> 100644
--- a/plugins/synced_folders/rsync/helper.rb
+++ b/plugins/synced_folders/rsync/helper.rb
@@ -77,6 +77,11 @@ module VagrantPlugins
proxy_command = "-o ProxyCommand='#{ssh_info[:proxy_comma... | Add support for SSH config file to Rsync helper | hashicorp_vagrant | train |
95ed471c41f61555b2b7f642422bfef8a279cfd4 | diff --git a/lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
+++ b/lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
@@ -90,6 +90,... | Reduce duplication in code.
This will result in all tests being skipped when any of the required
models pre-exists. | cakephp_cakephp | train |
553951c44381bf554a20d656534f616873f0fbc6 | diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/config/__init__.py
+++ b/src/_pytest/config/__init__.py
@@ -762,7 +762,7 @@ class Config(object):
by the importhook.
"""
ns, unknown_args = self._parser.parse_known_and_u... | Fix some issues related to "-p no:X" with default_plugins | pytest-dev_pytest | train |
329851f2461ae44fb3b38d25eaee13e5a10d9ea2 | diff --git a/src/Roave/DeveloperTools/Repository/FileInspectionRepository.php b/src/Roave/DeveloperTools/Repository/FileInspectionRepository.php
index <HASH>..<HASH> 100644
--- a/src/Roave/DeveloperTools/Repository/FileInspectionRepository.php
+++ b/src/Roave/DeveloperTools/Repository/FileInspectionRepository.php
@@ -7... | Skipping over invalid persisted inspections | Roave_RoaveDeveloperTools | train |
3f9ee2a510e8420162ff91f1ba0322021bfc932e | diff --git a/pyfirmata/__init__.py b/pyfirmata/__init__.py
index <HASH>..<HASH> 100644
--- a/pyfirmata/__init__.py
+++ b/pyfirmata/__init__.py
@@ -24,7 +24,7 @@ class ArduinoMega(Board):
def __init__(self, *args, **kwargs):
args = list(args)
args.append(BOARDS['arduino_mega'])
- super(Ardu... | fixed bug in ArduinoMega class. thx to Uğur Çetin | tino_pyFirmata | train |
ccb44eca5e2bb1631aaa9d1ebf0740b4dc4ba891 | diff --git a/lib/webspicy/configuration.rb b/lib/webspicy/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/webspicy/configuration.rb
+++ b/lib/webspicy/configuration.rb
@@ -21,6 +21,7 @@ module Webspicy
:error => :red,
:success => :green
}
+ @scope_factory = ->(config){ Scope.new(con... | Fix command line when used as oneliner. | enspirit_webspicy | train |
bc764bd589d7c31d8a25fd739b65c18bd6c39184 | diff --git a/client.js b/client.js
index <HASH>..<HASH> 100644
--- a/client.js
+++ b/client.js
@@ -1,8 +1,11 @@
const marked = require('marked')
const ipc = require('ipc')
+const remote = require('remote')
ipc.on('md', function (raw) {
const md = marked(raw)
+ const base = document.querySelector('base');
co... | resolve relative image paths. fixes #6 | yoshuawuyts_vmd | train |
2f4f89574e19bab0ac7292311b1fbd7b2b779ecf | diff --git a/src/Symbiote/Elastica/ElasticaService.php b/src/Symbiote/Elastica/ElasticaService.php
index <HASH>..<HASH> 100644
--- a/src/Symbiote/Elastica/ElasticaService.php
+++ b/src/Symbiote/Elastica/ElasticaService.php
@@ -3,6 +3,7 @@
namespace Symbiote\Elastica;
use Elastica\Exception\Connection\HttpException;... | fix(ElasticaService) Better handling of response exception that may not be fatal | symbiote-library_silverstripe-elastica | train |
da5620a4e8bbe6677b9f73303cf5cc735400576d | diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/jenkins/model/Jenkins.java
+++ b/core/src/main/java/jenkins/model/Jenkins.java
@@ -765,7 +765,7 @@ public class Jenkins extends AbstractCIBase implements Modifi... | We must still initialize and clean up the legacy Trigger#timer | jenkinsci_jenkins | train |
ac777bf5a8b264e0dd80c088fbda9b52bf000072 | diff --git a/langcodes/__init__.py b/langcodes/__init__.py
index <HASH>..<HASH> 100644
--- a/langcodes/__init__.py
+++ b/langcodes/__init__.py
@@ -16,14 +16,6 @@ from .distance import raw_distance
# U.S. English if you don't specify the language.
DEFAULT_LANGUAGE = 'en-US'
-class AmbiguousError(LookupError):
- "... | remove AmbiguousError, which is never raised | LuminosoInsight_langcodes | train |
2af849b56ac2246cd956265703d1256605622a7c | diff --git a/lib/xml2js.js b/lib/xml2js.js
index <HASH>..<HASH> 100644
--- a/lib/xml2js.js
+++ b/lib/xml2js.js
@@ -11,7 +11,7 @@
sax = require('sax');
events = require('events');
isEmpty = function(thing) {
- return typeof thing === 'object' && (thing != null) && Object.keys(thing).length === 0;
+ return... | Compiled Contra's commits to JS | Leonidas-from-XIV_node-xml2js | train |
a06cf2df8a7f5271bcf4e1865e0d60b94865fb30 | diff --git a/django_plotly_dash/dash_wrapper.py b/django_plotly_dash/dash_wrapper.py
index <HASH>..<HASH> 100644
--- a/django_plotly_dash/dash_wrapper.py
+++ b/django_plotly_dash/dash_wrapper.py
@@ -100,6 +100,7 @@ class DjangoDash:
self._uid = name
self.layout = None
self._callback_sets ... | Add support for dash client-side callbacks (#<I>) (#<I>)
This should close issue #<I>. This is a purely additive change.
Adding support for client-side callbacks is just a matter of registering a javascript function name. The client-side callback may be registered by calling the `clientside_callback` function on a ... | GibbsConsulting_django-plotly-dash | train |
a108d695fc87be2f06c4fd78ca7d1a95c00c8404 | diff --git a/nlpia/data/loaders.py b/nlpia/data/loaders.py
index <HASH>..<HASH> 100644
--- a/nlpia/data/loaders.py
+++ b/nlpia/data/loaders.py
@@ -213,6 +213,11 @@ def get_data(name='sms-spam'):
return read_json(os.path.join(DATA_PATH, name + '.json'))
except IOError:
pass
+ try:
+ with... | loader for .txt with a word or sentence per line | totalgood_nlpia | train |
c629c15fa0f0268b461cae137c2da7e90e3af956 | diff --git a/src/node/index.js b/src/node/index.js
index <HASH>..<HASH> 100644
--- a/src/node/index.js
+++ b/src/node/index.js
@@ -19,8 +19,11 @@ function buildRequest(method, url) {
const transport = this.options.version === 2 ? transports.http2 : transports[options.protocol.replace(':', '')];
options.method = m... | don't allow agent if not following redirects | devsnek_snekfetch | train |
c5cde8b3a8f2ed217ca3ec7d04b9ba8356653f6e | diff --git a/scanpy/plotting/tools.py b/scanpy/plotting/tools.py
index <HASH>..<HASH> 100644
--- a/scanpy/plotting/tools.py
+++ b/scanpy/plotting/tools.py
@@ -465,6 +465,8 @@ def umap(
sort_order=True,
alpha=None,
groups=None,
+ components=None,
+ projection='2d',
legen... | Add 3d projection and component specification for UMAP | theislab_scanpy | train |
833ce008115c1a09ad047bccb6fe2f057b8835a6 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -152,7 +152,7 @@ cachedReadFile('/path/to/file', 'utf8', function(err, contents) {
| `parseKey` | (Function) | Not required if `createKey` is omitted (in which case, the original function will receive no arguments besides... | Exposed underlying cache instance as CrispCache.wrap()._cache | four43_node-crisp-cache | train |
dd4ab7bff19d870359d4bc26de9bb0abc47fe727 | diff --git a/index_image_mysql.php b/index_image_mysql.php
index <HASH>..<HASH> 100644
--- a/index_image_mysql.php
+++ b/index_image_mysql.php
@@ -5,7 +5,7 @@ define( 'TABLE_DATA', 'ezdbfile_data' );
// Connect to storage database.
$serverString = STORAGE_HOST;
-if ( defined( 'STORAGE_SOCKET' ) )
+if ( defined( 'ST... | - Fixed bug: Do not take into account empty socket path in
index_image.php settings.
(Merged from stable/<I> (<I>) rev. <I>)
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train |
283c5ff72f0100e96d327ecf323edf4166c1decb | diff --git a/pyiso.py b/pyiso.py
index <HASH>..<HASH> 100644
--- a/pyiso.py
+++ b/pyiso.py
@@ -401,10 +401,10 @@ class DirectoryRecord(object):
# Bit 5 - Reserved
# Bit 6 - Reserved
# Bit 7 - Multi-extent - 0 for final directory record, 1 for not final directory record
- # FIXME: for n... | Cleanup a FIXME comment. | clalancette_pycdlib | train |
3d63f5a2dcfa4c688a2e3f4203a2adac80f43000 | diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/version.rb
+++ b/lib/appsignal/version.rb
@@ -1,3 +1,3 @@
module Appsignal
- VERSION = '0.8.3.beta.1'
+ VERSION = '0.8.3'
end | Bump to <I> [ci skip] | appsignal_appsignal-ruby | train |
e56f1cffb3fdd9501ae176b833fd291a0a8099a1 | diff --git a/as/src/main/java/org/jboss/jca/as/upgrader/Main.java b/as/src/main/java/org/jboss/jca/as/upgrader/Main.java
index <HASH>..<HASH> 100644
--- a/as/src/main/java/org/jboss/jca/as/upgrader/Main.java
+++ b/as/src/main/java/org/jboss/jca/as/upgrader/Main.java
@@ -141,8 +141,9 @@ public class Main
*/
pri... | Update to new modules path in WildFly | ironjacamar_ironjacamar | train |
cea9179d9ae6925a6cdcd066ecbd2a39b1df70a0 | diff --git a/lib/WebDriverExpectedCondition.php b/lib/WebDriverExpectedCondition.php
index <HASH>..<HASH> 100644
--- a/lib/WebDriverExpectedCondition.php
+++ b/lib/WebDriverExpectedCondition.php
@@ -57,7 +57,7 @@ class WebDriverExpectedCondition {
public static function inTitle($title) {
return new WebDriverExp... | changed strstr to strpos for optimization purposes. | facebook_php-webdriver | train |
9aa97c929953004ac4b2ea09ed7e8b363489aa57 | diff --git a/sacred/arg_parser.py b/sacred/arg_parser.py
index <HASH>..<HASH> 100644
--- a/sacred/arg_parser.py
+++ b/sacred/arg_parser.py
@@ -123,9 +123,12 @@ def get_config_updates(updates):
converted_value = value[1:-1]
else:
try:
- converted_value = json.loads(value... | made float handling more python like | IDSIA_sacred | train |
87ccaab00bc96827f6646c397d7f9566d7a6b5cd | diff --git a/client/driver/logs.go b/client/driver/logs.go
index <HASH>..<HASH> 100644
--- a/client/driver/logs.go
+++ b/client/driver/logs.go
@@ -80,7 +80,7 @@ func (l *LogRotator) Start(r io.Reader) error {
if err != nil {
return err
}
- l.logger.Println("[INFO] client.logrotator: opened a new file: %s", l... | Changing the logic of purging old rotated files | hashicorp_nomad | train |
cf85422a2a259c3f9d36d46f11fe2f0788c463ab | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/ba/BasicBlock.java b/findbugs/src/java/edu/umd/cs/findbugs/ba/BasicBlock.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/ba/BasicBlock.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/ba/BasicBlock.java
@@ -111,7 +111,7 @@ public class Basi... | Separated the concepts of block id and vertex label. Block ids are used
as the real "identity" of a block, while vertex labels may change.
git-svn-id: <URL> | spotbugs_spotbugs | train |
757ad8a4d38927212a3ad4e6f843ed1365afb9a8 | diff --git a/qiskit/compiler/transpile.py b/qiskit/compiler/transpile.py
index <HASH>..<HASH> 100644
--- a/qiskit/compiler/transpile.py
+++ b/qiskit/compiler/transpile.py
@@ -109,6 +109,7 @@ def transpile(circuits,
0: no optimization
1: light optimization
2: heavy opti... | Add missing optimization level to transpile() docstring (#<I>)
This commit adds a docstring for optimization level 3 which was missing
from the docstring for the qiskit.compiler.transpile function. | Qiskit_qiskit-terra | train |
4903d16138f33856d9bf75542aed096cbb3d893d | diff --git a/lib/ponder/thaum.rb b/lib/ponder/thaum.rb
index <HASH>..<HASH> 100644
--- a/lib/ponder/thaum.rb
+++ b/lib/ponder/thaum.rb
@@ -224,7 +224,7 @@ module Ponder
user = @user_list.find(nick)
channel = @channel_list.find(channel)
- if user.thaum?
+ if user && user.thaum?
... | Guard against users who changed their nickname when they part or quit. | tbuehlmann_ponder | train |
96c15c4ebdf3cfc27a3dfa6a58d7ceb3f3a89b8d | diff --git a/src/pixi/renderers/canvas/CanvasGraphics.js b/src/pixi/renderers/canvas/CanvasGraphics.js
index <HASH>..<HASH> 100644
--- a/src/pixi/renderers/canvas/CanvasGraphics.js
+++ b/src/pixi/renderers/canvas/CanvasGraphics.js
@@ -69,7 +69,7 @@ PIXI.CanvasGraphics.renderGraphics = function(graphics, context)
{
... | Fixed Canvas Graphics Black Fill not showing | pixijs_pixi.js | train |
91a5a42289beb91e9d215f2b704a90abda937352 | diff --git a/src/pip_shims/__init__.py b/src/pip_shims/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pip_shims/__init__.py
+++ b/src/pip_shims/__init__.py
@@ -1,7 +1,7 @@
# -*- coding=utf-8 -*-
from __future__ import absolute_import
-__version__ = '0.1.1'
+__version__ = '0.1.2.dev0'
__all__ = [
"__versi... | Prebump to <I>.dev0 | sarugaku_pip-shims | train |
2c899cdaddab566416c3b3518676da4999ea38a9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,7 @@
'use strict';
var path = require('path');
-var _ = require('underscore');
+var _ = require('lodash');
var es = require('event-stream');
var gutil = require('gulp-util');
var sloc = require('sloc');
diff --g... | replaced underscore with lodash and bumped up version | oddjobsman_gulp-sloc | train |
c6afa64806295160743625c71cb03b18e5817c29 | diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/type/cron.rb
+++ b/lib/puppet/type/cron.rb
@@ -438,8 +438,8 @@ Puppet::Type.newtype(:cron) do
# property, unpurged file content (such as comments) can end up
# being written to the default target (i.e. ... | (maint) Use provider property accessors in the Cron type
ParsedFiles is the only provider which actually creates an accessor to expose
the internal `@property_hash` of provider instances. This patch replaces
uses of `property_hash` in the Cron type with the `target` accessor method that
providers define for the `targe... | puppetlabs_puppet | train |
e4ac464ad5fb2c62df163897473533b8dfdb31e6 | diff --git a/pycdlib/pycdlib.py b/pycdlib/pycdlib.py
index <HASH>..<HASH> 100644
--- a/pycdlib/pycdlib.py
+++ b/pycdlib/pycdlib.py
@@ -452,14 +452,13 @@ def reassign_vd_dirrecord_extents(vd, current_extent):
rr_cont_len = dir_record_rock_ridge.ce_record.continuation_entry.length()
if r... | Share a bit more code for continuation area offsets. | clalancette_pycdlib | train |
eed16a6cb46b105f28d2b3447c761f48ab1fc407 | diff --git a/config/config.go b/config/config.go
index <HASH>..<HASH> 100644
--- a/config/config.go
+++ b/config/config.go
@@ -445,6 +445,18 @@ type Status struct {
MetricsInterval uint `toml:"metrics-interval" json:"metrics-interval"`
ReportStatus bool `toml:"report-status" json:"report-status"`
RecordQPS... | server: add grpc server config for a suitable behavior (#<I>) | pingcap_tidb | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.