hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
4e3217379d64a01dcc561f51bd551fc49a0a511c | diff --git a/lib/devise-authy/controllers/helpers.rb b/lib/devise-authy/controllers/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/devise-authy/controllers/helpers.rb
+++ b/lib/devise-authy/controllers/helpers.rb
@@ -11,7 +11,8 @@ module DeviseAuthy
def remember_device
cookies.signed[:remember_device]... | add exires to cookie remember_device, otherwise, cookie is expired when the browser session ends | twilio_authy-devise | train |
4464d5a0c39fc4c7e6be699799e2aecfe3dea73b | diff --git a/seleniumrequests/request.py b/seleniumrequests/request.py
index <HASH>..<HASH> 100644
--- a/seleniumrequests/request.py
+++ b/seleniumrequests/request.py
@@ -62,11 +62,12 @@ def get_webdriver_request_headers(webdriver):
except socket.error:
pass
- threading.Thread(target=server.h... | fix: :bug: Hotfix for headers window handling the wrong request
In some situations, the headers window server would recieve a request
that was not the request to get the headers.
This would shutdown the server and hang the window. | cryzed_Selenium-Requests | train |
14464951052a920938ece49aa57e5fca611ff6cf | diff --git a/wepay/calls/withdrawal.py b/wepay/calls/withdrawal.py
index <HASH>..<HASH> 100644
--- a/wepay/calls/withdrawal.py
+++ b/wepay/calls/withdrawal.py
@@ -54,7 +54,7 @@ class Withdrawal(Call):
'account_id': account_id
}
return self.make_call(self.__find, params, kwargs)
- __fin... | added optional state param to withdrawal.find call, reflected in wepays change log on <I>-8-<I> | lehins_python-wepay | train |
e1e7ceef90fccd7fe414d028c1bb897fa4a505e4 | diff --git a/bcbio/variation/annotation.py b/bcbio/variation/annotation.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/annotation.py
+++ b/bcbio/variation/annotation.py
@@ -81,6 +81,11 @@ def annotate_nongatk_vcf(orig_file, bam_files, dbsnp_file, ref_file, config):
out_file = "%s-gatkann%s" % os.path.splitex... | Gracefully handle failures when GATK creates an empty idx file during annotation | bcbio_bcbio-nextgen | train |
011b36d55c196ba32d9ce0dab6dfd4324cabbd75 | diff --git a/repos/index.js b/repos/index.js
index <HASH>..<HASH> 100644
--- a/repos/index.js
+++ b/repos/index.js
@@ -156,6 +156,22 @@ function addContributors(response) {
return result;
}
+
+function addReposAndOwners(results, maxRepos) {
+ var owners = {};
+
+ return []
+ .concat.apply([], results)
+ .filt... | refactor: abstract out function to add repos and owners | webuildorg_webuild-repos | train |
f2caa4cc4fd494edfbf59fba432eb0da21ffd38c | diff --git a/MyCapytain/__init__.py b/MyCapytain/__init__.py
index <HASH>..<HASH> 100644
--- a/MyCapytain/__init__.py
+++ b/MyCapytain/__init__.py
@@ -9,4 +9,4 @@
"""
-__version__ = "2.0.0b12"
+__version__ = "2.0.0b13"
diff --git a/MyCapytain/resolvers/cts/local.py b/MyCapytain/resolvers/cts/local.py
index <HASH>.... | Local Resolver now uses property instead of private variables [ Fix for #<I> ] | Capitains_MyCapytain | train |
43a470048ee098e0fd1ce6b237371fc9f44f3236 | diff --git a/tests/test_CustomDelegates.py b/tests/test_CustomDelegates.py
index <HASH>..<HASH> 100644
--- a/tests/test_CustomDelegates.py
+++ b/tests/test_CustomDelegates.py
@@ -122,15 +122,15 @@ class TestCustomDelegates(object):
qtbot.mouseClick(tableView.viewport(), QtCore.Qt.LeftButton, pos=QtCore.QPo... | A few decorators added.
More or less just trying to trip the travis tests again. | draperjames_qtpandas | train |
9ec2d4a39b0e4ee3cbae6f2ed93fb8a86c2d6936 | diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
+++ b/activerecord/lib... | Handle array option in `type_to_sql`
`[]` is a part of `sql_type`, so it is always necessary to respect to
array option when `type_to_sql` is called. | rails_rails | train |
547ab1d35aed43bf44ff04d6f750bbda09900a07 | diff --git a/dwave/cloud/upload.py b/dwave/cloud/upload.py
index <HASH>..<HASH> 100644
--- a/dwave/cloud/upload.py
+++ b/dwave/cloud/upload.py
@@ -188,6 +188,32 @@ class FileBuffer(RandomAccessIOBaseBuffer):
return bytes(b)
+class MemoryBuffer(FileBuffer):
+ """FileBuffer-stand-in for in-memory buff... | Add MemoryBuffer to consistently handle chunking | dwavesystems_dwave-cloud-client | train |
97ec09059035bc42559c8706f3badef3a12a071a | diff --git a/pyof/v0x04/asynchronous/packet_in.py b/pyof/v0x04/asynchronous/packet_in.py
index <HASH>..<HASH> 100644
--- a/pyof/v0x04/asynchronous/packet_in.py
+++ b/pyof/v0x04/asynchronous/packet_in.py
@@ -3,10 +3,11 @@
# System imports
from enum import Enum
+from pyof.v0x04.common.flow_match import Match
from py... | PacketIn class (async message) compliance with OF <I> - Issue #<I> | kytos_python-openflow | train |
1e50ec05376a88f9d8d0e7c84c9ea4542fed1846 | diff --git a/salt/modules/xapi.py b/salt/modules/xapi.py
index <HASH>..<HASH> 100644
--- a/salt/modules/xapi.py
+++ b/salt/modules/xapi.py
@@ -10,7 +10,7 @@ compatibility in mind.
'''
import sys
-from contextlib import contextmanager
+import contextlib
# This module has only been tested on Debian GNU/Linux and Net... | Don't import direct function in modules so they are not exposed | saltstack_salt | train |
4952a595e5bb3e0ebd6fd72830c7a6fd0cb2bf02 | diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/db/models.py
+++ b/openquake/engine/db/models.py
@@ -1565,8 +1565,8 @@ class Output(djm.Model):
# metadata regarding statistics or logic tree
statistics = None
quantil... | db/models:
Fixed the logic in Output.hazard_metadata to handle more cases.
I'm still not sure if it covers all cases (haz output or haz calc,
loss curve or loss_map, etc.), but at least this reduces crashes during
XML serialization due to missing metadata. | gem_oq-engine | train |
0c004fdda01f8c003c303e4edc4cfc3be7f45ed0 | diff --git a/src/user-store.js b/src/user-store.js
index <HASH>..<HASH> 100644
--- a/src/user-store.js
+++ b/src/user-store.js
@@ -204,8 +204,13 @@ class UserStore {
deleteUser (user) {
let userKey = UserStore.normalizeIdKey(user.id)
-
- return this.backend.del('users', userKey)
+ var deletedEmail = Pro... | Delete email record too, reject if not given | solid_oidc-auth-manager | train |
6b33e077f4adfcf55087fcab3b10bb51133388a7 | diff --git a/core/server/master/src/main/java/alluxio/master/AlluxioMasterProcess.java b/core/server/master/src/main/java/alluxio/master/AlluxioMasterProcess.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/AlluxioMasterProcess.java
+++ b/core/server/master/src/main/java/alluxio/ma... | Differentiate connect and bind addresses | Alluxio_alluxio | train |
93bfb8ac138982685abcc9b4187c800e9b096886 | diff --git a/core/model/src/main/java/it/unibz/inf/ontop/iq/node/impl/AggregationNodeImpl.java b/core/model/src/main/java/it/unibz/inf/ontop/iq/node/impl/AggregationNodeImpl.java
index <HASH>..<HASH> 100644
--- a/core/model/src/main/java/it/unibz/inf/ontop/iq/node/impl/AggregationNodeImpl.java
+++ b/core/model/src/main... | AggregationNode validation added. | ontop_ontop | train |
9f327e05731afe75b83dba3f6807a8ce0b513707 | diff --git a/lib/spaced-repetition/sm2.rb b/lib/spaced-repetition/sm2.rb
index <HASH>..<HASH> 100644
--- a/lib/spaced-repetition/sm2.rb
+++ b/lib/spaced-repetition/sm2.rb
@@ -1,9 +1,19 @@
module SuperMemo
- # This class includes the algorithms as used by SuperMemo 2 (typically referred to
- # as SM2). See the READM... | SM2 algorithm refactored as mixin. Not thoroughly tested, but ok | matholroyd_tworgy-spaced-repetition | train |
a1145abf543262c251c90ec680f436e17152888a | diff --git a/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java b/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java
index <HASH>..<HASH> 100644
--- a/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java
+++ b/hollow/src/main/java/com/net... | handle a small set of duplicate values for the set and log a warning for the users | Netflix_hollow | train |
c5ac2f8151b34f6a047e075786c2678c8f640301 | diff --git a/src/de/invation/code/toval/misc/MapUtils.java b/src/de/invation/code/toval/misc/MapUtils.java
index <HASH>..<HASH> 100755
--- a/src/de/invation/code/toval/misc/MapUtils.java
+++ b/src/de/invation/code/toval/misc/MapUtils.java
@@ -1,6 +1,6 @@
package de.invation.code.toval.misc;
-import de.invation.cod... | Removed a bug which resulted in meaningless output of toString methods
in class MapUtils | GerdHolz_TOVAL | train |
df57be79e444d6c020b4aaed04b804d6b4c4c024 | diff --git a/pyasn1/type/univ.py b/pyasn1/type/univ.py
index <HASH>..<HASH> 100644
--- a/pyasn1/type/univ.py
+++ b/pyasn1/type/univ.py
@@ -457,7 +457,7 @@ class SequenceAndSetBase(base.AbstractConstructedAsn1Item):
return self
def getDefaultComponentByPosition(self, idx):
- if self._componentType... | skip doing SequenceAndSetBase.getDefaultComponentByPosition() whenever
component types are not defined (e.g. object is recovered from substrate) | etingof_pyasn1 | train |
2dfa4bcf6cb5263b8509722ffd14ddd02eddf47a | diff --git a/trie/proof_test.go b/trie/proof_test.go
index <HASH>..<HASH> 100644
--- a/trie/proof_test.go
+++ b/trie/proof_test.go
@@ -1067,3 +1067,36 @@ func nonRandomTrie(n int) (*Trie, map[string]*kv) {
}
return trie, vals
}
+
+func TestRangeProofKeysWithSharedPrefix(t *testing.T) {
+ keys := [][]byte{
+ commo... | trie: test for edgecase in VerifyRangeProof (#<I>)
* trie/proof: edge case for VerifyRangeProof
* more consistency with other tests in the file
* trie: fix test todo | ethereum_go-ethereum | train |
1d7ff0cdbbe842ff1931d5e585e2287ee4781e5f | diff --git a/commerce-openapi-admin/src/main/java/com/liferay/commerce/openapi/admin/internal/util/v2_0/DTOUtils.java b/commerce-openapi-admin/src/main/java/com/liferay/commerce/openapi/admin/internal/util/v2_0/DTOUtils.java
index <HASH>..<HASH> 100644
--- a/commerce-openapi-admin/src/main/java/com/liferay/commerce/ope... | COMMERCE-<I> Added order note dto utility method | liferay_com-liferay-commerce | train |
9857bc97ff5f8c34cbc667f7bfde35323f0531a9 | diff --git a/sentry_sdk/integrations/fastapi.py b/sentry_sdk/integrations/fastapi.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/integrations/fastapi.py
+++ b/sentry_sdk/integrations/fastapi.py
@@ -96,6 +96,7 @@ class SentryFastApiMiddleware:
hub = Hub.current
integration = hub.get_integration(FastAp... | Fixed problem with broken response and python-multipart (#<I>)
* Fixed problem with broken response when only FastApiIntegration() is enabled.
* Fixed problem when python-multipart is not installed | getsentry_sentry-python | train |
2659adeff9855f2a3334a1eb4809c718c195c009 | diff --git a/cmd/output.go b/cmd/output.go
index <HASH>..<HASH> 100644
--- a/cmd/output.go
+++ b/cmd/output.go
@@ -38,7 +38,7 @@ var FormatJson = json.Marshal
// FormatSmart marshals value into a []byte according to the following rules:
// * string: untouched
-// * bool: converted to `true` or `... | Fix the True and False bits of the 'smart' formatter. | juju_juju | train |
0f57742ae039363c3ddc7a503b867fcce8ee086a | diff --git a/concurrency/admin.py b/concurrency/admin.py
index <HASH>..<HASH> 100644
--- a/concurrency/admin.py
+++ b/concurrency/admin.py
@@ -21,6 +21,8 @@ from concurrency.config import conf, CONCURRENCY_LIST_EDITABLE_POLICY_ABORT_ALL
from concurrency.exceptions import RecordModifiedError
from concurrency.forms imp... | avoid to use concurrency when selecting all items (select_across) | saxix_django-concurrency | train |
b85280e3689c82d0fb6535109467d230cf463fb5 | diff --git a/lib/Doctrine/ODM/MongoDB/Cursor.php b/lib/Doctrine/ODM/MongoDB/Cursor.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/MongoDB/Cursor.php
+++ b/lib/Doctrine/ODM/MongoDB/Cursor.php
@@ -65,13 +65,6 @@ class Cursor extends \Doctrine\MongoDB\Cursor
*/
private $class;
- /**
- * The arr... | Upgrade mongodb layer to retries branch. | Briareos_mongodb-odm | train |
9ca73bda3fd6965d9db1af2efae515300915fc3c | diff --git a/lib/ref.js b/lib/ref.js
index <HASH>..<HASH> 100644
--- a/lib/ref.js
+++ b/lib/ref.js
@@ -66,7 +66,7 @@ exports.Head = Head = (function(_super) {
return Q.nfapply(fs.readFile, ["" + repo.dot_git + "/HEAD"]).then(function(data) {
_ref1 = /ref: refs\/heads\/([^\s]+)/.exec(data);
- ... | Add head value to error in Head.current | CodeboxIDE_gittle.js | train |
65dc8bbfdcd4584c2026a697b986ecba6eac2cbb | diff --git a/src/main/java/org/filteredpush/qc/date/DwCEventDQ.java b/src/main/java/org/filteredpush/qc/date/DwCEventDQ.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/filteredpush/qc/date/DwCEventDQ.java
+++ b/src/main/java/org/filteredpush/qc/date/DwCEventDQ.java
@@ -313,6 +313,7 @@ public class DwCEventDQ {... | Minor fix, adding comment to extract date from start/end date test | FilteredPush_event_date_qc | train |
c37ac75499448a06f69b230b21c7fbfe6e29cfa6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ dev_requires = build_requires + test_requires + [
]
ci_requires = []
monitor_requires = [
- 'datadog>=5.2',
+ 'datadog>=0.16.0',
'raven>=6.1',
]
@@ -44,7 +44,7 @@ setup(
# Versions should c... | Hot-fix release <I> | lablup_backend.ai-common | train |
7ac117e3e75432a58b3997e68029cf24a095f8ab | diff --git a/infer.js b/infer.js
index <HASH>..<HASH> 100644
--- a/infer.js
+++ b/infer.js
@@ -437,7 +437,7 @@
var scopeGatherer = walk.make({
Function: function(node, scope, c) {
var inner = node.body.scope = new Scope(scope);
- var argVals = inner.argVals = [], argNames = inner.argNames = [];
+ ... | Store a fnType property in local scopes, rather than the building blocks for one | ternjs_tern | train |
1e5707f4bd56b2ed7b5b74b56758930067d9f5dd | diff --git a/src/BCA/LaravelInspect/Commands/InspectLintCommand.php b/src/BCA/LaravelInspect/Commands/InspectLintCommand.php
index <HASH>..<HASH> 100644
--- a/src/BCA/LaravelInspect/Commands/InspectLintCommand.php
+++ b/src/BCA/LaravelInspect/Commands/InspectLintCommand.php
@@ -38,7 +38,7 @@ class InspectLintCommand ex... | Fixing description of inspect:lint. | brodkinca_BCA-Laravel-Inspect | train |
4234c00321e790310a805bda2288a3a12d800aee | diff --git a/src/shims/form-core.js b/src/shims/form-core.js
index <HASH>..<HASH> 100644
--- a/src/shims/form-core.js
+++ b/src/shims/form-core.js
@@ -137,6 +137,8 @@ webshims.register('form-core', function($, webshims, window, document, undefined
var transClass = ('transitionDelay' in document.documentElement.styl... | convert to text (see/related #<I>) | aFarkas_webshim | train |
1aa5f9b8fe5fea8a6e76cb531281db4eb8609c2a | diff --git a/app/readers/pycolator.py b/app/readers/pycolator.py
index <HASH>..<HASH> 100644
--- a/app/readers/pycolator.py
+++ b/app/readers/pycolator.py
@@ -4,8 +4,10 @@ from . import basereader
def get_root_el(fn):
rootgen = etree.iterparse(fn, events=('start',))
- return next(rootgen)[1]
-
+ root = ne... | Strip children from root el and dont call multiple files psm generator | glormph_msstitch | train |
81d901b5afc0dcc734bac8f6880f37e53798d60a | diff --git a/src/com/google/javascript/jscomp/newtypes/NamespaceLit.java b/src/com/google/javascript/jscomp/newtypes/NamespaceLit.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/newtypes/NamespaceLit.java
+++ b/src/com/google/javascript/jscomp/newtypes/NamespaceLit.java
@@ -33,6 +33,9 @@ public ... | [NTI] Don't crash when window has a bad type.
Fixes #<I> on github.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
a4eccba695d83a462818c853f35508378b030843 | diff --git a/jbpm-simulation/src/main/java/org/jbpm/simulation/converter/SimulationFilterPathFormatConverter.java b/jbpm-simulation/src/main/java/org/jbpm/simulation/converter/SimulationFilterPathFormatConverter.java
index <HASH>..<HASH> 100644
--- a/jbpm-simulation/src/main/java/org/jbpm/simulation/converter/Simulatio... | BZ-<I> - Simulation: Unexpected path in simulation results for catch intermediate event | kiegroup_droolsjbpm-integration | train |
d8bdd03cf61498c1e5ae56a17c3d6f1730dda7a8 | diff --git a/test/e2e/web-socket-server-url.test.js b/test/e2e/web-socket-server-url.test.js
index <HASH>..<HASH> 100644
--- a/test/e2e/web-socket-server-url.test.js
+++ b/test/e2e/web-socket-server-url.test.js
@@ -2213,6 +2213,15 @@ describe("web socket server URL", () => {
await page.goto(`http://localhost:${p... | test: fix stability (#<I>) | webpack_webpack-dev-server | train |
0cd7652545d1909a00511279781bcd6ac26c05c1 | diff --git a/.travis.yml b/.travis.yml
index <HASH>..<HASH> 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,7 @@ python:
# command to install dependencies
install:
- "pip install --upgrade setuptools"
- - "pip install murmurhash numpy spacy"
+ - "pip install spacy"
- "rm -rf spacy/"
# command to run te... | * Use headers_workaround to avoid having install dependencies, given setuptools bug <I>. | explosion_spaCy | train |
2ce1f15c8a902303988fa662a9ee9ba4dbc071b8 | diff --git a/test/test_iron_mq.rb b/test/test_iron_mq.rb
index <HASH>..<HASH> 100644
--- a/test/test_iron_mq.rb
+++ b/test/test_iron_mq.rb
@@ -20,7 +20,8 @@ class IronMQTests < TestBase
def test_performance_post_100_messages
@client.queue_name = 'test_basics'
- timeout = @client.host.include?('rackspace')... | Set to <I> seconds for <I> messages, should use net-http-persistent now | iron-io_iron_mq_ruby | train |
b9a13a28f5e63a671da8dd9c7a610ee3218490cf | diff --git a/src/Ouzo/Goodies/Utilities/Clock.php b/src/Ouzo/Goodies/Utilities/Clock.php
index <HASH>..<HASH> 100644
--- a/src/Ouzo/Goodies/Utilities/Clock.php
+++ b/src/Ouzo/Goodies/Utilities/Clock.php
@@ -6,7 +6,6 @@
namespace Ouzo\Utilities;
-use DateInterval;
use DateTime;
use DateTimeZone;
@@ -138,6 +137,... | Fixed Clock to properly add a month to january <I>st. | letsdrink_ouzo | train |
97cc0cfc91628c315e7125983c7b3893c06f8829 | diff --git a/gkeepapi/node.py b/gkeepapi/node.py
index <HASH>..<HASH> 100644
--- a/gkeepapi/node.py
+++ b/gkeepapi/node.py
@@ -1563,7 +1563,7 @@ class NodeDrawingInfo(Element):
self.drawing_id = raw['drawingId']
self.snapshot.load(raw['snapshotData'])
self._snapshot_fingerprint = raw['snapsho... | Issue #<I>: Fix parse error
The Drawing node is no longer being send with a `thumbnailGeneratedTime`
field for some users. | kiwiz_gkeepapi | train |
5c54a4b8ee5cfea3aff55a1122b187b731319e61 | diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js
index <HASH>..<HASH> 100644
--- a/src/jquery/coreTest.js
+++ b/src/jquery/coreTest.js
@@ -356,7 +356,7 @@ test("wrap(String|Element)", function() {
});
test("append(String|Element|Array<Element>|jQuery)", function() {
- expect(14);
+ expect(16);
v... | Append colgroup and col elements (#<I>) | jquery_jquery | train |
4ee09d300056c9fa2575cc4beea1ab05cc3c648c | diff --git a/mmc/mixins.py b/mmc/mixins.py
index <HASH>..<HASH> 100644
--- a/mmc/mixins.py
+++ b/mmc/mixins.py
@@ -204,9 +204,9 @@ class BaseCommandMixin(object):
def __mmc_run(self, *args, **options):
if hasattr(self, '_no_monkey'):
- self._no_monkey.execute(self, *args, **options)
+ ... | As of Django <I> call_command returns the commands return value. This patch allows mmc-patched management commands to return values this way instead of returning none. | LPgenerator_django-mmc | train |
dd038e222b49c338cd2b574b972d9025e3ed60d1 | diff --git a/lib/record_cache/datastore/active_record_30.rb b/lib/record_cache/datastore/active_record_30.rb
index <HASH>..<HASH> 100644
--- a/lib/record_cache/datastore/active_record_30.rb
+++ b/lib/record_cache/datastore/active_record_30.rb
@@ -32,9 +32,8 @@ module RecordCache
arel = sql.instance_variable_... | Uses public methods for query cache access | orslumen_record-cache | train |
c819e92a9d96a37b8e665d15a186863cd124d55e | diff --git a/src/Model/PayuPayment.php b/src/Model/PayuPayment.php
index <HASH>..<HASH> 100644
--- a/src/Model/PayuPayment.php
+++ b/src/Model/PayuPayment.php
@@ -64,9 +64,9 @@ class PayuPayment extends Model
*/
public function get($item)
{
- $data = $this->getData();
+ $data = $this->getDa... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | tzsk_payu | train |
68fb34af8b15ddade3f2c185988d46e1132072c0 | diff --git a/postgres/check.py b/postgres/check.py
index <HASH>..<HASH> 100644
--- a/postgres/check.py
+++ b/postgres/check.py
@@ -622,13 +622,13 @@ SELECT s.schemaname,
# build a map of descriptors and their values
desc_map = dict(zip([x[1] for x in desc], row[0:len(desc)]))... | Skips schema check on custom metrics if relations param not defined | DataDog_integrations-core | train |
df42b73d147b6e3246293715090b8292775c4096 | diff --git a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/commands/dbconsole/dbconsole_command.rb
+++ b/railties/lib/rails/commands/dbconsole/dbconsole_command.rb
@@ -102,7 +102,7 @@ module Ra... | Support using replicas when using `rails dbconsole` | rails_rails | train |
4f084df50d81bcd18802b93679a31fcb4c9eb8e3 | diff --git a/src/tuwien/auto/calimero/datapoint/StateDP.java b/src/tuwien/auto/calimero/datapoint/StateDP.java
index <HASH>..<HASH> 100644
--- a/src/tuwien/auto/calimero/datapoint/StateDP.java
+++ b/src/tuwien/auto/calimero/datapoint/StateDP.java
@@ -247,6 +247,7 @@ public class StateDP extends Datapoint
* @param fr... | Replace method for removing updating/invalidating group addresses | calimero-project_calimero-core | train |
1c4727a274349734433199518eae11a9cfa5ec68 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -28,24 +28,13 @@
import os
from httpretty import version, HTTPretty
-from setuptools import setup
+from setuptools import setup, find_packages
HTTPretty.disable()
HTTPRETTY_PATH = os.path.abspath(os.path.join(__file_... | use find_packages of setuptools to discover packages... | gabrielfalcao_HTTPretty | train |
ce8c23e07ec58512761991d179c5b10e3779f832 | diff --git a/scotty/ecs.py b/scotty/ecs.py
index <HASH>..<HASH> 100644
--- a/scotty/ecs.py
+++ b/scotty/ecs.py
@@ -131,6 +131,13 @@ def _get_services(ctx):
return []
+def _get_task_count(ctx):
+ return ctx.obj['service']['config'].get(
+ 'task_count', ctx.obj['cluster']['config'].get(
+ ... | scotty task count config | laco_python-scotty | train |
3ed5eab9a259c909679d781daab6b71d4de94e57 | diff --git a/lib/Cpdf.php b/lib/Cpdf.php
index <HASH>..<HASH> 100644
--- a/lib/Cpdf.php
+++ b/lib/Cpdf.php
@@ -24,6 +24,7 @@ use FontLib\BinaryStream;
class Cpdf
{
+ const PDF_VERSION = '1.7';
const ACROFORM_SIG_SIGNATURESEXISTS = 0x0001;
const ACROFORM_SIG_APPENDONLY = 0x0002;
@@ -3186,7 +3187... | Moving the PDF version to a `const` | dompdf_dompdf | train |
4bc1bdde3cd23da562379fd49c69bce9af41e9a5 | diff --git a/test_flask_ldapconn.py b/test_flask_ldapconn.py
index <HASH>..<HASH> 100644
--- a/test_flask_ldapconn.py
+++ b/test_flask_ldapconn.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-import os
import sys
import ssl
import json
import time
import random
import string
+import warnings... | Add ResourceWarning and fix one test | rroemhild_flask-ldapconn | train |
133fd7d215a498e40522c5e4b15ca4313bcb5819 | diff --git a/tests/10_test_shape.py b/tests/10_test_shape.py
index <HASH>..<HASH> 100644
--- a/tests/10_test_shape.py
+++ b/tests/10_test_shape.py
@@ -9,8 +9,6 @@ def test_shape_interface():
class MyShape (Shape): pass
shape = MyShape()
- assert False
-
with pytest.raises(NotImplementedError):
... | Remove a dummy assertion. | kxgames_vecrec | train |
8240279b008568aad4417a297396a323e7094c1b | diff --git a/cmd.py b/cmd.py
index <HASH>..<HASH> 100755
--- a/cmd.py
+++ b/cmd.py
@@ -5,7 +5,7 @@ import argparse
import json
import base64
-from trezorlib.client import TrezorClient
+from trezorlib.client import TrezorClientDebug
from trezorlib.api_blockchain import BlockchainApi
from trezorlib.protobuf_json im... | Added TrezorClientDebug which prints wire messages to stdout | keepkey_python-keepkey | train |
f21373c70cf3d56e204aa802d0b4b638b5607dac | diff --git a/holoviews/plotting/mpl/path.py b/holoviews/plotting/mpl/path.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/path.py
+++ b/holoviews/plotting/mpl/path.py
@@ -23,7 +23,8 @@ class PathPlot(ElementPlot):
ranges = self.compute_ranges(self.map, key, ranges)
ranges = match_spec(line... | Enabled legends for Paths and Polygons | pyviz_holoviews | train |
4e74f9c1b06180f48cc45b76775f9707cde3e00f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,7 +3,7 @@ var cheerio = require('cheerio')
var debug = require('debug')('youtube-video-info')
var isFunction = require('lodash.isfunction')
-module.exports = function fetchVideoInfo (videoId, callback) {
+module.exports... | Update index.js
YouTube comments can be in different languages at the same time. Language is determined by accept-language in request header | philbot9_youtube-info | train |
6f68049bf507783c5f278eccbd0c807a0ecc45c3 | diff --git a/lib/Cake/Network/CakeResponse.php b/lib/Cake/Network/CakeResponse.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Network/CakeResponse.php
+++ b/lib/Cake/Network/CakeResponse.php
@@ -1259,6 +1259,13 @@ class CakeResponse {
'download' => null
);
+ if (strpos($path, '..') !== false) {
+ throw new ... | Reject file paths containing `..`.
Paths containing `..` are generally up to no good. Throw an exception,
as developers can use realpath() if they really need to get relative
paths.
Fixes #<I> | cakephp_cakephp | train |
00641fbf513e43a662f4a4a52994e779da85865f | diff --git a/lib/xray/middleware.rb b/lib/xray/middleware.rb
index <HASH>..<HASH> 100644
--- a/lib/xray/middleware.rb
+++ b/lib/xray/middleware.rb
@@ -37,8 +37,11 @@ module Xray
status, headers, response = @app.call(env)
if should_inject_xray?(status, headers, response)
body = response.body... | Only attempt script insertion if config.assets.debug = true
This should take care of #3 | brentd_xray-rails | train |
15f50f17f6c58a12ec4aa1cc0d9ecdcab1fa6728 | diff --git a/store/tikv/client_batch.go b/store/tikv/client_batch.go
index <HASH>..<HASH> 100644
--- a/store/tikv/client_batch.go
+++ b/store/tikv/client_batch.go
@@ -622,14 +622,17 @@ func sendBatchRequest(
failpoint.InjectContext(ctx, "sendIdleHeartbeatReq", func() {
entry.heartbeat = true
})
- ctx1, cancel :=... | tikv: replace WithTimeout with time.NewTimer in sendBatchRequest (#<I>) | pingcap_tidb | train |
8499e638137b4b82c2995102cee299b2f2a5f5d4 | diff --git a/beakerx/js/src/tableDisplay/datatablesHeadermenu.js b/beakerx/js/src/tableDisplay/datatablesHeadermenu.js
index <HASH>..<HASH> 100644
--- a/beakerx/js/src/tableDisplay/datatablesHeadermenu.js
+++ b/beakerx/js/src/tableDisplay/datatablesHeadermenu.js
@@ -158,17 +158,29 @@ define([
var menuItems =... | #<I> fix table menus clipping by bottom of window (#<I>) | twosigma_beakerx | train |
7514063258fb75035f08d9ef4547c96bf2cf7390 | diff --git a/emirdrp/datamodel.py b/emirdrp/datamodel.py
index <HASH>..<HASH> 100644
--- a/emirdrp/datamodel.py
+++ b/emirdrp/datamodel.py
@@ -32,6 +32,13 @@ import emirdrp.instrument
_logger = logging.getLogger(__name__)
+class QueryAttribute(object):
+ def __init__(self, name, tipo, description=""):
+ ... | Move tagger functionality to pyemir | guaix-ucm_pyemir | train |
b5d8f03459d96069e2376e8eaefeec9c7982bb24 | diff --git a/src/test/moment/relative_time.js b/src/test/moment/relative_time.js
index <HASH>..<HASH> 100644
--- a/src/test/moment/relative_time.js
+++ b/src/test/moment/relative_time.js
@@ -148,7 +148,7 @@ test('custom rounding', function (assert) {
moment.relativeTimeThreshold('s', 60);
moment.relativeTimeT... | Fix test broken only in March
Even if you set custom rounding threshold for days -> month, because relative
time works on durations, which computes it from two moments, if its over
a month in real terms (1st Feb to 2nd March) it will be shown as a month no
matter the thres. It might be considered a bug, but for now it... | moment_moment | train |
ff18c235043ae741c2990df63a4043c0f3961d22 | diff --git a/src/widgets/StackedDocumentsView.php b/src/widgets/StackedDocumentsView.php
index <HASH>..<HASH> 100644
--- a/src/widgets/StackedDocumentsView.php
+++ b/src/widgets/StackedDocumentsView.php
@@ -5,6 +5,7 @@ namespace hipanel\modules\document\widgets;
use DateTime;
use hipanel\modules\document\models\Doc... | Added group documnets by month, truncate document title to <I> chars | hiqdev_hipanel-module-document | train |
5c1c427bbe724d1ad002c86c097a6d25ca73909c | diff --git a/tests/test_parsing.py b/tests/test_parsing.py
index <HASH>..<HASH> 100644
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -250,6 +250,23 @@ def test_parse_redirect_inside_terminator(parser):
assert statement.argv == ['has', '>', 'inside']
assert statement.terminator == ';'
+@pytest.m... | Add unit tests to check for multiple terminators | python-cmd2_cmd2 | train |
f557ec4bda714760b207fabc89757353c550fe3a | diff --git a/gns3server/compute/docker/__init__.py b/gns3server/compute/docker/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3server/compute/docker/__init__.py
+++ b/gns3server/compute/docker/__init__.py
@@ -177,9 +177,9 @@ class Docker(BaseManager):
"""
url = "http://docker/v" + self._api_versio... | Fix regression in docker introduce by <I> merge | GNS3_gns3-server | train |
6f94c80f1cd63d02f0a0c0d1b094a57c85570d30 | diff --git a/modules/wyc/src/wyc/io/WhileyFilePrinter.java b/modules/wyc/src/wyc/io/WhileyFilePrinter.java
index <HASH>..<HASH> 100644
--- a/modules/wyc/src/wyc/io/WhileyFilePrinter.java
+++ b/modules/wyc/src/wyc/io/WhileyFilePrinter.java
@@ -153,11 +153,11 @@ public class WhileyFilePrinter {
} else if(stmt instance... | WyC: currently <I> failing test cases after auto-conversion. #<I> | Whiley_WhileyCompiler | train |
50d89b574f5c2df355894aec8816f3a4ad08b7b3 | diff --git a/lib/sass/tree/rule_node.rb b/lib/sass/tree/rule_node.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/tree/rule_node.rb
+++ b/lib/sass/tree/rule_node.rb
@@ -134,7 +134,7 @@ module Sass::Tree
per_rule_indent, total_indent = [:nested, :expanded].include?(style) ? [rule_indent, ''] : ['', rule_indent]
... | [Sass] Proper fix for GH-<I> that doesn't break other tests. Closes GH-<I>. | sass_ruby-sass | train |
b7e2ec2024defe736ec7f1dea149eb62c1caf294 | diff --git a/imtools/tools.py b/imtools/tools.py
index <HASH>..<HASH> 100755
--- a/imtools/tools.py
+++ b/imtools/tools.py
@@ -1889,7 +1889,7 @@ def hist_smoothing(bins, hist, window='gaussian', win_w=20, sigma=5):
# plt.show()
win_types = ['flat', 'hanning', 'hamming', 'bartlett', 'blackman', 'gaussian']
... | raise according to python 3 | mjirik_imtools | train |
f12019efceef0f5b4881f69e91fe48dd7b060710 | diff --git a/JSAT/src/jsat/linear/DenseVector.java b/JSAT/src/jsat/linear/DenseVector.java
index <HASH>..<HASH> 100644
--- a/JSAT/src/jsat/linear/DenseVector.java
+++ b/JSAT/src/jsat/linear/DenseVector.java
@@ -116,7 +116,12 @@ public class DenseVector implements Vec
for(double xi : array)
tmp += ... | Updated skewness calculations to use an unbiased estimate when the sample is large enough (>2)
git-svn-id: <URL> | EdwardRaff_JSAT | train |
3e567085a8f4dfaa1d14c351a06f2e9608bd7614 | diff --git a/badges/renderer.php b/badges/renderer.php
index <HASH>..<HASH> 100644
--- a/badges/renderer.php
+++ b/badges/renderer.php
@@ -1368,4 +1368,35 @@ class core_badges_renderer extends plugin_renderer_base {
$data = $page->export_for_template($this);
return parent::render_from_template('core_b... | MDL-<I> core_badges: add methods to support backpack validation
A more generic method has been added to the API to validate the
backpack connection (for now, there was only one method for
validating current backpack).
Besides, a renderer has been added to display this information
depending on the backpackid. | moodle_moodle | train |
9bc48ebad8890200f23d2ffae3046bc2a8eecfe0 | diff --git a/test/lib/cryptoUtilTests.js b/test/lib/cryptoUtilTests.js
index <HASH>..<HASH> 100644
--- a/test/lib/cryptoUtilTests.js
+++ b/test/lib/cryptoUtilTests.js
@@ -511,8 +511,8 @@ module.exports = {
test.expect(1);
cryptoUtil.nextRandomUser()
- .then((response) => {
- ... | failed bad password test on non-error response | F5Networks_f5-cloud-libs | train |
9f84de52c26f7d47a42efe3a1097ada908615a13 | diff --git a/src/components/components/ebay-dialog-base/component.js b/src/components/components/ebay-dialog-base/component.js
index <HASH>..<HASH> 100644
--- a/src/components/components/ebay-dialog-base/component.js
+++ b/src/components/components/ebay-dialog-base/component.js
@@ -111,7 +111,7 @@ module.exports = {
... | Added a check to apply all traps on rerender (#<I>) | eBay_ebayui-core | train |
dc42e86872bc2a5a83145c17ab080d0a2d3e426d | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -2,3 +2,7 @@
require_once 'vendor/autoload.php';
date_default_timezone_set("UTC");
+
+// Setting "bcmath.scale" to something other than 0 so that
+// we can be sure bcdiv's $scal... | Setting "bcmath.scale" to something other than 0 so that we can be sure bcdiv's $scale parameter is working correctly. | stephen-hill_base58php | train |
789d5b14c5e6441a9f58e17dd3b24e2fb735d97a | diff --git a/lib/tjbot.js b/lib/tjbot.js
index <HASH>..<HASH> 100644
--- a/lib/tjbot.js
+++ b/lib/tjbot.js
@@ -1216,7 +1216,7 @@ TJBot.prototype.play = function(soundFile) {
var speakerOptions = {
"filename": soundFile,
gain: 100,
- debug: flase,
+ debug: true,
... | add support specifying speaker device id | ibmtjbot_tjbotlib | train |
0c12f9efa9124634b52ae74e7659a6777ec0243e | diff --git a/src/GraphQL/GraphQL.php b/src/GraphQL/GraphQL.php
index <HASH>..<HASH> 100644
--- a/src/GraphQL/GraphQL.php
+++ b/src/GraphQL/GraphQL.php
@@ -311,8 +311,7 @@ function subscriptions_manager(
array $filters = [],
$rootValue = [],
$context = []
-): SubscriptionsManager
-{
+): SubscriptionsManag... | PhpStorm and phpcs are not on the same page | leocavalcante_siler | train |
f43b9859e8ee945df4e66af1d46b269161a0b74d | diff --git a/spec/util/bundler_spec.rb b/spec/util/bundler_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/util/bundler_spec.rb
+++ b/spec/util/bundler_spec.rb
@@ -2,6 +2,32 @@ require 'spec_helper'
require 'pdk/util/bundler'
RSpec.describe PDK::Util::Bundler do
+ before(:each) do
+ # Doesn't matter where this i... | (FIXUP) Update bundler unit tests for new command invocation method. | puppetlabs_pdk | train |
f0d7df402c9947f184c9de69b3f9cdb305d9f8bf | diff --git a/cmd/shield/forms.go b/cmd/shield/forms.go
index <HASH>..<HASH> 100644
--- a/cmd/shield/forms.go
+++ b/cmd/shield/forms.go
@@ -1,5 +1,7 @@
package main
+import "strings"
+
func FieldIsStoreUUID(name string, value string) (interface{}, error) {
o, _, err := FindStore(value, false)
if err != nil {
@@ ... | Reformatted retention policy cmds | starkandwayne_shield | train |
d164eeefa8366fc3f044ab7796de476259177af3 | diff --git a/src/com/google/javascript/jscomp/AbstractCompiler.java b/src/com/google/javascript/jscomp/AbstractCompiler.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/AbstractCompiler.java
+++ b/src/com/google/javascript/jscomp/AbstractCompiler.java
@@ -47,7 +47,7 @@ import javax.annotation.Nul... | Include the message from the IOException if we fail to read a file.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
6d3e36e6ea5a090a8e39627f023adfa857bf7354 | diff --git a/packer/rpc/ui.go b/packer/rpc/ui.go
index <HASH>..<HASH> 100644
--- a/packer/rpc/ui.go
+++ b/packer/rpc/ui.go
@@ -5,8 +5,6 @@ import (
"log"
"net/rpc"
- "github.com/hashicorp/packer/common/random"
-
"github.com/hashicorp/packer/packer"
)
@@ -67,38 +65,27 @@ func (u *Ui) Say(message string) {
}
... | simplify remote progress bar as we are using a single instance | hashicorp_packer | train |
8a0617d71547c0209726b5cd1600ad3d772529d0 | diff --git a/noseOfYeti/test.py b/noseOfYeti/test.py
index <HASH>..<HASH> 100644
--- a/noseOfYeti/test.py
+++ b/noseOfYeti/test.py
@@ -178,11 +178,11 @@ class Test_Tokenisor_translation(object):
'\ndef test_should_not_be_skipped (self ):'
)
- def test_it_should_turn_before_each_into_s... | change tests to reflect renaming of setUp/tearDown to setup/teardown (refs #1) | delfick_nose-of-yeti | train |
68100c109f0188d311eeb0a78d432e51a40a5701 | diff --git a/purell.go b/purell.go
index <HASH>..<HASH> 100644
--- a/purell.go
+++ b/purell.go
@@ -20,39 +20,42 @@ type NormalizationFlags uint
const (
// Safe normalizations
- FlagLowercaseScheme NormalizationFlags = 1 << iota
- FlagLowercaseHost
- FlagUppercaseEscapes
- FlagDecodeUnnecessaryEscapes
- FlagRemoveD... | add examples in comments (godoc) of what each flag does | PuerkitoBio_purell | train |
14078bdcdf545495c7b48842fee003e8c17e1a3a | diff --git a/install/scripts/SetupExtendedTextInteractionConfigurationRegistry.php b/install/scripts/SetupExtendedTextInteractionConfigurationRegistry.php
index <HASH>..<HASH> 100644
--- a/install/scripts/SetupExtendedTextInteractionConfigurationRegistry.php
+++ b/install/scripts/SetupExtendedTextInteractionConfigurati... | chore: AUT-<I> simplify `SetupExtendedTextInteractionConfigurationRegistry` by tracking the values set to the registry directly from the registry itself | oat-sa_extension-tao-itemqti | train |
e569303277597fa3b09d29709d5bc192d05e61be | diff --git a/yowsup/layers/interface/interface.py b/yowsup/layers/interface/interface.py
index <HASH>..<HASH> 100644
--- a/yowsup/layers/interface/interface.py
+++ b/yowsup/layers/interface/interface.py
@@ -15,6 +15,7 @@ class ProtocolEntityCallback(object):
class YowInterfaceLayer(YowLayer):
def __init__(self)... | Call super contructor from YowInterfaceLayer | tgalal_yowsup | train |
967ec998055e741d0158e5ad58d6733c9740045f | diff --git a/autofit/graphical/factor_graphs/factor.py b/autofit/graphical/factor_graphs/factor.py
index <HASH>..<HASH> 100644
--- a/autofit/graphical/factor_graphs/factor.py
+++ b/autofit/graphical/factor_graphs/factor.py
@@ -221,7 +221,7 @@ class Factor(AbstractFactor):
k: np.shape(x) for k, x in kwargs.... | fixed lru_cache decorator | rhayes777_PyAutoFit | train |
8ef946383a3e71d3660be22dd7ac9fad2e39534c | diff --git a/lib/Accessory.js b/lib/Accessory.js
index <HASH>..<HASH> 100644
--- a/lib/Accessory.js
+++ b/lib/Accessory.js
@@ -496,6 +496,19 @@ Accessory.prototype.publish = function(info, allowInsecureRequest) {
this._server.listen(targetPort);
}
+/**
+ * Removes this Accessory from the local network
+ * Accesso... | Add ability to stop Accessory. Addresses #<I> | KhaosT_HAP-NodeJS | train |
9e42d0f0cddee7dc8e431a8ded8d89dc92d21501 | diff --git a/lib/dm-adjust/adapters/data_objects_adapter.rb b/lib/dm-adjust/adapters/data_objects_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-adjust/adapters/data_objects_adapter.rb
+++ b/lib/dm-adjust/adapters/data_objects_adapter.rb
@@ -55,6 +55,10 @@ module DataMapper
super
end
+
+ ... | Fixed a bug with loading dm-adjust after the dm-do-adapter | datamapper_dm-adjust | train |
0ac653dc7210f26c356a3d631d0793af02306aa8 | diff --git a/hgtools/managers/library.py b/hgtools/managers/library.py
index <HASH>..<HASH> 100644
--- a/hgtools/managers/library.py
+++ b/hgtools/managers/library.py
@@ -7,6 +7,7 @@ import collections
import contextlib
from . import base
+from . import cmd
try:
import mercurial.__version__
@@ -65,15 +66,10 @@... | Updated LibraryManager to also use the Command class | jaraco_hgtools | train |
d7118d524e52bf135b3ca8369cce7add29f946cb | diff --git a/core/src/main/java/org/bitcoinj/utils/Threading.java b/core/src/main/java/org/bitcoinj/utils/Threading.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/utils/Threading.java
+++ b/core/src/main/java/org/bitcoinj/utils/Threading.java
@@ -116,7 +116,7 @@ public class Threading {
... | Threading: print fewer warnings of excess closure buildup. We should really use a rate limiter here. | bitcoinj_bitcoinj | train |
59e1935c7d92e0b290d8649c42ee92fc26565b87 | diff --git a/tests/ProxyManagerTest/Functional/AccessInterceptorScopeLocalizerFunctionalTest.php b/tests/ProxyManagerTest/Functional/AccessInterceptorScopeLocalizerFunctionalTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTest/Functional/AccessInterceptorScopeLocalizerFunctionalTest.php
+++ b/tests/ProxyMa... | Adding test to verify that proxy constructors work like the proxied class' constructors as of #<I> and #<I> | Ocramius_ProxyManager | train |
5e9b4e04430ccbeb06003367af57377e34d6a20a | diff --git a/lenstronomy/Util/numba_util.py b/lenstronomy/Util/numba_util.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Util/numba_util.py
+++ b/lenstronomy/Util/numba_util.py
@@ -1,5 +1,6 @@
import numpy as np
from lenstronomy.Conf import config_loader
+from os import environ
"""
From pyautolens:
@@ -14,7 +15... | Disable jit while testing, perhaps this is all it takes.. | sibirrer_lenstronomy | train |
05bda3d6c025f30580b56817b83dbaec41f4a716 | diff --git a/pygccxml/binary_parsers/parsers.py b/pygccxml/binary_parsers/parsers.py
index <HASH>..<HASH> 100644
--- a/pygccxml/binary_parsers/parsers.py
+++ b/pygccxml/binary_parsers/parsers.py
@@ -203,7 +203,6 @@ class dll_file_parser_t(formated_mapping_parser_t):
"""parser for Windows .dll file"""
def __... | Remove global in binary parser
There is no need for a global variable here. | gccxml_pygccxml | train |
49ab70f731eb22c846b9c5563678293c360d1372 | diff --git a/corelib/kernel.rb b/corelib/kernel.rb
index <HASH>..<HASH> 100644
--- a/corelib/kernel.rb
+++ b/corelib/kernel.rb
@@ -449,15 +449,17 @@ module Kernel
def rand(max = undefined)
%x{
- if(!max) {
+ if (max === undefined) {
return Math.random();
- } else {
- if (max._is... | Cleanup and compliancy fixes for Kernel#rand | opal_opal | train |
31ff56ecabbac9d94163b269f0dfb67fff4dc733 | diff --git a/src/sap.m/src/sap/m/SelectDialog.js b/src/sap.m/src/sap/m/SelectDialog.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/SelectDialog.js
+++ b/src/sap.m/src/sap/m/SelectDialog.js
@@ -814,14 +814,14 @@ sap.ui.define(['jquery.sap.global', './Button', './Dialog', './List', './SearchF
SelectDialog.pro... | [INTERNAL][FIX] sap.m.SelectDialog: Dissapearing SearchField
If the SelectDialog is binded with data and the busy indicator
is on, the whole header was hidden thus leaving transparent part
of the SelectDialog uncovered. We now just disable the search
field before the data is loaded and once this is done - we enable it... | SAP_openui5 | train |
453e50823d3fb7a5937311e9118abbcbd5309855 | diff --git a/fireplace/carddata/minions/neutral/rare.py b/fireplace/carddata/minions/neutral/rare.py
index <HASH>..<HASH> 100644
--- a/fireplace/carddata/minions/neutral/rare.py
+++ b/fireplace/carddata/minions/neutral/rare.py
@@ -1,4 +1,47 @@
+import random
from ...card import *
+from fireplace.enums import Race
+
+
... | Implement a bunch more rare neutral minions | jleclanche_fireplace | train |
e511e63ad9f7cc4bac5c5cd55a0b971a376a82b0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -51,6 +51,7 @@ function Game(opts) {
this.chunkDistance = opts.chunkDistance || 2
this.removeDistance = opts.removeDistance || this.chunkDistance + 1
+ this.skyColor = opts.skyColor || 0xBFD1E5
this.playerHeight ... | Forwarding skyColor opt to voxel-view | maxogden_voxel-engine | train |
d7a5eafa6711351b5989bd86bfa74d058e6a55ec | diff --git a/src/Knp/Menu/MenuItem.php b/src/Knp/Menu/MenuItem.php
index <HASH>..<HASH> 100644
--- a/src/Knp/Menu/MenuItem.php
+++ b/src/Knp/Menu/MenuItem.php
@@ -655,7 +655,7 @@ class MenuItem implements ItemInterface
*/
public function isRoot()
{
- return (bool) !$this->getParent();
+ re... | Optimized the tests for first and last displayed children | KnpLabs_KnpMenu | train |
d883ac3d886fc6f35fb202caee797b107ec97240 | diff --git a/HydraServer/python/HydraServer/soap_server/attributes.py b/HydraServer/python/HydraServer/soap_server/attributes.py
index <HASH>..<HASH> 100644
--- a/HydraServer/python/HydraServer/soap_server/attributes.py
+++ b/HydraServer/python/HydraServer/soap_server/attributes.py
@@ -67,7 +67,7 @@ class AttributeServ... | get_attributes -> get_all_attributes. get_attributes now retrieves attribute objects matching a list of attribute objects passed in (useful to find the IDs of attributes, when the name and dimension is known) | hydraplatform_hydra-base | train |
37e343ba64ea636b695f94ccdc79e26bab61ec10 | diff --git a/admin_trees_config.php b/admin_trees_config.php
index <HASH>..<HASH> 100644
--- a/admin_trees_config.php
+++ b/admin_trees_config.php
@@ -381,6 +381,7 @@ echo WT_JS_START;?>
<form enctype="multipart/form-data" method="post" id="configform" name="configform" action="<?php echo WT_SCRIPT_NAME; ?>">
<inpu... | Fix: family tree settings applied to wrong family tree, if another tab/window is used to select a different family tree. | fisharebest_webtrees | train |
ec2f914ae15598ffa9e61f8b4664e698ff814a8b | diff --git a/decompiler/impl-fernflower/src/main/java/org/jboss/windup/decompiler/fernflower/FernflowerDecompiler.java b/decompiler/impl-fernflower/src/main/java/org/jboss/windup/decompiler/fernflower/FernflowerDecompiler.java
index <HASH>..<HASH> 100644
--- a/decompiler/impl-fernflower/src/main/java/org/jboss/windup/d... | Added a timeout to fernflower decompilation. It's a little large as lower values seemed to timeout more often | windup_windup | train |
3f11993c5a90f4b8b838ad6999ff3a8db8e41ea7 | diff --git a/src/peltak/commands/lint.py b/src/peltak/commands/lint.py
index <HASH>..<HASH> 100755
--- a/src/peltak/commands/lint.py
+++ b/src/peltak/commands/lint.py
@@ -32,9 +32,15 @@ from . import root_cli, click
is_flag=True,
help=("Just print files that would be linted without running anything")
)
+@cli... | Customizable verbosity in lint command
(feature) The `peltak lint` command now accepts a `-v`/`--verbose`
option to control the amout of output that gets printed on stdout. | novopl_peltak | train |
6f9b5ca31758acf79b4c7da103efcb8c735987c1 | diff --git a/spec/internal/app/indices/city_index.rb b/spec/internal/app/indices/city_index.rb
index <HASH>..<HASH> 100644
--- a/spec/internal/app/indices/city_index.rb
+++ b/spec/internal/app/indices/city_index.rb
@@ -3,4 +3,5 @@ ThinkingSphinx::Index.define :city, :with => :active_record do
has lat, lng
set_p... | Fix utf8 weirdness on tests
Fixes #<I> | pat_thinking-sphinx | train |
6fb0ac6c4b489eed06f9dd3cc1765952daf2f4f1 | diff --git a/exporters/__init__.py b/exporters/__init__.py
index <HASH>..<HASH> 100644
--- a/exporters/__init__.py
+++ b/exporters/__init__.py
@@ -222,7 +222,10 @@ class GitExporter(_Exporter):
def generate(self, source, destination, verbose=False, custom=None):
"""Generate a fast import stream. See _Ex... | Fix launching of git on Windows | jelmer_python-fastimport | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.