hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
b46ab0ca81613db33ee62a0da2d7d43c11aa58ee | diff --git a/bootstrap/app.php b/bootstrap/app.php
index <HASH>..<HASH> 100644
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -36,7 +36,7 @@ else {
*
*/
-$exceptionHandler = new \Valkyrja\Exceptions\ExceptionHandler();
+$exceptionHandler = new Valkyrja\Exceptions\ExceptionHandler();
/*
*-----------------... | Removing leading slash. | valkyrjaio_valkyrja | train | php |
a70de56716bcebdbd35025553f1d4d687cf50d3c | diff --git a/client/signup/config/flows.js b/client/signup/config/flows.js
index <HASH>..<HASH> 100644
--- a/client/signup/config/flows.js
+++ b/client/signup/config/flows.js
@@ -10,6 +10,7 @@ var assign = require( 'lodash/assign' ),
var config = require( 'config' ),
stepConfig = require( './steps' ),
user = requi... | Signup: Headstart: Add back the Headstart flow to EN-only signups. | Automattic_wp-calypso | train | js |
5170c04c0ecc297170d78b95d5a2292d92d84fca | diff --git a/lib/hanami/environment.rb b/lib/hanami/environment.rb
index <HASH>..<HASH> 100644
--- a/lib/hanami/environment.rb
+++ b/lib/hanami/environment.rb
@@ -458,8 +458,8 @@ module Hanami
# @since 0.2.0
# @api private
def set_application_env_vars!
- return unless defined?(Dotenv)
- Dotenv.... | Ensure to don't load .env.* files if they don't exist. Ref #<I> | hanami_hanami | train | rb,rb |
05a105f641fd3d7ca8c90fb3fc9fcb9be6b26a29 | diff --git a/tests/Symfony/Tests/Component/Routing/Generator/Dumper/PhpGeneratorDumperTest.php b/tests/Symfony/Tests/Component/Routing/Generator/Dumper/PhpGeneratorDumperTest.php
index <HASH>..<HASH> 100644
--- a/tests/Symfony/Tests/Component/Routing/Generator/Dumper/PhpGeneratorDumperTest.php
+++ b/tests/Symfony/Tests... | [Routing] added tearDown with cleanup the file system tmp directory | symfony_symfony | train | php |
662c6b4f67f91bda5b27491c94eb2ffd5f48b86a | diff --git a/src/main/java/org/cafesip/sipunit/SipPhone.java b/src/main/java/org/cafesip/sipunit/SipPhone.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cafesip/sipunit/SipPhone.java
+++ b/src/main/java/org/cafesip/sipunit/SipPhone.java
@@ -696,9 +696,6 @@ public class SipPhone extends SipSession implements S... | dont use respond's to-tag when authenticating
it breaks authenticating to proxy
and results in <I> Call/Transaction Does Not Exist | RestComm_sipunit | train | java |
53e14d7e2846de503e8a6c05f7996d3c6e3f42bb | diff --git a/tests/Validation/ValidationValidatorTest.php b/tests/Validation/ValidationValidatorTest.php
index <HASH>..<HASH> 100755
--- a/tests/Validation/ValidationValidatorTest.php
+++ b/tests/Validation/ValidationValidatorTest.php
@@ -609,6 +609,9 @@ class ValidationValidatorTest extends PHPUnit_Framework_TestCase ... | Test case for Validator making sure that digits_between is actually numeric which is expected | laravel_framework | train | php |
50bbdc3bc0bb57da11353a84af200304c3f57c82 | diff --git a/test/utils.test.js b/test/utils.test.js
index <HASH>..<HASH> 100644
--- a/test/utils.test.js
+++ b/test/utils.test.js
@@ -139,7 +139,7 @@ describe('utils', () => {
expect(utils.resolveModulePath('not-a-real-package')).to.be.undefined;
var chaiPath = utils.resolveModulePath('chai');
- expect(... | test(utils): Fix resolveModulePath test in yarn workspaces. | ngageoint_opensphere-build-resolver | train | js |
3fd7803b9b69abe12c3398065c75d5c01616a0c3 | diff --git a/app/assets/javascripts/workers/pancore_worker.js b/app/assets/javascripts/workers/pancore_worker.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/workers/pancore_worker.js
+++ b/app/assets/javascripts/workers/pancore_worker.js
@@ -507,12 +507,11 @@ function findAndReplace(tree, x, y, val) {
... | this should be better, recursively decrease distance | unipept_unipept-cli | train | js |
d181d447b0ede3504e539467231ac4d367edfc15 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name = 'dfply',
- version = '0.1.3',
+ version = '0.1.4',
author = 'Kiefer Katovich',
author_email = 'kiefer.katovich@gmail.com',
packages = [ | <I> summarize fix and more unit tests | kieferk_dfply | train | py |
d641a78fb31cc0e5eeafe0629c98699834c09b28 | diff --git a/driver/vm.go b/driver/vm.go
index <HASH>..<HASH> 100644
--- a/driver/vm.go
+++ b/driver/vm.go
@@ -100,7 +100,7 @@ func (d *Driver) CreateVM(config *CreateConfig) (*VirtualMachine, error) {
}
var host *object.HostSystem
- if config.Host != "" {
+ if config.Cluster != "" && config.Host != "" {
h, er... | don't read host properties if not required | hashicorp_packer | train | go |
c51679635325c7b72d2c64aad0fd68d4a23a80f5 | diff --git a/helpers/class.TestSession.php b/helpers/class.TestSession.php
index <HASH>..<HASH> 100644
--- a/helpers/class.TestSession.php
+++ b/helpers/class.TestSession.php
@@ -581,12 +581,6 @@ class taoQtiTest_helpers_TestSession extends AssessmentTestSession {
$placeId = $source->getIdentifier();
... | Remove useless double timer closing (this is the same instance in timeConstraints and session) | oat-sa_extension-tao-testqti | train | php |
382f52ddbb248cc3b5562aa033def3c33625f49a | diff --git a/railties/test/application/multiple_applications_test.rb b/railties/test/application/multiple_applications_test.rb
index <HASH>..<HASH> 100644
--- a/railties/test/application/multiple_applications_test.rb
+++ b/railties/test/application/multiple_applications_test.rb
@@ -118,7 +118,7 @@ module ApplicationTes... | Remove warning for setting eager_load
AppTemplate::Application.new does not run load hooks.
To load this configuration we need to use create which will
run load hooks to load this configuration. | rails_rails | train | rb |
14fbb232b4de041cb42371522f0117f0b8c39c8f | diff --git a/lib/ferry.rb b/lib/ferry.rb
index <HASH>..<HASH> 100644
--- a/lib/ferry.rb
+++ b/lib/ferry.rb
@@ -11,7 +11,6 @@ require 'highline/import'
require 'optparse'
require 'progressbar'
require 'pp'
-Dir["../../script/.sh"].each {|file| require file }
require 'yaml'
module Ferry | removing call in ferry.rb | cmu-is-projects_ferry | train | rb |
c66529933c7b09371d7edb939cc74c6d6361f0b1 | diff --git a/scapy/contrib/mpls.py b/scapy/contrib/mpls.py
index <HASH>..<HASH> 100644
--- a/scapy/contrib/mpls.py
+++ b/scapy/contrib/mpls.py
@@ -18,6 +18,8 @@ class MPLS(Packet):
def guess_payload_class(self, payload):
if len(payload) >= 1:
+ if not self.s:
+ return MPLS
... | MPLS - improve payload guess | secdev_scapy | train | py |
9274a8330aa9ecc6055dd82bf5007f8ad35ffee2 | diff --git a/test/SiftClientTest.php b/test/SiftClientTest.php
index <HASH>..<HASH> 100644
--- a/test/SiftClientTest.php
+++ b/test/SiftClientTest.php
@@ -114,4 +114,16 @@ class SiftClientTest extends PHPUnit_Framework_TestCase {
$this->assertEquals($response->apiErrorMessage, 'OK');
$this->assertEqua... | Add unit test for sync scoring. | SiftScience_sift-php | train | php |
d103bef1c3b94e00aa181794ca19d879c25b42c8 | diff --git a/packages/react-jsx-highcharts/src/components/HighchartsProvider/index.js b/packages/react-jsx-highcharts/src/components/HighchartsProvider/index.js
index <HASH>..<HASH> 100644
--- a/packages/react-jsx-highcharts/src/components/HighchartsProvider/index.js
+++ b/packages/react-jsx-highcharts/src/components/H... | Use hooks in provideHighcharts | whawker_react-jsx-highcharts | train | js |
753121d3ddbe4eec5ecb3c21bac4e337a9532aee | diff --git a/ftw/http.py b/ftw/http.py
index <HASH>..<HASH> 100644
--- a/ftw/http.py
+++ b/ftw/http.py
@@ -19,7 +19,6 @@ from six import BytesIO, PY2, ensure_binary, ensure_str, iteritems, \
from six.moves import http_cookies
from . import errors
-import importlib
# Fallback to PROTOCOL_SSLv23 if PROTOCOL_TLS ... | Revert import introduced in 2to3
This is only needed in the python 2 case so we don't need to do anything
here. | CRS-support_ftw | train | py |
e61544c9c4ea98aebd11e2ef5fa2e8b00f8b0db6 | diff --git a/packages/integration/utils.js b/packages/integration/utils.js
index <HASH>..<HASH> 100644
--- a/packages/integration/utils.js
+++ b/packages/integration/utils.js
@@ -23,6 +23,10 @@ function snapshotizeOutput(ret) {
""
) // Remove unhandled rejections
.replace(
+ /(.*)Deprecati... | Exclude environment specific output from snapshots | swissquote_crafty | train | js |
237a4d6cc792ed8e295b8ddcc1c49250c9ac5a2c | diff --git a/osbs/build/spec.py b/osbs/build/spec.py
index <HASH>..<HASH> 100644
--- a/osbs/build/spec.py
+++ b/osbs/build/spec.py
@@ -48,14 +48,6 @@ class UserParam(BuildParam):
def __init__(self):
super(UserParam, self).__init__(self.name)
- @BuildParam.value.setter
- def value(self, val): # py... | Don't pad short usernames (OSBS-<I>)
Docker versions since <I> have not placed any minimum length
requirement on the namespace portion of a repository name.
Reference: <URL> | projectatomic_osbs-client | train | py |
826a4086e29d6ef2d01e35d93df8da9314347c36 | diff --git a/chef/lib/chef/knife/core/subcommand_loader.rb b/chef/lib/chef/knife/core/subcommand_loader.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/knife/core/subcommand_loader.rb
+++ b/chef/lib/chef/knife/core/subcommand_loader.rb
@@ -48,7 +48,7 @@ class Chef
end
# finally search ~/.chef/plu... | Don't try to load user-specific knife plugins if we don't know what the user's home directory is. | chef_chef | train | rb |
62581981cb51e9d3b09be500a4ff97fc7ec7ffe6 | diff --git a/spec/lib/decent_exposure_spec.rb b/spec/lib/decent_exposure_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/decent_exposure_spec.rb
+++ b/spec/lib/decent_exposure_spec.rb
@@ -20,7 +20,7 @@ describe DecentExposure do
let(:instance) { controller.new }
it 'creates a method with the given name' ... | Fix specs on Ruby <I> | hashrocket_decent_exposure | train | rb,rb |
1a0fef07543fa70eab83e52cc86efdbc55a6065f | diff --git a/examples/ea/ea.py b/examples/ea/ea.py
index <HASH>..<HASH> 100644
--- a/examples/ea/ea.py
+++ b/examples/ea/ea.py
@@ -41,12 +41,14 @@ class EA:
return generation
def crossover(self, parents) -> Chromosome:
- child = Chromosome(np.zeros(parents[0].values.shape))
-
- for i, v in... | made crossover into a one-liner | NLeSC_noodles | train | py |
c27f56814ad869fee206ccef7b04e424980392c6 | diff --git a/ext/extconf.rb b/ext/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -6,7 +6,7 @@ require 'ffi'
begin
module LibTest
extend FFI::Library
- ext = FFI::Platform.windows? ? 'dll' : 'so'
+ ext = FFI::Platform::LIBSUFFIX
bundled_dll = File.expand_path("../... | Fix library suffix for OSX in extconf.rb, too. | larskanis_libusb | train | rb |
1ab9ab8b52b854850af9dc2f38868549b8c8e6d6 | diff --git a/splunklib/searchcommands/external_search_command.py b/splunklib/searchcommands/external_search_command.py
index <HASH>..<HASH> 100644
--- a/splunklib/searchcommands/external_search_command.py
+++ b/splunklib/searchcommands/external_search_command.py
@@ -142,7 +142,9 @@ class ExternalSearchCommand(object):
... | Resolved DVPL-<I>, Python SDK | Windows | ExternalSearchCommand._execute should not call sys.exit unless the return code from the external process it starts returns a non-zero code | splunk_splunk-sdk-python | train | py |
66d2ecb243941ea5ebf9cd8d3bd1824f37ee9279 | diff --git a/lib/oembed/provider_discovery.rb b/lib/oembed/provider_discovery.rb
index <HASH>..<HASH> 100644
--- a/lib/oembed/provider_discovery.rb
+++ b/lib/oembed/provider_discovery.rb
@@ -36,7 +36,7 @@ module OEmbed
case res
when Net::HTTPNotFound
raise OEmbed::NotFound, url
- when Net::H... | Getting closer to fixing failing Travis CI tests | ruby-oembed_ruby-oembed | train | rb,rb |
d5717d7167408c79f816dc9590da6559d040b41e | diff --git a/authentication/app/controllers/refinery/passwords_controller.rb b/authentication/app/controllers/refinery/passwords_controller.rb
index <HASH>..<HASH> 100644
--- a/authentication/app/controllers/refinery/passwords_controller.rb
+++ b/authentication/app/controllers/refinery/passwords_controller.rb
@@ -38,11... | No need to instantiate new user object when email param is blank or email is not associated with any user account. | refinery_refinerycms | train | rb |
23e3bd13fbc1883505beb2592d3ff35629043cd4 | diff --git a/lib/actions/ActionWaitForPattern.js b/lib/actions/ActionWaitForPattern.js
index <HASH>..<HASH> 100644
--- a/lib/actions/ActionWaitForPattern.js
+++ b/lib/actions/ActionWaitForPattern.js
@@ -22,7 +22,7 @@ class ActionWaitForPattern extends ActionWait {
return nodes[0].textContent;
}, (... | - added breaker function to be able to cancel execution when another case is passed further
:goose: | redco_goose-parser | train | js |
4974e73a7523340f0d56cc0da446e796565e17c3 | diff --git a/packages/mui-material/src/ListItemButton/ListItemButton.js b/packages/mui-material/src/ListItemButton/ListItemButton.js
index <HASH>..<HASH> 100644
--- a/packages/mui-material/src/ListItemButton/ListItemButton.js
+++ b/packages/mui-material/src/ListItemButton/ListItemButton.js
@@ -58,6 +58,7 @@ const ListI... | [ListItemButton] Specified width so that text would ellide (#<I>) | mui-org_material-ui | train | js |
35747086d5b780a3487e099d220275554233d04e | diff --git a/cytomine/cytomine_job.py b/cytomine/cytomine_job.py
index <HASH>..<HASH> 100644
--- a/cytomine/cytomine_job.py
+++ b/cytomine/cytomine_job.py
@@ -260,6 +260,7 @@ class CytomineJob(Cytomine):
Incurs dataflows
"""
+ run_by_ui = False
if not self.current_user.algo:
... | Prevent the creation of job parameters when job was launched from UI | cytomine_Cytomine-python-client | train | py |
42afab701f2994dc89e2f27b1047e17628d0b521 | diff --git a/zipkin-server/src/main/java/zipkin/server/ZipkinHttpCollector.java b/zipkin-server/src/main/java/zipkin/server/ZipkinHttpCollector.java
index <HASH>..<HASH> 100644
--- a/zipkin-server/src/main/java/zipkin/server/ZipkinHttpCollector.java
+++ b/zipkin-server/src/main/java/zipkin/server/ZipkinHttpCollector.ja... | Fixes misclassification of http collector metrics | apache_incubator-zipkin | train | java |
afe97f69eac2540db94897c39c5bb467cf137e3c | diff --git a/packages/webpack-cli/lib/utils/cli-executer.js b/packages/webpack-cli/lib/utils/cli-executer.js
index <HASH>..<HASH> 100644
--- a/packages/webpack-cli/lib/utils/cli-executer.js
+++ b/packages/webpack-cli/lib/utils/cli-executer.js
@@ -1,4 +1,5 @@
const { MultiSelect, Input } = require('enquirer');
+const c... | fix(webpack-cli): handle promise rejection happening with cli-executor (#<I>)
* fix: handle promise rejection
* chore: update packages/webpack-cli/lib/utils/cli-executer.js | webpack_webpack-cli | train | js |
7faa3d1fc0c566508599d8b6d157a7403157828b | diff --git a/src/cli.js b/src/cli.js
index <HASH>..<HASH> 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -51,8 +51,8 @@ var cli = function(opts, cb) {
var output = name;
if(description) output += ": " + description;
output += '\n';
- if(!_.isEmpty(args)) output += "\nUsage : " + name + _.pluck(ar... | Fix `Usage` text for top-level applications | CleverCloud_cliparse-node | train | js |
35365b37523e5c18efa10ecaa3479452827bc021 | diff --git a/src/dynamodb_encryption_sdk/material_providers/most_recent.py b/src/dynamodb_encryption_sdk/material_providers/most_recent.py
index <HASH>..<HASH> 100644
--- a/src/dynamodb_encryption_sdk/material_providers/most_recent.py
+++ b/src/dynamodb_encryption_sdk/material_providers/most_recent.py
@@ -282,7 +282,7 ... | chore: Fix static analysis (#<I>) | aws_aws-dynamodb-encryption-python | train | py |
7e52b16e50bd0e6683096177e6d1fb668d65c522 | diff --git a/html5lib/_utils.py b/html5lib/_utils.py
index <HASH>..<HASH> 100644
--- a/html5lib/_utils.py
+++ b/html5lib/_utils.py
@@ -7,12 +7,15 @@ try:
except ImportError:
from collections import Mapping
-from six import text_type
+from six import text_type, PY3
-try:
- import xml.etree.cElementTree as d... | Don't use cElementTree on Python 3
It's been deprecated and will be removed in <I> or <I>. <I>b1 doesn't
have cElementTree. I'd like to bring it back with a deprecation warning
to drop in <I>.
See: <URL> | html5lib_html5lib-python | train | py |
cfd107090bb657895f98d37a76f4eb31b6a7a50b | diff --git a/webpack.config.lib.es5.js b/webpack.config.lib.es5.js
index <HASH>..<HASH> 100644
--- a/webpack.config.lib.es5.js
+++ b/webpack.config.lib.es5.js
@@ -7,6 +7,7 @@ const root = path.join(__dirname)
module.exports = merge(common, {
mode: 'production',
+ target: 'web',
output: {
path: path.resol... | feat(build): Add SSR support for library (close #<I>) | matsp_material-components-vue | train | js,js |
e04e81c92a51d445d691783af7d4a140e7320aac | diff --git a/dwavebinarycsp/factories/csp/circuits.py b/dwavebinarycsp/factories/csp/circuits.py
index <HASH>..<HASH> 100644
--- a/dwavebinarycsp/factories/csp/circuits.py
+++ b/dwavebinarycsp/factories/csp/circuits.py
@@ -65,8 +65,8 @@ def multiplication_circuit(nbit, vartype=dimod.BINARY):
CARRY = defaultdict(di... | Fix i,j convention in circuits.py | dwavesystems_dwavebinarycsp | train | py |
c85a52becda8540be6396bb97853ae771cf4ee07 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -53,9 +53,9 @@ copyright = u'2016, JWCrypto Contributors'
# built documents.
#
# The short X.Y version.
-version = '0.3'
+version = '0.4'
# The full version, including alpha/beta... | Preparing release <I> | latchset_jwcrypto | train | py,py |
2df646b228f960984a6726598aa2cbe2f9a9745c | diff --git a/shinken/modules/livestatus_broker/livestatus_broker.py b/shinken/modules/livestatus_broker/livestatus_broker.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/livestatus_broker/livestatus_broker.py
+++ b/shinken/modules/livestatus_broker/livestatus_broker.py
@@ -857,7 +857,12 @@ class Livestatus_broker:... | *Fix a bug in livestatus. Catch the exception if a peer is not listening for the response | Alignak-monitoring_alignak | train | py |
c40fcef37d1a29fe280707e7c9a7447cb71c0c62 | diff --git a/querylist/querylist.py b/querylist/querylist.py
index <HASH>..<HASH> 100644
--- a/querylist/querylist.py
+++ b/querylist/querylist.py
@@ -8,7 +8,6 @@ class QueryList(list):
self.src_data = data
# Wrap our src_data with wrapper
- print data
converted_data = self._convert_... | Remove inadvertently committed debugging print statement | thomasw_querylist | train | py |
303fe9f4847c2245484f79276c3b9423539d7c28 | diff --git a/lib/blocklib.php b/lib/blocklib.php
index <HASH>..<HASH> 100644
--- a/lib/blocklib.php
+++ b/lib/blocklib.php
@@ -964,7 +964,9 @@ function blocks_print_adminblock(&$page, &$pageblocks) {
$missingblocks = blocks_get_missing($page, $pageblocks);
if (!empty($missingblocks)) {
- $strblocks =... | "MDL-<I>, add appropriate div and h2 tags to the header div, merged from MOODLE_<I>_STABLE" | moodle_moodle | train | php |
7ee72765eac663c2a1a25b936dcf715b295564c0 | diff --git a/src/core/nativefontwatchrunner.js b/src/core/nativefontwatchrunner.js
index <HASH>..<HASH> 100644
--- a/src/core/nativefontwatchrunner.js
+++ b/src/core/nativefontwatchrunner.js
@@ -35,10 +35,6 @@ goog.scope(function () {
}, that.timeout_);
}), doc.fonts.load(this.font_.toCssString(), this.font... | Do not warn when the same font is loaded multiple times. | typekit_webfontloader | train | js |
089afc92ce8cb6d8b197ae66421080b800eb9f0b | diff --git a/Tests/Validator/SwedenTest.php b/Tests/Validator/SwedenTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Validator/SwedenTest.php
+++ b/Tests/Validator/SwedenTest.php
@@ -26,10 +26,14 @@ class SwedenTest extends \PHPUnit_Framework_TestCase
array('9909193776', false, '10 digit invalid'),
... | Add tests for plus as delimiter | rickard2_luhnar | train | php |
596e2ed8d497bbed3eefe8303a20d5dcf6491ea6 | diff --git a/lib/types.js b/lib/types.js
index <HASH>..<HASH> 100644
--- a/lib/types.js
+++ b/lib/types.js
@@ -510,7 +510,7 @@ module.exports = function (expect) {
equal: function (a, b) {
return a === b || a.toString() === b.toString();
},
- inspect: function (f, depth, output) {
... | Function type, inspect: Use inspect-the-3rd-param instead of expect.inspect when inspecting own property values.
Fixes stack overflow when cyclic references are present. | unexpectedjs_unexpected | train | js |
3d5799ff3d96b92a097b6a6ad393de8e71429143 | diff --git a/lib/SFTP/SFTPv3.js b/lib/SFTP/SFTPv3.js
index <HASH>..<HASH> 100644
--- a/lib/SFTP/SFTPv3.js
+++ b/lib/SFTP/SFTPv3.js
@@ -8,6 +8,8 @@ var MAX_REQID = Math.pow(2, 32) - 1,
0, 0, 0, 3 /* version */]),
EMPTY_CALLBACK = function() {};
+module.exports = SFTP;
+
function... | sftpv3: set module exports and pass on some underlying stream events | mscdex_ssh2 | train | js |
e78b2985a4307728c14b99236a07fd37b55d7c28 | diff --git a/iterm2_tools/ipython.py b/iterm2_tools/ipython.py
index <HASH>..<HASH> 100644
--- a/iterm2_tools/ipython.py
+++ b/iterm2_tools/ipython.py
@@ -9,9 +9,11 @@ To load, use
To load every time IPython starts, add
- c.TerminalIPythonApp.extensions = [
- 'iterm2_tools.ipython',
- ]
+ try:
+ ... | Document better way to add IPython extension to configuration
This way, it won't print an error if the extension is not installed when
IPython starts. | asmeurer_iterm2-tools | train | py |
23f4960e819b0da46c90de1d4deaf8beb556cd53 | diff --git a/itools.py b/itools.py
index <HASH>..<HASH> 100644
--- a/itools.py
+++ b/itools.py
@@ -7,9 +7,9 @@ Copyright
"""
__author__ = 'Jason R. Coombs <jaraco@sandia.gov>'
-__version__ = '$Revision: 7 $a'[11:-2]
+__version__ = '$Revision: 8 $a'[11:-2]
__vssauthor__ = '$Author: Jaraco $'[9:-2]
-__date__ ... | Added a Counter object which counts the number of times an iterable has been called, but doesn't alter the stream. | jaraco_jaraco.itertools | train | py |
aaaec3206ee8a19e4bfcc2ab3fbfbc8c2c93a5bd | diff --git a/lxd-p2c/main.go b/lxd-p2c/main.go
index <HASH>..<HASH> 100644
--- a/lxd-p2c/main.go
+++ b/lxd-p2c/main.go
@@ -15,7 +15,6 @@ type cmdGlobal struct {
func main() {
app := &cobra.Command{}
- app.Use = "lxd-p2c"
app.Short = "Physical to container migration tool"
app.Long = `Description:
Physical to... | lxd-p2c: Drop duplicate definition of Use | lxc_lxd | train | go |
436294758d9b21fd9f1ea8132a3d05b9fe89b2f3 | diff --git a/pkg/synthetictests/duplicated_events.go b/pkg/synthetictests/duplicated_events.go
index <HASH>..<HASH> 100644
--- a/pkg/synthetictests/duplicated_events.go
+++ b/pkg/synthetictests/duplicated_events.go
@@ -115,6 +115,10 @@ var knownEventsBugs = []knownProblem{
Regexp: regexp.MustCompile(`ns/.*unable to ... | pkg/synthetictests: add etcd quorum-gaurd duplicate events to known issues | openshift_origin | train | go |
c21cc2f31fead552cbab5f4664d20d56cf291619 | diff --git a/workflow/controller/controller_test.go b/workflow/controller/controller_test.go
index <HASH>..<HASH> 100644
--- a/workflow/controller/controller_test.go
+++ b/workflow/controller/controller_test.go
@@ -264,12 +264,12 @@ func TestAddingWorkflowDefaultValueIfValueNotExist(t *testing.T) {
assert.NoError(t, ... | fix a typo (#<I>) | argoproj_argo | train | go |
31f99892f439ae4cf75d811a7b28bce66530f7ae | diff --git a/DoctrinePHPCRBundle.php b/DoctrinePHPCRBundle.php
index <HASH>..<HASH> 100644
--- a/DoctrinePHPCRBundle.php
+++ b/DoctrinePHPCRBundle.php
@@ -37,6 +37,13 @@ use Doctrine\Bundle\PHPCRBundle\OptionalCommand\ODM\DocumentMigrateClassCommand;
class DoctrinePHPCRBundle extends Bundle
{
+ /**
+ * Autol... | The class property autoloader was not declared. | doctrine_DoctrinePHPCRBundle | train | php |
c3c13a247490cf177646dc2a9186b3a4e4c4242b | diff --git a/js/tests/unit/bootstrap-button.js b/js/tests/unit/bootstrap-button.js
index <HASH>..<HASH> 100644
--- a/js/tests/unit/bootstrap-button.js
+++ b/js/tests/unit/bootstrap-button.js
@@ -3,7 +3,7 @@ $(function () {
module("bootstrap-buttons")
test("should be defined on jquery object", function () ... | Fixed typo "tabs" ==> "button" | twbs_bootstrap | train | js |
c81806e867518d8a4240c3aa2f9b8151b32fa46f | diff --git a/fpdf.go b/fpdf.go
index <HASH>..<HASH> 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -127,6 +127,7 @@ func fpdfNew(orientationStr, unitStr, sizeStr, fontDirStr string, size SizeType)
f.stdPageSizes["a3"] = SizeType{841.89, 1190.55}
f.stdPageSizes["a4"] = SizeType{595.28, 841.89}
f.stdPageSizes["a5"] = SizeTy... | Add page size for A6 (#<I>) | jung-kurt_gofpdf | train | go |
c144e2891283cbad8ed5d0c95519f1f2d753e66f | diff --git a/lxd/storage.go b/lxd/storage.go
index <HASH>..<HASH> 100644
--- a/lxd/storage.go
+++ b/lxd/storage.go
@@ -516,11 +516,11 @@ func ShiftIfNecessary(container container, srcIdmap *shared.IdmapSet) error {
}
if !reflect.DeepEqual(srcIdmap, dstIdmap) {
- if err := srcIdmap.UnshiftRootfs(shared.VarPath("c... | use container.Path in some places
Bad copypasta. bad! | lxc_lxd | train | go |
a78849c51e74117f2a6aa98c2f5c8d6dc44a98d9 | diff --git a/wayback-core/src/main/java/org/archive/wayback/util/Timestamp.java b/wayback-core/src/main/java/org/archive/wayback/util/Timestamp.java
index <HASH>..<HASH> 100644
--- a/wayback-core/src/main/java/org/archive/wayback/util/Timestamp.java
+++ b/wayback-core/src/main/java/org/archive/wayback/util/Timestamp.ja... | BUGFIX(unreported): now sets milliseconds to 0, making comparision of Date objects on the same second match.
git-svn-id: <URL> | iipc_openwayback | train | java |
8c14322a4e59f40f8f5a61ffd36be6f84869bdcd | diff --git a/template/app/view/HoverMenuButton.js b/template/app/view/HoverMenuButton.js
index <HASH>..<HASH> 100644
--- a/template/app/view/HoverMenuButton.js
+++ b/template/app/view/HoverMenuButton.js
@@ -99,12 +99,13 @@ Ext.define('Docs.view.HoverMenuButton', {
},
deferHideMenu: function() {
+ // ... | Improve show/hide of hover menu.
Fix the issue of hover menu not getting hidden at all when the button is
hovered for the first time and then immediately mouse moves away. | senchalabs_jsduck | train | js |
5b486e521c0b1cbee59393e162f228fad25e0c27 | diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py
index <HASH>..<HASH> 100644
--- a/astrobase/lcproc.py
+++ b/astrobase/lcproc.py
@@ -478,8 +478,9 @@ def make_lclist(basedir,
fileglob=None,
recursive=True,
columns=['objectid',
- 'objectinfo... | lcproc.make_lclist: reduce list of required lcdict keys | waqasbhatti_astrobase | train | py |
25fd0fd11b0cb87bf5b2ee210e26db1576913941 | diff --git a/src/axelitus/Base/Float.php b/src/axelitus/Base/Float.php
index <HASH>..<HASH> 100644
--- a/src/axelitus/Base/Float.php
+++ b/src/axelitus/Base/Float.php
@@ -43,9 +43,6 @@ class Float
/**
* Tests if the given value is a float or a string representation of a float.
*
- * This function i... | Removed an unneeded warning due to recent class docblock changes. | axelitus_php-base | train | php |
60591fe2bc3f2a75d45d669d966e6aff878bc428 | diff --git a/grimoire/elk/bugzilla.py b/grimoire/elk/bugzilla.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/bugzilla.py
+++ b/grimoire/elk/bugzilla.py
@@ -61,7 +61,11 @@ class BugzillaEnrich(Enrich):
def fill_list_identity(identity, user_list_data):
""" Fill identity with user data in first ... | [Bugzilla SH Identities] Add email if we have this data. | chaoss_grimoirelab-elk | train | py |
cb357c41565f855ef03b1c6eb447f4f66dd62cfa | diff --git a/templatetag_handlebars/tests.py b/templatetag_handlebars/tests.py
index <HASH>..<HASH> 100644
--- a/templatetag_handlebars/tests.py
+++ b/templatetag_handlebars/tests.py
@@ -16,7 +16,7 @@ class TemplateTagTest(TestCase):
{% tplhandlebars "tpl-testing" %}
{% trans... | Test to check that HTML is not escaped | makinacorpus_django-templatetag-handlebars | train | py |
bd6b430ed8f7852eb9f49d849a84897016f8d67c | diff --git a/tests/UI/specs/Installation_spec.js b/tests/UI/specs/Installation_spec.js
index <HASH>..<HASH> 100644
--- a/tests/UI/specs/Installation_spec.js
+++ b/tests/UI/specs/Installation_spec.js
@@ -86,8 +86,19 @@ describe("Installation", function () {
}, done);
});
+ var pageUrl, pageUrlDe;
+
+ ... | adds UI test for german super user creation step | matomo-org_matomo | train | js |
52b5580a0aa2030e681408c240d889c40f21aab4 | diff --git a/lib/extract.js b/lib/extract.js
index <HASH>..<HASH> 100644
--- a/lib/extract.js
+++ b/lib/extract.js
@@ -31,9 +31,16 @@ module.exports = function (archive, dest, optionspath, options) {
// When a stdout is emitted, parse each line and search for a pattern. When
// the pattern is found, extract t... | better to just log error instead of throwing error and stopping the extraction, tested a few time and everything is extracted as expected. | quentinrossetti_node-7z | train | js |
019f51c47c9f685282397dec67ae3316b86f530b | diff --git a/visualize_pathways.py b/visualize_pathways.py
index <HASH>..<HASH> 100755
--- a/visualize_pathways.py
+++ b/visualize_pathways.py
@@ -209,9 +209,10 @@ def escape_graphviz_id(gtfs_id):
def truncate_string(s, max_length=20):
- if max_length <= 0 or len(s) < max_length:
- return s
- return '... | Support Unicode in truncate_string (#<I>)
Strings in GTFS file are UTF-8. | google_transitfeed | train | py |
c96962ac76dbc192c854066e907ae7c01bbdc59f | diff --git a/lib/create-icon-set.js b/lib/create-icon-set.js
index <HASH>..<HASH> 100644
--- a/lib/create-icon-set.js
+++ b/lib/create-icon-set.js
@@ -119,6 +119,10 @@ function createIconSet(glyphMap : Object, fontFamily : string, fontFile : string
size = size || DEFAULT_ICON_SIZE;
color = color || DEFAULT_IC... | Compatibility with new color processing in RN <I>. Fixes #<I> | oblador_react-native-vector-icons | train | js |
984f18469370ee4b2615584857ccd92caa8db71f | diff --git a/file_snapshot.go b/file_snapshot.go
index <HASH>..<HASH> 100644
--- a/file_snapshot.go
+++ b/file_snapshot.go
@@ -386,7 +386,10 @@ func (s *FileSnapshotSink) Close() error {
}
// Reap any old snapshots
- s.store.ReapSnapshots()
+ if err := s.store.ReapSnapshots(); err != nil {
+ return err
+ }
+
r... | Check for errors from `ReapSnapshot()` | hashicorp_raft | train | go |
a73d25bff2bc9cdca1742cfc2851cbdd8486089b | diff --git a/spout/sources.py b/spout/sources.py
index <HASH>..<HASH> 100644
--- a/spout/sources.py
+++ b/spout/sources.py
@@ -89,5 +89,5 @@ class TweetStream(BufferedStream):
self.publish_stream.register(data)
def on_error(self, status_code, data):
- sys.stderr.write(status_code,... | Fixed misuse of stderr that caused errors to error! | daviesjamie_spout | train | py |
127b2826f6eecb5421ff488e7abb6fdf03da16fb | diff --git a/javascript/atoms/action.js b/javascript/atoms/action.js
index <HASH>..<HASH> 100644
--- a/javascript/atoms/action.js
+++ b/javascript/atoms/action.js
@@ -98,7 +98,6 @@ bot.action.clear = function(element) {
element.value = '';
}
bot.events.fire(element, bot.events.EventType.CHANGE);
- b... | Fix JavaScript atom for Element Clear
Fixes issue #<I>: The bot.action.clear function explicitly raises
blur event, and then the unfocus step raises blur event again,
resulting in double firing of blue event. | SeleniumHQ_selenium | train | js |
43cf3b418a6f58c7c48f73c419decce834d3cead | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -485,7 +485,7 @@ Pagelet.readable('call', function calls(data) {
* @api public
*/
Pagelet.on = function on(module) {
- this.prototype.directory = this.prototype.directory || path.dirname(module.filename);
+ this.prototy... | [minor] If you didn't want to get the pathname stolen from you module, you shoudn't have used `.on` | bigpipe_pagelet | train | js |
96e5cabacf45dd4e5c9a7cf32023b8a4be33eb7d | diff --git a/option.go b/option.go
index <HASH>..<HASH> 100644
--- a/option.go
+++ b/option.go
@@ -79,13 +79,17 @@ type Option struct {
// Determines if the option will be always quoted in the INI output
iniQuote bool
- tag multiTag
- isSet bool
- preventDefault bool
+ tag mult... | - added Option.Field() method to recover the struct field associated with the option
- added Option.IsSetDefault() to help distinguish cases where the option was really set or set with default values | jessevdk_go-flags | train | go |
0471f67fbd2659a30dd8ba8d3b5cd3505f30e886 | diff --git a/src/commands/start-client.js b/src/commands/start-client.js
index <HASH>..<HASH> 100644
--- a/src/commands/start-client.js
+++ b/src/commands/start-client.js
@@ -71,7 +71,7 @@ configEnvVariables.forEach((v) => {
var compiler = webpack({
context: process.cwd(),
- devtool: isProduction ? undefined : "... | change devtool from `eval` to `cheap-module-eval-source-map`
`eval` doesn't give us the original code `cheap-module-eval-source-map`
does | TrueCar_gluestick | train | js |
09fd6eef8a30a331a166bc6f46e3451a049a4a95 | diff --git a/src/basis/template/htmlfgen.js b/src/basis/template/htmlfgen.js
index <HASH>..<HASH> 100644
--- a/src/basis/template/htmlfgen.js
+++ b/src/basis/template/htmlfgen.js
@@ -215,7 +215,7 @@
disabled: '*', // any tag
checked: ['input'],
indeterminate: ['input'],
- value: ['input', 'te... | basis.template: process value attribute for <select> as special | basisjs_basisjs | train | js |
c1207f0e52ad458b91ffca06c26812334f0bf330 | diff --git a/js/share.js b/js/share.js
index <HASH>..<HASH> 100644
--- a/js/share.js
+++ b/js/share.js
@@ -9,8 +9,8 @@ $(document).ready(function(){
function update_share() {
var text = encodeURIComponent( $('#tweet_body').val() );
var url = encodeURIComponent( $('#copylink').val() );
- var tw = 'http://twitter.co... | Use HTTPS for Twitter/Facebook sharers
As long as I was touching the share code, it seemed silly to leave plain
HTTP links in there. | YOURLS_YOURLS | train | js |
85c69d1fcbb88d122673eaa029121b2f3a104eb7 | diff --git a/querydsl-core/src/main/java/com/mysema/query/codegen/BeanSerializer.java b/querydsl-core/src/main/java/com/mysema/query/codegen/BeanSerializer.java
index <HASH>..<HASH> 100644
--- a/querydsl-core/src/main/java/com/mysema/query/codegen/BeanSerializer.java
+++ b/querydsl-core/src/main/java/com/mysema/query/c... | added new BeanSerializer option | querydsl_querydsl | train | java |
7064a0ca5278095fdd8efb2944e72d2da55f0ef0 | diff --git a/grunt/concat.js b/grunt/concat.js
index <HASH>..<HASH> 100644
--- a/grunt/concat.js
+++ b/grunt/concat.js
@@ -1,11 +1,23 @@
'use strict';
+var banner = '+(function (root, factory) {\n' +
+ ' if (typeof define === \'function\' && define.amd) {\n' +
+ ' // AMD.\n' +
+ ... | feature(project): Added AMD support to the project, | tombatossals_angular-openlayers-directive | train | js |
f2fa17eee9894d3d2dcf9b5d6fc16db76358d474 | diff --git a/src/UpgradeCommand.php b/src/UpgradeCommand.php
index <HASH>..<HASH> 100644
--- a/src/UpgradeCommand.php
+++ b/src/UpgradeCommand.php
@@ -37,7 +37,7 @@ class UpgradeCommand extends Command
$this->line("<info>Created Migration:</info> {$file}");
- if (! $this->getOption('no-migrate')) {
... | Correctly get the option from the input object | JosephSilber_bouncer | train | php |
faec599fc4a1cc8f09523e78cab073ed570b8adc | diff --git a/src/test/java/org/archive/util/iterator/SortedCompositeIteratorTest.java b/src/test/java/org/archive/util/iterator/SortedCompositeIteratorTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/archive/util/iterator/SortedCompositeIteratorTest.java
+++ b/src/test/java/org/archive/util/iterator/Sorted... | - Removed pointless code. | iipc_webarchive-commons | train | java |
0ce96e5afe694c1fd21a416c5b1967e80eb89c8d | diff --git a/rollup.config.js b/rollup.config.js
index <HASH>..<HASH> 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -34,7 +34,7 @@ var config = {
}),
babel({
babelrc: false,
- presets: [["es2015", { "modules": false }]],
+ presets: [["es2015", { "modules": false }], "stage-0"],
... | Update babel settings in rollup | 25th-floor_revalidation | train | js |
d60a2c6ec2a1cc6b55fcefdc78c05964d93aae50 | diff --git a/bcbio/variation/coverage.py b/bcbio/variation/coverage.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/coverage.py
+++ b/bcbio/variation/coverage.py
@@ -34,7 +34,7 @@ def assign_interval(data):
- amplicon: Amplication based regional coverage without off-target reads
"""
genome_cov_thr... | Amplicon/pulldown: lower offtarget thresh
Well behaving exome probe sets have better than <I>% off-target reads
so get detected as amplicons. | bcbio_bcbio-nextgen | train | py |
0ee4d54752529321dab90238efe43197be49c58c | diff --git a/dbkit.py b/dbkit.py
index <HASH>..<HASH> 100644
--- a/dbkit.py
+++ b/dbkit.py
@@ -218,4 +218,22 @@ def _column_set(cursor):
finally:
cursor.close()
+# Utility functions {{{
+
+def unindent_statement(query):
+ """
+ Strips leading whitespace from a query based on the indentation
+ o... | Utility function for unindenting SQL statements (for logging). | kgaughan_dbkit | train | py |
983c24bd19b1b853eb6f1021499234549b0fdcc5 | diff --git a/api/includes/bootloader.php b/api/includes/bootloader.php
index <HASH>..<HASH> 100644
--- a/api/includes/bootloader.php
+++ b/api/includes/bootloader.php
@@ -44,8 +44,11 @@ $accounts = array(
/*!
* Pick a random email to login
*/
-$id = rand(0, (count($accounts) - 1));
-$account = $accounts[$id];
+$ac... | if there is just one account then we don't need to choose a random one | XboxLeaders_XboxLiveAPI | train | php |
515dfababf278b38db59c57cdebd0015fb96f514 | diff --git a/session_test.go b/session_test.go
index <HASH>..<HASH> 100644
--- a/session_test.go
+++ b/session_test.go
@@ -29,7 +29,7 @@ func TestMemorySession(t *testing.T) {
if err != nil {
t.Errorf("Could not delete session key.")
}
- value, err = s.Get(c.key)
+ _, err = s.Get(c.key)
if err == nil {
... | [fix] Fix assigned but never used variables. | dinever_golf | train | go |
743191f011cd8c4d8bd5b59533200e3559056437 | diff --git a/ella/newman/newman_admin.py b/ella/newman/newman_admin.py
index <HASH>..<HASH> 100644
--- a/ella/newman/newman_admin.py
+++ b/ella/newman/newman_admin.py
@@ -56,7 +56,7 @@ class CategoryUserRoleAdmin(newman.NewmanModelAdmin):
class CategoryUserRoleInline(newman.NewmanTabularInline):
model = m.Categor... | Added 'slug' into CategoryUserRoleInline suggest_field. | ella_ella | train | py |
d96ba5aca5d0b788170bcb00b0dd682129e276f6 | diff --git a/src/TableColumn/FilterModel/TypeDatetime.php b/src/TableColumn/FilterModel/TypeDatetime.php
index <HASH>..<HASH> 100644
--- a/src/TableColumn/FilterModel/TypeDatetime.php
+++ b/src/TableColumn/FilterModel/TypeDatetime.php
@@ -92,7 +92,7 @@ class TypeDatetime extends Generic
break;
... | DateTime is object and working on same object is replacing both value… (#<I>)
* DateTime is object and working on same object is replacing both values to be same
This sets $d1 and $d2 both to "YYYY-mm-dd <I>:<I>:<I>" ...
* Apply fixes from StyleCI | atk4_ui | train | php |
4161d32fa0ac7626dbdfa829250fd8478a0027cc | diff --git a/lib/compile.js b/lib/compile.js
index <HASH>..<HASH> 100644
--- a/lib/compile.js
+++ b/lib/compile.js
@@ -107,10 +107,22 @@ function containsTraversal(t) {
return t.some(isTraversal);
}
+function stripQuotes(str) {
+ var firstChar = str.charAt(0);
+
+ if (firstChar === str.slice(-1) && (first... | compile: strip quotation marks from :not
fixes #<I> | fb55_css-select | train | js |
24b1e7313c649baa40840ee023845efbeceff549 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -32,7 +32,7 @@ return array(
'requires' => array(
'generis' => '>=5.2.0',
'tao' => '>=13.2.0',
- 'taoDeliveryRdf' => '>=3.17.0',
+ 'taoDeliveryRdf' => '>=1.0',
'tao... | revert require version for taoDeliveryRdf | oat-sa_extension-tao-ltideliveryprovider | train | php |
7b32173fac8678009a908843c27da85028ad4221 | diff --git a/lib/android/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java b/lib/android/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java
index <HASH>..<HASH> 100644
--- a/lib/android/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java
+++ b/lib/android/src/main/java/com/airbnb/androi... | Fixes NPE while removing already removed marker. (#<I>) | react-native-community_react-native-maps | train | java |
f2befd5f97ad5635a54455ca16dc48a6b2ab75e3 | diff --git a/ambiguous/ambiguous.py b/ambiguous/ambiguous.py
index <HASH>..<HASH> 100644
--- a/ambiguous/ambiguous.py
+++ b/ambiguous/ambiguous.py
@@ -2,9 +2,10 @@ import sys
import types
from functools import partial
-from ops import ops
from types import *
+from .ops import ops
+
__all__ = [
'ambiguous', | move to relative import for python3 | dpep_pyambiguous | train | py |
824889d18d7e135b6f0519dcf1e614bfc186d2e7 | diff --git a/vaex/dataset.py b/vaex/dataset.py
index <HASH>..<HASH> 100644
--- a/vaex/dataset.py
+++ b/vaex/dataset.py
@@ -4585,7 +4585,7 @@ class DatasetConcatenated(DatasetLocal):
for name in list(first.virtual_columns.keys()):
if all([first.virtual_columns[name] == dataset.virtual_columns.get(name, None) for ... | performance: only add variables for the first dataset, when concatenating, otherwise performance is bad when concatting a <I> files | vaexio_vaex | train | py |
370886a57a3990175087d944b9d6f03f2e757b1b | diff --git a/src/instrumentation/utils.js b/src/instrumentation/utils.js
index <HASH>..<HASH> 100644
--- a/src/instrumentation/utils.js
+++ b/src/instrumentation/utils.js
@@ -138,8 +138,15 @@ module.exports = {
return fn.apply(module, args)
}
- // Instrument static functions
- this.getObjectFunction... | Copy all properties over when instrumenting objects. | opbeat_opbeat-react | train | js |
288c5af63597a908497c649172b22c10d42b2217 | diff --git a/packet_handler_map.go b/packet_handler_map.go
index <HASH>..<HASH> 100644
--- a/packet_handler_map.go
+++ b/packet_handler_map.go
@@ -35,6 +35,7 @@ type packetHandlerMap struct {
deleteRetiredSessionsAfter time.Duration
statelessResetEnabled bool
+ statelessResetMutex sync.Mutex
statelessResetHas... | fix race condition when generating stateless reset tokens | lucas-clemente_quic-go | train | go |
39f1a45c1d5b9c81e9a4b199ab2eb5c85d0c0eee | diff --git a/lib/fixture_builder.rb b/lib/fixture_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/fixture_builder.rb
+++ b/lib/fixture_builder.rb
@@ -159,7 +159,10 @@ module FixtureBuilder
def file_hashes
files_to_check.inject({}) do |hash, filename|
- hash[filename] = MD5.md5(File.read(File.join(... | rescue when there are problems loading files to check, to handle the case when schema.rb might not exist | rdy_fixture_builder | train | rb |
a751d410884fb7e75390c45c46ca31b3cedd0073 | diff --git a/lib/Models/Terria.js b/lib/Models/Terria.js
index <HASH>..<HASH> 100644
--- a/lib/Models/Terria.js
+++ b/lib/Models/Terria.js
@@ -419,7 +419,7 @@ Terria.prototype.start = function(options) {
that.serverConfig = new ServerConfig();
let serverConfig;
- return that.serverConfig.init... | Allow URL to serverconfig service to be specified. | TerriaJS_terriajs | train | js |
211b4890bd2916305bcb7cda564be5ba1604f137 | diff --git a/main/misc/src/main/java/org/jbundle/main/properties/screen/PropertiesInputGridScreen.java b/main/misc/src/main/java/org/jbundle/main/properties/screen/PropertiesInputGridScreen.java
index <HASH>..<HASH> 100644
--- a/main/misc/src/main/java/org/jbundle/main/properties/screen/PropertiesInputGridScreen.java
+... | Don't disable key in properties grid screen | jbundle_jbundle | train | java |
1d2a0bef46918009840effe1e6caa865e0c76487 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ setup(
url = 'https://github.com/jaseg/python-mpv',
author = 'jaseg',
author_email = 'github@jaseg.net',
- license = 'GPLv3+',
+ license = 'GPLv2+',
extras_require = {
'screens... | Fix license field in setup.py | jaseg_python-mpv | train | py |
7710b7a1719f73787ba06fe1cc5f77584a50f347 | diff --git a/src/Zephyrus/Database/Database.php b/src/Zephyrus/Database/Database.php
index <HASH>..<HASH> 100644
--- a/src/Zephyrus/Database/Database.php
+++ b/src/Zephyrus/Database/Database.php
@@ -38,8 +38,11 @@ class Database
try {
$statement = $this->handle->prepare($query, [PDO::ATTR_CURSOR =... | Corrected code formatting for StyleCI | dadajuice_zephyrus | train | php |
4fa2d5db396a0d1427daf30bb596bedab414d891 | diff --git a/workerpool.go b/workerpool.go
index <HASH>..<HASH> 100644
--- a/workerpool.go
+++ b/workerpool.go
@@ -194,12 +194,11 @@ func (wp *workerPool) workerFunc(ch *workerChan) {
defer func() {
if r := recover(); r != nil {
wp.Logger.Printf("panic: %s\nStack trace:\n%s", r, debug.Stack())
+ if c != nil ... | workerpool: bugfix: do not return workerChan to ready pool on panic | valyala_fasthttp | train | go |
114df3890d252f290d28050d51aa22fd3e5b5441 | diff --git a/src/frontend/org/voltdb/RestoreAgent.java b/src/frontend/org/voltdb/RestoreAgent.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/RestoreAgent.java
+++ b/src/frontend/org/voltdb/RestoreAgent.java
@@ -183,6 +183,11 @@ SnapshotCompletionInterest
if (m_action == StartAct... | Restore the hashinator on recovery if there is command log to replay. | VoltDB_voltdb | train | java |
e0415c8c1d244b0c6da6cfa6d3e5991e15fccbed | diff --git a/lib/Pico.php b/lib/Pico.php
index <HASH>..<HASH> 100644
--- a/lib/Pico.php
+++ b/lib/Pico.php
@@ -2141,7 +2141,7 @@ class Pico
'theme_url' => $this->getConfig('themes_url') . $this->getTheme(),
'site_title' => $this->getConfig('site_title'),
'meta' => $this->meta,
- ... | Mark Pico's content Twig variable as being safe
This no longer requires themes to output the `content` variable using `{{ content|raw }}`, theme developers can use `{{ content }}` as before. | picocms_Pico | train | php |
7ffe97a92a6225a507491b22ca5d8e1c542e7d95 | diff --git a/sentry.go b/sentry.go
index <HASH>..<HASH> 100644
--- a/sentry.go
+++ b/sentry.go
@@ -59,14 +59,14 @@ type SentryHook struct {
// If this is set to zero the server will not wait for any response and will
// consider the message correctly sent
Timeout time.Duration
- StacktraceConfigur... | Export stackTraceConfiguration struct type | evalphobia_logrus_sentry | train | go |
65d5abc8018266a1cc6e7182dbf5bdc48cd75308 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -154,7 +154,7 @@ var symlinker = function(destination, resolver, options) {
// Try with type "junction" on Windows
// Junctions behave equally to true symlinks and can be created in
... | Full path now given for windows juntions | ben-eb_gulp-symlink | train | js |
3247f0a814b4d45f370cd8439531ed3653f80542 | diff --git a/test/images/agnhost/guestbook/guestbook.go b/test/images/agnhost/guestbook/guestbook.go
index <HASH>..<HASH> 100644
--- a/test/images/agnhost/guestbook/guestbook.go
+++ b/test/images/agnhost/guestbook/guestbook.go
@@ -98,7 +98,6 @@ func registerNode(registerTo, port string) {
log.Fatalf("Error while un... | tests: Fixes minor agnhost error | kubernetes_kubernetes | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.