hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
acd0616aaab605ceaed2a01910214fcb18a69b35 | diff --git a/modules/backend/widgets/Lists.php b/modules/backend/widgets/Lists.php
index <HASH>..<HASH> 100644
--- a/modules/backend/widgets/Lists.php
+++ b/modules/backend/widgets/Lists.php
@@ -1212,14 +1212,14 @@ class Lists extends WidgetBase
// Handle absolute URLs
} elseif (str_contains($value,... | Fix typo, credit to @alxy for identifying | octobercms_october | train |
967ab9bd5b50a029a57d16a075516c3e2016d2ff | diff --git a/addon/orm/associations/has-many.js b/addon/orm/associations/has-many.js
index <HASH>..<HASH> 100644
--- a/addon/orm/associations/has-many.js
+++ b/addon/orm/associations/has-many.js
@@ -94,7 +94,7 @@ export default class HasMany extends Association {
if (ids === null) {
tempChildren = [... | Fix typo in error messages - seting to setting | samselikoff_ember-cli-mirage | train |
53922461dbedef3343e2d2c886c32b9a72801c87 | diff --git a/src/Auth/Controller/IndexController.php b/src/Auth/Controller/IndexController.php
index <HASH>..<HASH> 100644
--- a/src/Auth/Controller/IndexController.php
+++ b/src/Auth/Controller/IndexController.php
@@ -48,20 +48,19 @@ class IndexController extends AbstractActionController
... | [Jobs] interactive posting of template-content
(#<I>) | yawik_auth | train |
fa16a960a55de6c770c9da235b27c11533363ae8 | diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/Engine.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/Engine.java
index <HASH>..<HASH> 100644
--- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/Engine.java
+++ b/dependency-check-core/src/main/java/org/owa... | Added explanatory text to analyzeDependencies() javadoc. Fixed IDE warning about unnecessary ternary expression. Slight code reformat.
Former-commit-id: 2b<I>c<I>cae<I>a4a6f<I>e3fde<I>f0c<I> | jeremylong_DependencyCheck | train |
3d5483c658b282fe01c30fc8259d9e0620ce7776 | diff --git a/lib/erector/caching.rb b/lib/erector/caching.rb
index <HASH>..<HASH> 100644
--- a/lib/erector/caching.rb
+++ b/lib/erector/caching.rb
@@ -12,18 +12,19 @@ module Erector
end
def store_for(klass)
- @stores[klass] ||= {}
+ @stores[klass] ||= Hash.new {|h,k| h[k] = {}}
end
def... | Cache must distinguish different content method names. | erector_erector | train |
0298bc1137cfcca31d0e279f0ca8627f9338c685 | diff --git a/test/offline/offline_integration.js b/test/offline/offline_integration.js
index <HASH>..<HASH> 100644
--- a/test/offline/offline_integration.js
+++ b/test/offline/offline_integration.js
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-describe('Offline', /** @suppress {accessControls} */ functi... | Remove Unused Access Suppression Tag
There was an access suppression tag in the offline tests, however there
was not accesses to suppress. Removing the tag did not yield any
compiler errors or runtime errors.
Change-Id: I4a6d4a<I>d<I>b1fd<I>e9aa7ae<I>ec1 | google_shaka-player | train |
f5c79163a9ba3caf564ef9bad688159a6433efa0 | diff --git a/Classes/Mvc/Cli/CommandCollection.php b/Classes/Mvc/Cli/CommandCollection.php
index <HASH>..<HASH> 100644
--- a/Classes/Mvc/Cli/CommandCollection.php
+++ b/Classes/Mvc/Cli/CommandCollection.php
@@ -137,15 +137,15 @@ class CommandCollection implements \IteratorAggregate
{
$registeredCommands =... | [BUGFIX] Define aliases for command controller commands
Command controller commands used to also work
with their full identifier. Mimik this behavior
again by setting the according alias.
Nevertheless we deprecate the usage of such
command names. | TYPO3-Console_TYPO3-Console | train |
7eedff5d453ffb170d6e3dd51c479a97de0fe244 | diff --git a/js/plugins/hit.js b/js/plugins/hit.js
index <HASH>..<HASH> 100644
--- a/js/plugins/hit.js
+++ b/js/plugins/hit.js
@@ -191,12 +191,7 @@ Flotr.addPlugin('hit', {
ysens = sens/ya.scale;
mx = xa.p2d(mouse.relX);
my = ya.p2d(mouse.relY);
-
- //if (s.points) {
- /... | Removed unused getHit method from points. | HumbleSoftware_Flotr2 | train |
951d5d04abf8d7a0b664f3f6c95ae6da285459c5 | diff --git a/public/assets/appCore.js b/public/assets/appCore.js
index <HASH>..<HASH> 100644
--- a/public/assets/appCore.js
+++ b/public/assets/appCore.js
@@ -1752,7 +1752,8 @@ var dicionarios,
historyReqPosition = 0,
loadingEffect = null,
appInstalled = !1,
- deferredPrompt;
+ deferredPrompt,
+ ... | set timeout when input is focused to get time to close keyboard | edineibauer_uebConfig | train |
e30f66710b7c349ae06be6f7965f8bec3f11718c | diff --git a/lib/stack.js b/lib/stack.js
index <HASH>..<HASH> 100644
--- a/lib/stack.js
+++ b/lib/stack.js
@@ -22,14 +22,19 @@ module.exports = function(layers, errorHandler) {
if (!errorHandler) {
return fallback(error);
}
- return Promise.resolve(errorHandler(request, error)).then(finalizer => finalizer ||... | Proper handling for exceptions in stack functions and in error handler | ReddogStone_yokto | train |
c94093a76e0b6492cf7e2c5534f0162c208fad20 | diff --git a/src/main/java/reactor/netty/channel/FluxReceive.java b/src/main/java/reactor/netty/channel/FluxReceive.java
index <HASH>..<HASH> 100644
--- a/src/main/java/reactor/netty/channel/FluxReceive.java
+++ b/src/main/java/reactor/netty/channel/FluxReceive.java
@@ -385,11 +385,18 @@ final class FluxReceive extends... | fix #<I> Ensure the exception is propagated | reactor_reactor-netty | train |
7eb5ae48613434e6d06b723e469ebd5025d9bf5d | diff --git a/yandextank/plugins/Telegraf/collector.py b/yandextank/plugins/Telegraf/collector.py
index <HASH>..<HASH> 100644
--- a/yandextank/plugins/Telegraf/collector.py
+++ b/yandextank/plugins/Telegraf/collector.py
@@ -36,14 +36,17 @@ class MonitoringCollector(object):
# Parse config
agent_configs... | share monitoring data as dicts, not as json strings | yandex_yandex-tank | train |
d060cd1e825ee778f21ce246e3e7da11a0983eca | diff --git a/src/events.js b/src/events.js
index <HASH>..<HASH> 100644
--- a/src/events.js
+++ b/src/events.js
@@ -1,6 +1,7 @@
(function(exports, Editable, undefined) {
'use strict';
+ var $ = Editable.$;
Editable.events = { | How to access jQuery in submodules | livingdocsIO_editable.js | train |
0957f59ea780b1a655b020ead1fe0ffcff4461df | diff --git a/cumulusci/tasks/bulkdata/load.py b/cumulusci/tasks/bulkdata/load.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/bulkdata/load.py
+++ b/cumulusci/tasks/bulkdata/load.py
@@ -546,7 +546,9 @@ class LoadData(SqlAlchemyMixin, BaseSalesforceApiTask):
)
def _filter_out_person_account_records(... | Fix handling of Boolean in Person Account loads | SFDO-Tooling_CumulusCI | train |
b67c64fd66874d64dc24bd7bda26c895e877135b | diff --git a/provisioner/powershell/provisioner_test.go b/provisioner/powershell/provisioner_test.go
index <HASH>..<HASH> 100644
--- a/provisioner/powershell/provisioner_test.go
+++ b/provisioner/powershell/provisioner_test.go
@@ -518,6 +518,12 @@ func TestProvisioner_createFlattenedElevatedEnvVars_windows(t *testing.T... | Tests for escape of chars special to PowerShell in user supplied data | hashicorp_packer | train |
bb345d4aba7d4d4a68ac267a5b991988544076e6 | diff --git a/dist/lua.vm.js b/dist/lua.vm.js
index <HASH>..<HASH> 100644
--- a/dist/lua.vm.js
+++ b/dist/lua.vm.js
@@ -9235,7 +9235,7 @@ run();
-(function(exports, global, emscripten){
+!(function(exports, global, emscripten){
/* Utility functions */
var slice = [].slice;
var apply = (function(){}).apply;
diff... | src/lua.js: Prefix code with `!` so it always evaluates (rather than potentially being given as an argument) | daurnimator_lua.vm.js | train |
996c26a9ab4dc9dd91fc70387cfb5190c59ce9b9 | diff --git a/zhaquirks/tuya/ts0601_smoke.py b/zhaquirks/tuya/ts0601_smoke.py
index <HASH>..<HASH> 100644
--- a/zhaquirks/tuya/ts0601_smoke.py
+++ b/zhaquirks/tuya/ts0601_smoke.py
@@ -78,6 +78,7 @@ class TuyaSmokeDetector0601(CustomDevice):
MODELS_INFO: [
("_TZE200_aycxwiau", "TS0601"),
... | Added support for model _TZE<I>_vzekyi4c (#<I>) | dmulcahey_zha-device-handlers | train |
d859fd756da0fc7826e27b987023e33a05057049 | diff --git a/tests/test_tracer.py b/tests/test_tracer.py
index <HASH>..<HASH> 100644
--- a/tests/test_tracer.py
+++ b/tests/test_tracer.py
@@ -18,6 +18,9 @@ def test_cgc_0b32aa01_01_raw():
t = tracer.Tracer(os.path.join(bin_location, "cgc_scored_event_1/cgc/0b32aa01_01"), "racecar\n")
result_path, crash_state... | Add testcases for allocation base continuity | angr_angr | train |
beb07942dfad7bbc74caed7651e15c508a9063a7 | diff --git a/smusicclient/download_controller.py b/smusicclient/download_controller.py
index <HASH>..<HASH> 100644
--- a/smusicclient/download_controller.py
+++ b/smusicclient/download_controller.py
@@ -213,7 +213,7 @@ class DownloadQueueThread(Thread):
def stop(self):
self.__was_stopped = True
- ... | Uproszczam ifa | mRokita_sMusic-core | train |
0bc35faff600372292cd3ab22d39a4a158eb5ac4 | diff --git a/src/js/datatable.js b/src/js/datatable.js
index <HASH>..<HASH> 100644
--- a/src/js/datatable.js
+++ b/src/js/datatable.js
@@ -349,15 +349,16 @@
}
row.index = r;
- $leftRow = $('<tr/>');
+ $leftRow = $('<tr class="datatable-row"/>');
$leftRow.ad... | * fix sortable and selectable not work. | easysoft_zui | train |
3cc49d0c6988df40fcf6bb758832a0f1995b5c7c | diff --git a/test/integration/bulk_test.rb b/test/integration/bulk_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/bulk_test.rb
+++ b/test/integration/bulk_test.rb
@@ -61,7 +61,7 @@ module Tire
end
@index.bulk_update documents, refresh: true
- documents = Tire.search('bulk-test') {... | Fixed failing test on <I> | karmi_retire | train |
0c0b9beb7dddc85cc27c6683206c5de925ee5de4 | diff --git a/cnxpublishing/db.py b/cnxpublishing/db.py
index <HASH>..<HASH> 100644
--- a/cnxpublishing/db.py
+++ b/cnxpublishing/db.py
@@ -237,7 +237,7 @@ def _get_type_name(model):
return 'Document'
-def add_pending_resource(cursor, resource):
+def add_pending_resource(cursor, resource, document=None):
... | Add a link between pending documents and pending resources
We need this for the resources for a binder. For resources in
documents, resources are usually included by including them in the
content html, but a binder does not have any content. | openstax_cnx-publishing | train |
28ff1451a093bba0c42dec8fed8199d8b06a6fd0 | diff --git a/src/PHPSQLParser/processors/ExpressionListProcessor.php b/src/PHPSQLParser/processors/ExpressionListProcessor.php
index <HASH>..<HASH> 100644
--- a/src/PHPSQLParser/processors/ExpressionListProcessor.php
+++ b/src/PHPSQLParser/processors/ExpressionListProcessor.php
@@ -274,7 +274,6 @@ class ExpressionListP... | Remove duplicate switch cases for code clarity (#<I>)
If there are multiple switch cases, only the earliest one is used.
On line <I> of SQLProcessor, `case ';'` was a `continue 2;` instead.
Detected via static analysis | greenlion_PHP-SQL-Parser | train |
9ff53c14711b95abdc3b224b4f811e37ed0f040a | diff --git a/src/InfoViz/Native/ParallelCoordinates/AxesManager.js b/src/InfoViz/Native/ParallelCoordinates/AxesManager.js
index <HASH>..<HASH> 100644
--- a/src/InfoViz/Native/ParallelCoordinates/AxesManager.js
+++ b/src/InfoViz/Native/ParallelCoordinates/AxesManager.js
@@ -114,9 +114,11 @@ export default class AxesMan... | fix(ParallelCoordinates): Propagate annotation with [score] instead of score | Kitware_paraviewweb | train |
130366c5e1aba58d7746db39b434f34a1e5fcdd2 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ The client here will eventually be released as "spython" (and eventually to
singularity on pypi), and the versions here will coincide with these releases.
## [master](https://github.com/singu... | adding more verbosity for instance start/stop commands (#<I>) | singularityhub_singularity-cli | train |
e91965ede6f83d3466d474bd56a1e3305e26b8e9 | diff --git a/lib/landrush/cap/linux/configured_dns_server.rb b/lib/landrush/cap/linux/configured_dns_server.rb
index <HASH>..<HASH> 100644
--- a/lib/landrush/cap/linux/configured_dns_server.rb
+++ b/lib/landrush/cap/linux/configured_dns_server.rb
@@ -6,7 +6,7 @@ module Landrush
return @dns_server if @dns_ser... | Adding support for multiple dns servers.
Handy when using an image that has multiple hardcoded dns servers, and using the rotate option. | vagrant-landrush_landrush | train |
035d1108375434d6a6bd909fa87c397231a81723 | diff --git a/discord/gateway.py b/discord/gateway.py
index <HASH>..<HASH> 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -293,10 +293,10 @@ class DiscordWebSocket:
def is_ratelimited(self):
return self._rate_limiter.is_ratelimited()
- def log_receive(self, data, /):
+ def debug_log_re... | Fix debug event toggle not triggering for raw receive | Rapptz_discord.py | train |
7d2410af20eecc0128baea28096b519cd48cb718 | diff --git a/tests/api_tests.js b/tests/api_tests.js
index <HASH>..<HASH> 100644
--- a/tests/api_tests.js
+++ b/tests/api_tests.js
@@ -311,25 +311,31 @@ function runNodeEnvTests(nodeEnvData, t) {
// NOTE(ignasbol): max.heap.size included as well as part of 1.0.4
if (nodeEnvData['heap.size.limit']) {
t.ok(isInteg... | Fix environent tests for heap size calculation change in V8 <I> (Node <I>) (#<I>)
* fix environment tests for heap size calculation change in v8 <I>
* added more detail to TAP output for environment tests | RuntimeTools_appmetrics | train |
114bd2435f301f84b84dd08866bdb8960c523d72 | diff --git a/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php b/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php
+++ b/lib/Doctrine/ORM/Tools/Pagination/CountWalker.php
@@ -57,7 +57,16 @@ class CountWalker extends TreeWalkerAdapter
... | Arbitrary Join count walkers solution
Possible solution for Arbitrary Join problem in pagination count
walkers:
<URL> | doctrine_orm | train |
60fd9b98a7d685a47ddcce9f4e4e0b07a642a1a0 | diff --git a/tests/unit/network/LabelTest.py b/tests/unit/network/LabelTest.py
index <HASH>..<HASH> 100644
--- a/tests/unit/network/LabelTest.py
+++ b/tests/unit/network/LabelTest.py
@@ -12,21 +12,18 @@ class LabelTest:
def test_bravais_fcc(self):
net = op.network.Bravais(shape=[4, 4, 4], mode='fcc')
... | missed some tests that checked for 'internal' | PMEAL_OpenPNM | train |
5e235278c479b9060f8dd1eb32a1abd0894b7070 | diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/base.rb
+++ b/railties/lib/rails/generators/base.rb
@@ -117,8 +117,8 @@ module Rails
#
# ==== Switches
#
- # All hooks come with switches f... | Made language consistent with the rest of the comments in the file. | rails_rails | train |
09e648b038de7d80c9334780a71cb6e3169c4e39 | diff --git a/src/lib/Herrera/Go/Test/TestCase.php b/src/lib/Herrera/Go/Test/TestCase.php
index <HASH>..<HASH> 100644
--- a/src/lib/Herrera/Go/Test/TestCase.php
+++ b/src/lib/Herrera/Go/Test/TestCase.php
@@ -4,7 +4,6 @@ namespace Herrera\Go\Test;
use Herrera\Go\Go;
use Herrera\PHPUnit\TestCase as Base;
-use OutOfRan... | Removing unused class name. | kherge-abandoned_php-go | train |
40f02cf53a8708696720a325a2775bcaf6809e09 | diff --git a/raiden/transfer/state_change.py b/raiden/transfer/state_change.py
index <HASH>..<HASH> 100644
--- a/raiden/transfer/state_change.py
+++ b/raiden/transfer/state_change.py
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
from raiden.transfer.architecture import StateChange
from raiden.transfer.state import RouteSt... | On-chain channel state changes
Added state changes to:
- Reflect the new on-chain deposit for a channel
- Notify the on-chain channel closed
- Notify the on-chain channel settled
- Notify of an on-chain withdraw | raiden-network_raiden | train |
cd1bcb57b48c62c1a17be85c2793d5070eee1710 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -68,7 +68,6 @@ setup(
url='https://github.com/python-escpos/python-escpos',
download_url='https://github.com/python-escpos/python-escpos/archive/master.zip',
description='Python library to manipulate ESC/POS Pri... | remove bugtrack_url
this is not supported by setuptools | python-escpos_python-escpos | train |
f6648dafc23ef4e02474124d10b30da43cfbe163 | diff --git a/src/streamlink/plugins/dailymotion.py b/src/streamlink/plugins/dailymotion.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugins/dailymotion.py
+++ b/src/streamlink/plugins/dailymotion.py
@@ -1,3 +1,4 @@
+import json
import re
from functools import reduce
@@ -23,6 +24,7 @@ QUALITY_MAP = {
"s... | Dailymotion feature video and backup stream fallback (#<I>)
* plugins.dailymotion: extract the chromecast stream URL as a fallback
* plugins.dailymotion: make featured video extraction more reliable | streamlink_streamlink | train |
273367207ccf3f3e6a6ba8e05458ff9f89fe1c51 | diff --git a/rollup.config.js b/rollup.config.js
index <HASH>..<HASH> 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -7,7 +7,7 @@ export default {
sourceMap: true,
exclude: 'node_modules/**',
presets: [
- 'es2015-minimal-rollup',
+ ['es2015', { loose:true, modules:false }],
'stage-0'
... | fix build accidentally including generator support. fixes #7 | developit_preact-cycle | train |
09bdffa8a33b2e0a91b498a86af68502c2847886 | diff --git a/h2o-algos/src/main/java/hex/glm/GLM.java b/h2o-algos/src/main/java/hex/glm/GLM.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/glm/GLM.java
+++ b/h2o-algos/src/main/java/hex/glm/GLM.java
@@ -69,7 +69,7 @@ public class GLM extends ModelBuilder<GLMModel,GLMParameters,GLMOutput> {
}
... | GLM, fix mojo - properly report that GLM does have a MOJO | h2oai_h2o-3 | train |
bf41f426d2c3f4d509621993d35726c53ca9943a | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -35,7 +35,6 @@ function initFile(file) {
file.s3 = {};
file.s3.headers = {};
file.s3.path = file.path.replace(file.base, '');
- if (file.s3.path[0] !== '/') file.s3.path = '/' + file.s3.path;
... | remove first / from s3 path | pgherveou_gulp-awspublish | train |
52d9e8f38f1a693b44245012588bad99af155f11 | diff --git a/standalone/src/main/java/org/jboss/as/console/client/domain/hosts/LHSHostsNavigation.java b/standalone/src/main/java/org/jboss/as/console/client/domain/hosts/LHSHostsNavigation.java
index <HASH>..<HASH> 100644
--- a/standalone/src/main/java/org/jboss/as/console/client/domain/hosts/LHSHostsNavigation.java
+... | Remove host mgmt LHS nav layout hacks. Fixed by using DockLayoutPanel which properly calculates the inner offset width and height of it's components. | hal_core | train |
bd65bf742e6211905d5eb883c9008bd7b40e2e3f | diff --git a/src/components/checkbox/checkbox.js b/src/components/checkbox/checkbox.js
index <HASH>..<HASH> 100644
--- a/src/components/checkbox/checkbox.js
+++ b/src/components/checkbox/checkbox.js
@@ -167,7 +167,7 @@ function MdCheckboxDirective(inputDirective, $mdAria, $mdConstant, $mdTheming, $
if(ngModelC... | fix(components): fix issue with removeClass removing previous classes
In certain parts of the project, a "removeClass(className)" is used to remove the class from the element. While this works fine in latest versions of jQuery, in jQuery < <I> this results in the element classes being removed when className is undefin... | angular_material | train |
329e7e1156787d17155e0a8b194fc73c0965e2b6 | diff --git a/redisson/src/main/java/org/redisson/RedissonMapCache.java b/redisson/src/main/java/org/redisson/RedissonMapCache.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/RedissonMapCache.java
+++ b/redisson/src/main/java/org/redisson/RedissonMapCache.java
@@ -70,6 +70,7 @@ import io.netty... | RMapCache.fastPutIfAbsentAsync doesn't take in account expiration #<I> | redisson_redisson | train |
b0b66f34213a7617d1852e652ec17ab4f15a54df | diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/IdStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/IdStrategy.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/strategy/IdStrategy.jav... | Fixed IdStrategyTest.
There was a copy/paste error around the strategy function for iterating edges. It was checking for a vertex feature when it should have been checking for an edge feature. | apache_tinkerpop | train |
9a550363011956197de7f9e4929ecc7a6a89889b | diff --git a/gemini.py b/gemini.py
index <HASH>..<HASH> 100644
--- a/gemini.py
+++ b/gemini.py
@@ -189,7 +189,7 @@ def challenge(args):
url_other = '{0}{1}?{2}'.format(args['host_other'], args['path'], qs_str)
# Get two responses
- req_time = datetime.today()
+ req_time = now()
try:
res_... | (refs #<I>) Remove freezegun
* Because freezegun can not set a number of time | tadashi-aikawa_jumeaux | train |
694a53cfc5ea8f66e0b68a9042472e5b8d8c8803 | diff --git a/lib/deep_cloneable/version.rb b/lib/deep_cloneable/version.rb
index <HASH>..<HASH> 100644
--- a/lib/deep_cloneable/version.rb
+++ b/lib/deep_cloneable/version.rb
@@ -1,3 +1,3 @@
module DeepCloneable
- VERSION = '3.0.0'
+ VERSION = '3.1.0'
end | Bump deep_cloneable to <I> | moiristo_deep_cloneable | train |
c0964e863ac9579bbce28ea435f5fd8057e01bbe | diff --git a/web_resources/lib/predDB.js b/web_resources/lib/predDB.js
index <HASH>..<HASH> 100644
--- a/web_resources/lib/predDB.js
+++ b/web_resources/lib/predDB.js
@@ -140,6 +140,14 @@ function JSONRPC_send_method(method_name, parameters, function_to_call) {
});
}
+function call_and_save(method_name, ... | add helper function call_and_save to call arbitrary middleware functions | probcomp_crosscat | train |
91d633fd5610fd6be1df4687411625e57f476b3e | diff --git a/lib/main.js b/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -3,6 +3,12 @@
var https = require('https');
var fs = require('fs');
+// http://underscorejs.org/docs/underscore.html#section-118
+function isObject(obj) {
+ var type = typeof obj;
+ return type === 'function'... | allow either a data object or an id string (transition phase backwards compatibility) | BlockScore_blockscore-node | train |
e0084d8f0f2fa437c4e3bd30a94d564660569f95 | diff --git a/test/simple/node-modify.js b/test/simple/node-modify.js
index <HASH>..<HASH> 100644
--- a/test/simple/node-modify.js
+++ b/test/simple/node-modify.js
@@ -300,16 +300,16 @@ describe('testing node modifier', function () {
function expectError(fn) {
return function () {
- var error = null;
- ... | [test] reafactor, shouldThrow now test on runtime | AndreasMadsen_domstream-client | train |
3bc1a44eb1b42e16d484e07c89d537190d793a40 | diff --git a/src/Loader/YamlLoader.php b/src/Loader/YamlLoader.php
index <HASH>..<HASH> 100644
--- a/src/Loader/YamlLoader.php
+++ b/src/Loader/YamlLoader.php
@@ -5,6 +5,7 @@ namespace Silktide\Syringe\Loader;
use Silktide\Syringe\Exception\LoaderException;
use Symfony\Component\Yaml\Exception\ParseException;
use Sy... | force yaml loader to load via yaml_parse_file instead of file_get_contents then yaml_parse | silktide_syringe | train |
5a62ce68a865306d0c7820b7f2a4e35faf5b0cb9 | diff --git a/indy_node/test/auth_rule/test_revert_auth_rule_changing.py b/indy_node/test/auth_rule/test_revert_auth_rule_changing.py
index <HASH>..<HASH> 100644
--- a/indy_node/test/auth_rule/test_revert_auth_rule_changing.py
+++ b/indy_node/test/auth_rule/test_revert_auth_rule_changing.py
@@ -5,16 +5,16 @@ from indy_c... | [INDY-<I>] fix test for auth_rule changing | hyperledger_indy-node | train |
a5d0ef37b8327b10841b0977666604bf1a26ce9f | diff --git a/doc.go b/doc.go
index <HASH>..<HASH> 100644
--- a/doc.go
+++ b/doc.go
@@ -121,11 +121,6 @@ Here is a list of the current built in validators:
gt=0 will be applied to []
[]string will be spared validation
required will be applied to string
- NOTE: in Example2 if the required validation failed, but... | update doc.go, some v5 specific notes were left. | go-playground_validator | train |
786ecfde63c4ec52cfe9cdf37384d7940de59cee | diff --git a/master/buildbot/steps/trigger.py b/master/buildbot/steps/trigger.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/steps/trigger.py
+++ b/master/buildbot/steps/trigger.py
@@ -213,21 +213,21 @@ class Trigger(BuildStep):
for was_cb, results in rclist:
if isinstance(results, tuple):
... | tests for trigger steps with virtual_builder_name | buildbot_buildbot | train |
bd02d668c8830eb4c577b2bc82d84b39f8ac21ae | diff --git a/etcdserver/server.go b/etcdserver/server.go
index <HASH>..<HASH> 100644
--- a/etcdserver/server.go
+++ b/etcdserver/server.go
@@ -667,6 +667,9 @@ func (s *EtcdServer) applyEntries(ep *etcdProgress, apply *apply) {
if ep.appliedi+1-firsti < uint64(len(apply.entries)) {
ents = apply.entries[ep.appliedi+... | etcdserver: don't try to apply empty message list
If all messages have been applied, don't apply an empty messages list;
otherwise appliedi will update to 0 and etcd will panic.
Fixes #<I> | etcd-io_etcd | train |
13d1823e7b6c970d4c8ae2f4fabee0664608e256 | diff --git a/cpuid.go b/cpuid.go
index <HASH>..<HASH> 100644
--- a/cpuid.go
+++ b/cpuid.go
@@ -470,6 +470,12 @@ func logicalCores() int {
switch vendorID() {
case Intel:
if maxFunctionID() < 0xb {
+ // Use cpuid(1)
+ _, ebx, _, _ := cpuid(1)
+ ebx <<= 16
+ if ebx != 0 {
+ return int(ebx & 0xff)
+ }
... | Add older method to detect logical cores. | klauspost_cpuid | train |
ff62d43aacb6e8e64aa96471f9cf23da5ddb1124 | diff --git a/public/setup/js/setup.js b/public/setup/js/setup.js
index <HASH>..<HASH> 100644
--- a/public/setup/js/setup.js
+++ b/public/setup/js/setup.js
@@ -507,7 +507,7 @@
curResponse = response.substring(lastResponseLen);
lastResponseLen = response.length;
}
- vConsoleText += curResp... | added db deploy reprocess | melisplatform_melis-installer | train |
c1f1f9e50820f74f61f4bca3850ec773e6e568cc | diff --git a/go/kbfs/libfs/fs.go b/go/kbfs/libfs/fs.go
index <HASH>..<HASH> 100644
--- a/go/kbfs/libfs/fs.go
+++ b/go/kbfs/libfs/fs.go
@@ -102,6 +102,38 @@ func followSymlink(parentPath, link string) (newPath string, err error) {
return newPath, nil
}
+func pathForLogging(
+ ctx context.Context, config libkbfs.Con... | libfs: obfuscate subdir in FS constructor | keybase_client | train |
22fe9383b3017d4a4cbfa2cdbf337de8050cee30 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Installation
For basic use in the browser:
```html
-<script src="https://cdn.jsdelivr.net/npm/mure@0.3.3/dist/mure.umd.min.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/mure@0.3.4/dist/mure.um... | Increment version number for new release | origraph_origraph.js | train |
5ad39c0963f52f662be80bd162368712b201d5db | diff --git a/sample_sheet/__init__.py b/sample_sheet/__init__.py
index <HASH>..<HASH> 100644
--- a/sample_sheet/__init__.py
+++ b/sample_sheet/__init__.py
@@ -273,7 +273,7 @@ class Sample(CaseInsensitiveDict):
_valid_index_key_pattern = re.compile(r'index\d?')
# https://kb.10xgenomics.com/hc/en-us/articles/... | Support more cell ranger indexes (#<I>) | clintval_sample-sheet | train |
79330295e00e8f68a922ec0c8043b81ab5798f1e | diff --git a/src/main/java/io/sniffy/sql/SqlQueries.java b/src/main/java/io/sniffy/sql/SqlQueries.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/sniffy/sql/SqlQueries.java
+++ b/src/main/java/io/sniffy/sql/SqlQueries.java
@@ -568,6 +568,32 @@ public class SqlQueries {
}
+ public static class SqlExp... | Unit tests for SqlQueries expectations builder | sniffy_sniffy | train |
d1c50972f5e3cf44081252241a84ebb9bb8ae84f | diff --git a/commands/cli/parse.go b/commands/cli/parse.go
index <HASH>..<HASH> 100644
--- a/commands/cli/parse.go
+++ b/commands/cli/parse.go
@@ -46,7 +46,10 @@ func Parse(input []string, stdin *os.File, root *cmds.Command) (cmds.Request, *c
}
}
- req := cmds.NewRequest(path, opts, args, cmd, optDefs)
+ req, er... | commands: Check for option errors when constructing Requests | ipfs_go-ipfs | train |
e2c3d13b122b9cb9a015f9ec339864a7188c8b60 | diff --git a/calendar-bundle/composer.json b/calendar-bundle/composer.json
index <HASH>..<HASH> 100644
--- a/calendar-bundle/composer.json
+++ b/calendar-bundle/composer.json
@@ -19,6 +19,7 @@
"doctrine/doctrine-cache-bundle": "^1.3",
"friendsofphp/php-cs-fixer": "^2.0",
"phpunit/phpunit": "^... | [Calendar] Fix the tests. | contao_contao | train |
cfe32474054e2572953e7ea352c370648b8cb727 | diff --git a/microcosm_postgres/temporary/context.py b/microcosm_postgres/temporary/context.py
index <HASH>..<HASH> 100644
--- a/microcosm_postgres/temporary/context.py
+++ b/microcosm_postgres/temporary/context.py
@@ -18,4 +18,7 @@ def transient(from_table):
bind = SessionContext.session.connection()
transie... | Cleanup metadata references
Under some circumstances, failure to clean up these references causes subsequent
unit tests to fail when running `recreateall` | globality-corp_microcosm-postgres | train |
9e985a4b48add34bfac4e88f858b155511c388b1 | diff --git a/system/API/ResponseTrait.php b/system/API/ResponseTrait.php
index <HASH>..<HASH> 100644
--- a/system/API/ResponseTrait.php
+++ b/system/API/ResponseTrait.php
@@ -134,13 +134,14 @@ trait ResponseTrait
$output = $this->format($data);
}
- if ($this->format === 'json') {
- return $this->... | Added a check in respond to make sure the output isn't null before setting it as json. Modified the format method so it sets the format to hmtl if the data is a string. | codeigniter4_CodeIgniter4 | train |
fd8130f681fb7eabd361024010d990d7dfa2c350 | diff --git a/lib/pa11y.js b/lib/pa11y.js
index <HASH>..<HASH> 100644
--- a/lib/pa11y.js
+++ b/lib/pa11y.js
@@ -64,6 +64,8 @@ async function pa11y(url, options = {}, callback) {
} catch (error) {
if (state.browser && state.autoClose) {
state.browser.close();
+ } else if (state.page && state.autoClosePage) {
+ ... | Support `options.page` (#<I>)
* support the option and fix pages never closing
* add page to the state and close it on error
* add close method to mockPage
* add test case | pa11y_pa11y | train |
7c93e1f3a108e4a98c13a539eaff056be47ae821 | diff --git a/drizzlepac/haputils/svm_quality_analysis.py b/drizzlepac/haputils/svm_quality_analysis.py
index <HASH>..<HASH> 100755
--- a/drizzlepac/haputils/svm_quality_analysis.py
+++ b/drizzlepac/haputils/svm_quality_analysis.py
@@ -210,17 +210,12 @@ def characterize_gaia_distribution(hap_obj, json_timestamp=None, js... | Improved comparison of sources found based on the white light image by protecting (#<I>)
against the cases where no sources are found and no catalog is actually written.
This allows the collection of data for the JSON files to continue as only the comparison
is skipped versus the entire evaluation function.
Name ... | spacetelescope_drizzlepac | train |
d5185ccc5c7a0605c2fa027e72949b459de8314b | diff --git a/packages/idyll-cli/bin/cmds/create-project.js b/packages/idyll-cli/bin/cmds/create-project.js
index <HASH>..<HASH> 100755
--- a/packages/idyll-cli/bin/cmds/create-project.js
+++ b/packages/idyll-cli/bin/cmds/create-project.js
@@ -22,7 +22,7 @@ const colors = {
};
exports.command = 'create [post-name]';... | CLI copy updates. Change 'post' to 'project' since we support blogs | idyll-lang_idyll | train |
248e0ea45a9feb6104e2d675dfce0c7d496f26f4 | diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/base.rb
+++ b/lib/sinatra/base.rb
@@ -289,7 +289,7 @@ module Sinatra
# Class of the response body in case you use #stream.
#
# Three things really matter: The front and back block (back being the
- # b... | Fix a typo in Stream class's documentation. | sinatra_sinatra | train |
fb32be78d86178382972d1b8473b902f8cba9819 | diff --git a/packages/blogs-example/seeds.sql b/packages/blogs-example/seeds.sql
index <HASH>..<HASH> 100644
--- a/packages/blogs-example/seeds.sql
+++ b/packages/blogs-example/seeds.sql
@@ -1,5 +1,3 @@
-CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
-
INSERT INTO users (id, email, password_hash, first_name, last_name)
... | switch from uuid-ossp to pgcrypto | charlieschwabacher_gestalt | train |
ecfee4af3600cb5a096cf1e0e37ee15c16e4e1f0 | diff --git a/src/basis/router.js b/src/basis/router.js
index <HASH>..<HASH> 100644
--- a/src/basis/router.js
+++ b/src/basis/router.js
@@ -200,6 +200,8 @@
});
var ParametrizedRoute = Route.subclass({
+ className: namespace + '.ParametrizedRoute',
+
params: null,
decode: basis.fn.$undef,
encode... | basis.router: added className | basisjs_basisjs | train |
60022c8c0dece928929778bd32ab3200e95e23b1 | diff --git a/shutit_srv.py b/shutit_srv.py
index <HASH>..<HASH> 100644
--- a/shutit_srv.py
+++ b/shutit_srv.py
@@ -184,7 +184,8 @@ def shutit_reset():
c.send('\n')
c.sendeof()
c.readlines()
- image_tag = shutit.cfg['container']['image_tag']
+ print shutit.cfg
+ image_tag = shutit.cfg['container']['docker... | can now change the base image in a server build | ianmiell_shutit | train |
2dbaa0640fc124612dc23d6c29e43666bb79cb9b | diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor4/proxy/JavassistProxifier.java b/vraptor-core/src/main/java/br/com/caelum/vraptor4/proxy/JavassistProxifier.java
index <HASH>..<HASH> 100644
--- a/vraptor-core/src/main/java/br/com/caelum/vraptor4/proxy/JavassistProxifier.java
+++ b/vraptor-core/src/main/jav... | ops, someone forget @inject at constructor | caelum_vraptor4 | train |
ffd2dfb5060abe2c8c3382c249cfe372aa1c2572 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -162,7 +162,7 @@ html_static_path = ['static']
#html_use_opensearch = ''
# Show "todo" notes.
-todo_include_todos = True
+todo_include_todos = False
# This is the file name suffix for HTML files (e.g. ".... | Turn off todos in docs by default | Kitware_tangelo | train |
ee50643cfc03caa1b9dd9287c0f29354a1af12e4 | diff --git a/simuvex/plugins/unicorn_engine.py b/simuvex/plugins/unicorn_engine.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/unicorn_engine.py
+++ b/simuvex/plugins/unicorn_engine.py
@@ -107,9 +107,9 @@ class Unicorn(SimStatePlugin):
self.errno = 0
self.last_miss = 0 if uc is None else uc.la... | rename counts to 'cooldowns' | angr_angr | train |
1ba16197cd64d4c081fd1bef06de675c87f56a88 | diff --git a/AWSScout2/utils_ec2.py b/AWSScout2/utils_ec2.py
index <HASH>..<HASH> 100644
--- a/AWSScout2/utils_ec2.py
+++ b/AWSScout2/utils_ec2.py
@@ -12,12 +12,6 @@ from AWSScout2.utils_ec2 import *
from AWSScout2.filters import *
from AWSScout2.findings import *
-# Import third-party packages
-import boto
-from b... | Updated more EC2 (ELB view is broken) | nccgroup_Scout2 | train |
645705e9b497c6b5405d2b6220bda07103ade9cb | diff --git a/salt/modules/pecl.py b/salt/modules/pecl.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pecl.py
+++ b/salt/modules/pecl.py
@@ -48,6 +48,9 @@ def install(pecls, defaults=False, force=False):
questions before installation. Without this option, the pecl.installed
state will hang indefinit... | Add `force` to docstring | saltstack_salt | train |
f64e6139ff05fc5e8e58b3abffe42a5bb5e7753b | diff --git a/lib/raygun/client.rb b/lib/raygun/client.rb
index <HASH>..<HASH> 100644
--- a/lib/raygun/client.rb
+++ b/lib/raygun/client.rb
@@ -255,7 +255,7 @@ module Raygun
def is_whitelisted_recursive(whitelist, key)
always_whitelisted_keys = [:headers, :queryString]
-
+
is_whitelist... | Misc tweaks and improve consistency of a few tests | MindscapeHQ_raygun4ruby | train |
d4c22617cbf287b16ed86f212ac6500003796bf9 | diff --git a/plexapi/library.py b/plexapi/library.py
index <HASH>..<HASH> 100644
--- a/plexapi/library.py
+++ b/plexapi/library.py
@@ -857,6 +857,11 @@ class LibrarySection(PlexObject):
"""
return self.search(libtype='collection', **kwargs)
+ def playlists(self, **kwargs):
+ """ Returns a ... | Add LibrarySection playlists method | pkkid_python-plexapi | train |
54d81586813d6235937c3f7ae4cca4f4ccb034fd | diff --git a/bin/src/run/watch.js b/bin/src/run/watch.js
index <HASH>..<HASH> 100644
--- a/bin/src/run/watch.js
+++ b/bin/src/run/watch.js
@@ -76,7 +76,10 @@ export default function watch(configFile, configs, command, silent) {
break;
case 'END':
- if ( !silent && isTTY ) stderr( `\nwaiting for changes... | Print timestamps on "END" events.
Previously, it was not clear when work had been completed. This sets clearer
expectations for someone monitoring the watcher output as to when they can
expect their code to have updated. | rollup_rollup | train |
18efef384b0083b557e234e37cb839522bb8a0fb | diff --git a/mod/quiz/db/access.php b/mod/quiz/db/access.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/db/access.php
+++ b/mod/quiz/db/access.php
@@ -173,6 +173,13 @@ $capabilities = array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array()
- )
+ ),
+
+ /... | MDL-<I> quiz overdue handling: new capability | moodle_moodle | train |
c5345faf2cc67e170b60927856e974365a018084 | diff --git a/classes/WPCC/CLI/Selenium.php b/classes/WPCC/CLI/Selenium.php
index <HASH>..<HASH> 100644
--- a/classes/WPCC/CLI/Selenium.php
+++ b/classes/WPCC/CLI/Selenium.php
@@ -66,7 +66,7 @@ class Selenium extends \WP_CLI_Command {
$pids = trim( shell_exec( "pgrep -l -f {$selenium}" ) );
$pids = explode( PHP_EO... | Small change to fix selenium not stopping on mac os <I> | 10up_wp-codeception | train |
db6d94f82a0f860131392aa483f4d1e21dc74249 | diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder.java
index <HASH>..<HASH> 100644
--- a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameDecod... | Support <I>, <I> and <I> WebSocket status code
Motivation:
RFC <I> doesn't define status codes <I>, <I> and <I>.
Yet, since then, IANA has defined them, web browsers support them, applications in the wild do use them but it's currently not possible to buid a Netty based client for those services.
From <URL> | netty_netty | train |
cb68c59fb5c586ae0300bd3744806bc82c898552 | diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java
index <HASH>..<HASH> 100644
--- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java
+++ b/hapi-fhir-jpaser... | Remove validation in code which will never reached for the conditions. | jamesagnew_hapi-fhir | train |
1d4e243e7630448c07a47b09080c5ed21e18cb8c | diff --git a/lib/lcd.js b/lib/lcd.js
index <HASH>..<HASH> 100644
--- a/lib/lcd.js
+++ b/lib/lcd.js
@@ -1,8 +1,7 @@
'use strict';
const step = require('debug')('lcd:step');
-const mode = require('debug')('lcd:mode');
-const line = require('debug')('lcd:line');
+const stat = require('debug')('lcd:stat');
const { LCD... | fix lcdc register interrupts | nakardo_node-gameboy | train |
f63d5fecd85231738cdc1e99b98a054fd1c2126a | diff --git a/test/TemplateTest-ComputedData.js b/test/TemplateTest-ComputedData.js
index <HASH>..<HASH> 100644
--- a/test/TemplateTest-ComputedData.js
+++ b/test/TemplateTest-ComputedData.js
@@ -187,7 +187,6 @@ test("eleventyComputed using symbol parsing on template strings (nunjucks)", asy
t.is(data.c, "ab");
});
... | The unskipped test went fine, removing the comment. | 11ty_eleventy | train |
77c4b7c0d0a827aae558a0e06603cf4da785e5ce | diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/editor.py
+++ b/spyderlib/plugins/editor.py
@@ -1335,9 +1335,11 @@ class Editor(SpyderPluginWidget):
if encoding_match:
enc = encoding_match.group(1)
# Initialize t... | Editor/Create new file: Convert username variable to unicode
If this is not done, the 'New File' template is almost useless because it doesn't
show date and username | spyder-ide_spyder | train |
2d4506a389d11a1b323be4d00aa07b928ae3be63 | diff --git a/spec/integration/dsl_spec.rb b/spec/integration/dsl_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/dsl_spec.rb
+++ b/spec/integration/dsl_spec.rb
@@ -200,4 +200,39 @@ describe Capistrano::DSL do
end
end
+ describe 'configuration SSHKit' do
+ let(:config) { SSHKit.config }
+ let... | test sshkit is correctly configured | capistrano_capistrano | train |
322d0d73d3d386750a47af387072de388e47d3e1 | diff --git a/code/extensions/MultisitesContentControllerExtension.php b/code/extensions/MultisitesContentControllerExtension.php
index <HASH>..<HASH> 100644
--- a/code/extensions/MultisitesContentControllerExtension.php
+++ b/code/extensions/MultisitesContentControllerExtension.php
@@ -44,5 +44,13 @@ class MultisitesCo... | BUGFIX Make sure a valid Site object is always returned.
Fixes #<I>. | symbiote_silverstripe-multisites | train |
da4753617740d034ef88f276ab28abd183a09588 | diff --git a/src/Type/UnionType.php b/src/Type/UnionType.php
index <HASH>..<HASH> 100644
--- a/src/Type/UnionType.php
+++ b/src/Type/UnionType.php
@@ -125,7 +125,7 @@ class UnionType implements CompoundType, StaticResolvableType
}
}
- return implode('|', array_unique($typeNames));
+ return implode('|', $... | UnionType - uniqueing type names no longer needed | phpstan_phpstan | train |
56e5f12030d8cdd6231d75b2a6fa898a6dc5a117 | diff --git a/andes/main.py b/andes/main.py
index <HASH>..<HASH> 100644
--- a/andes/main.py
+++ b/andes/main.py
@@ -141,7 +141,7 @@ def edit_conf(edit_config: Optional[Union[str, bool]] = ''):
return ret
-def save_conf(config_path=None):
+def save_conf(config_path=None, overwrite=None):
"""
Save the A... | Let save-config prompt for overwriting. | cuihantao_andes | train |
8f7537b244bef5c907e1e5ffd194c8e2cd060237 | diff --git a/datatableview/static/js/datatableview.js b/datatableview/static/js/datatableview.js
index <HASH>..<HASH> 100644
--- a/datatableview/static/js/datatableview.js
+++ b/datatableview/static/js/datatableview.js
@@ -108,6 +108,23 @@ var datatableview = {
if (iMax != iTotal) {
... | Emptying the div that the results string is in, will make it update every time. | pivotal-energy-solutions_django-datatable-view | train |
c3193d84f3346a743eba9ea3380d1ed19a8bae0b | diff --git a/js/base/Exchange.js b/js/base/Exchange.js
index <HASH>..<HASH> 100644
--- a/js/base/Exchange.js
+++ b/js/base/Exchange.js
@@ -1189,7 +1189,7 @@ module.exports = class Exchange {
}
ethDecimals (unit = 'ether') {
- const ethUnits = {
+ const units = {
'wei': 0, ... | added eth_unit, eth_decimals to exchange.py | ccxt_ccxt | train |
77ae0f37c96e4fdc3bd13b3a60e80e641a9d101f | diff --git a/core/SettingsPiwik.php b/core/SettingsPiwik.php
index <HASH>..<HASH> 100644
--- a/core/SettingsPiwik.php
+++ b/core/SettingsPiwik.php
@@ -180,7 +180,7 @@ class SettingsPiwik
$currentUrl = Common::sanitizeInputValue(Url::getCurrentUrlWithoutFileName());
// when script is called from /mis... | When script is called from misc/cron/archive.php, still return correct Piwik URL | matomo-org_matomo | train |
4b3d4e9519baa76cf6ad87b8b9c779f2850de395 | diff --git a/postgres/datadog_checks/postgres/postgres.py b/postgres/datadog_checks/postgres/postgres.py
index <HASH>..<HASH> 100644
--- a/postgres/datadog_checks/postgres/postgres.py
+++ b/postgres/datadog_checks/postgres/postgres.py
@@ -293,7 +293,7 @@ class PostgreSql(AgentCheck):
else:
if self... | Fix PostgreSQL connection string when using ident authentication (#<I>)
Removed coma from connection string because it was causing errors | DataDog_integrations-core | train |
2f095bb3e9a5a5e80854a9f40b20be8033d8102e | diff --git a/source/rafcon/core/states/container_state.py b/source/rafcon/core/states/container_state.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/core/states/container_state.py
+++ b/source/rafcon/core/states/container_state.py
@@ -646,7 +646,7 @@ class ContainerState(State):
child_scoped_variables = [s... | fix(ungroup): correct destroy flag in core because the ports would be missing
This can be seen as a work around and be solved different later while trying to fix the
destroy while this operation fully. | DLR-RM_RAFCON | train |
497027398b01d99e029b31d9b7c3a4a43c0c1a25 | diff --git a/angr/analyses/cfg/cfg_accurate.py b/angr/analyses/cfg/cfg_accurate.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_accurate.py
+++ b/angr/analyses/cfg/cfg_accurate.py
@@ -12,6 +12,7 @@ from ... import BP, BP_BEFORE, BP_AFTER, SIM_PROCEDURES, procedures
from ... import options as o
from ...anal... | Add missing CallStack import to cfgaccurate | angr_angr | train |
76db584e393c101311230e3e9983ef50c27a339a | diff --git a/foolbox/devutils.py b/foolbox/devutils.py
index <HASH>..<HASH> 100644
--- a/foolbox/devutils.py
+++ b/foolbox/devutils.py
@@ -3,8 +3,7 @@ import eagerpy as ep
def flatten(x: ep.Tensor, keep: int = 1) -> ep.Tensor:
- shape = x.shape[:keep] + (-1,)
- return x.reshape(shape)
+ return x.flatten(s... | use eagerpy <I> with eagerpy flatten | bethgelab_foolbox | train |
5a648d5efee2bc5d0a2e5787722f8fc24212c34c | diff --git a/src/Config/Loader/YamlFileLoader.php b/src/Config/Loader/YamlFileLoader.php
index <HASH>..<HASH> 100644
--- a/src/Config/Loader/YamlFileLoader.php
+++ b/src/Config/Loader/YamlFileLoader.php
@@ -46,7 +46,7 @@ class YamlFileLoader extends FileLoader
}
/**
- * @param mixed $resource
+ * @p... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | octolabot_CilexServiceProviders | train |
3ff0b3125c35cdea09c3a40b2963f80637ce5d9d | diff --git a/iron_core.py b/iron_core.py
index <HASH>..<HASH> 100644
--- a/iron_core.py
+++ b/iron_core.py
@@ -159,7 +159,7 @@ class IronClient(object):
self.port = config["port"]
self.api_version = config["api_version"]
self.cloud = config["cloud"]
- self.conn = requests.Session()
+
... | SSL Connection for each process (<URL>) | iron-io_iron_core_python | train |
80ede5c75d740625f0e449a77b5e246c3078cb17 | diff --git a/lib/anycable/rails/actioncable/connection.rb b/lib/anycable/rails/actioncable/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/anycable/rails/actioncable/connection.rb
+++ b/lib/anycable/rails/actioncable/connection.rb
@@ -21,6 +21,8 @@ module ActionCable
attr_reader :socket
+ alias anyc... | fix: make channel state indepenent of adapter | anycable_anycable-rails | train |
b4619b20f9f366a257d0b6db151073c2cfec0ba4 | diff --git a/website/_redirects b/website/_redirects
index <HASH>..<HASH> 100644
--- a/website/_redirects
+++ b/website/_redirects
@@ -24,6 +24,7 @@
/docs/command-line/* /docs/commands/:splat 200
/docs/extend/* /docs/extending/:spla... | Website bugfix (#<I>)
* remove exportTrailingSlash from nextjs config
* drop out unneeded font
* add getting-started redirect | hashicorp_packer | train |
ff8c5c570ad7cd1eea4e0314421cc17011d6fe6d | diff --git a/src/cobald/monitor/format_line.py b/src/cobald/monitor/format_line.py
index <HASH>..<HASH> 100644
--- a/src/cobald/monitor/format_line.py
+++ b/src/cobald/monitor/format_line.py
@@ -68,6 +68,8 @@ class LineProtocolFormatter(Formatter):
args = {}
assert isinstance(args, Mapping), \
... | added assertion for non-None argument values in LineProtocolFormatter | MatterMiners_cobald | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.