hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
ce0a1a43de4f0bf0075d0bb4ff9d3f4938a1f0ef | diff --git a/lib/pilfer/middleware.rb b/lib/pilfer/middleware.rb
index <HASH>..<HASH> 100644
--- a/lib/pilfer/middleware.rb
+++ b/lib/pilfer/middleware.rb
@@ -30,7 +30,7 @@ module Pilfer
end
def default_profiler
- reporter = Pilfer::Logger.new($stdout, :app_root => ENV['PWD'])
+ reporter = Pilfer:... | Remove default value for app_root
If PWD is going to be used as the default app root, it should be defined in
the reporters. This implementation only worked when using the middleware and
its default logger. | eric_pilfer | train |
1010a4ed3aba647cf414662c73545409a217408b | diff --git a/src/AlgorithmTSPMinimumSpanningTreeHeuristic.php b/src/AlgorithmTSPMinimumSpanningTreeHeuristic.php
index <HASH>..<HASH> 100644
--- a/src/AlgorithmTSPMinimumSpanningTreeHeuristic.php
+++ b/src/AlgorithmTSPMinimumSpanningTreeHeuristic.php
@@ -1,50 +1,51 @@
<?php
class AlgorithmTSPMinimumSpanningTreeHeuris... | Changed comments of TSP and nearest neighbour | graphp_algorithms | train |
ba87bd5579d39da688245a34ad6e67ddaf974e4e | diff --git a/melodist/humidity.py b/melodist/humidity.py
index <HASH>..<HASH> 100644
--- a/melodist/humidity.py
+++ b/melodist/humidity.py
@@ -29,7 +29,7 @@ import melodist.util.util as util
import numpy as np
import pandas as pd
-def disaggregate_humidity(data_daily, method='equal', temp=None, a0=None, a1=None, kr... | Add keyword preserve_daily_mean for humidity disaggregation | kristianfoerster_melodist | train |
0ddbc9752ed0e624dd3f41c38921dde2355768b8 | diff --git a/lib/svtplay_dl/service/urplay.py b/lib/svtplay_dl/service/urplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/urplay.py
+++ b/lib/svtplay_dl/service/urplay.py
@@ -66,17 +66,30 @@ class Urplay(Service, OpenGraphThumbMixin):
def find_all_episodes(self, options):
parse = urlpars... | urplay: support for -A on urskola.se
fixes #<I> | spaam_svtplay-dl | train |
d37ec4ed2f528105185f658bf6ac1c14d327194d | diff --git a/lib/socket.js b/lib/socket.js
index <HASH>..<HASH> 100644
--- a/lib/socket.js
+++ b/lib/socket.js
@@ -198,7 +198,8 @@
}
var self = this;
-
+ self.connecting = true;
+
this.handshake(function (sid, heartbeat, close, transports) {
self.sessionid = sid;
self.closeTimeout ... | Fix for Issue #<I> - multiple connect on reconnect | tsjing_socket.io-client | train |
67d295b6ed12d89bee44d31c850f8c92e85d4c69 | diff --git a/src/Parser.php b/src/Parser.php
index <HASH>..<HASH> 100644
--- a/src/Parser.php
+++ b/src/Parser.php
@@ -152,7 +152,7 @@ class Parser
private function process_mask($mask)
{
foreach ($mask as $key => $value) {
- return '.' . $key . (is_array($value) ? $this->process_item($valu... | Fix bug, introduced in refactor. | nathanmac_Parser | train |
4ba5ae95c709aef53609c6e8a250f03791b94a50 | diff --git a/foyer/oplsaa/rules.py b/foyer/oplsaa/rules.py
index <HASH>..<HASH> 100755
--- a/foyer/oplsaa/rules.py
+++ b/foyer/oplsaa/rules.py
@@ -828,16 +828,6 @@ def opls_1007(atom):
for neighbor in atom.bond_partners:
if check_atom(neighbor, [1002,1003,1009,1010,1012]):
return True
- ... | Removed commented section in rule for opls_<I> | mosdef-hub_foyer | train |
b5b76d81879d7de22f9f214fd7c6ae2f9c72de5a | diff --git a/pkg/kubectl/kubectl.go b/pkg/kubectl/kubectl.go
index <HASH>..<HASH> 100644
--- a/pkg/kubectl/kubectl.go
+++ b/pkg/kubectl/kubectl.go
@@ -161,7 +161,8 @@ func ResourceAliases(rs []string) []string {
var plural string
switch {
case r == "endpoints":
- plural = r // exception. "endpoint" does not ... | Document that endpoints is only plural in resource aliases | kubernetes_kubernetes | train |
6e11ee75440c2d1ac6c226bae7639478447887ce | diff --git a/fastlane/lib/fastlane/plugins/plugin_info_collector.rb b/fastlane/lib/fastlane/plugins/plugin_info_collector.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/plugins/plugin_info_collector.rb
+++ b/fastlane/lib/fastlane/plugins/plugin_info_collector.rb
@@ -37,9 +37,11 @@ module Fastlane
... | Fix the PluginInfoCollector to check RubyGems for the gem_name
Previously this was checking RubyGems for the plugin_name, which
does not contain the 'fastlane-plugin-' prefix, and is not the
full name of the gem.
Fixes up the tests to match this behavior and provides a helper
method for setting up the stubbed web req... | fastlane_fastlane | train |
7bb7b11e9aca02852c2c5c537f72abfc24cf6dce | diff --git a/skyfield/iokit.py b/skyfield/iokit.py
index <HASH>..<HASH> 100644
--- a/skyfield/iokit.py
+++ b/skyfield/iokit.py
@@ -79,6 +79,7 @@ def download(url, verbose=True, blocksize=128*1024):
length += len(data)
if verbose:
bar.report(length, content_length)
... | Attempt to defeat dodgy test failure with flush()
Example test failure:
<URL> | skyfielders_python-skyfield | train |
b0b324f0487a6518782bdc483612298ae80e130b | diff --git a/as/json.js b/as/json.js
index <HASH>..<HASH> 100644
--- a/as/json.js
+++ b/as/json.js
@@ -116,7 +116,7 @@ TChannelJSON.prototype.register = function register(
) {
var self = this;
- tchannel.handler.register(arg1, endpointHandler);
+ tchannel.register(arg1, endpointHandler);
function e... | pass in a registrable for json handler | uber_tchannel-node | train |
9406ef354aa140d80cc313b11b47999f4bac0344 | diff --git a/pandas/core/common.py b/pandas/core/common.py
index <HASH>..<HASH> 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -862,7 +862,7 @@ def console_encode(value):
try:
import sys
- return value.encode(sys.stdin.encoding, 'replace')
+ return value.encode(sys.stdin... | re-introduce fix for console_encode() | pandas-dev_pandas | train |
7daaa46e6a8606ba16754380c182b25409d85c14 | diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Log/LogManager.php
+++ b/src/Illuminate/Log/LogManager.php
@@ -270,7 +270,9 @@ class LogManager implements LoggerInterface
$config['emoji'] ?? ':boom:',
$... | [<I>] Adds missing logging options to slack log driver (#<I>)
* Adds missing logging options to slack log driver
* change to snake case for config values | laravel_framework | train |
c3ab954c6e5a424d10ed414f9d0a3449a38300cb | diff --git a/salt/states/kapacitor.py b/salt/states/kapacitor.py
index <HASH>..<HASH> 100644
--- a/salt/states/kapacitor.py
+++ b/salt/states/kapacitor.py
@@ -72,16 +72,23 @@ def task_present(name,
with salt.utils.fopen(script_path, 'r') as file:
new_script = file.read().replace('\t', ' ')
- if ol... | improvements/fixes to kapacitor task change detection
make sure to check for changes in db/rp/task type as well as the script itself | saltstack_salt | train |
a251803c27018d3c4dbfe26e371d6cb9dc4aafb9 | diff --git a/eZ/Publish/Core/Repository/Tests/Service/Mock/RoleTest.php b/eZ/Publish/Core/Repository/Tests/Service/Mock/RoleTest.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Repository/Tests/Service/Mock/RoleTest.php
+++ b/eZ/Publish/Core/Repository/Tests/Service/Mock/RoleTest.php
@@ -21,7 +21,7 @@ class RoleT... | Fix coverage failure by RoleTest::testCreateRoleThrowsLimitationValidationException() | ezsystems_ezpublish-kernel | train |
ca5aceb06c8b2c25bcedd653860eee94b9213457 | diff --git a/tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php b/tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
+++ b/tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
@@ -195,7 +195,7 @@ class ResultCache... | Account for columnar expected result
This is what is expected with FETCH_COLUMN | doctrine_dbal | train |
83dbd5bc3609da75839901b5a6b34d495302b92d | diff --git a/app/src/main/java/com/felipecsl/asymmetricgridview/app/MainActivity.java b/app/src/main/java/com/felipecsl/asymmetricgridview/app/MainActivity.java
index <HASH>..<HASH> 100644
--- a/app/src/main/java/com/felipecsl/asymmetricgridview/app/MainActivity.java
+++ b/app/src/main/java/com/felipecsl/asymmetricgrid... | Added setRequestedColumnCount to force column count | felipecsl_AsymmetricGridView | train |
60a8a7a99ef4358b28d44a494ab7cc1f886fc35d | diff --git a/src/main/java/io/vlingo/xoom/http/Response.java b/src/main/java/io/vlingo/xoom/http/Response.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/xoom/http/Response.java
+++ b/src/main/java/io/vlingo/xoom/http/Response.java
@@ -7,6 +7,7 @@
package io.vlingo.xoom.http;
+import java.util.Colle... | Implemented includeAll() for headers. | vlingo_vlingo-http | train |
7d63184b28637f8078a3918afe3473bd155050b4 | diff --git a/nionswift_plugin/nion_instrumentation_ui/ScanAcquisition.py b/nionswift_plugin/nion_instrumentation_ui/ScanAcquisition.py
index <HASH>..<HASH> 100644
--- a/nionswift_plugin/nion_instrumentation_ui/ScanAcquisition.py
+++ b/nionswift_plugin/nion_instrumentation_ui/ScanAcquisition.py
@@ -8,6 +8,7 @@ import th... | Fix coordinate bug in line scan. Display line scan HAADF as line plot. | nion-software_nionswift-instrumentation-kit | train |
b1595d3f619169c44281ab7f0ffb245c01fbd22d | diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite.py
index <HASH>..<HASH> 100644
--- a/_pytest/assertion/rewrite.py
+++ b/_pytest/assertion/rewrite.py
@@ -177,6 +177,10 @@ def _write_pyc(co, source_path, pyc):
# This happens when we get a EEXIST in find_module creating the
... | Adds a test for and fixes #<I>. If attempting to write to the __pycache__ directory raises a permission error _write_pyc() should just return False to prevent any further write attempts. | pytest-dev_pytest | train |
fd80d4955c32ea30bbe8e26664f295873aa7a504 | diff --git a/MapDWebServer.go b/MapDWebServer.go
index <HASH>..<HASH> 100644
--- a/MapDWebServer.go
+++ b/MapDWebServer.go
@@ -144,6 +144,9 @@ func downloadsHandler(rw http.ResponseWriter, r *http.Request) {
}
func main() {
+ if _, err := os.Stat(dataDir + "/mapd_log/"); os.IsNotExist(err) {
+ os.MkdirAll(dataDir+... | Fix: create log dir if it doesn't exist | omnisci_mapd-core | train |
71407f99d6643e3d5044d7aa13bb3bffa16be009 | diff --git a/can/interfaces/usb2can/serial_selector.py b/can/interfaces/usb2can/serial_selector.py
index <HASH>..<HASH> 100644
--- a/can/interfaces/usb2can/serial_selector.py
+++ b/can/interfaces/usb2can/serial_selector.py
@@ -39,7 +39,7 @@ def find_serial_devices(serial_matcher="ED"):
:rtype: List[str]
"""
... | Fix warning in usb2can
This PR removes [this `DeprecationWarning`](<URL>):
> invalid escape sequence \c
Is this correct to to? It now is like [this example](<URL>). | hardbyte_python-can | train |
506a7cba2fe5e036b65ebeae30923d736621f405 | diff --git a/tests/Unit/Core/BaseTest.php b/tests/Unit/Core/BaseTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Core/BaseTest.php
+++ b/tests/Unit/Core/BaseTest.php
@@ -1855,7 +1855,10 @@ class BaseTest extends \OxidTestCase
$oField2->binary = false;
$oField2->unsigned = false;
$oField2... | ESDEV-<I> After rebase to master fix | OXID-eSales_oxideshop_ce | train |
e3462fd0c6a3c112be5d1035378c6e38bdd08148 | diff --git a/lib/danger/ci_source/buildkite.rb b/lib/danger/ci_source/buildkite.rb
index <HASH>..<HASH> 100644
--- a/lib/danger/ci_source/buildkite.rb
+++ b/lib/danger/ci_source/buildkite.rb
@@ -40,7 +40,7 @@ module Danger
self.repo_url = env["BUILDKITE_REPO"]
self.pull_request_id = env["BUILDKITE_PULL_RE... | Change regex to handle dots in slug | danger_danger | train |
d83a8a6459e15a6940058bf5f7987824dc7793d7 | diff --git a/ini_test.go b/ini_test.go
index <HASH>..<HASH> 100644
--- a/ini_test.go
+++ b/ini_test.go
@@ -363,3 +363,75 @@ func TestWriteFile(t *testing.T) {
t.Fatalf("Expected file content to be \"%s\" but was \"%s\"", expected, found)
}
}
+
+func TestOverwriteRequiredOptions(t *testing.T) {
+ var tests = []str... | Added overwrite required test (test by zimmski) | jessevdk_go-flags | train |
15c6269c99a9f83fdbff26b913ef1a91abc072ad | diff --git a/plugin/geomajas-plugin-printing/printing/src/main/java/org/geomajas/plugin/printing/component/impl/LegendIconComponentImpl.java b/plugin/geomajas-plugin-printing/printing/src/main/java/org/geomajas/plugin/printing/component/impl/LegendIconComponentImpl.java
index <HASH>..<HASH> 100644
--- a/plugin/geomajas... | SPRINT-<I> updated render method with switch statement which defaults to rectangle | geomajas_geomajas-project-server | train |
17a44e76222ede97355dc3bb743b22af7dc5c792 | diff --git a/src/modules/navigation-model/navigation-model.spec.js b/src/modules/navigation-model/navigation-model.spec.js
index <HASH>..<HASH> 100644
--- a/src/modules/navigation-model/navigation-model.spec.js
+++ b/src/modules/navigation-model/navigation-model.spec.js
@@ -171,10 +171,12 @@ describe('navigation-model'... | Clarify comments in navigation-model tests | gridgrid_grid | train |
d11eeb662871fb6a5794ca07330d098a31f103d3 | diff --git a/y/watermark.go b/y/watermark.go
index <HASH>..<HASH> 100644
--- a/y/watermark.go
+++ b/y/watermark.go
@@ -178,6 +178,7 @@ func (w *WaterMark) process() {
for _, ch := range toNotify {
close(ch)
}
+ delete(waiters, i) // Release the memory back.
}
if until != doneUntil {
AssertTrue(... | Watermark: Allow the wait channels to be GCed by deleting them from the map. | dgraph-io_badger | train |
8318ad37280ef9471b10576d0086464d11358ac5 | diff --git a/src/PhrestSDK.php b/src/PhrestSDK.php
index <HASH>..<HASH> 100644
--- a/src/PhrestSDK.php
+++ b/src/PhrestSDK.php
@@ -155,7 +155,7 @@ class PhrestSDK
{
// Set API DI to the default, this is required for models etc.
// As Phalcon will get the default DI to perform actions
- $apiDI = ... | Optimisations, use accessor as it was getting a new instance every time | phrest_sdk | train |
fdeeb8979cff47fab064d5859028110df8042e70 | diff --git a/closure/goog/editor/field.js b/closure/goog/editor/field.js
index <HASH>..<HASH> 100644
--- a/closure/goog/editor/field.js
+++ b/closure/goog/editor/field.js
@@ -996,8 +996,7 @@ goog.editor.Field.prototype.disposeInternal = function() {
this.execCommand(goog.editor.Command.CLEAR_LOREM);
}
- this... | Rollback of changelist <I>.
Fix the lifecycle of the plugins when the field gets disposed.
No point to call tearDownFieldObject_ when disposing the field because it will call disable on all the plugins. However, the plugins are getting disposed below, and they call disable once more internally.
TESTED=unit tests, al... | google_closure-library | train |
a6da4ba012de756b8b74e233106e9adbe7ba9de2 | diff --git a/lib/rbnacl/secret_box.rb b/lib/rbnacl/secret_box.rb
index <HASH>..<HASH> 100644
--- a/lib/rbnacl/secret_box.rb
+++ b/lib/rbnacl/secret_box.rb
@@ -70,7 +70,7 @@ module Crypto
#
# @raise [Crypto::LengthError] If the nonce is not valid
#
- # @return [String] The ciphertext without the nonce ... | Note that we're returning a Ciphertext | crypto-rb_rbnacl | train |
8ef7e21c3cc4c4e1507cc417248c71ed8f7112ea | diff --git a/src/browserbox.js b/src/browserbox.js
index <HASH>..<HASH> 100644
--- a/src/browserbox.js
+++ b/src/browserbox.js
@@ -330,7 +330,7 @@
}
});
- self.breakIdle(function() {
+ self.breakIdle().then(function() {
self.client.exec.apply(self.client, args);
... | Port #breakIdle to Promise | emailjs_emailjs-imap-client | train |
c0d5e550a7976b3251d30c8c3089c3c2d7fb2dc6 | diff --git a/pug/miner/views.py b/pug/miner/views.py
index <HASH>..<HASH> 100644
--- a/pug/miner/views.py
+++ b/pug/miner/views.py
@@ -302,9 +302,7 @@ def follow_double_underscores(obj, field_name=None, excel_dialect=True):
return follow_double_underscores(getattr(obj, split_fields[0]), field_name=split_fi... | convert straight to the timezone-free string format that excel likes | hobson_pug | train |
e4d6eab845caf6033f630ce975d1de5255994aa7 | diff --git a/src/test/java/rx/operators/OperationConditionalsTest.java b/src/test/java/rx/operators/OperationConditionalsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/rx/operators/OperationConditionalsTest.java
+++ b/src/test/java/rx/operators/OperationConditionalsTest.java
@@ -15,6 +15,7 @@
*/
package r... | Conditionals: Fix all but 2 tests | ReactiveX_RxJavaComputationExpressions | train |
98bae3621c9ebddb7233f9b0d5b447339b30041d | diff --git a/test/unit/core.js b/test/unit/core.js
index <HASH>..<HASH> 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -22,6 +22,8 @@ $(function() {
ok($.fn.powerTip.defaults.hasOwnProperty('offset'), 'offset exists');
ok($.fn.powerTip.defaults.hasOwnProperty('mouseOnToPopup'), 'mouseOnToPopup exists')... | Added openEvents/closeEvents to expose defaults tests.
Part of issue #<I>. | stevenbenner_jquery-powertip | train |
217d28c2ffd2c83b2980d01e2e69cd27d2d70935 | diff --git a/pypika/terms.py b/pypika/terms.py
index <HASH>..<HASH> 100644
--- a/pypika/terms.py
+++ b/pypika/terms.py
@@ -21,10 +21,9 @@ from pypika.utils import (
)
try:
- basestring
+ basestring
except NameError:
- basestring = str
-
+ basestring = str
__author__ = "Timothy Heys"
__email__ = "theys@... | Added support for alias to Bracket term | kayak_pypika | train |
e4f606ebde9aef271455b06b31bdfc81b03ea313 | diff --git a/aerospike_suite_test.go b/aerospike_suite_test.go
index <HASH>..<HASH> 100644
--- a/aerospike_suite_test.go
+++ b/aerospike_suite_test.go
@@ -2,7 +2,9 @@ package aerospike_test
import (
"flag"
+ "log"
"math/rand"
+ "strings"
"testing"
"time"
@@ -33,3 +35,18 @@ func TestAerospike(t *testing.T) ... | check for ldt feature before running tests | aerospike_aerospike-client-go | train |
c6a50419b844dd308a706c4f93cf35b89d0fa49a | diff --git a/lib/mean.js b/lib/mean.js
index <HASH>..<HASH> 100644
--- a/lib/mean.js
+++ b/lib/mean.js
@@ -291,9 +291,7 @@ Meanio.prototype.Module = function(name) {
this.config = config;
// bootstrap models
- util.walk(modulePath(this.name, 'server'), 'model', null, function(model) {
- require(mo... | move models preload to meanio | linnovate_meanio | train |
7894225a85ab955aaf998ff4b97bf6fbc911e6ca | diff --git a/tensorboard/backend/http_util.py b/tensorboard/backend/http_util.py
index <HASH>..<HASH> 100644
--- a/tensorboard/backend/http_util.py
+++ b/tensorboard/backend/http_util.py
@@ -44,6 +44,7 @@ _CSP_FONT_DOMAINS_WHITELIST = ["data:"]
_CSP_FRAME_DOMAINS_WHITELIST = []
_CSP_IMG_DOMAINS_WHITELIST = []
_CSP_S... | csp: make connect-src configurable (#<I>)
Google Analytics can use `POST` method and requires `connect-src`.
This change does not add Google Analytics in the allowlist but merely it configurable. | tensorflow_tensorboard | train |
5b4f9f3ca35f8c64af0ed99ab544ffdf530945e9 | diff --git a/lib/offsite_payments/integrations/molpay.rb b/lib/offsite_payments/integrations/molpay.rb
index <HASH>..<HASH> 100644
--- a/lib/offsite_payments/integrations/molpay.rb
+++ b/lib/offsite_payments/integrations/molpay.rb
@@ -4,8 +4,8 @@ module OffsitePayments #:nodoc:
mattr_accessor :acknowledge_url
... | Update molpay.rb
- notification issue. | activemerchant_offsite_payments | train |
ac9191552325484e685b2336df6bbb5e7b4ad379 | diff --git a/src/Kunstmaan/GeneratorBundle/Command/GenerateLayoutCommand.php b/src/Kunstmaan/GeneratorBundle/Command/GenerateLayoutCommand.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/GeneratorBundle/Command/GenerateLayoutCommand.php
+++ b/src/Kunstmaan/GeneratorBundle/Command/GenerateLayoutCommand.php
@@ -52,7 ... | added wrapper function to render a single file | Kunstmaan_KunstmaanBundlesCMS | train |
016927192befb1d792aec5843f24bc7e22588f7e | diff --git a/pkg/workloads/cri.go b/pkg/workloads/cri.go
index <HASH>..<HASH> 100644
--- a/pkg/workloads/cri.go
+++ b/pkg/workloads/cri.go
@@ -52,7 +52,7 @@ func getGRPCCLient(ctx context.Context) (*grpc.ClientConn, error) {
c, cancel := context.WithTimeout(ctx, time.Duration(5*time.Second))
defer cancel()
- conn... | workloads: cri allow grpc reconnectivity after failure | cilium_cilium | train |
233182fe2b5c76077a3197578aba49fd3fa830bc | diff --git a/test/integration/009_data_tests_test/test_data_tests.py b/test/integration/009_data_tests_test/test_data_tests.py
index <HASH>..<HASH> 100644
--- a/test/integration/009_data_tests_test/test_data_tests.py
+++ b/test/integration/009_data_tests_test/test_data_tests.py
@@ -43,7 +43,6 @@ class TestDataTests(DBT... | use six for py2/3 compat | fishtown-analytics_dbt | train |
2531aad06f6ab6157e492ccffdd5e57f55011ad0 | diff --git a/lib/pilot-gnuplot/plot.rb b/lib/pilot-gnuplot/plot.rb
index <HASH>..<HASH> 100644
--- a/lib/pilot-gnuplot/plot.rb
+++ b/lib/pilot-gnuplot/plot.rb
@@ -108,7 +108,7 @@ module Gnuplot
value = value[0] if value && value.size == 1
value
else
- Plot.new(@datasets, @options... | replace Plot with self.class to make methods inheritable | dilcom_gnuplotrb | train |
45c8658cfea62947aa7cdf8c51e708d4cba9ca04 | diff --git a/lib/searchkick/results.rb b/lib/searchkick/results.rb
index <HASH>..<HASH> 100644
--- a/lib/searchkick/results.rb
+++ b/lib/searchkick/results.rb
@@ -26,17 +26,7 @@ module Searchkick
if options[:includes]
records = records.includes(options[:includes])
end
- ... | Separate DB query logic, make it easy to add custom behavior | ankane_searchkick | train |
cf273f21bb4ec33673793f43e5164f31f76de5d3 | diff --git a/pkg/labels/regexp_test.go b/pkg/labels/regexp_test.go
index <HASH>..<HASH> 100644
--- a/pkg/labels/regexp_test.go
+++ b/pkg/labels/regexp_test.go
@@ -83,6 +83,7 @@ func TestOptimizeConcatRegex(t *testing.T) {
{regex: ".*(?i:abc)def.*", prefix: "", suffix: "", contains: "def"},
{regex: "(?i).*(?-i:abc... | Add a testcase for #<I> (#<I>)
This was already fixed by #<I>, but add a test case anyway
in case the regexp engine changes in future. | prometheus_prometheus | train |
a565d226a7858df53f382f6eb954eb68da3fa687 | diff --git a/nxviz/geometry.py b/nxviz/geometry.py
index <HASH>..<HASH> 100644
--- a/nxviz/geometry.py
+++ b/nxviz/geometry.py
@@ -13,7 +13,7 @@ def node_theta(nodelist, node):
assert node in nodelist, 'node must be inside nodelist.'
i = nodelist.index(node)
- theta = i*2*np.pi/len(nodelist)
+ theta =... | added bug fix for geometry. nodes are placed from -pi to +pi | ericmjl_nxviz | train |
7fa94a9b2d3f206967be99833615c04520252f10 | diff --git a/src/map/Map.Camera.js b/src/map/Map.Camera.js
index <HASH>..<HASH> 100644
--- a/src/map/Map.Camera.js
+++ b/src/map/Map.Camera.js
@@ -27,7 +27,7 @@ Map.include(/** @lends Map.prototype */{
fov = Math.max(0.01, Math.min(60, fov));
if (this._fov === fov) return this;
var from = thi... | fix setFov and add specs | maptalks_maptalks.js | train |
125e26dde5a55a849f6ce516824e1d3a7cc9e342 | diff --git a/deploy/ray-operator/controllers/raycluster_controller.go b/deploy/ray-operator/controllers/raycluster_controller.go
index <HASH>..<HASH> 100644
--- a/deploy/ray-operator/controllers/raycluster_controller.go
+++ b/deploy/ray-operator/controllers/raycluster_controller.go
@@ -18,7 +18,6 @@ import (
"k8s.io/... | [ray-operator] Watch the pod resource and remove useless code (#<I>) | ray-project_ray | train |
3c426b1f998dfd1d4a630ed8a686abe5b1830634 | diff --git a/lib/memory_store.js b/lib/memory_store.js
index <HASH>..<HASH> 100644
--- a/lib/memory_store.js
+++ b/lib/memory_store.js
@@ -15,8 +15,8 @@ MemoryStore.prototype.read = function(key, generate, cb) {
else if (generate != null) {
generate(function(err, result){
- if (err == null) { return cb(e... | Added testing for the memory_store
Now to make it generic and able to be passed any type of store | patrickod_thoroughfare | train |
7d1f55cf49b1005592d6eaad27cab4c8d7f4c2ad | diff --git a/pyvisa-sim/parser.py b/pyvisa-sim/parser.py
index <HASH>..<HASH> 100644
--- a/pyvisa-sim/parser.py
+++ b/pyvisa-sim/parser.py
@@ -111,20 +111,20 @@ def get_devices(filename, is_resource):
device_name = resource_dict['device']
new_filename = resource_dict.get('filename', None)
- n... | Renamed is_resource to bundled in yaml files | pyvisa_pyvisa-sim | train |
ee9cef59b7dcd5d2e3a3d16a8d127c31d1178b91 | diff --git a/packages/local-cli/link/__fixtures__/android/patchedBuild.gradle b/packages/local-cli/link/__fixtures__/android/patchedBuild.gradle
index <HASH>..<HASH> 100644
--- a/packages/local-cli/link/__fixtures__/android/patchedBuild.gradle
+++ b/packages/local-cli/link/__fixtures__/android/patchedBuild.gradle
@@ -2... | fix: make link understand 'api project' (#<I>) | react-native-community_cli | train |
01e57d918ec6d6110e9ca7879499e6c02b4f0159 | diff --git a/core/edb/src/main/java/org/openengsb/core/edb/internal/JPAObject.java b/core/edb/src/main/java/org/openengsb/core/edb/internal/JPAObject.java
index <HASH>..<HASH> 100644
--- a/core/edb/src/main/java/org/openengsb/core/edb/internal/JPAObject.java
+++ b/core/edb/src/main/java/org/openengsb/core/edb/internal/... | [OPENENGSB-<I>] added javadoc to the JPAObject class | openengsb_openengsb | train |
0d85bf3420c5bdbb10f19954eea945ef1dc2b878 | diff --git a/lib/schema.js b/lib/schema.js
index <HASH>..<HASH> 100644
--- a/lib/schema.js
+++ b/lib/schema.js
@@ -42,8 +42,8 @@ var getSchema = function() {
schema[AccessToken.type] = AccessToken.schema;
for (i = 0; i < ActivityObject.objectTypes.length; i++) {
- type = Activity.objectTypes[i];
- ... | Still more moving Activity. to ActivityObject. | pump-io_pump.io | train |
467c665066ccaab2df4c6811937d2664269d1479 | diff --git a/src/MetarDecoder/MetarDecoder.php b/src/MetarDecoder/MetarDecoder.php
index <HASH>..<HASH> 100644
--- a/src/MetarDecoder/MetarDecoder.php
+++ b/src/MetarDecoder/MetarDecoder.php
@@ -60,10 +60,22 @@ class MetarDecoder
// prepare new remaining metar for next round
$rem... | Abort decoding if NIL status but check that there is nothing after | SafranCassiopee_php-metar-decoder | train |
20bea486bb920e699bdd48f890045231dd2744a7 | diff --git a/daemons/message/__init__.py b/daemons/message/__init__.py
index <HASH>..<HASH> 100644
--- a/daemons/message/__init__.py
+++ b/daemons/message/__init__.py
@@ -23,7 +23,7 @@ class MessageDaemon(Daemon):
# This alias for sleep is placed here to allow extensions to change the
# idle behaviour of th... | Fix: Missing staticmethod decorator for time.sleep | kevinconway_daemons | train |
108cb5d529f134101796cc667df9795e76762e19 | diff --git a/Rakefile b/Rakefile
index <HASH>..<HASH> 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,6 +2,6 @@ require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'lib' << 'test'
- t.test_files = FileList['test/**/*_test.rb']
+ t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
diff --git a/... | Construct the execution plan in side the Bus.trigger method
Allows us encapsulating the planning into transaction | Dynflow_dynflow | train |
70de9d8f2a1212529f65f6647103695034f42311 | diff --git a/sdk/src/classes.js b/sdk/src/classes.js
index <HASH>..<HASH> 100644
--- a/sdk/src/classes.js
+++ b/sdk/src/classes.js
@@ -4,8 +4,8 @@
*/
F2.extend('', {
/**
- * The App Class is an optional class that can be namespaced onto the
- * {{#crossLink "F2\Apps"}}{{/crossLink}} namespace. The
+ * The Ap... | fix: remove some remaining references to jQuery and whitespace | OpenF2_F2 | train |
de571145b571973c4dff3a37d4a20af5e7e83d3b | diff --git a/examples/the-high-street/initialize.py b/examples/the-high-street/initialize.py
index <HASH>..<HASH> 100755
--- a/examples/the-high-street/initialize.py
+++ b/examples/the-high-street/initialize.py
@@ -3,7 +3,7 @@
import random
import logging
-from figment import Entity, Zone, log, ExploreMode
+from fi... | Rename ExploreMode to ActionMode | vreon_figment | train |
8fa88d0e187d54e270e0b1fa89e5cf87f1915ad8 | diff --git a/docroot/modules/custom/mindbody_cache_proxy/mindbody_cache_proxy.services.yml b/docroot/modules/custom/mindbody_cache_proxy/mindbody_cache_proxy.services.yml
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/mindbody_cache_proxy/mindbody_cache_proxy.services.yml
+++ b/docroot/modules/custom/mindbody... | [YPTF-<I>] Fix minor issues with code and style | ymcatwincities_openy | train |
c32e281f462622d7fb098c76dd0ee5d67604e7fa | diff --git a/lib/json-schema/validator.rb b/lib/json-schema/validator.rb
index <HASH>..<HASH> 100644
--- a/lib/json-schema/validator.rb
+++ b/lib/json-schema/validator.rb
@@ -73,7 +73,7 @@ module JSON
def schema_from_fragment(base_schema, fragment)
schema_uri = base_schema.uri
- fragments = fragment.... | Allow resolution of fragments with escaped parts | ruby-json-schema_json-schema | train |
806272594fe18ebf5c29c8ffdefca3573bdb1c2c | diff --git a/src/frontend/org/voltdb/dtxn/WorkUnit.java b/src/frontend/org/voltdb/dtxn/WorkUnit.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/dtxn/WorkUnit.java
+++ b/src/frontend/org/voltdb/dtxn/WorkUnit.java
@@ -22,6 +22,7 @@ import java.util.HashMap;
import java.util.HashSet;
import java.util.List... | ENG-<I>: Force intermediate results to be fed from Send->Recieve in deterministic order.
Applies to MP txns. | VoltDB_voltdb | train |
6ac0c3fa6b52b9674a3d3b0a30deac8684d8db0c | diff --git a/input/Value.php b/input/Value.php
index <HASH>..<HASH> 100644
--- a/input/Value.php
+++ b/input/Value.php
@@ -6,11 +6,11 @@ use nyx\core;
/**
* Input Parameter Value Definition
*
- * @package Nyx\Console\Input
+ * @package Nyx\Console
* @version 0.1.0
* @author Michal Chojnacki <m... | [Console] Get rid of the weird (and bugged) automagic in input\Value::setDefault() in favour of forcing children to go through the validation. | unyx_console | train |
56f08239f2ece232df003d6935f0941046c3f92c | diff --git a/analysis/memory.py b/analysis/memory.py
index <HASH>..<HASH> 100644
--- a/analysis/memory.py
+++ b/analysis/memory.py
@@ -36,7 +36,7 @@ def main(args):
strings_collection = utils.worst_case_strings_collection(m, n)
ast = base.AST.get_ast(ast_algorithm, strings_collection)
... | Small fix in analysis.memory
The script now takes into account the number of repeats of the experiment. | mikhaildubov_AST-text-analysis | train |
84de3bdf3bffbc4fbbf716508aed1821407a7ad1 | diff --git a/shopify/resources/asset.py b/shopify/resources/asset.py
index <HASH>..<HASH> 100644
--- a/shopify/resources/asset.py
+++ b/shopify/resources/asset.py
@@ -9,9 +9,9 @@ class Asset(ShopifyResource):
def _prefix(cls, options={}):
theme_id = options.get("theme_id")
if theme_id:
- ... | fxed extra slash in asset | Shopify_shopify_python_api | train |
1aa456ea3345df2c1c85dbe763cd563b19dec665 | diff --git a/addon/unless.js b/addon/unless.js
index <HASH>..<HASH> 100644
--- a/addon/unless.js
+++ b/addon/unless.js
@@ -1,5 +1,5 @@
-import curriedComputed from 'ember-macro-helpers/curried-computed';
+import { conditional } from '.';
-export default curriedComputed((condition, expr1, expr2) => {
- return conditi... | use conditional as base for unless | kellyselden_ember-awesome-macros | train |
9d158b0fe7cf5467e100679f67cb0789ccb8d60b | diff --git a/src/main/java/com/opentok/api/API_Config.java b/src/main/java/com/opentok/api/API_Config.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/opentok/api/API_Config.java
+++ b/src/main/java/com/opentok/api/API_Config.java
@@ -12,6 +12,6 @@ public class API_Config {
public static final String API_S... | Updating the API_URL to not point to https by default | opentok_Opentok-Java-SDK | train |
9c45f4199b2166e7d6b2d8cfda00e80fc00c914d | diff --git a/nolds/measures.py b/nolds/measures.py
index <HASH>..<HASH> 100644
--- a/nolds/measures.py
+++ b/nolds/measures.py
@@ -1332,7 +1332,7 @@ def mfhurst_b(data, qvals=[1], dists=range(1, 20),
Calculates the Generalized Hurst Exponent H_q for different q according to
A.-L. Barabási and T. Vicsek.
- Expl... | adds explanation of autocorrelation law and Barabasi and Vicsek algorithm | CSchoel_nolds | train |
fe6ad6f68ce976edf796de41bc158561c2263efb | diff --git a/src/webroot/cms/content-manager/pagecontent/includes/iframe.js b/src/webroot/cms/content-manager/pagecontent/includes/iframe.js
index <HASH>..<HASH> 100644
--- a/src/webroot/cms/content-manager/pagecontent/includes/iframe.js
+++ b/src/webroot/cms/content-manager/pagecontent/includes/iframe.js
@@ -187,7 +18... | #<I> Fixed content editing after page load | sitesupra_sitesupra | train |
822045db18850a0af152f68b72e203bdec91dee1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -82,7 +82,7 @@ setup(
zip_safe=False,
install_requires=[
'setuptools',
- "pyDHTMLParser>=2.0.0",
+ "pyDHTMLParser>=2.0.7",
"httpkie>=1.1.0,<2.0.0",
],
extras_require={ | Added dependency to new version of pyDHTMLParser, because of bug in old.
Bug was found during new testing (#<I>). | edeposit_edeposit.amqp.aleph | train |
cfd8af052e2c2faeb82cff5c603e7fa25363d743 | diff --git a/QUANTAXIS/QAData/data_resample.py b/QUANTAXIS/QAData/data_resample.py
index <HASH>..<HASH> 100755
--- a/QUANTAXIS/QAData/data_resample.py
+++ b/QUANTAXIS/QAData/data_resample.py
@@ -74,12 +74,8 @@ def QA_data_tick_resample_1min(tick, type_='1min'):
_data2.loc[time(15, 0): time(15, 0), 'hig... | QA_data_tick_resample_1min test with <I> from <I> to <I> | QUANTAXIS_QUANTAXIS | train |
da9b77140def2543f56b85b268811e9a820bff72 | diff --git a/src/Co.php b/src/Co.php
index <HASH>..<HASH> 100644
--- a/src/Co.php
+++ b/src/Co.php
@@ -2,19 +2,20 @@
namespace Swoft;
-use function count;
-use function go;
use ReflectionException;
-use function sgo;
use Swoft;
use Swoft\Context\Context;
use Swoft\Log\Debug;
use Swoft\Stdlib\Helper\PhpHelper;... | fix: swoft-cloud/swoft#<I> use Coroutine::create instead of go() create new coroutine | swoft-cloud_swoft-framework | train |
0a51607328603127be67ed3e97d06ef03d0e35a8 | diff --git a/auto_ml/utils_models.py b/auto_ml/utils_models.py
index <HASH>..<HASH> 100644
--- a/auto_ml/utils_models.py
+++ b/auto_ml/utils_models.py
@@ -42,7 +42,10 @@ def get_model_from_name(model_name, training_params=None):
'PassiveAggressiveRegressor': {'shuffle': False},
'AdaBoostRegressor': {'... | adds hyperparameters for lgbmregressor, and removes our attempts to overwrite their defaults by default | ClimbsRocks_auto_ml | train |
0444997e72633196fee8354d54f2416f5630e04c | diff --git a/lib/diff-logger.js b/lib/diff-logger.js
index <HASH>..<HASH> 100644
--- a/lib/diff-logger.js
+++ b/lib/diff-logger.js
@@ -35,11 +35,5 @@ exports.log = function(diff, options) {
}
});
- /*
- Это костыль. После многочисленных реплейсов, диффер воспринимает строку '"' как строку... | get rid of crooked nail in logger | bem_html-differ | train |
7cd650189157b4ee1e94ee3b52eead2dc23147f4 | diff --git a/src/Tenant/Comment.php b/src/Tenant/Comment.php
index <HASH>..<HASH> 100755
--- a/src/Tenant/Comment.php
+++ b/src/Tenant/Comment.php
@@ -50,9 +50,19 @@ class Tenant_Comment extends Pluf_Model
'type' => 'Pluf_DB_Field_Foreignkey',
'model' => 'Pluf_User',
'... | relation between Comment and Ticket is defined | pluf_tenant | train |
fff686e6a3bd86eb9d7f1e8824d5bb051672b97e | diff --git a/lib/node_modules/@stdlib/stats/incr/variance/lib/main.js b/lib/node_modules/@stdlib/stats/incr/variance/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/stats/incr/variance/lib/main.js
+++ b/lib/node_modules/@stdlib/stats/incr/variance/lib/main.js
@@ -141,7 +141,7 @@ function incrvari... | Use an unbiased estimator when provided a known mean | stdlib-js_stdlib | train |
d00b0114531f1237ffbb372b488559ce512f019b | diff --git a/lib/adapters/http.js b/lib/adapters/http.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/http.js
+++ b/lib/adapters/http.js
@@ -201,6 +201,7 @@ function HttpPouch(opts, callback) {
//check if the db exists
if (err) {
if (err.status === 404) {
+ utils.explain404('PouchDB is... | (#<I>) - explain normal <I>s in console.info | pouchdb_pouchdb | train |
860e93e2bf323d57298f941ec71deacba479d922 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -88,21 +88,21 @@ module.exports = function(trees, options) {
// post order travel
var obj = rs[oid] = [compress ? root.version: id];
- var dep;
- edgeKeys.forEach(function(depName) {
+ for(var i = 0; i <... | fix: asyncDependencies key in the same entry of dependencies | villadora_gen-graph | train |
989ccbc044c227ecf28f6c0bfbd62935a882e85b | diff --git a/lib/actors/scraper.js b/lib/actors/scraper.js
index <HASH>..<HASH> 100644
--- a/lib/actors/scraper.js
+++ b/lib/actors/scraper.js
@@ -28,5 +28,9 @@ Scraper.prototype.setRouter = function(router){
Scraper.prototype.get = function(content){
var route = this.webname + '#' + content;
var extractor =... | Added check that extractor is truable if not the result returned by get() will be undefined so get() does not throw any error | lbdremy_scrapinode | train |
06c4b7e703b75c4b39dc6a1898acb6e46468f51e | diff --git a/src/Cartalyst/Sentry/Throttling/Eloquent/Throttle.php b/src/Cartalyst/Sentry/Throttling/Eloquent/Throttle.php
index <HASH>..<HASH> 100644
--- a/src/Cartalyst/Sentry/Throttling/Eloquent/Throttle.php
+++ b/src/Cartalyst/Sentry/Throttling/Eloquent/Throttle.php
@@ -322,22 +322,6 @@ class Throttle extends Model... | Adding a few fixes for latest illuminate/database changes. | cartalyst_sentry | train |
85596e6db33d969d52e1d7d7a79b343a9982af52 | diff --git a/lib/update.js b/lib/update.js
index <HASH>..<HASH> 100644
--- a/lib/update.js
+++ b/lib/update.js
@@ -6,6 +6,7 @@ var clone = require('lodash/clone')
var Promise = require('lie')
var internals = module.exports.internals = {}
+internals.deserialise = require('../utils/deserialise')
internals.request = ... | fix: renew session after username / password change | hoodiehq_hoodie-account-client | train |
6c4abaee66e6c3cf449bc651e0c4008518ee094d | diff --git a/rootpy/plotting/canvas.py b/rootpy/plotting/canvas.py
index <HASH>..<HASH> 100644
--- a/rootpy/plotting/canvas.py
+++ b/rootpy/plotting/canvas.py
@@ -29,19 +29,56 @@ class _PadBase(NamedObject):
keepalive(self, pad)
return pad
- def axes(self, xlimits=None, ylimits=None):
+ de... | pad.axes() will now setup 2d and 3d plots | rootpy_rootpy | train |
a55da29a7c159c8f515aca26be0c1888cb9e8f98 | diff --git a/docs/zh-CN/arr.md b/docs/zh-CN/arr.md
index <HASH>..<HASH> 100644
--- a/docs/zh-CN/arr.md
+++ b/docs/zh-CN/arr.md
@@ -8,8 +8,6 @@ Arr
### 获取数组或对象中指定键名的值
```php
-<?php
-
class Getter
{
public function getKey()
@@ -98,4 +96,4 @@ Array
其他对象
#### arr->sort($array, $key = 'order', $type... | added controller format property, simplfied controller class name | twinh_wei | train |
b037ecb82ba5f8791433f57de31a90fb57fe986d | diff --git a/src/util.js b/src/util.js
index <HASH>..<HASH> 100644
--- a/src/util.js
+++ b/src/util.js
@@ -190,9 +190,10 @@ util.getFileReplacement = function( src, settings, callback )
{
var fileName = util.getInlineFilePath( src, settings.relativeTo );
var mimetype = mime.getType( fileName );
-... | Use callback version of readFile | jrit_web-resource-inliner | train |
cbfacf5becc2d4e5b495c246a367abd9c5683bf0 | diff --git a/src/Forms/Group.php b/src/Forms/Group.php
index <HASH>..<HASH> 100644
--- a/src/Forms/Group.php
+++ b/src/Forms/Group.php
@@ -119,7 +119,7 @@ class Group extends HtmlContainer
*
* @return $this
*/
- protected function setField(HtmlContainer $field = null) : self
+ protected function... | FormGroup : SetGroup must follow parent signature | cawaphp_html | train |
4b4a9115265eb65d3ff1cbe1080423b3b8ad9680 | diff --git a/lib/LittleWeasel/metadata/metadatable.rb b/lib/LittleWeasel/metadata/metadatable.rb
index <HASH>..<HASH> 100644
--- a/lib/LittleWeasel/metadata/metadatable.rb
+++ b/lib/LittleWeasel/metadata/metadatable.rb
@@ -7,6 +7,8 @@ module LittleWeasel
module Metadata
# This module defines methods to support ... | Change rubocop Lint/UnusedMethodArgument violations
Methods in this module need to keep their argument names
because of specs. | gangelo_LittleWeasel | train |
45327783abc3d3bc66b631014a3b1490d2225413 | diff --git a/src/main/java/com/dlsc/preferencesfx/util/PreferencesFxUtils.java b/src/main/java/com/dlsc/preferencesfx/util/PreferencesFxUtils.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/dlsc/preferencesfx/util/PreferencesFxUtils.java
+++ b/src/main/java/com/dlsc/preferencesfx/util/PreferencesFxUtils.java
@... | optimized imports, reformatted code | dlemmermann_PreferencesFX | train |
61759f1f7fee07b5f0ddc5ee38bcc14d7b112dca | diff --git a/elasticsearch-model/test/integration/multiple_models_test.rb b/elasticsearch-model/test/integration/multiple_models_test.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-model/test/integration/multiple_models_test.rb
+++ b/elasticsearch-model/test/integration/multiple_models_test.rb
@@ -56,7 +56,7 @@ mod... | [MODEL] Fixed unreliable order of returned results/records in the integration test for the multiple adapter
Related: #<I> | elastic_elasticsearch-rails | train |
f785cec68b2b008e83975451b346d07d65f3a421 | diff --git a/edeposit/amqp/daemonwrapper.py b/edeposit/amqp/daemonwrapper.py
index <HASH>..<HASH> 100644
--- a/edeposit/amqp/daemonwrapper.py
+++ b/edeposit/amqp/daemonwrapper.py
@@ -47,7 +47,7 @@ class DaemonRunnerWrapper(object):
sys.exit(0)
def onIsRunning(self):
- if "stop" not in sys.argv or... | Fixed bug which blocked stopping the daemon. | edeposit_edeposit.amqp | train |
c714c2baa26713092fa8c3e04ea1b1636d6ebac0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,6 @@
'use strict';
-exports.VERSION = '7.0.3';
+exports.VERSION = '7.0.4';
exports.JID = require('xmpp-jid').JID;
exports.Client = require('./lib/client');
diff --git a/lib/transports/old-websocket.js b/lib/tran... | Fix parsing issue for old websockets | legastero_stanza.io | train |
aab7419d64f3d694e4bdff6c1bcac011f77bc16f | diff --git a/lib/influxdb.js b/lib/influxdb.js
index <HASH>..<HASH> 100644
--- a/lib/influxdb.js
+++ b/lib/influxdb.js
@@ -90,7 +90,7 @@ InfluxdbBackend.prototype.logDebug = function (msg) {
InfluxdbBackend.prototype.process = function (packet, rinfo) {
var self = this,
- ts = new Date();
+ ts = (new Da... | Remove useless condition for the time column.
Also avoids passing around a date object. | bernd_statsd-influxdb-backend | train |
ed304cf6f9cf5ef1997e00bac45fb9cbdf15c3fa | diff --git a/responsys/tests/test_types.py b/responsys/tests/test_types.py
index <HASH>..<HASH> 100644
--- a/responsys/tests/test_types.py
+++ b/responsys/tests/test_types.py
@@ -116,3 +116,18 @@ class RecordDataTests(unittest.TestCase):
self.assertTrue(
self.record_data.records == [[1, 2], [3, 4]... | Add failed property on MergeResult
Provides a list of failed ids for convenience | jslang_responsys | train |
fb83af71950ec701ad42926c17d41aeba6c37a24 | diff --git a/Command/SmokeTestRunCommand.php b/Command/SmokeTestRunCommand.php
index <HASH>..<HASH> 100644
--- a/Command/SmokeTestRunCommand.php
+++ b/Command/SmokeTestRunCommand.php
@@ -24,7 +24,7 @@ class SmokeTestRunCommand extends ContainerAwareCommand
{
$this
->setName('smartbox:smoke-te... | Fixed a few prefixes | smartboxgroup_core-bundle | train |
c32bc08c19ce2da479d7fca54651d61fa5152340 | diff --git a/aws-sdk-core/lib/aws-sdk-core/signers/s3.rb b/aws-sdk-core/lib/aws-sdk-core/signers/s3.rb
index <HASH>..<HASH> 100644
--- a/aws-sdk-core/lib/aws-sdk-core/signers/s3.rb
+++ b/aws-sdk-core/lib/aws-sdk-core/signers/s3.rb
@@ -11,7 +11,7 @@ module Aws
acl delete cors lifecycle location logging notifi... | Signer fix for classic s3 signature and get bucket replication. | aws_aws-sdk-ruby | train |
9cb4642b2513cc8cdcc5cec471f8ff792fa8d3fc | diff --git a/tinman/utilities/initialize.py b/tinman/utilities/initialize.py
index <HASH>..<HASH> 100644
--- a/tinman/utilities/initialize.py
+++ b/tinman/utilities/initialize.py
@@ -141,10 +141,10 @@ setup(name='%(project)s',
self._create_package_setup()
-def initialize_project():
+def main():
initia... | Fix the method name to invoke the app | gmr_tinman | train |
cd29a473681cf7f1beedc21004850f5770a470db | diff --git a/pyregion/core.py b/pyregion/core.py
index <HASH>..<HASH> 100644
--- a/pyregion/core.py
+++ b/pyregion/core.py
@@ -255,7 +255,8 @@ def open(fname):
shapes : `ShapeList`
List of `~pyregion.Shape`
"""
- region_string = _builtin_open(fname).read()
+ with _builtin_open(fname) as fh:
+ ... | Use with open to avoid keeping filehandles open indefinitely | astropy_pyregion | train |
49d3600d1231f31179226e94a459b9888836d8d2 | diff --git a/lib/queue_classic.rb b/lib/queue_classic.rb
index <HASH>..<HASH> 100644
--- a/lib/queue_classic.rb
+++ b/lib/queue_classic.rb
@@ -91,12 +91,18 @@ module QC
puts(out) if ENV["DEBUG"]
return result
end
-
+
def self.measure(data)
if ENV['QC_MEASURE']
$stdout.puts("measure#qc.#{da... | move unlock_jobs_of_dead_workers
Reason for this are:
- it has nothing to do with the QC::Worker class
- we want to be able to call that in other circumstances than from the
Worker class | QueueClassic_queue_classic | train |
7e198a9209c07b3317e4e0c75510f927e6c949d6 | diff --git a/assets/javascripts/swfupload/handlers.js b/assets/javascripts/swfupload/handlers.js
index <HASH>..<HASH> 100755
--- a/assets/javascripts/swfupload/handlers.js
+++ b/assets/javascripts/swfupload/handlers.js
@@ -1,15 +1,5 @@
-/* Demo Note: This demo uses a FileProgress class that handles the UI for displayi... | Feature: closing upload overlay after upload queue completes | AlchemyCMS_alchemy_cms | train |
f828b8e66087f7b57a63721ace42acd5f98dc35b | diff --git a/src/main/java/org/boon/core/Conversions.java b/src/main/java/org/boon/core/Conversions.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/boon/core/Conversions.java
+++ b/src/main/java/org/boon/core/Conversions.java
@@ -397,8 +397,11 @@ public class Conversions {
}
public static <T extend... | Added a new feature to copy large JSON feeds into smaller JSON feeds or rather Large Java objects into smaller once. It walks the tree recursively. This allows you to have DTOs that are smaller than what you have in memory but have the structure. I also made Conversion handle enum conversion a bit easier for common cas... | boonproject_boon | train |
e4f061f7c9e1a8f35e5f02d1c7543dbf13c40b0a | diff --git a/src/language/CSSUtils.js b/src/language/CSSUtils.js
index <HASH>..<HASH> 100644
--- a/src/language/CSSUtils.js
+++ b/src/language/CSSUtils.js
@@ -1089,6 +1089,17 @@ define(function (require, exports, module) {
if (/[\{\}\;]/.test(ctx.token.string)) {
break;
... | fix parsing of first selector in embedded style block | adobe_brackets | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.