hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
bc2190c825932d354a40bedfb2c25cf764a0fe7e | diff --git a/lib/dill/list.rb b/lib/dill/list.rb
index <HASH>..<HASH> 100644
--- a/lib/dill/list.rb
+++ b/lib/dill/list.rb
@@ -151,6 +151,10 @@ module Dill
end
end
+ def count
+ DynamicValue.new { items.count }
+ end
+
# TODO: Convert value to primitive data structures.
def empty?
... | [list] Add #count and #length as dynamic values. | mojotech_capybara-ui | train |
eaae2110aa114afe7578a1fe630c394ba5e943f0 | diff --git a/examples/server_profile_templates.py b/examples/server_profile_templates.py
index <HASH>..<HASH> 100644
--- a/examples/server_profile_templates.py
+++ b/examples/server_profile_templates.py
@@ -33,13 +33,19 @@ config = {
}
}
+# These variables must be defined according with your environment
+server... | Adds support to server profile template transformation | HewlettPackard_python-hpOneView | train |
5abdf43daf402fcbb71d8c476da084b3c3236505 | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/state/AbstractKeyedStateBackend.java b/flink-runtime/src/main/java/org/apache/flink/runtime/state/AbstractKeyedStateBackend.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/state/AbstractKeyedStateBackend.java
+... | [hotfix][state] Improve logging in AbstractKeyedStateBackend | apache_flink | train |
91674b3c5ef7e3ff9aa972f156e91be222e21f8c | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,6 +1,5 @@
'use strict'
-import { find } from './util'
import modalWrapperFactory from './dialogs-wrapper'
class VueModalDialog {
@@ -8,11 +7,7 @@ class VueModalDialog {
this.Vue = null
this.... | feat: use a object to store installed dialogs | hjkcai_vue-modal-dialogs | train |
8d5793992671a04c39ae64a35995384549bb287b | diff --git a/lib/ood_core/job/adapters/helper.rb b/lib/ood_core/job/adapters/helper.rb
index <HASH>..<HASH> 100644
--- a/lib/ood_core/job/adapters/helper.rb
+++ b/lib/ood_core/job/adapters/helper.rb
@@ -5,12 +5,12 @@ module OodCore
class Helper
# Get the configured path to a command allowing overrides f... | Improve command override logic and rename std_bin to bin_default | OSC_ood_core | train |
e46566e357a0e7bbfbc9871cc484dc864d9faaf9 | diff --git a/requirements.txt b/requirements.txt
index <HASH>..<HASH> 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -22,8 +22,7 @@ Mox>=0.5.3
pylint>=0.26.0
# Nose is used as top level test driver and reporting.
-nose>=1.2.1
-NoseXUnit>=0.3.3
+nose>=1.3.0
# DDT module for Data driven decorators. (we ex... | new NoseTest doesn't work with NoseXUnit. Using it's built in XML generation. | wiredrive_wtframework | train |
48058fc9f16e3619ffe935d5569aad273de81474 | diff --git a/lib/middleware/content/query.js b/lib/middleware/content/query.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/content/query.js
+++ b/lib/middleware/content/query.js
@@ -19,7 +19,9 @@ function query(kontx, next) {
}
if (options.sortBy && !_.isObject(options.sortBy)) {
+ console.log('... | Fixed bug with double callback and removed console.logs | grasshopper-cms_grasshopper-core-nodejs | train |
09d8aa306355206af744f930f519dcf887834286 | diff --git a/modules/oo/ezooimport.php b/modules/oo/ezooimport.php
index <HASH>..<HASH> 100644
--- a/modules/oo/ezooimport.php
+++ b/modules/oo/ezooimport.php
@@ -314,7 +314,7 @@ class eZOOImport
$archive->extract( PCLZIP_OPT_PATH, $uniqueImportDir );
}
- $fileName = $uniqueImportDir . "c... | - Fixed bug: Import not working due to wrong path to content.xml file
git-svn-id: <URL> | ezsystems_ezodf | train |
e46b3a75a8bcfd16571b447a755bde3a1a62dab6 | diff --git a/book/smoothing/offline_smoothing.py b/book/smoothing/offline_smoothing.py
index <HASH>..<HASH> 100644
--- a/book/smoothing/offline_smoothing.py
+++ b/book/smoothing/offline_smoothing.py
@@ -81,7 +81,8 @@ if __name__ == '__main__':
# FK model for information filter: same model with data in reverse
... | book/smoothing/offline_smoothing.py: increase number of runs, and N,
smal adjustments | nchopin_particles | train |
8859b80cbcd493b12e556a73ae01e91a5d12f190 | diff --git a/src/parser.js b/src/parser.js
index <HASH>..<HASH> 100644
--- a/src/parser.js
+++ b/src/parser.js
@@ -77,7 +77,8 @@ module.exports = function(engine) {
tokens.T_VARIABLE,
'$',
tokens.T_NS_SEPARATOR,
- tokens.T_STRING
+ tokens.T_STRING,
+ tokens.T_STATIC
... | fix T_STATIC on class usage (as a static variable getter/setter) | glayzzle_php-parser | train |
bd612da763288b38e611508ba475f3565777905e | diff --git a/underscore.function.iterators.js b/underscore.function.iterators.js
index <HASH>..<HASH> 100644
--- a/underscore.function.iterators.js
+++ b/underscore.function.iterators.js
@@ -90,9 +90,12 @@
}
else {
if (state === void 0) {
- return (state = element);
+ ... | Avoid JSHint warning W<I> in _.accumulate. | documentcloud_underscore-contrib | train |
68d956e1936ae0b9762b79591b64a69ccaed9940 | diff --git a/src/main/java/org/cp/elements/data/caching/Cache.java b/src/main/java/org/cp/elements/data/caching/Cache.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cp/elements/data/caching/Cache.java
+++ b/src/main/java/org/cp/elements/data/caching/Cache.java
@@ -29,6 +29,7 @@ import java.util.stream.StreamS... | Refactor o.c.e.data.caching.Cache to extend the o.c.e.lang.Nameable interface.
Correct improper usage of @NullSafe annotation on Cache operations. | codeprimate-software_cp-elements | train |
3ffad5f49a27d0968babaf96deafd454bf178879 | diff --git a/examples/core/aggregateByKey.js b/examples/core/aggregateByKey.js
index <HASH>..<HASH> 100755
--- a/examples/core/aggregateByKey.js
+++ b/examples/core/aggregateByKey.js
@@ -11,7 +11,7 @@ function reducer(a, b) {return a + b;}
function combiner(a, b) {return a + b;}
sc.parallelize(data, nPartitions)
- ... | aggregateByKey: change args order to match aggregate | skale-me_skale | train |
c336228dc94bb614ac6994e41e7c783b29f2f12d | diff --git a/lib/rib/runner.rb b/lib/rib/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/rib/runner.rb
+++ b/lib/rib/runner.rb
@@ -25,7 +25,32 @@ module Rib::Runner
['-c, --config FILE', 'Load config from FILE' ],
['-n, --no-config' , 'Suppress loading ~/.config/rib/config.rb'],
['-... | runner.rb: now we show commands and their descriptions | godfat_rib | train |
45ca588e44458648223b0c4c215d1860a8cf793f | diff --git a/src/test/php/ParseTest.php b/src/test/php/ParseTest.php
index <HASH>..<HASH> 100644
--- a/src/test/php/ParseTest.php
+++ b/src/test/php/ParseTest.php
@@ -452,7 +452,7 @@ class ParseTest extends \PHPUnit_Framework_TestCase
public function stringToClassConversions()
{
return [
- ... | don't use instance, will yield another result on HHVM | stubbles_stubbles-values | train |
8b3beded7546382d19610fbcc5f16e3cdfbce3c1 | diff --git a/src/main/java/com/redhat/contentspec/builder/JDocbookBuilder.java b/src/main/java/com/redhat/contentspec/builder/JDocbookBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/redhat/contentspec/builder/JDocbookBuilder.java
+++ b/src/main/java/com/redhat/contentspec/builder/JDocbookBuilder.java
@... | Added pom.xml override | pressgang-ccms_PressGangCCMSBuilder | train |
27157422ef9ee2419f3f900f2cd9776797180458 | diff --git a/Kwf/Model/Abstract.php b/Kwf/Model/Abstract.php
index <HASH>..<HASH> 100644
--- a/Kwf/Model/Abstract.php
+++ b/Kwf/Model/Abstract.php
@@ -731,13 +731,15 @@ abstract class Kwf_Model_Abstract implements Kwf_Model_Interface
return $this->countRows($s)+1;
} elseif ($expr instanceof Kwf_Mo... | age is now null, if the field is null | koala-framework_koala-framework | train |
f88976916dd8e2ce11df77f7068176c975035621 | diff --git a/Search/SearchProvider.php b/Search/SearchProvider.php
index <HASH>..<HASH> 100644
--- a/Search/SearchProvider.php
+++ b/Search/SearchProvider.php
@@ -48,14 +48,19 @@ class SearchProvider
*/
public function parse($pattern)
{
- $terms = array();
+ //reset must be extracted
+ ... | implements parsing of search pattern
refs #<I>
tests must be finished | Chill-project_Main | train |
64c2ca1dab03a1650e4cf1330bb3ee66bc491d84 | diff --git a/test/PHPUnitGenerator/CLI/ColoredPrinterTest.php b/test/PHPUnitGenerator/CLI/ColoredPrinterTest.php
index <HASH>..<HASH> 100644
--- a/test/PHPUnitGenerator/CLI/ColoredPrinterTest.php
+++ b/test/PHPUnitGenerator/CLI/ColoredPrinterTest.php
@@ -4,7 +4,6 @@ namespace Test\PHPUnitGenerator\CLI\ColoredPrinter;
... | Fix: Update tests to use Interface to mock | paul-thebaud_phpunit-generator | train |
2526ec166c8aaf38050d85f3712afda78f0e882e | diff --git a/modules/citrus-core/src/main/java/com/consol/citrus/actions/ExecuteSQLQueryAction.java b/modules/citrus-core/src/main/java/com/consol/citrus/actions/ExecuteSQLQueryAction.java
index <HASH>..<HASH> 100644
--- a/modules/citrus-core/src/main/java/com/consol/citrus/actions/ExecuteSQLQueryAction.java
+++ b/modu... | Improved SQL result set validation to also work with lower case column names used by postgresql | citrusframework_citrus | train |
97e41b1daaf181b5b823404a65108f333a48640b | diff --git a/seneca.js b/seneca.js
index <HASH>..<HASH> 100644
--- a/seneca.js
+++ b/seneca.js
@@ -534,7 +534,7 @@ function make_seneca( initial_options ) {
return self.die(error(err,plugin_err_code,plugin))
}
- if( so.debug.print.options ) {
+ if( so.debug.print && so.debug.print.op... | Fix Cannot read property options of undefined | senecajs_seneca | train |
27ce2e2882bd58485d4b55d49d7b8936f3ef1803 | diff --git a/spec/shoulda/independent/delegate_matcher_spec.rb b/spec/shoulda/independent/delegate_matcher_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/shoulda/independent/delegate_matcher_spec.rb
+++ b/spec/shoulda/independent/delegate_matcher_spec.rb
@@ -48,15 +48,21 @@ describe Shoulda::Matchers::Independent::Dele... | Clean up long lines in spec. | thoughtbot_shoulda-matchers | train |
56d47adf5b7673eee0f9ec3e036848c52c0bf7d8 | diff --git a/pyt/cfg.py b/pyt/cfg.py
index <HASH>..<HASH> 100644
--- a/pyt/cfg.py
+++ b/pyt/cfg.py
@@ -420,6 +420,12 @@ class CFG(ast.NodeVisitor):
self.nodes[-1].connect(n)
self.nodes.append(n)
+ def insert_function_body(self, node):
+ function_nodes = deepcopy(self.functions[node... | refactor insertion of the body of the called function to a method | python-security_pyt | train |
98250a167fba43736bde5875007b0cf9fee05257 | diff --git a/doc/changelog.rst b/doc/changelog.rst
index <HASH>..<HASH> 100644
--- a/doc/changelog.rst
+++ b/doc/changelog.rst
@@ -40,6 +40,9 @@ Bug Fixes
- Fixed all stats that compute kernel density estimates to work when all
the data points are the same. (:issue:`317`)
+- Fixed issue where setting the group to... | Fix manually setting group to a string
The problem was when the group aesthetic was set, we overrode any
potential mapping with the set value. We ended up processing the
set value as a mapping!
closes #<I> | has2k1_plotnine | train |
0bfa6ee8be869f1fc3ca37262db186442137d9b9 | diff --git a/reactor-core/src/main/java/reactor/core/publisher/FluxBufferTimeout.java b/reactor-core/src/main/java/reactor/core/publisher/FluxBufferTimeout.java
index <HASH>..<HASH> 100644
--- a/reactor-core/src/main/java/reactor/core/publisher/FluxBufferTimeout.java
+++ b/reactor-core/src/main/java/reactor/core/publis... | Fix a race in FluxBufferTimeout on flush. (#<I>)
On flush, values must be accessed inside a `synchronized` block to
avoid a race condition when `nextCallback` modifies the collection.
This makes it consistent with the rest of access to the variable.
Other operators do the same.
Fixes #<I>. | reactor_reactor-core | train |
a6cb5235ca3d37bae5ba1fe6978e31d6ebe0476a | diff --git a/lib/dm-core/property.rb b/lib/dm-core/property.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/property.rb
+++ b/lib/dm-core/property.rb
@@ -279,7 +279,7 @@ module DataMapper
attr_reader :primitive, :model, :name, :instance_variable_name,
:type, :reader_visibility, :writer_visibility, :gette... | Move unknown options to Property#other_options so adapters can use them for their own options in naming conventions | datamapper_dm-core | train |
4f2be93eb8f356c539750fdf299eb032d1a8ef68 | diff --git a/angr/engines/syscall.py b/angr/engines/syscall.py
index <HASH>..<HASH> 100644
--- a/angr/engines/syscall.py
+++ b/angr/engines/syscall.py
@@ -2,6 +2,8 @@ import logging
l = logging.getLogger("angr.engines.syscall")
from .engine import SimEngine
+from ..errors import AngrSyscallError
+
class SimEngineS... | Add a better error message when trying to do a syscall on an unsupported platform (nominally, windows); closes #<I> | angr_angr | train |
d8da5fa7575306e246311a51f59a2f419b02be5d | diff --git a/devices.js b/devices.js
index <HASH>..<HASH> 100755
--- a/devices.js
+++ b/devices.js
@@ -3816,7 +3816,7 @@ const devices = [
meta: {configureKey: 2},
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(1);
- await bind(endpoint,... | Adds 'haElectricalMeasurement' bind to HS2SK device configuration (#<I>) | Koenkk_zigbee-shepherd-converters | train |
67ad57376287335d1dd8d9b18e91ebaecb8c7e93 | diff --git a/src/commands.js b/src/commands.js
index <HASH>..<HASH> 100644
--- a/src/commands.js
+++ b/src/commands.js
@@ -1140,7 +1140,7 @@ module.exports = {
type: 'string',
},
},
- required: ['role_id', 'secret_id'],
+ required: ['role_id'],
},
res: approl... | secret_id is no longer required (#<I>)
Fixes #<I> | kr1sp1n_node-vault | train |
ec893510d0d71b5cb2b8c0f68560a666de964441 | diff --git a/src/main/java/com/hubspot/jinjava/lib/tag/SetTag.java b/src/main/java/com/hubspot/jinjava/lib/tag/SetTag.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/hubspot/jinjava/lib/tag/SetTag.java
+++ b/src/main/java/com/hubspot/jinjava/lib/tag/SetTag.java
@@ -64,6 +64,13 @@ import org.apache.commons.lang... | Add code snippet for set block | HubSpot_jinjava | train |
957f1e2efe328b59922703209fd3e99217749a93 | diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/nurserostering/domain/Shift.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/nurserostering/domain/Shift.java
index <HASH>..<HASH> 100644
--- a/optaplanner-examples/src/main/java/org/optaplanner/examples/nurserostering/domain/Shi... | Nurse rostering: explain what E, L, N, etc means | kiegroup_optaplanner | train |
59a42f910fc87dda5417b2ce04e438e7a587ccb4 | diff --git a/src/main/java/org/jenetics/NumberStatistics.java b/src/main/java/org/jenetics/NumberStatistics.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jenetics/NumberStatistics.java
+++ b/src/main/java/org/jenetics/NumberStatistics.java
@@ -52,6 +52,7 @@ public class NumberStatistics<
* Builder for the... | Add '@since <I>' tag to class comment. | jenetics_jenetics | train |
21108f93ece3ad04bea5151e231283d60279e637 | diff --git a/kie-server-parent/kie-server-tests/kie-server-integ-tests-common/src/main/java/org/kie/server/integrationtests/config/TestConfig.java b/kie-server-parent/kie-server-tests/kie-server-integ-tests-common/src/main/java/org/kie/server/integrationtests/config/TestConfig.java
index <HASH>..<HASH> 100644
--- a/kie... | Skip failing tests for MySQL and Maria DB | kiegroup_droolsjbpm-integration | train |
eb6a244043555014938976d0891293cf81427081 | diff --git a/tests/Keboola/StorageApi/ComponentsTest.php b/tests/Keboola/StorageApi/ComponentsTest.php
index <HASH>..<HASH> 100644
--- a/tests/Keboola/StorageApi/ComponentsTest.php
+++ b/tests/Keboola/StorageApi/ComponentsTest.php
@@ -522,13 +522,30 @@ class Keboola_StorageApi_ComponentsTest extends StorageApiTestCase
... | tests(configurations): test for update configuration without id | keboola_storage-api-php-client | train |
7c2fa9b9be995417cfad20d963ae5047219de033 | diff --git a/tests/test_osmnx.py b/tests/test_osmnx.py
index <HASH>..<HASH> 100644
--- a/tests/test_osmnx.py
+++ b/tests/test_osmnx.py
@@ -273,6 +273,13 @@ def test_buildings():
gdf = ox.buildings_from_address(address='600 Montgomery St, San Francisco, California, USA', distance=300)
fig, ax = ox.plot_buildin... | initial inclusion of footprints.py in test_osmnx.py | gboeing_osmnx | train |
668bbceac5d57ccc8b5fc99e732d4faa967f403b | diff --git a/lib/svtplay_dl/service/aftonbladet.py b/lib/svtplay_dl/service/aftonbladet.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/aftonbladet.py
+++ b/lib/svtplay_dl/service/aftonbladet.py
@@ -7,17 +7,15 @@ import json
from svtplay_dl.service import Service
from svtplay_dl.utils.text import decode_h... | aftonbladet: update so it works with the site again. | spaam_svtplay-dl | train |
fada493c6f5052ab3109deae37811b0985ea42a9 | diff --git a/lib/memcached.js b/lib/memcached.js
index <HASH>..<HASH> 100644
--- a/lib/memcached.js
+++ b/lib/memcached.js
@@ -192,15 +192,14 @@ Client.config = {
// or just gives all servers if we don't have keys
if (keys) {
keys.forEach(function fetchMultipleServers(key) {
- var fullkey = memc... | Make namespaces work properly with multi get. | 3rd-Eden_memcached | train |
4dfbe322444bc320bef7065e638ac12600bd279a | diff --git a/sign.go b/sign.go
index <HASH>..<HASH> 100644
--- a/sign.go
+++ b/sign.go
@@ -163,14 +163,19 @@ func (s *Service) writeSubResource(w io.Writer, r *http.Request) {
}
func writeAmzHeaders(w io.Writer, r *http.Request) {
- var a []string
- for k, v := range r.Header {
- k = strings.ToLower(k)
- if strin... | Fix signature sorting of common prefix keys.
The AwzHeaders need to be sorted by key, not
key+value. | kr_s3 | train |
af16ca177f0fbe3434b6f4ee0f536722e1983507 | diff --git a/rpc/client_test.go b/rpc/client_test.go
index <HASH>..<HASH> 100644
--- a/rpc/client_test.go
+++ b/rpc/client_test.go
@@ -380,7 +380,7 @@ func TestClientNotificationStorm(t *testing.T) {
}
doTest(8000, false)
- doTest(21000, true)
+ doTest(23000, true)
}
func TestClientHTTP(t *testing.T) { | rpc: raise limit in TestClientNotificationStorm (#<I>) | ethereum_go-ethereum | train |
3ddbe9adc43303c81da7b899944a322fb4304345 | diff --git a/chef/lib/chef/mixin/command.rb b/chef/lib/chef/mixin/command.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/mixin/command.rb
+++ b/chef/lib/chef/mixin/command.rb
@@ -21,6 +21,7 @@ require 'chef/exceptions'
require 'tmpdir'
require 'fcntl'
require 'etc'
+require 'io/wait'
class Chef
module Mixi... | Using IO.wait and IO.ready? to check on IO streams before we block on them, fixes CHEF-<I> | chef_chef | train |
2431ece72eed7023853c8115776e44d5d1f56109 | diff --git a/h2o-core/src/main/java/water/api/RapidsHandler.java b/h2o-core/src/main/java/water/api/RapidsHandler.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/api/RapidsHandler.java
+++ b/h2o-core/src/main/java/water/api/RapidsHandler.java
@@ -17,7 +17,7 @@ import java.util.ArrayList;
public c... | This might (or might not) resolve ReflectiveOperationException problems in J6 builds... | h2oai_h2o-3 | train |
30779256e31c9da33c9fa05961f4730240d4f06e | diff --git a/src/js/core.js b/src/js/core.js
index <HASH>..<HASH> 100644
--- a/src/js/core.js
+++ b/src/js/core.js
@@ -50,6 +50,9 @@ var tangelo = {};
var i;
for (i = 0; i < parts.length; i += 1) {
d = d[parts[i]];
+ if (d === undefined) {
+ ... | Return default value from accessor if field not present | Kitware_tangelo | train |
50479f70f3ac02461ed2edbc52c141d16b7d25c0 | diff --git a/Tests/bootstrap.php b/Tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/Tests/bootstrap.php
+++ b/Tests/bootstrap.php
@@ -13,3 +13,11 @@ $loader->add('Symfony\Tests', __DIR__.'/../vendor/symfony/symfony/tests/');
use Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver;
AnnotationDriver::registerA... | Drop doctrine DB after test suite (fixes #<I>)
Restoring this behavior, which was originally added in <I>eb<I>b1f<I>ddd<I>d3c<I>cd<I>f<I>. | doctrine_DoctrineMongoDBBundle | train |
c063870d33797b0347859e469494c329a907196c | diff --git a/test/base/module/Buttons.spec.js b/test/base/module/Buttons.spec.js
index <HASH>..<HASH> 100644
--- a/test/base/module/Buttons.spec.js
+++ b/test/base/module/Buttons.spec.js
@@ -19,6 +19,12 @@ describe('Buttons', () => {
var assert = chai.assert;
var context, $toolbar, $editable;
+ before(function... | Add a short delay before running the first test to prevent irrelevant errors | summernote_summernote | train |
4fd82ac5d8cbbefa131750020f74feb456b0c874 | diff --git a/WSDiscovery.py b/WSDiscovery.py
index <HASH>..<HASH> 100755
--- a/WSDiscovery.py
+++ b/WSDiscovery.py
@@ -407,7 +407,7 @@ def getDocAsString(doc):
outStr = ""
stream = io.StringIO(outStr)
stream.write(doc.toprettyxml())
- return stream.getvalue()
+ return stream.getvalue().encode('UTF-... | Minor changes to getDocAsString, removed pdb stuff | andreikop_python-ws-discovery | train |
c60b103f117b94e6ff97876f3a02f52a6ade3f3a | diff --git a/src/main/java/gwt/material/design/addins/client/combobox/MaterialComboBox.java b/src/main/java/gwt/material/design/addins/client/combobox/MaterialComboBox.java
index <HASH>..<HASH> 100644
--- a/src/main/java/gwt/material/design/addins/client/combobox/MaterialComboBox.java
+++ b/src/main/java/gwt/material/d... | Combobox - reverted | GwtMaterialDesign_gwt-material-addins | train |
80a1847604fdd23fe7d85e5cf9a2aae4932489fe | diff --git a/src/ProductDetail/ProductDetailViewSnippetRenderer.php b/src/ProductDetail/ProductDetailViewSnippetRenderer.php
index <HASH>..<HASH> 100644
--- a/src/ProductDetail/ProductDetailViewSnippetRenderer.php
+++ b/src/ProductDetail/ProductDetailViewSnippetRenderer.php
@@ -64,7 +64,7 @@ class ProductDetailViewSnip... | Issue #<I>: Fix typo in method name | lizards-and-pumpkins_catalog | train |
b14b18e181a2ef08f6b06aa7af14c6e7d6059a3b | diff --git a/locking/api.go b/locking/api.go
index <HASH>..<HASH> 100644
--- a/locking/api.go
+++ b/locking/api.go
@@ -39,8 +39,8 @@ type lockResponse struct {
// Message is the optional error that was encountered while trying to create
// the above lock.
Message string `json:"message,omitempty"`
- Docum... | locking: rename properties to satisfy 'go vet' | git-lfs_git-lfs | train |
9cd548a41a85cff0a7d0a49862369e843ce6689f | diff --git a/shap/plots/summary.py b/shap/plots/summary.py
index <HASH>..<HASH> 100644
--- a/shap/plots/summary.py
+++ b/shap/plots/summary.py
@@ -77,6 +77,15 @@ def summary_plot(shap_values, features=None, feature_names=None, max_display=Non
num_features = (shap_values[0].shape[1] if multi_class else shap_value... | Add shape alignment check
Addresses #<I> | slundberg_shap | train |
5278b2e11d97c9937158c4890692c0b2d7258de3 | diff --git a/client/lib/safe-image-url/index.js b/client/lib/safe-image-url/index.js
index <HASH>..<HASH> 100644
--- a/client/lib/safe-image-url/index.js
+++ b/client/lib/safe-image-url/index.js
@@ -75,6 +75,11 @@ export default function safeImageUrl( url ) {
// If it's just size parameters, let's remove them
SIZ... | Reader: drop authuser=0 from image URLs before passing to Photon (#<I>) | Automattic_wp-calypso | train |
42b54157e9d1061cb688d5160e8e0e496aa4855b | diff --git a/src/main/java/org/springframework/social/twitter/TwitterTemplate.java b/src/main/java/org/springframework/social/twitter/TwitterTemplate.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/springframework/social/twitter/TwitterTemplate.java
+++ b/src/main/java/org/springframework/social/twitter/Twitte... | Fixed retweet URL...http to https | spring-projects_spring-social-facebook | train |
ca11f84d23b13c3eef762f4e65909245e1fd8143 | diff --git a/pyramid_orb/utils.py b/pyramid_orb/utils.py
index <HASH>..<HASH> 100644
--- a/pyramid_orb/utils.py
+++ b/pyramid_orb/utils.py
@@ -100,11 +100,27 @@ def get_context(request, model=None):
'request': request
}
- # include any request specific scoping information
+ # include any request s... | allowing default context information vs. just scope, this will allow for returning locale | orb-framework_pyramid_orb | train |
620e8630af9e7f55b8bc8022df09ed17982fe3d4 | diff --git a/jbehave-core/src/test/java/org/jbehave/core/embedder/EmbedderClassLoaderBehaviour.java b/jbehave-core/src/test/java/org/jbehave/core/embedder/EmbedderClassLoaderBehaviour.java
index <HASH>..<HASH> 100755
--- a/jbehave-core/src/test/java/org/jbehave/core/embedder/EmbedderClassLoaderBehaviour.java
+++ b/jbeh... | JBEHAVE-<I> Fix all violations of Checkstyle rule GenericWhitespace | jbehave_jbehave-core | train |
e03fffe9322852b1241f42e205af58fd91508d26 | diff --git a/src/WebPConvert.php b/src/WebPConvert.php
index <HASH>..<HASH> 100644
--- a/src/WebPConvert.php
+++ b/src/WebPConvert.php
@@ -6,6 +6,7 @@ namespace WebPConvert;
use WebPConvert\Convert\Converters\Stack;
//use WebPConvert\Serve\ServeExistingOrHandOver;
use WebPConvert\Convert\ConverterFactory;
+use WebPC... | Added converter "option" definition #<I> | rosell-dk_webp-convert | train |
f80b6586eee25e5c4412262266c8fa7d27efe24b | diff --git a/src/Drupal/Driver/Cores/Drupal7.php b/src/Drupal/Driver/Cores/Drupal7.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/Driver/Cores/Drupal7.php
+++ b/src/Drupal/Driver/Cores/Drupal7.php
@@ -29,8 +29,10 @@ class Drupal7 implements CoreInterface {
}
// Bootstrap Drupal.
+ $current_path = getcw... | Issue #<I> by eliza<I>: Unable to run a single .feature without specifying full path. | jhedstrom_DrupalDriver | train |
717ba671c1c5fcab32220af3e3399d048ba94aa5 | diff --git a/domain-management/src/main/java/org/jboss/as/domain/management/parsing/ManagementXml.java b/domain-management/src/main/java/org/jboss/as/domain/management/parsing/ManagementXml.java
index <HASH>..<HASH> 100644
--- a/domain-management/src/main/java/org/jboss/as/domain/management/parsing/ManagementXml.java
+... | [WFLY-<I>] Port changes to version 3 of the schema instead of version <I>
was: <I>d<I>e<I>f5c<I>ba<I>b7df<I>bc<I> | wildfly_wildfly-core | train |
13ca1117ad7bea1c930d9178ff41d04b339bfd72 | diff --git a/uncompyle6/parsers/parse3.py b/uncompyle6/parsers/parse3.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/parse3.py
+++ b/uncompyle6/parsers/parse3.py
@@ -166,6 +166,7 @@ class Python3Parser(PythonParser):
# ifstmts where we are in a loop
_ifstmts_jumpl ::= _ifstmts_jump
... | 3.x "if" in loop grammar separation | rocky_python-uncompyle6 | train |
8936daab5e9aacdb1f6bb8c2b512235e4b5310ac | diff --git a/libnetwork/networkdb/cluster.go b/libnetwork/networkdb/cluster.go
index <HASH>..<HASH> 100644
--- a/libnetwork/networkdb/cluster.go
+++ b/libnetwork/networkdb/cluster.go
@@ -14,7 +14,7 @@ import (
"github.com/hashicorp/memberlist"
)
-const reapInterval = 2 * time.Second
+const reapInterval = 30 * time... | Retain deleted entries for longer time
When deleting entries or when learning about deleted entries remember
then for a longer time to avoid excessive delete duplicates in the
gossip cluster. Also added code changes to ignore event messages
originated from the source node so that it doesn't get added into the
rebroadc... | moby_moby | train |
e52ec0f7a2b6eb303ba6b87bbc47fe118dab6c66 | diff --git a/src/ol/interaction/draginteraction.js b/src/ol/interaction/draginteraction.js
index <HASH>..<HASH> 100644
--- a/src/ol/interaction/draginteraction.js
+++ b/src/ol/interaction/draginteraction.js
@@ -111,7 +111,7 @@ ol.interaction.Drag.prototype.handleMapBrowserEvent =
this.deltaY = 0;
this.startCe... | Fix non-view-related typecasts in interactions | openlayers_openlayers | train |
d8780229f022c71512b8d2d3ceccace200bcc3c5 | diff --git a/src/com/opera/core/systems/scope/services/ums/EcmascriptService.java b/src/com/opera/core/systems/scope/services/ums/EcmascriptService.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/scope/services/ums/EcmascriptService.java
+++ b/src/com/opera/core/systems/scope/services/ums/EcmascriptSe... | Fix ES service listFramePaths() to only list frames in the active window
Code ported from Ecmascript Debugger. | operasoftware_operaprestodriver | train |
2f6aa16e20775ec3fa57c50ae09f3c082db14e99 | diff --git a/tests/SagFileCacheTest.php b/tests/SagFileCacheTest.php
index <HASH>..<HASH> 100644
--- a/tests/SagFileCacheTest.php
+++ b/tests/SagFileCacheTest.php
@@ -29,6 +29,8 @@ class SagFileTest extends PHPUnit_Framework_TestCase
public function test_createNew()
{
+ $prevSize = $this->cache->getUsage();
... | Fixing file cache test to not assume that there were no previously cached files. | sbisbee_sag | train |
63c3c8778a9bba1633eb31e7a39b61bd2907b91f | diff --git a/simuvex/s_irsb.py b/simuvex/s_irsb.py
index <HASH>..<HASH> 100644
--- a/simuvex/s_irsb.py
+++ b/simuvex/s_irsb.py
@@ -70,7 +70,7 @@ class SimIRSB(SimRun):
self.handle_irsb()
def __repr__(self):
- return "IRSB 0x%08x" % (self.first_imark.addr)
+ return "<SimIRSB at 0x%08x>" % self.first_imark.addr
... | changed the __repr__ to be more nestable | angr_angr | train |
d6b7655aabe99b01e5df527b26dd39c84566c684 | diff --git a/example/test_example_app.py b/example/test_example_app.py
index <HASH>..<HASH> 100644
--- a/example/test_example_app.py
+++ b/example/test_example_app.py
@@ -27,7 +27,7 @@ class TestExampleApp(object):
}
USER_ID = 'user1'
- @pytest.fixture('session', autouse=True)
+ @pytest.fixture(scope=... | Fix tests to work with pytest 6. (#<I>) | zamzterz_Flask-pyoidc | train |
80b4c362021f685e25808a190fa8f192720447d9 | diff --git a/plugin-babel.js b/plugin-babel.js
index <HASH>..<HASH> 100644
--- a/plugin-babel.js
+++ b/plugin-babel.js
@@ -127,7 +127,7 @@ exports.translate = function(load, traceOpts) {
load.source = 'import babelHelpers from "' + externalHelpersPath + '";' + load.source;
presets.push(externalHelpers);... | only compute source maps in builder when enabled | systemjs_plugin-babel | train |
71ec7873e2c5fb9b8665b3e0934fb3bc44f961c2 | diff --git a/addict/addict.py b/addict/addict.py
index <HASH>..<HASH> 100644
--- a/addict/addict.py
+++ b/addict/addict.py
@@ -104,8 +104,8 @@ class Dict(dict):
other.update(kwargs)
for k, v in other.items():
if ((k not in self) or
- (not isinstance(self[k], dict)) or
-... | revert `addict.py` <I> and <I> line | mewwts_addict | train |
615787a16c6d2fe45dd82606ff664098407decbe | diff --git a/examples/bridge-outdial.js b/examples/bridge-outdial.js
index <HASH>..<HASH> 100644
--- a/examples/bridge-outdial.js
+++ b/examples/bridge-outdial.js
@@ -48,14 +48,16 @@ app.connect(dConfig)
}) ;
var ms ;
-mrf.connect(mConfig, function(mediaserver) {
- ms = mediaserver ;
- console.log('successfully c... | Mrf#connect now takes an error callback rather than firing an error -- the latter approach caused memory leak as listeners were added for each call to connect | davehorton_drachtio-fsmrf | train |
2c9a6caa80d536989ffdf31dafddc3f70238a37c | diff --git a/Calculator/SalesSummaryCalculator.php b/Calculator/SalesSummaryCalculator.php
index <HASH>..<HASH> 100644
--- a/Calculator/SalesSummaryCalculator.php
+++ b/Calculator/SalesSummaryCalculator.php
@@ -14,8 +14,8 @@ namespace WellCommerce\Bundle\ReportBundle\Calculator;
use DateTime;
use Doctrine\Common\Co... | Fixed dashboard
(cherry picked from commit aff<I>c<I>d<I>e4c<I>da<I>f7f1db9) | WellCommerce_CouponBundle | train |
3cb47b9e71822854992d912bad1a147c4acc2534 | diff --git a/client/lib/post-normalizer/utils.js b/client/lib/post-normalizer/utils.js
index <HASH>..<HASH> 100644
--- a/client/lib/post-normalizer/utils.js
+++ b/client/lib/post-normalizer/utils.js
@@ -147,6 +147,7 @@ export function iframeIsWhitelisted( iframe ) {
'archive.org',
'codepen.io',
'www.audiomack.... | Whitelist theplatform.com video player as used by blackamericaweb.com vip (#<I>) | Automattic_wp-calypso | train |
37b6f41d186033bab02137e22bf5cab3047f27b0 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -17,6 +17,17 @@ function getProduct(permalink, callback) {
var url = urlHelper.getProductUrl(permalink);
createRequest(url, callback);
}
+
+function getPeople(page, callback){
+ var url = urlHelper.getPeopleUrl(page);
... | Richard - add person and people api | Coding-House_crunchbase2 | train |
21ee0af88abd4964ba13aa4f62c0967d5aa020d5 | diff --git a/src/virtual_elements.js b/src/virtual_elements.js
index <HASH>..<HASH> 100644
--- a/src/virtual_elements.js
+++ b/src/virtual_elements.js
@@ -163,7 +163,8 @@ const attr = function(name, value) {
assertInAttributes('attr');
}
- argsBuilder.push(name, value);
+ argsBuilder.push(name);
+ argsBuil... | Use two consecutive pushes
Push with more than one item is actually slower than just call push a
bunch of times. Go figure. | google_incremental-dom | train |
8d0e101ed3818a90a3754836d6af30585cb39143 | diff --git a/biz/index.js b/biz/index.js
index <HASH>..<HASH> 100644
--- a/biz/index.js
+++ b/biz/index.js
@@ -35,7 +35,8 @@ module.exports = function(req, res, next) {
isWebUI = false;
}
if (proxyUrl) {
- proxyUrl = rules.resolveProxy(fullUrl);
+ req.curUrl = fullUrl;
+ prox... | refactor: resolveProxy | avwo_whistle | train |
5e5b33e556d413aa7380aca4aa1ab1a9dde2a05b | diff --git a/py/testdir_multi_jvm/test_summary_percentile_hosts.py b/py/testdir_multi_jvm/test_summary_percentile_hosts.py
index <HASH>..<HASH> 100644
--- a/py/testdir_multi_jvm/test_summary_percentile_hosts.py
+++ b/py/testdir_multi_jvm/test_summary_percentile_hosts.py
@@ -98,10 +98,10 @@ class Basic(unittest.TestCase... | allow a larger delta in the mean comparison | h2oai_h2o-2 | train |
1ec73020be1c5455fea7241a91711e76dda83e28 | diff --git a/src/android/com/mbppower/CameraActivity.java b/src/android/com/mbppower/CameraActivity.java
index <HASH>..<HASH> 100644
--- a/src/android/com/mbppower/CameraActivity.java
+++ b/src/android/com/mbppower/CameraActivity.java
@@ -448,11 +448,10 @@ class Preview extends RelativeLayout implements SurfaceHolder.C... | changed order in setCamera | cordova-plugin-camera-preview_cordova-plugin-camera-preview | train |
64ff876bae7977cc804e5ad01b36e99b0e321378 | diff --git a/test/unit/sites/amazon-test.js b/test/unit/sites/amazon-test.js
index <HASH>..<HASH> 100644
--- a/test/unit/sites/amazon-test.js
+++ b/test/unit/sites/amazon-test.js
@@ -78,7 +78,14 @@ describe('The Amazon Site', () => {
should(priceFound).equal(-1);
});
- it('should return the categ... | Add unit test for category in breadcrums | dylants_price-finder | train |
acb40323b749268ada3177bcd9c2691fa4b41735 | diff --git a/waldo/contrib/config.py b/waldo/contrib/config.py
index <HASH>..<HASH> 100644
--- a/waldo/contrib/config.py
+++ b/waldo/contrib/config.py
@@ -27,7 +27,7 @@ Example test.py file:
def main(argv):
- """Test."""
+ '''Test.'''
options = [
config.Option("xpos",
... | Revert some usage of dict.get() | rackerlabs_simpl | train |
54dadb24c95781a41dd0ac3277f12afaad151d0b | diff --git a/lucene/lucene-directory/src/main/java/org/infinispan/lucene/impl/DirectoryLuceneV4.java b/lucene/lucene-directory/src/main/java/org/infinispan/lucene/impl/DirectoryLuceneV4.java
index <HASH>..<HASH> 100644
--- a/lucene/lucene-directory/src/main/java/org/infinispan/lucene/impl/DirectoryLuceneV4.java
+++ b/l... | ISPN-<I> Now using @Override for methods which couldn't be marked properly before | infinispan_infinispan | train |
7d5185cac23b9776a35194750fa4b71f3eaa2550 | diff --git a/src/edeposit/amqp/ftp/structures.py b/src/edeposit/amqp/ftp/structures.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/ftp/structures.py
+++ b/src/edeposit/amqp/ftp/structures.py
@@ -3,13 +3,14 @@
#
# Interpreter version: python 2.7
#
-#= Imports ==================================================... | Added SetUserSettings, GetUserSettings and UserSettings structures. | edeposit_edeposit.amqp.ftp | train |
003660f385f13ba81ac82e611b83262aaf724f7e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup(
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
namespace_packages=['sorna'],
- install_requires=['simplejson', 'pyzmq'],
+ install_requires=['simplejson', 'pyzmq', 'aioht... | Add aiohttp to requirements as sorna.utils use it. | lablup_backend.ai-common | train |
3bd12dee839a3fa3bd15750299d2008912538190 | diff --git a/udiskie/automount.py b/udiskie/automount.py
index <HASH>..<HASH> 100644
--- a/udiskie/automount.py
+++ b/udiskie/automount.py
@@ -3,7 +3,7 @@ Udiskie automounter daemon.
"""
__all__ = ['AutoMounter']
-class AutoMounter:
+class AutoMounter(object):
"""
Automatically mount newly added media.
... | Migrate to new-style classes
Old-style classes have deficits when it comes to using descriptors.
There is no real advantage to using old-style classes anyway, so let's
stop using them before it bites us in the foot! | coldfix_udiskie | train |
460ea4e809d249ae69f2f0ea6f4574310ed7d9ae | diff --git a/src/ol/interaction/modifyinteraction.js b/src/ol/interaction/modifyinteraction.js
index <HASH>..<HASH> 100644
--- a/src/ol/interaction/modifyinteraction.js
+++ b/src/ol/interaction/modifyinteraction.js
@@ -909,8 +909,9 @@ ol.interaction.Modify.prototype.removePoint = function() {
ol.interaction.Modify.pro... | Return if a vertex was removed in ol.interaction.Modify#removeVertex_ | openlayers_openlayers | train |
562a500116413034ad649387afcde537ff6f86ee | diff --git a/config/config_test.go b/config/config_test.go
index <HASH>..<HASH> 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -32,13 +32,11 @@ var _ = Describe("Config", func() {
})
flags.Parse([]string{
- fmt.Sprintf("-configPath=%s", "../example-config.yml"),
+ "-configPath=../exam... | Removed dangerous fmt references | cloudfoundry_mariadb_ctrl | train |
5013859eb877d84fce87c97136b8adfae4bd24f5 | diff --git a/scripts/install-dependencies.rb b/scripts/install-dependencies.rb
index <HASH>..<HASH> 100755
--- a/scripts/install-dependencies.rb
+++ b/scripts/install-dependencies.rb
@@ -59,9 +59,8 @@ def install_map(group_id, artifact_id, api, revision)
puts "Make sure that 'Google APIs' is up to date in the SDK ... | Fix install-dependencies.rb maps version
The correct version string should look like "<I>_r4", not just "4".
This bug was introduced in bf4f3aa (issue #<I> / PR #<I>) by accident.
Note that this also intentionally uses #{revision} instead of
the shell version did. (This resulted in the previous version actually
tryi... | robolectric_robolectric | train |
1c9b8b4191390b5024596bbe15d657b3bf84eb78 | diff --git a/release-log.txt b/release-log.txt
index <HASH>..<HASH> 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
ALL CHANGES:
+ATLAS-861 1 table out of 50,000 tables is left unimported throwing exception during deserialization (sumasai via shwethags)
ATLAS-1065 UI: Full... | ATLAS-<I> 1 table out of <I>,<I> tables is left unimported throwing exception during deserialization (sumasai via shwethags) | apache_incubator-atlas | train |
1b8b46d2b6e7dc7a4279232460b2a2cb00b934c7 | diff --git a/vm/src/Table.js b/vm/src/Table.js
index <HASH>..<HASH> 100644
--- a/vm/src/Table.js
+++ b/vm/src/Table.js
@@ -20,6 +20,14 @@ luajs.Table = function (obj) {
value,
i;
+ this.__luajs = {
+ type: 'table',
+ index: ++luajs.Table.count,
+ keys: [],
+ values: [],
+ numValues: [undefined]
+ };
+
f... | Bugfix in Table constructor. Now populates numerical indexes in the correct fashion. | gamesys_moonshine | train |
a8dd06016b4f2e5569484a51990cb09e45dd96da | diff --git a/gui/src/main/java/org/jboss/as/console/client/core/gin/CoreUIModule.java b/gui/src/main/java/org/jboss/as/console/client/core/gin/CoreUIModule.java
index <HASH>..<HASH> 100644
--- a/gui/src/main/java/org/jboss/as/console/client/core/gin/CoreUIModule.java
+++ b/gui/src/main/java/org/jboss/as/console/client/... | revert to real security framework imll | hal_core | train |
630b64f6ce0934bef52d889d489a335843cb56f3 | diff --git a/app/lookups/base.py b/app/lookups/base.py
index <HASH>..<HASH> 100644
--- a/app/lookups/base.py
+++ b/app/lookups/base.py
@@ -1,5 +1,5 @@
-from app.lookups.sqlite import proteingroups, quant, searchspace, \
- biosets, spectra
+from app.lookups.sqlite import (proteingroups, quant, searchspace,
+ ... | Started on lookup for quanted proteins | glormph_msstitch | train |
c3998391a3d1b7f6296f562a21906a4368dd6404 | diff --git a/lib/adocker_node.js b/lib/adocker_node.js
index <HASH>..<HASH> 100644
--- a/lib/adocker_node.js
+++ b/lib/adocker_node.js
@@ -8,7 +8,7 @@
'use strict'
const {
- logs, run, exec
+ logs, run, exec, build
} = require('adocker/commands')
const path = require('path')
@@ -28,9 +28,11 @@ function adocke... | Version incremented to <I> | a-labo_adocker-node | train |
ae6ef39a69e6b454408a08b50df6a784a12df8c6 | diff --git a/library/src/main/java/android/transitions/everywhere/utils/ViewGroupUtils.java b/library/src/main/java/android/transitions/everywhere/utils/ViewGroupUtils.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/android/transitions/everywhere/utils/ViewGroupUtils.java
+++ b/library/src/main/java/androi... | create FIELD_LAYOUT_SUPPRESSED only by demands | andkulikov_Transitions-Everywhere | train |
08c61bcc5e56024f60a84af57c3491e1857dd61f | diff --git a/pyani/anim.py b/pyani/anim.py
index <HASH>..<HASH> 100644
--- a/pyani/anim.py
+++ b/pyani/anim.py
@@ -135,7 +135,9 @@ def get_version(nucmer_exe: Path = pyani_config.NUCMER_DEFAULT) -> str:
# version information appears in different places for
# different nucmer releases
if result.stderr: #... | Pass both stdout and stderr to the regex version search | widdowquinn_pyani | train |
71cdc3035ad224f33df3fa961e48103e68da394f | diff --git a/lib/datasets/wine.rb b/lib/datasets/wine.rb
index <HASH>..<HASH> 100644
--- a/lib/datasets/wine.rb
+++ b/lib/datasets/wine.rb
@@ -11,13 +11,13 @@ module Datasets
:alcalinity_of_ash,
:n_magnesiums,
:total_phenols,
- ... | Use total_ for "the total amount of" data | red-data-tools_red-datasets | train |
86f78afcca4d2b58ad6bcf6c53b20bef3a67521a | diff --git a/asv_bench/benchmarks/panel_ctor.py b/asv_bench/benchmarks/panel_ctor.py
index <HASH>..<HASH> 100644
--- a/asv_bench/benchmarks/panel_ctor.py
+++ b/asv_bench/benchmarks/panel_ctor.py
@@ -1,65 +1,56 @@
-from .pandas_vb_common import *
-from datetime import timedelta
+from datetime import datetime, timedelta
... | CLN: ASV panel ctor (#<I>) | pandas-dev_pandas | train |
e68f5cbdc653e58d684b6ea88e06f5738131a155 | diff --git a/lib/object.js b/lib/object.js
index <HASH>..<HASH> 100644
--- a/lib/object.js
+++ b/lib/object.js
@@ -140,6 +140,7 @@ newObject.filterOut = function(callback)
newObject.renameProperties = function(mappingObject)
{
var self = this;
+
newObject.forEach.call(mappingObject, function(newPropertyName, old... | Return self from renameProperties for chaining | alexfernandez_prototypes | train |
4c6f530c80a0f1f0ac843c224ce7ef96e3a0158a | diff --git a/Request.php b/Request.php
index <HASH>..<HASH> 100644
--- a/Request.php
+++ b/Request.php
@@ -193,10 +193,7 @@ class Request {
curl_setopt($ch, CURLOPT_TIMEOUT, $this->requestTimeout);
$ret = curl_exec($ch);
-
- $headerSize = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
- $this->responseHeader = trim... | Sometimes curl_getinfo CURLINFO_HEADER_SIZE fails to return the correct header size, this way header/body split is done correctly | jejem_http-client | train |
92bf49a2524b9c01342b9f3506c0b5fb3bb5d7b8 | diff --git a/bin/cmd.js b/bin/cmd.js
index <HASH>..<HASH> 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -434,38 +434,37 @@ function runDownload (torrentId) {
if (playerName) torrent.files[index].select()
if (argv.stdout) torrent.files[index].createReadStream().pipe(process.stdout)
- var cmd
if (argv.v... | Don't run "on-done" hook when player command returns | webtorrent_webtorrent-cli | train |
81f5007583da0f479cc008cbcaf08f60fdc510d6 | diff --git a/lib/EarthIT/CMIPREST/RESTer.php b/lib/EarthIT/CMIPREST/RESTer.php
index <HASH>..<HASH> 100644
--- a/lib/EarthIT/CMIPREST/RESTer.php
+++ b/lib/EarthIT/CMIPREST/RESTer.php
@@ -512,39 +512,7 @@ class EarthIT_CMIPREST_RESTer
$obj = $this->storage->getItem($resourceClass, $itemId);
return $obj === null ? ... | Fix RESTer DELETE handling to use Storage. | EarthlingInteractive_PHPCMIPREST | train |
e75d0228cc80b5f8ec1ff685b38ed31ad4c59b9b | diff --git a/container_linux.go b/container_linux.go
index <HASH>..<HASH> 100644
--- a/container_linux.go
+++ b/container_linux.go
@@ -356,10 +356,21 @@ func (c *linuxContainer) Restore(process *Process) error {
if err := cmd.Start(); err != nil {
return err
}
+
+ // cmd.Wait() waits cmd.goroutines which are use... | cr: wait the criu process properly | opencontainers_runc | train |
d9520cf1176b85756da9a9051bf956d4d5332bc5 | diff --git a/tests/factories.php b/tests/factories.php
index <HASH>..<HASH> 100644
--- a/tests/factories.php
+++ b/tests/factories.php
@@ -1,4 +1,5 @@
<?php
+
use League\FactoryMuffin\Facade\FactoryMuffin;
FactoryMuffin::define('League\FactoryMuffin\Test\SampleModelWithValidationErrors', array());
@@ -9,55 +10,53 ... | Tweaked the cs of the factories file | thephpleague_factory-muffin | train |
e1e9a855858f29c1642c9a2b553025406a5f8780 | diff --git a/pgpy/packet/keyfields.py b/pgpy/packet/keyfields.py
index <HASH>..<HASH> 100644
--- a/pgpy/packet/keyfields.py
+++ b/pgpy/packet/keyfields.py
@@ -95,8 +95,8 @@ class MPIFields(object):
return _bytes
def reset(self):
- for k in self.privfields:
- eval('del self.{k}'.format(... | finished refactoring MPIFields | SecurityInnovation_PGPy | train |
deaaabf0faa788a5e8929b6a687192d58b99953b | diff --git a/lib/yard/templates/helpers/html_helper.rb b/lib/yard/templates/helpers/html_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/templates/helpers/html_helper.rb
+++ b/lib/yard/templates/helpers/html_helper.rb
@@ -8,14 +8,28 @@ module YARD
SimpleMarkupHtml = RDoc::Markup::ToHtml.new rescue S... | Fix problem with fix_typewriter and document some methods | lsegal_yard | train |
f3b64c62315ddb5eb705e7a29c1a435b57140b56 | diff --git a/lib/kafka/statsd.rb b/lib/kafka/statsd.rb
index <HASH>..<HASH> 100644
--- a/lib/kafka/statsd.rb
+++ b/lib/kafka/statsd.rb
@@ -129,7 +129,7 @@ module Kafka
topic = event.payload.fetch(:topic)
partition = event.payload.fetch(:partition)
- histogram("consumer.#{client}.#{group_id}.#... | Use a counter, since there's no histograms in standard Statsd | zendesk_ruby-kafka | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.