hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
c0bb9519cb5a0eb39160a5e4670454be30c86247 | diff --git a/addon/components/bs-datetimepicker.js b/addon/components/bs-datetimepicker.js
index <HASH>..<HASH> 100644
--- a/addon/components/bs-datetimepicker.js
+++ b/addon/components/bs-datetimepicker.js
@@ -84,7 +84,7 @@ export default Component.extend({
});
this.addObserver('locale', function() {
- ... | Call the appropriate method to change the locale | btecu_ember-cli-bootstrap-datetimepicker | train |
d48e93736e5336870d56c802f2e7ae89b98006f4 | diff --git a/spaceship/lib/spaceship/tunes/tunes_client.rb b/spaceship/lib/spaceship/tunes/tunes_client.rb
index <HASH>..<HASH> 100644
--- a/spaceship/lib/spaceship/tunes/tunes_client.rb
+++ b/spaceship/lib/spaceship/tunes/tunes_client.rb
@@ -111,6 +111,30 @@ module Spaceship
send_shared_login_request(user, pass... | Find nested errors messages (#<I>)
Responses sometimes come with nest error messages
This should fix #<I> | fastlane_fastlane | train |
6d6152d0d74319d1135e62ef426fcf473b744b90 | diff --git a/pkg/sdn/plugin/pod_unsupported.go b/pkg/sdn/plugin/pod_unsupported.go
index <HASH>..<HASH> 100644
--- a/pkg/sdn/plugin/pod_unsupported.go
+++ b/pkg/sdn/plugin/pod_unsupported.go
@@ -10,7 +10,7 @@ import (
"github.com/openshift/origin/pkg/sdn/plugin/cniserver"
)
-func (m *podManager) setup(req *cniserv... | Fix cross-platform compile of pod manager | openshift_origin | train |
3aebce7dc9804c601ebd10c925ee7b06c223f467 | diff --git a/mardao-gae/src/main/java/net/sf/mardao/core/dao/TypeDaoImpl.java b/mardao-gae/src/main/java/net/sf/mardao/core/dao/TypeDaoImpl.java
index <HASH>..<HASH> 100644
--- a/mardao-gae/src/main/java/net/sf/mardao/core/dao/TypeDaoImpl.java
+++ b/mardao-gae/src/main/java/net/sf/mardao/core/dao/TypeDaoImpl.java
@@ -7... | Removing sort order for whatsDeleted(since) | sosandstrom_mardao | train |
9b04790cb33a59e37e0a6d1a1e03f8cdd72a5af5 | diff --git a/Decorators/ExtraLazyResponseCollection.php b/Decorators/ExtraLazyResponseCollection.php
index <HASH>..<HASH> 100644
--- a/Decorators/ExtraLazyResponseCollection.php
+++ b/Decorators/ExtraLazyResponseCollection.php
@@ -26,6 +26,14 @@ final class ExtraLazyResponseCollection implements \IteratorAggregate, Res... | Fix inner collection matching [scrutinizer] (#8) | scaytrase_rpc-common | train |
a0bc5f0e7885a3be6739cf794616bbaa988179c8 | diff --git a/js/cbrowser.js b/js/cbrowser.js
index <HASH>..<HASH> 100644
--- a/js/cbrowser.js
+++ b/js/cbrowser.js
@@ -133,7 +133,7 @@ Browser.prototype.realInit = function() {
thisB.resizeViewer();
}, false);
- this.ruler = makeElement('div', null, null, {width: '1px', height: '2000px', backgroundCo... | Fix ruler z-index to play nicer with Bootstrap. | dasmoth_dalliance | train |
f9f1ad2e0cc61fb5d5040d5259247cd98f7dcaad | diff --git a/vault/core.go b/vault/core.go
index <HASH>..<HASH> 100644
--- a/vault/core.go
+++ b/vault/core.go
@@ -672,14 +672,29 @@ func (c *Core) handleLoginRequest(req *logical.Request) (*logical.Response, *log
TTL: auth.TTL,
}
- if !strListSubset(te.Policies, []string{"root"}) {
- // Append 'de... | Sort and filter policies going into the create token entry, then use
that as the definitive source for the response Auth object. | hashicorp_vault | train |
2f0fe2170d5304979f53163406111a2c83a595a7 | diff --git a/tests/jtreminio/Zimple/Tests/ZimpleTest.php b/tests/jtreminio/Zimple/Tests/ZimpleTest.php
index <HASH>..<HASH> 100755
--- a/tests/jtreminio/Zimple/Tests/ZimpleTest.php
+++ b/tests/jtreminio/Zimple/Tests/ZimpleTest.php
@@ -4,7 +4,7 @@ namespace jtreminio\Zimple\Tests;
use jtreminio\Zimple\Zimple as Cont... | Renamed class to ZimpleTest to match new name | jtreminio_Zimple | train |
d90530b7abba4713b689852e4671dd7f017b685c | diff --git a/src/labels/collision.js b/src/labels/collision.js
index <HASH>..<HASH> 100644
--- a/src/labels/collision.js
+++ b/src/labels/collision.js
@@ -1,3 +1,4 @@
+import Label from './label';
import RepeatGroup from './repeat_group';
import log from '../utils/log';
@@ -162,7 +163,7 @@ export default Collision ... | replace class-specific label place function with generic one | tangrams_tangram | train |
31b2755274d2f6f138b40382e6f29c4b38196cc5 | diff --git a/src/Mongolid/Serializer/Type/UTCDateTime.php b/src/Mongolid/Serializer/Type/UTCDateTime.php
index <HASH>..<HASH> 100644
--- a/src/Mongolid/Serializer/Type/UTCDateTime.php
+++ b/src/Mongolid/Serializer/Type/UTCDateTime.php
@@ -11,9 +11,9 @@ use Mongolid\Serializer\SerializableTypeInterface;
class UTCDateTi... | Minor change in UTCDateTime in order to access UTCDateTime from driver | leroy-merlin-br_mongolid | train |
6996d289985aebd17d998f8c655cd0274a6834a5 | diff --git a/lib/sendyr/client.rb b/lib/sendyr/client.rb
index <HASH>..<HASH> 100644
--- a/lib/sendyr/client.rb
+++ b/lib/sendyr/client.rb
@@ -40,6 +40,22 @@ module Sendyr
respond_with_failure(result)
end
end
+
+ def delete(opts = {})
+ return noop if @noop
+
+ opts = {boolean: true, list: @list_id}.... | Add delete endpoint
Rather than unsubscribing a user, delete the user from a list instead | cmer_sendyr | train |
130f6075ae018505ab3a70b14856ebba3186bbc6 | diff --git a/Gemfile b/Gemfile
index <HASH>..<HASH> 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,8 +4,8 @@ source 'https://rubygems.org'
gemspec
gem 'rake'
-group :test do
+group :development, :test do
gem 'rspec'
- gem 'mocha', :require => 'mocha/api'
- gem 'simplecov', :require => false
+ gem 'mocha', require: ... | Tweak spec to work with new format VCR options | maxehmookau_echonest-ruby-api | train |
dd665904420a4a90bebff67fe2993b059a9903d0 | diff --git a/js/bitmart.js b/js/bitmart.js
index <HASH>..<HASH> 100644
--- a/js/bitmart.js
+++ b/js/bitmart.js
@@ -691,7 +691,6 @@ module.exports = class bitmart extends Exchange {
if (percentage !== undefined) {
percentage *= 100;
}
- // bitmart base/quote reversed
const ... | bitmart comment/minor edit | ccxt_ccxt | train |
87143b78e4127025fb2c9307a7448918b159d83d | diff --git a/container/endpoint.go b/container/endpoint.go
index <HASH>..<HASH> 100644
--- a/container/endpoint.go
+++ b/container/endpoint.go
@@ -469,10 +469,10 @@ func (c *Controller) processTenantEndpoint(conn coordclient.Connection, parentPa
// setProxyAddresses tells the proxies to update with addresses
func (... | increased timeout, decreased logging priority of chatty items | control-center_serviced | train |
da1e0aafea63e1d70a7f4f2bd1d20d37c7392517 | diff --git a/grimoire_elk/elk/enrich.py b/grimoire_elk/elk/enrich.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elk/enrich.py
+++ b/grimoire_elk/elk/enrich.py
@@ -735,16 +735,16 @@ class Enrich(ElasticItems):
name=iden['name'], username=iden['username'])
sh_ids['u... | [enrich][sortinghat] Improve logs when error appears during SH activity in arthur.py.
Add the data source in which the error appears to debug more easily later using
the mordred logs. | chaoss_grimoirelab-elk | train |
c3830d1507eb51944f2a2d03d563836857544d95 | diff --git a/tests/cancel_test.js b/tests/cancel_test.js
index <HASH>..<HASH> 100644
--- a/tests/cancel_test.js
+++ b/tests/cancel_test.js
@@ -161,3 +161,35 @@ test("cancel during flush", function() {
ok(!functionWasCalled, "function was not called");
});
+
+test("with GUID_KEY", function() {
+ expect(3);
+
+ v... | move cancel test to the cancel test file. | BackburnerJS_backburner.js | train |
206775936042f1f8150ad30f2816d8a10f65b025 | diff --git a/packages/dev/config/babel.js b/packages/dev/config/babel.js
index <HASH>..<HASH> 100644
--- a/packages/dev/config/babel.js
+++ b/packages/dev/config/babel.js
@@ -22,7 +22,7 @@ module.exports = {
['@babel/preset-env', {
modules: 'commonjs',
targets: {
- browsers: 'defaults',
+ ... | Browserslist and queries (#<I>) | polkadot-js_dev | train |
b952ba9fd879fde2b6af8e3e949912116960e561 | diff --git a/app/assets/javascripts/component_guide/application.js b/app/assets/javascripts/component_guide/application.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/component_guide/application.js
+++ b/app/assets/javascripts/component_guide/application.js
@@ -1,3 +1,8 @@
+//= require jquery/dist/jquery
... | Include jQuery and start modules from component_guide JS
Without static requiring jQuery and running GOVUK.modules start there
isn't anything to start the modules.
The call to modules.start() is wrapped in a document.ready as to give
chance for modules added in later scripts to start. | alphagov_govuk_publishing_components | train |
807eb2551ebf79b446effb7ba481c041e462b764 | diff --git a/src/com/opera/core/systems/OperaDesktopDriver.java b/src/com/opera/core/systems/OperaDesktopDriver.java
index <HASH>..<HASH> 100644
--- a/src/com/opera/core/systems/OperaDesktopDriver.java
+++ b/src/com/opera/core/systems/OperaDesktopDriver.java
@@ -43,12 +43,22 @@ public class OperaDesktopDriver extends O... | We have to quit opera first (using action) before creating the launcher | operasoftware_operaprestodriver | train |
bcd9125c09243bbaf682636a3c4eb0c03ba3ebec | diff --git a/tests/thumbnail_tests/tests.py b/tests/thumbnail_tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/thumbnail_tests/tests.py
+++ b/tests/thumbnail_tests/tests.py
@@ -8,6 +8,7 @@ from PIL import Image
from django.core.files.storage import default_storage
from django.template.loader import render_to_st... | make tests more python 3 compatible | jazzband_sorl-thumbnail | train |
2ade831e1630800dcd271ee654026219bddba4c8 | diff --git a/testdata/blank-import-lib.go b/testdata/blank-import-lib.go
index <HASH>..<HASH> 100644
--- a/testdata/blank-import-lib.go
+++ b/testdata/blank-import-lib.go
@@ -10,6 +10,7 @@ package foo
import (
"fmt"
+
/* MATCH /blank import/ */ _ "os"
/* MATCH /blank import/ */ _ "net/http" | Add a blank line in a test so that gofmt won't break the magic comment's location. | golang_lint | train |
415c5a52be6063c52484d80d2ae5795226829334 | diff --git a/bcbio/variation/bedutils.py b/bcbio/variation/bedutils.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/bedutils.py
+++ b/bcbio/variation/bedutils.py
@@ -67,7 +67,7 @@ def remove_bad(line):
"""Remove non-increasing BED lines which will cause variant callers to choke.
"""
parts = line.str... | Remove empty lines in BED files when pre-processing
Avoids errors looking for incorrect BED files. Fixes #<I> | bcbio_bcbio-nextgen | train |
5d66a49310c51b4c63fd79b8217bba8983afdefb | diff --git a/builder/lib/builder/xmlbase.rb b/builder/lib/builder/xmlbase.rb
index <HASH>..<HASH> 100644
--- a/builder/lib/builder/xmlbase.rb
+++ b/builder/lib/builder/xmlbase.rb
@@ -77,7 +77,7 @@ module Builder
# Append text to the output target. Escape any markup. May be
# used within the markup brakets a... | fixed a few comments
git-svn-id: svn+ssh://rubyforge.org/var/svn/builder/trunk@<I> b<I>df<I>-ad1a-<I>-<I>b8-e<I>a<I> | jimweirich_builder | train |
1a3422dccc3e48108bb0f386a792fe9e83299664 | diff --git a/discord/integrations.py b/discord/integrations.py
index <HASH>..<HASH> 100644
--- a/discord/integrations.py
+++ b/discord/integrations.py
@@ -196,7 +196,7 @@ class StreamIntegration(Integration):
self.expire_behaviour: ExpireBehaviour = try_enum(ExpireBehaviour, data['expire_behavior'])
s... | Handle role_id possibly being None for StreamIntegration | Rapptz_discord.py | train |
6796c21b92e95e8f1fcafa3ef889a2b3160d7db6 | diff --git a/lib/radar_client_rb/resource.rb b/lib/radar_client_rb/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/radar_client_rb/resource.rb
+++ b/lib/radar_client_rb/resource.rb
@@ -19,27 +19,34 @@ module Radar
def get
result = {}
- @client.redis.hgetall(@name).each do |key, value|
- user... | Filter out clients with offline sentries | zendesk_radar_client_rb | train |
8d3bff6800887f5051e81e3b36253604b3bca1cb | diff --git a/spyder/plugins/maininterpreter/tests/test_confpage.py b/spyder/plugins/maininterpreter/tests/test_confpage.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/maininterpreter/tests/test_confpage.py
+++ b/spyder/plugins/maininterpreter/tests/test_confpage.py
@@ -9,6 +9,9 @@
# Standard library imports
impo... | Testing: Skip main interpreter conf page test if conda and pyenv are not installed | spyder-ide_spyder | train |
5e0ee6c09522ae573ef03b77dbd609f3db4d15b6 | diff --git a/codec-dns/src/main/java/io/netty/handler/codec/dns/AbstractDnsMessage.java b/codec-dns/src/main/java/io/netty/handler/codec/dns/AbstractDnsMessage.java
index <HASH>..<HASH> 100644
--- a/codec-dns/src/main/java/io/netty/handler/codec/dns/AbstractDnsMessage.java
+++ b/codec-dns/src/main/java/io/netty/handler... | Fix missing ResourceLeak.close() in AbstractDnsMessage
Motivation:
ResourceLeak.close() must be called when a reference-counted resource is
deallocated, but AbstractDnsMessage.deallocate() forgot to call it.
Modifications:
Call ResourceLeak.close() for the tracked AbstractDnsMessage instances
Result:
Fix the fals... | netty_netty | train |
a0039e2930c765269930b97fd2f8905a820ebb8a | diff --git a/apiserver/service/charmstore.go b/apiserver/service/charmstore.go
index <HASH>..<HASH> 100644
--- a/apiserver/service/charmstore.go
+++ b/apiserver/service/charmstore.go
@@ -194,7 +194,11 @@ func resolveCharm(ref *charm.Reference, repo charmrepo.Interface) (*charm.URL, e
}
// Resolve the charm locati... | Changes to support modified Resolve() method on repos | juju_juju | train |
8348f2c2abd9f96de9d70f7fb30e6049a2d8ab50 | diff --git a/test/test_formats.py b/test/test_formats.py
index <HASH>..<HASH> 100644
--- a/test/test_formats.py
+++ b/test/test_formats.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
"""Test Mapchete default formats."""
+import pytest
import os
import yaml
from tilematrix import TilePyramid
@@ -15,6 +16,7 @@ HTTP_RAST... | using proper pytest.raises to test exceptions | ungarj_mapchete | train |
a2d2b763d6be7c60a4c757c5be4f85dc80a404d6 | diff --git a/src/cobra/io/web/load.py b/src/cobra/io/web/load.py
index <HASH>..<HASH> 100644
--- a/src/cobra/io/web/load.py
+++ b/src/cobra/io/web/load.py
@@ -25,18 +25,16 @@ logger = logging.getLogger(__name__)
configuration = Configuration()
-cobrapy_repository = Cobrapy()
-bigg_models_repository = BiGGModels()
... | refactor: group default repositories for load.py | opencobra_cobrapy | train |
e278f852b34122de1d1e874026047c0823c00943 | diff --git a/builtin/providers/openstack/provider_test.go b/builtin/providers/openstack/provider_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/openstack/provider_test.go
+++ b/builtin/providers/openstack/provider_test.go
@@ -8,6 +8,11 @@ import (
"github.com/hashicorp/terraform/terraform"
)
+
+var (
... | add image_ref and flavor_ref checks | hashicorp_terraform | train |
18e25ff67aab89e030118e7b8ff1f1a9279b94a4 | diff --git a/test/amqp-integration-test.py b/test/amqp-integration-test.py
index <HASH>..<HASH> 100644
--- a/test/amqp-integration-test.py
+++ b/test/amqp-integration-test.py
@@ -103,7 +103,6 @@ def run_client_tests():
assert root is not None, (
"Please set LETSENCRYPT_PATH env variable to point at "
... | Remove SERVER env var in integration test.
Per @Kuba, this is no longer needed for the letsencrypt client. | letsencrypt_boulder | train |
e61c71fc11dcbbb9ff3bdb40c4f7282412352641 | diff --git a/synapse/lib/net.py b/synapse/lib/net.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/net.py
+++ b/synapse/lib/net.py
@@ -1,4 +1,5 @@
import os
+import time
import socket
import logging
import selectors
@@ -55,11 +56,13 @@ class Plex(s_config.Config):
def _runPollLoop(self):
+ fems = []... | Add a time.sleep in the _runPollLoop in the event that no events are recieved by the selector | vertexproject_synapse | train |
096e57c0206a9bdaf9bdf15ad12fca60e05a90a7 | diff --git a/lib/types/func.js b/lib/types/func.js
index <HASH>..<HASH> 100644
--- a/lib/types/func.js
+++ b/lib/types/func.js
@@ -1,9 +1,9 @@
'use strict';
-const AnyType = require('./any');
+const ObjectType = require('./object');
const utils = require('../utils');
-class FuncType extends AnyType {
+class FuncT... | alter func type inherits from object | lyfeyaj_ovt | train |
da41db061f334c1492ffb5b79f4e2f7e0270c333 | diff --git a/js-git.js b/js-git.js
index <HASH>..<HASH> 100644
--- a/js-git.js
+++ b/js-git.js
@@ -133,8 +133,15 @@ function newRepo(db, workDir) {
return resolveHashish(hashish, onResolve);
function onResolve(err, hash) {
if (err) return callback(err);
- var item = {hash: hash, path: "/"};
- ... | Allow commit hashish for walkTree | creationix_js-git | train |
43c68f0bf96c116ac831d80f42d05650bfe67dc3 | diff --git a/ghost/admin/routes/posts.js b/ghost/admin/routes/posts.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/routes/posts.js
+++ b/ghost/admin/routes/posts.js
@@ -38,7 +38,7 @@ var PostsRoute = Ember.Route.extend(SimpleAuth.AuthenticatedRouteMixin, Shortcut
stepThroughPosts: function (step) {
va... | Ensure keyboard navigation matches custom post sorting. | TryGhost_Ghost | train |
2dcd25701d158e4875d77036983c41d40534fabc | diff --git a/src-test/core/fontwatchrunnertest.js b/src-test/core/fontwatchrunnertest.js
index <HASH>..<HASH> 100644
--- a/src-test/core/fontwatchrunnertest.js
+++ b/src-test/core/fontwatchrunnertest.js
@@ -326,7 +326,7 @@ FontWatchRunnerTest.prototype.testWatchFontWebkitWithEqualMetrics = function() {
this.font... | Changed the behaviour of the timeout when the Webkit bug is present. If the timeout happens, and we are running in a webkit browser with the bug and we observed at least one size change, we assume the font has loaded and has identical metrics to the last resort font. In this case we fire the active event instead of the... | typekit_webfontloader | train |
ba058ede84e189dee63986eaa44edc8b030b9e6d | diff --git a/genson/__init__.py b/genson/__init__.py
index <HASH>..<HASH> 100644
--- a/genson/__init__.py
+++ b/genson/__init__.py
@@ -1,4 +1,4 @@
-from .schema.builder import SchemaBuilder, Schema, custom_schema_builder
+from .schema.builder import SchemaBuilder, Schema
from .schema.node import SchemaNode, SchemaGene... | add metaclass for easily extending SchemaBuilder | wolverdude_GenSON | train |
c59c4d8662114819b209739c09d3580c0e4cdf16 | diff --git a/cassandra/decoder.py b/cassandra/decoder.py
index <HASH>..<HASH> 100644
--- a/cassandra/decoder.py
+++ b/cassandra/decoder.py
@@ -825,6 +825,7 @@ cql_encoders = {
datetime.datetime: cql_encode_datetime,
datetime.date: cql_encode_date,
dict: cql_encode_map_collection,
+ OrderedDict: cql_en... | add encoder mapping for OrderedDict
OrderedDict is the resulted object type when SELECT-ing map data object. | datastax_python-driver | train |
1056501b27ed1263b1929566a67fd5c1a2d0d83a | diff --git a/tests/test_algorithm.py b/tests/test_algorithm.py
index <HASH>..<HASH> 100644
--- a/tests/test_algorithm.py
+++ b/tests/test_algorithm.py
@@ -16,6 +16,7 @@ from collections import namedtuple
import datetime
from datetime import timedelta
from textwrap import dedent
+import warnings
from unittest import... | MAINT: Support the passing of a time rule positionally on the date_rule arg
But log a warning to the user | quantopian_zipline | train |
061a9f6f3d4c65dcba5a1c31e619c9dc246da928 | diff --git a/src/vectorizer.js b/src/vectorizer.js
index <HASH>..<HASH> 100644
--- a/src/vectorizer.js
+++ b/src/vectorizer.js
@@ -41,12 +41,10 @@ V = Vectorizer = (function() {
}
function isObject(o) {
- return o === Object(o);
+ return o && (typeof o === 'object');
}
- function isA... | Use native Array.isArray and typeof for type checking | clientIO_joint | train |
b286fcdfdcf2c99f0674446d874958d1bd2baeb6 | diff --git a/lib/form/yui/dateselector/dateselector.js b/lib/form/yui/dateselector/dateselector.js
index <HASH>..<HASH> 100644
--- a/lib/form/yui/dateselector/dateselector.js
+++ b/lib/form/yui/dateselector/dateselector.js
@@ -136,6 +136,7 @@ YUI.add('moodle-form-dateselector', function(Y) {
this.yearselec... | MDL-<I> Automatically hide the dateselector after choosing a date | moodle_moodle | train |
c8256442f1907e1e661592f454700cac9198169a | diff --git a/tests/lib/index.js b/tests/lib/index.js
index <HASH>..<HASH> 100644
--- a/tests/lib/index.js
+++ b/tests/lib/index.js
@@ -809,18 +809,14 @@ describe('BundleLocator', function () {
});
}
if (2 === bundleCalls) {
- ... | Do not call next() prematurely in bundleUpdated tests | yahoo_locator | train |
9908d7cf7cb22b6ffa9ac6d69fe258a526d63d48 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -132,7 +132,7 @@ class Gstore {
}
// Convert gstore entities to datastore forma ({key, data})
- args[0] = datastoreSerializer.entitiesToDatastore(entities);
+ args[0] = datasto... | feat(gstore-save): Add save method to global save
gstore.save() method has accepts a options object to declare the save method (insert, update,
upsert)
#<I> | sebelga_gstore-node | train |
03642be1372e26f8a0758052270223f47955737b | diff --git a/js/src/Lines.js b/js/src/Lines.js
index <HASH>..<HASH> 100644
--- a/js/src/Lines.js
+++ b/js/src/Lines.js
@@ -386,30 +386,37 @@ var Lines = mark.Mark.extend({
},
update_curves_subset: function() {
- var that = this;
+ var display_labels = this.model.get("labels_visibility") === "l... | apply curves_subset to legend and markers | bloomberg_bqplot | train |
550ad088ebb442bbd5b78a32aec8dae6c3f44a84 | diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -2632,11 +2632,12 @@ class Instrument(object):
if (self.index[-1] == last_pad) & (not want_last_pad):
self.data = self[:-1]
- # if ... | BUG: accepted default meta labels
Fixed a bug where the metadata from the load
routine did not always update the labels to conform
with those specified by the instrument. | rstoneback_pysat | train |
6c2e73187915935fd9d57c06b723d1f2e9657682 | diff --git a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/MediaDriver.java b/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/MediaDriver.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/uk/co/real_logic/aeron/driver/MediaDriver.java
+++ b/aeron-driver/src/main/java/uk/co/real_logic... | [Java] Qualify the names of aeron media driver threads. | real-logic_aeron | train |
1d03010d1cdcbbff11afbecd057e3148dd6627c6 | diff --git a/save.go b/save.go
index <HASH>..<HASH> 100644
--- a/save.go
+++ b/save.go
@@ -87,10 +87,10 @@ func calcDepRoots(importPath string) []*repoRoot {
}
// Convert from packages to repo roots.
+ var attempts = 1
GetAllDeps:
var depRoots = map[string]*repoRoot{}
var missingPackages []string
- var attem... | save: fix bug when retrying "go get". fix test by mocking build.Default.GOPATH. | robfig_glock | train |
dd17f65f23003903cc72d82ed1c0e26cefc9f984 | diff --git a/src/main/java/water/api/Inspect.java b/src/main/java/water/api/Inspect.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/api/Inspect.java
+++ b/src/main/java/water/api/Inspect.java
@@ -119,8 +119,10 @@ public class Inspect extends Request {
if( len < 0 )
break;
off += ... | Stop uncompression at 1meg... just enough to display for user | h2oai_h2o-2 | train |
c225d97e4b91e42341c16a345ac2f3b3fe53b040 | diff --git a/lib/constants.json b/lib/constants.json
index <HASH>..<HASH> 100644
--- a/lib/constants.json
+++ b/lib/constants.json
@@ -13,10 +13,6 @@
"reset": "reset",
"any": "any"
},
- "events": {
- "contractFilesChanged": "contractFilesChanged",
- "contractConfigChanged": "contractConfigChanged"
-... | fix reload file removing plugins | embark-framework_embark | train |
34565d57ab051a7cbf429b7a82f34b7dc294ede7 | diff --git a/spyder/plugins/explorer.py b/spyder/plugins/explorer.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/explorer.py
+++ b/spyder/plugins/explorer.py
@@ -73,11 +73,6 @@ class Explorer(ExplorerWidget, SpyderPluginMixin):
self.renamed.connect(self.main.editor.renamed)
self.main.editor.open... | Execute on dedicated IPython consoles | spyder-ide_spyder | train |
5c6b27a5481d852da0c5bbd0065f841132703424 | diff --git a/lib/pdf/reader/page_text_receiver.rb b/lib/pdf/reader/page_text_receiver.rb
index <HASH>..<HASH> 100644
--- a/lib/pdf/reader/page_text_receiver.rb
+++ b/lib/pdf/reader/page_text_receiver.rb
@@ -40,7 +40,7 @@ module PDF
def page=(page)
@state = PageState.new(page)
@content = []
- ... | a failed experiment in reducing object allocations | yob_pdf-reader | train |
5c1dc995cb329f0b550cb69a5ae01def8fb3f845 | diff --git a/src/Emojis.js b/src/Emojis.js
index <HASH>..<HASH> 100644
--- a/src/Emojis.js
+++ b/src/Emojis.js
@@ -1,6 +1,5 @@
import React from 'react'
import createEmojisComponent from './createEmojisComponent'
-import emptyObj from 'empty/object'
-export default createEmojisComponent(emptyObj)
+export default ... | <Emojis> doesn't need to provide empty.object to createEmojisComponent | jaredLunde_react-emoji-component | train |
166a638a16ce66b065d5be74a2b16051abe8aa4b | diff --git a/engine/delete.go b/engine/delete.go
index <HASH>..<HASH> 100644
--- a/engine/delete.go
+++ b/engine/delete.go
@@ -70,6 +70,8 @@ func truncateTable(e *Engine, table *Table, conn protocol.EngineConn) error {
if r == nil {
return fmt.Errorf("Table %v not found", table.name)
}
+ r.Lock()
+ defer r.Unloc... | fix (DELETE): fix data race when table is truncated | proullon_ramsql | train |
a61c5482d9113944417ce168a40163de153cad94 | diff --git a/packages/test-utils/src/create-dom-event.js b/packages/test-utils/src/create-dom-event.js
index <HASH>..<HASH> 100644
--- a/packages/test-utils/src/create-dom-event.js
+++ b/packages/test-utils/src/create-dom-event.js
@@ -24,9 +24,35 @@ const modifiers = {
pagedown: 34
}
+// get from https://github.c... | Fix VTU don't return key property to event when use trigger.('eventName.key') (#<I>)
* Add key to events
When trigger 'keydown.tab` - key does not exists. This affect case when in components we use w3c-keys for compare
* fix: pass key proprety to event
* refactor: remove console.log
* fix: test describe | vuejs_vue-test-utils | train |
3bb149f1dbf6ae2d48b2d5e0595a0a7927bff9b4 | diff --git a/tests/classes/Utils.js b/tests/classes/Utils.js
index <HASH>..<HASH> 100644
--- a/tests/classes/Utils.js
+++ b/tests/classes/Utils.js
@@ -224,11 +224,33 @@ describe('Utils', () => {
beforeEach(() => {
serverless.init();
+ // create a new tmpDir for the serverlessPath
const tmpDirP... | Add some mock data to the serverless.service object in the track() tests
So that parts of the data retrieval are run. | serverless_serverless | train |
37fd9f6fa8c11953dacfa5d193970bd3ea83ee16 | diff --git a/lib/swag_dev/project/tasks/gem.rb b/lib/swag_dev/project/tasks/gem.rb
index <HASH>..<HASH> 100644
--- a/lib/swag_dev/project/tasks/gem.rb
+++ b/lib/swag_dev/project/tasks/gem.rb
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-[:gemspec, :package, :install].each do |req|
- require "swag_dev/project/tasks... | gem (tasks) minor syntactic changes | SwagDevOps_kamaze-project | train |
2c42960baa6bf681b127b51171c512da14accd4e | diff --git a/webroot/js/lib/controller.js b/webroot/js/lib/controller.js
index <HASH>..<HASH> 100755
--- a/webroot/js/lib/controller.js
+++ b/webroot/js/lib/controller.js
@@ -146,6 +146,7 @@ Frontend.Controller = Class.extend({
onComplete: function(controller, response) {
if ($form.hasClass('dialog-ajax-form... | Publish an event when an AJAX dialog has been closed | scherersoftware_cake-frontend-bridge | train |
7d6b721044d13d5712275fff75e87fc200686f10 | diff --git a/test/integration/scheduler/local-pv-neg-affinity_test.go b/test/integration/scheduler/local-pv-neg-affinity_test.go
index <HASH>..<HASH> 100644
--- a/test/integration/scheduler/local-pv-neg-affinity_test.go
+++ b/test/integration/scheduler/local-pv-neg-affinity_test.go
@@ -19,7 +19,6 @@ package scheduler
... | remove unused function printIndentedJson and printAllPods in test/integration/scheduler | kubernetes_kubernetes | train |
f1526f4f75f4d19ecdf24474991c3749c8cffa40 | diff --git a/test/unit/lib/processes.specs.js b/test/unit/lib/processes.specs.js
index <HASH>..<HASH> 100644
--- a/test/unit/lib/processes.specs.js
+++ b/test/unit/lib/processes.specs.js
@@ -200,7 +200,7 @@ test.describe('processes', () => {
handler = new processes.Handler(fooProcess, fooSuiteData)
handle... | Add unit tests for test logs fix | javierbrea_narval | train |
8f9783ac777f17e2ce4c86702e1dcda2b07ced38 | diff --git a/src/IO/WebSocket/BinaryImageStream/index.js b/src/IO/WebSocket/BinaryImageStream/index.js
index <HASH>..<HASH> 100644
--- a/src/IO/WebSocket/BinaryImageStream/index.js
+++ b/src/IO/WebSocket/BinaryImageStream/index.js
@@ -16,6 +16,8 @@ export default class BinaryImageStream {
this.view_id = -1;
... | fix(BinaryImageStream): Cache last event notification so it can be retreived using a get method | Kitware_paraviewweb | train |
75922da752f31752d2fc63d97c1a99b3ef44afbb | diff --git a/psamm/commands/vis.py b/psamm/commands/vis.py
index <HASH>..<HASH> 100644
--- a/psamm/commands/vis.py
+++ b/psamm/commands/vis.py
@@ -194,10 +194,11 @@ class VisualizationCommand(MetabolicMixin, ObjectiveMixin, SolverCommandMixin,
exchange_cpds = set()
for reaction in self._mm.reactions:
... | fix bug of one rxn shown twice as exchange and biomass rxn | zhanglab_psamm | train |
66146797830e138898d525f0a4866b9a7043e2ed | diff --git a/pysat/instruments/timed_saber.py b/pysat/instruments/timed_saber.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/timed_saber.py
+++ b/pysat/instruments/timed_saber.py
@@ -134,7 +134,7 @@ load = cdw.load
# a dictionary needs to be created for each sat_id and tag
# combination along with the file fo... | fix remote directory for saber | rstoneback_pysat | train |
6a2c10a89dd7a6d9e8e65dcb53224358776c2edd | diff --git a/lang/en/error.php b/lang/en/error.php
index <HASH>..<HASH> 100644
--- a/lang/en/error.php
+++ b/lang/en/error.php
@@ -144,6 +144,7 @@ $string['cannotsetupblock'] = 'Blocks tables could NOT be set up successfully!';
$string['cannotsetupcapformod'] = 'Could not set up the capabilities for {$a}';
$string['c... | MDL-<I> login: prevent signup when user is logged in | moodle_moodle | train |
42510d5776ed1b2ab8948869eedbd866136d3e82 | diff --git a/pymatgen/analysis/phase_diagram.py b/pymatgen/analysis/phase_diagram.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/phase_diagram.py
+++ b/pymatgen/analysis/phase_diagram.py
@@ -366,7 +366,7 @@ class PhaseDiagram(MSONable):
self.all_entries = computed_data["all_entries"]
self.qhul... | Cannot serialize dictionaries with `Element` keys [...]
This is not an ideal fix, since it does a round-trip Element->str->Element, but works for now. | materialsproject_pymatgen | train |
ca1cfc4caa6bcb94aa2d99c7dbab5ced06fb91dd | diff --git a/lib/interfaces/common.js b/lib/interfaces/common.js
index <HASH>..<HASH> 100644
--- a/lib/interfaces/common.js
+++ b/lib/interfaces/common.js
@@ -94,6 +94,9 @@ module.exports = function(suites, context, mocha) {
* @returns {Suite}
*/
only: function only(opts) {
+ if (mocha.opt... | Consistent handling of --forbid-only for suites and tests (#<I>)
* implement markOnly method for suite class
* add test cases to cover suites markOnly method
* make forbidOnly option throw exception even if suite is excluded by grep
* adapt test cases to changed forbidOnly logic
* reuse existing sandbox va... | mochajs_mocha | train |
62afad0d70de93920504b241a1d5c064831582a4 | diff --git a/lib/HttpRequest.js b/lib/HttpRequest.js
index <HASH>..<HASH> 100644
--- a/lib/HttpRequest.js
+++ b/lib/HttpRequest.js
@@ -12,6 +12,8 @@ util.inherits(HttpRequest, Message);
HttpRequest.prototype.isMessyHttpRequest = true;
+HttpRequest.metadataPropertyNames = ['encrypted', 'cert', 'key', 'ca'];
+
Http... | HttpRequest: Added support for more "metadata" properties alongside 'encrypted': 'cert', 'key', 'ca'. | papandreou_messy | train |
e9c3bc0a6d4f6e1fb6f0828abf8339fc88936cd5 | diff --git a/src/api/symboltable.py b/src/api/symboltable.py
index <HASH>..<HASH> 100644
--- a/src/api/symboltable.py
+++ b/src/api/symboltable.py
@@ -330,15 +330,16 @@ class SymbolTable:
return offset
- def leave_scope(self):
+ def leave_scope(self, show_warnings=True):
""" Ends a function ... | Fix warning on declare functions
When using DECLARE in a functions with parameters
a warning about unused parameters was issued. Fixed. | boriel_zxbasic | train |
8a9665f93f7d2776e87ff32926cd237cd41873c7 | diff --git a/src/AnimeDb/Bundle/AnimeDbBundle/Command/UpdateCommand.php b/src/AnimeDb/Bundle/AnimeDbBundle/Command/UpdateCommand.php
index <HASH>..<HASH> 100644
--- a/src/AnimeDb/Bundle/AnimeDbBundle/Command/UpdateCommand.php
+++ b/src/AnimeDb/Bundle/AnimeDbBundle/Command/UpdateCommand.php
@@ -199,7 +199,7 @@ class Upd... | save all files in app/Resources | anime-db_anime-db | train |
dc4ae62b26fd0c6d91f6c5d49abdff84fbda253d | diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/description/type/TypeList.java b/byte-buddy-dep/src/main/java/net/bytebuddy/description/type/TypeList.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/main/java/net/bytebuddy/description/type/TypeList.java
+++ b/byte-buddy-dep/src/main/java/net/bytebuddy/... | Changed naming to avoid incorrect use of API. | raphw_byte-buddy | train |
335d7597b00804ed141baaadbeab74a09bb3cd42 | diff --git a/lib/semlogr/formatters/json_formatter.rb b/lib/semlogr/formatters/json_formatter.rb
index <HASH>..<HASH> 100644
--- a/lib/semlogr/formatters/json_formatter.rb
+++ b/lib/semlogr/formatters/json_formatter.rb
@@ -27,7 +27,7 @@ module Semlogr
event[:error] = {
type: error.class,
... | For the default json formatter it should probably not format the backtrace with newlines, as things like cloudwatch and logentries don't display it as well as an array. | semlogr_semlogr | train |
d352141e60b323bce3b51638d0ea58270b3a3997 | diff --git a/course/report/progress/index.php b/course/report/progress/index.php
index <HASH>..<HASH> 100644
--- a/course/report/progress/index.php
+++ b/course/report/progress/index.php
@@ -210,7 +210,7 @@ foreach($progress as $user) {
$a->state=$describe;
$a->date=$date;
$a->user=fullname($... | MDL-<I>: Completion system: progress report had problems with HTML code in activity names causing invalid/broken html output | moodle_moodle | train |
69d9bdcbbb90f3a6c0271f99883ed59bb0c0c44c | diff --git a/livereload/handlers.py b/livereload/handlers.py
index <HASH>..<HASH> 100644
--- a/livereload/handlers.py
+++ b/livereload/handlers.py
@@ -63,30 +63,35 @@ class LiveReloadHandler(WebSocketHandler):
return
if delay:
loop = ioloop.IOLoop.current()
- loop.call_late... | refactor reload waiters | lepture_python-livereload | train |
b89d66e84229f1948f13a2fc2d8d348df7b7c5c8 | diff --git a/play-maven-plugin/src/main/java/com/google/code/play/AbstractArchivingMojo.java b/play-maven-plugin/src/main/java/com/google/code/play/AbstractArchivingMojo.java
index <HASH>..<HASH> 100644
--- a/play-maven-plugin/src/main/java/com/google/code/play/AbstractArchivingMojo.java
+++ b/play-maven-plugin/src/mai... | Add additional, temporary, debug message. | play1-maven-plugin_play1-maven-plugin | train |
8bb7860ae48238340454d75f1723bd1ce9bd6f32 | diff --git a/lib/cucumber/formatter/usage.rb b/lib/cucumber/formatter/usage.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/formatter/usage.rb
+++ b/lib/cucumber/formatter/usage.rb
@@ -16,12 +16,16 @@ module Cucumber
@options = options
@stepdef_to_match = Hash.new { |h, stepdef_key| h[stepdef_key] =... | Simplify Runtime API by using EventBus for StepMatches | cucumber_cucumber-ruby | train |
297e0cdb4d993954f6528e187c680bf912caa9a3 | diff --git a/kite-maven-plugin/src/main/java/org/kitesdk/maven/plugins/CreateDatasetMojo.java b/kite-maven-plugin/src/main/java/org/kitesdk/maven/plugins/CreateDatasetMojo.java
index <HASH>..<HASH> 100644
--- a/kite-maven-plugin/src/main/java/org/kitesdk/maven/plugins/CreateDatasetMojo.java
+++ b/kite-maven-plugin/src/... | CDK-<I>: Remove namespaces from maven plugin calls.
This was cherry-picked from a version with namespaces. | kite-sdk_kite | train |
57365822b8b78a224d63ab91c8541346ff480d10 | diff --git a/pysc2/lib/remote_controller.py b/pysc2/lib/remote_controller.py
index <HASH>..<HASH> 100644
--- a/pysc2/lib/remote_controller.py
+++ b/pysc2/lib/remote_controller.py
@@ -268,6 +268,12 @@ class RemoteController(object):
else:
self._last_obs = obs
+ if FLAGS.sc2_log_actions and obs.actions:
... | Better logging of actions so it's easier to see how the game interpreted the actions.
PiperOrigin-RevId: <I> | deepmind_pysc2 | train |
40728f67b3a7c037eb05e45e3d208eea7afdc961 | diff --git a/services/base.js b/services/base.js
index <HASH>..<HASH> 100644
--- a/services/base.js
+++ b/services/base.js
@@ -175,21 +175,24 @@ class BaseService {
let outPreviewUrl
let outPattern
if (namedParams) {
- outExampleUrl = this._makeFullUrlFromParams(pattern, namedParams)
... | Examples: Fix queryParams with namedParams (#<I>)
These tests clearly should be refactored, though I’d like to get this fix in, in advance of a more involved refactor that shifts most of the responsibility away from this function. Maybe we can even eliminate at least one of these cases in the meantime. | badges_shields | train |
6af681bb38b73d054d30d7655b69ae18e6836953 | diff --git a/lib/mongoid/document.rb b/lib/mongoid/document.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/document.rb
+++ b/lib/mongoid/document.rb
@@ -262,7 +262,7 @@ module Mongoid
#
# @since 2.4.0
def model_key
- @model_cache_key ||= "#{self.class.model_name.cache_key}"
+ @model_cache_key... | self.class.model_name.cache_key is a string, not need convert | mongodb_mongoid | train |
c2ca84e4da68cecd35738db4701f642104a7f572 | diff --git a/commands/command_migrate.go b/commands/command_migrate.go
index <HASH>..<HASH> 100644
--- a/commands/command_migrate.go
+++ b/commands/command_migrate.go
@@ -43,6 +43,10 @@ var (
// migrateCommitMessage is the message to use with the commit generated
// by the migrate command
migrateCommitMessage str... | commands: add --remote flag to export
Add a --remote flag to the `migrate export` command allowing
specification of a remote from which to download objects | git-lfs_git-lfs | train |
6e834443d251b5ce1b8905f79940955830a68116 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ setup(
],
install_requires=[
'hashids',
+ 'psycopg2',
'requests',
],
) | Added psycopg2 as requirement | xtream1101_cutil | train |
445a57a95f29aff67241b321d7a72bb6cf2f3ea3 | diff --git a/lib/autokey/scripting/engine.py b/lib/autokey/scripting/engine.py
index <HASH>..<HASH> 100644
--- a/lib/autokey/scripting/engine.py
+++ b/lib/autokey/scripting/engine.py
@@ -221,12 +221,13 @@ Folders created within temporary folders must themselves be set temporary")
if abbreviations and isinstanc... | Engine: check the window filter matches if overriding a phrase | autokey_autokey | train |
feaf7ba84e98bbb7e3127a4c11c01c3cbcd1db15 | diff --git a/comparators/large-building.js b/comparators/large-building.js
index <HASH>..<HASH> 100644
--- a/comparators/large-building.js
+++ b/comparators/large-building.js
@@ -10,7 +10,7 @@ function largeBuilding(newVersion, oldVersion, callback) {
}
var area = turfArea(newVersion);
- if (area > 100000 && n... | updated threshold for acceptable area size to <I> | mapbox_osm-compare | train |
1e252e0b45b41b2c3d216c1d2542d592380bf495 | diff --git a/lib/jsdom/living/xhr-utils.js b/lib/jsdom/living/xhr-utils.js
index <HASH>..<HASH> 100644
--- a/lib/jsdom/living/xhr-utils.js
+++ b/lib/jsdom/living/xhr-utils.js
@@ -349,6 +349,8 @@ function createClient(xhr) {
preflightRequestHeaders["Access-Control-Request-Headers"] = nonSimpleHeaders.join(", ");
... | Add User-Agent header to CORS preflight requests
Fixes #<I>.
This mirrors the behavior of other browsers, and fixes broken XHR
requests to APIs that require a User-Agent header for all requests,
such as api.github.com. | jsdom_jsdom | train |
0c9b8c3e8eb3c65a2f1b4fbee011579d3a1e322e | diff --git a/src/bosh-director/lib/bosh/director/disk_manager.rb b/src/bosh-director/lib/bosh/director/disk_manager.rb
index <HASH>..<HASH> 100644
--- a/src/bosh-director/lib/bosh/director/disk_manager.rb
+++ b/src/bosh-director/lib/bosh/director/disk_manager.rb
@@ -177,6 +177,7 @@ module Bosh::Director
# @todo[mu... | Director should wait for the agent to be ready when mounting a persistent disk
There are CPIs that need to recreate a VM in order to attach a volume.
Specifically the Kubernetes CPI @ <URL> | cloudfoundry_bosh | train |
48d6af5a6c135cb8077887c43bbfaa84fcdc20a7 | diff --git a/python3/cobs/cobs/_cobs_py.py b/python3/cobs/cobs/_cobs_py.py
index <HASH>..<HASH> 100644
--- a/python3/cobs/cobs/_cobs_py.py
+++ b/python3/cobs/cobs/_cobs_py.py
@@ -13,6 +13,10 @@ def _get_buffer_view(in_bytes):
mv = memoryview(in_bytes)
if mv.ndim > 1 or mv.itemsize > 1:
raise BufferEr... | Fix pure Python implementation for Python <I> and later
Python <I> changed the type of byte memoryview indexed items:
memoryview(b'abc')[0] == b'abc'[0] == <I>
In Python <I> and earlier:
memoryview(b'abc')[0] == b'a' | cmcqueen_cobs-python | train |
25fce2da1a9989bc0707336fa63c6b07bae9ff35 | diff --git a/tests/test_signature_parser.py b/tests/test_signature_parser.py
index <HASH>..<HASH> 100644
--- a/tests/test_signature_parser.py
+++ b/tests/test_signature_parser.py
@@ -15,6 +15,7 @@
Test signature parsing.
"""
+from os import environ
from os import sys
import string
import unittest
@@ -37,7 +38,7 ... | Also use tracing profile when running Travis
Travis can be very slow at unanticipated times. | stratis-storage_into-dbus-python | train |
f333a1b1143a3591fd6c6ec8e6e329a1dbba17df | diff --git a/xdis/marsh.py b/xdis/marsh.py
index <HASH>..<HASH> 100644
--- a/xdis/marsh.py
+++ b/xdis/marsh.py
@@ -97,9 +97,9 @@ class _Marshaller:
self.python_version = python_version
def dump(self, x):
- if isinstance(x, types.CodeType) and PYTHON_VERSION != self.version:
+ if isinstance... | Fix incorrect variable name in marshaller dump | rocky_python-xdis | train |
d0f7f98d22e1c9be6b4a00025e7bc6ebab42d4ea | diff --git a/transport/src/test/java/io/netty/channel/DefaultChannelHandlerInvokerTest.java b/transport/src/test/java/io/netty/channel/DefaultChannelHandlerInvokerTest.java
index <HASH>..<HASH> 100644
--- a/transport/src/test/java/io/netty/channel/DefaultChannelHandlerInvokerTest.java
+++ b/transport/src/test/java/io/n... | e2f<I> unit test cleanup
Motivation:
e2f<I> added unit tests which did not verify the buffer was released as it was intended to.
Modification:
- Unit tests must verify release is called
Result:
Unit tests enforce that ByteBufs are released. | netty_netty | train |
6c9ac5dee4341179656526be38544cd6f9eab6fa | diff --git a/tests/server/public/index.php b/tests/server/public/index.php
index <HASH>..<HASH> 100644
--- a/tests/server/public/index.php
+++ b/tests/server/public/index.php
@@ -106,13 +106,13 @@ $app->router->post('/multi-part', function () {
], 200);
});
-$app->get('/set-cookie', function() {
+$app->router->... | fix test server as done in 9c<I>e<I>f<I>c1f<I>a5df2aaf<I>b6d0a9ea8a | kitetail_zttp | train |
d5685ab96a29c73e4ed1c3b9795a353b27c3a3c5 | diff --git a/src/test/java/org/la4j/matrix/AbstractMatrixTest.java b/src/test/java/org/la4j/matrix/AbstractMatrixTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/la4j/matrix/AbstractMatrixTest.java
+++ b/src/test/java/org/la4j/matrix/AbstractMatrixTest.java
@@ -26,7 +26,6 @@
package org.la4j.matrix;
-... | Fixed tests around index selection. Fixes #<I>. | vkostyukov_la4j | train |
131f941d8fac0afb98fa44f41d96237aaf702957 | diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -861,7 +861,7 @@ class Config
/**
* Sanity check for slashes in in taxonomy slugs.
*/
- public function checkTaxonomy()
+ private function checkTaxonomy()
{
foreach ... | Move checkTaxonomy to the end of checkConfig | bolt_bolt | train |
4069eea28aa6b265627a45fd374d3a46bad8bcb4 | diff --git a/context.go b/context.go
index <HASH>..<HASH> 100644
--- a/context.go
+++ b/context.go
@@ -4,6 +4,7 @@ import (
"fmt"
"net/http"
"net/url"
+ "strconv"
"golang.org/x/net/context"
)
@@ -151,17 +152,20 @@ func (r *ResponseData) Written() bool {
// encoders. It uses the default service encoder if no... | add some basic incrementing counters in response | goadesign_goa | train |
2260e3b06c1905e560f2c01b661e5745a19a7cef | diff --git a/gosu-core/src/main/java/gw/internal/gosu/parser/GosuParser.java b/gosu-core/src/main/java/gw/internal/gosu/parser/GosuParser.java
index <HASH>..<HASH> 100644
--- a/gosu-core/src/main/java/gw/internal/gosu/parser/GosuParser.java
+++ b/gosu-core/src/main/java/gw/internal/gosu/parser/GosuParser.java
@@ -13590... | don't warn about missing override for shorthand property overrides | gosu-lang_gosu-lang | train |
a722b42eed3148c47c5d9c65114c01817041a408 | diff --git a/lib/coffee_script/command_line.rb b/lib/coffee_script/command_line.rb
index <HASH>..<HASH> 100644
--- a/lib/coffee_script/command_line.rb
+++ b/lib/coffee_script/command_line.rb
@@ -20,7 +20,8 @@ Usage:
WATCH_INTERVAL = 0.5
# Command to execute in Narwhal
- LAUNCHER = "narwhal -e 'require(\"... | Add package on command line in case it's not installed in a Narwhal packages path. | gkovacs_livescript-async | train |
d8cdd622dae24e76620901aa54de7a32c22cc01e | diff --git a/lib/lotus/views/default.rb b/lib/lotus/views/default.rb
index <HASH>..<HASH> 100644
--- a/lib/lotus/views/default.rb
+++ b/lib/lotus/views/default.rb
@@ -8,6 +8,7 @@ module Lotus
# @api private
class Default
include Lotus::View
+
configuration.reset!
layout nil
@@ -20,7 +21... | Ensure to build template finder specifying a view
New version of lotus/view introduce the ability of encoding
configuration which turns out to introduce a requirement of
template_finder to always have a view | hanami_hanami | train |
571a664ef4f3b4373f232173b2707b46d10b44ff | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -2317,6 +2317,11 @@ class DataFrame(NDFrame):
level_index = axis_index.levels[level]
+ if len(self) == 0:
+ return DataFrame(np.zeros((len(level_in... | BUG: count_level did not handle zero-length data case, caused segfault with NumPy < <I> for some.
Fixes GH #<I> | pandas-dev_pandas | train |
c38d33df45ef4b958d735e2d2f756e2f41f9838b | diff --git a/block_tag.go b/block_tag.go
index <HASH>..<HASH> 100644
--- a/block_tag.go
+++ b/block_tag.go
@@ -3,6 +3,7 @@ package tags
import (
"bytes"
"fmt"
+ "html/template"
)
type BlockTag struct {
@@ -22,6 +23,10 @@ func (b BlockTag) String() string {
return bb.String()
}
+func (b BlockTag) HTML() te... | added support for the velvet.HTMLer interface | gobuffalo_tags | train |
ac818454ab9bee4b762c035103718e0e95ca39c3 | diff --git a/mythril/laser/ethereum/instructions.py b/mythril/laser/ethereum/instructions.py
index <HASH>..<HASH> 100644
--- a/mythril/laser/ethereum/instructions.py
+++ b/mythril/laser/ethereum/instructions.py
@@ -385,20 +385,20 @@ class Instruction:
dstart_sym = False
try:
dstart = util... | Correcting the symetric variable formatting for calldatacopy | ConsenSys_mythril-classic | train |
263fa3f9973b9ab999a79d6b66cd86880a3caa0a | diff --git a/src/Queryyetsimple/Di/Container.php b/src/Queryyetsimple/Di/Container.php
index <HASH>..<HASH> 100644
--- a/src/Queryyetsimple/Di/Container.php
+++ b/src/Queryyetsimple/Di/Container.php
@@ -213,7 +213,7 @@ class Container implements IContainer, ArrayAccess
}
$result = [];
- $inst... | redirectresponse is done | hunzhiwange_framework | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.