hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
31c4ec3de0e96a6b9d343e1ae58abf3f8226c822 | diff --git a/lib/wechat/cipher.rb b/lib/wechat/cipher.rb
index <HASH>..<HASH> 100644
--- a/lib/wechat/cipher.rb
+++ b/lib/wechat/cipher.rb
@@ -1,13 +1,37 @@
+require 'openssl/cipher'
+require 'securerandom'
+require 'base64'
+
module Wechat
module Cipher
extend ActiveSupport::Concern
BLOCK_SIZE = 32
+ ... | add encrypt and decrypt method | Eric-Guo_wechat | train |
46204d8d7b8e55936bf21042e8e6dfe550c0f625 | diff --git a/src/database.js b/src/database.js
index <HASH>..<HASH> 100644
--- a/src/database.js
+++ b/src/database.js
@@ -19,6 +19,8 @@ const initializeDb = knex => {
table.enu('gender', ['unknown', 'male', 'female'])
table.integer('timezone')
table.string('picture_url')
+ table.string('first... | Added first_name, last_name, profile_pic as database fields on users | botpress_botpress | train |
1f52b0e8e5899a0f18573814933ab82f49f3f5cb | diff --git a/h2o-py/tests/testdir_algos/targetencoder/pyunit_targetencoder_data_leakage.py b/h2o-py/tests/testdir_algos/targetencoder/pyunit_targetencoder_data_leakage.py
index <HASH>..<HASH> 100644
--- a/h2o-py/tests/testdir_algos/targetencoder/pyunit_targetencoder_data_leakage.py
+++ b/h2o-py/tests/testdir_algos/targ... | fixed TE tests failing on Py <I> (#<I>)
* fixed TE tests failing on Py <I>
* removed print statements for debugging | h2oai_h2o-3 | train |
fb83e3dd4e16d1f9427506d419f52044f39d523c | diff --git a/src/ActiveDoctrine/Entity/Entity.php b/src/ActiveDoctrine/Entity/Entity.php
index <HASH>..<HASH> 100644
--- a/src/ActiveDoctrine/Entity/Entity.php
+++ b/src/ActiveDoctrine/Entity/Entity.php
@@ -16,7 +16,8 @@ abstract class Entity
protected static $primary_key = 'id';
protected static $fields = []... | Improving the behaviour of setValuesSafe().
Primary key is blacklisted by default, allow for an empty blacklist. | glynnforrest_active-doctrine | train |
fa044ba88a1eb07c87632c65209ae111dd652c11 | diff --git a/lib/phare/check/jshint.rb b/lib/phare/check/jshint.rb
index <HASH>..<HASH> 100644
--- a/lib/phare/check/jshint.rb
+++ b/lib/phare/check/jshint.rb
@@ -8,7 +8,7 @@ module Phare
@config = File.expand_path("#{directory}.jshintrc", __FILE__)
@path = File.expand_path("#{directory}app/assets/jav... | Fix issue with es6 extension with JSHint | mirego_phare | train |
43aa295b959ef4212535a569972dee52c474bdb5 | diff --git a/user/index.php b/user/index.php
index <HASH>..<HASH> 100644
--- a/user/index.php
+++ b/user/index.php
@@ -318,7 +318,14 @@
/// Define a table showing a list of users in the current role selection
$tablecolumns = array('userpic', 'fullname');
+ $extrafields = get_extra_user_fields($context);
... | MDL-<I> (4) Support showuseridentity on Participants page | moodle_moodle | train |
68232f7e5b075079c728c9e19fa3e991ef2f27d2 | diff --git a/librosa/core/pitch.py b/librosa/core/pitch.py
index <HASH>..<HASH> 100644
--- a/librosa/core/pitch.py
+++ b/librosa/core/pitch.py
@@ -399,7 +399,7 @@ def _cumulative_mean_normalized_difference(
"""
# Autocorrelation.
a = np.fft.rfft(y_frames, frame_length, axis=-2)
- b = np.fft.rfft(y_fra... | fixed off-by-one in yin/pyin difference calculation, fixes #<I> (#<I>) | librosa_librosa | train |
80f354e5a400e2ce983bf9e6d77068355f276d1e | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -178,7 +178,7 @@ gulp.task('templatesExample', function() {
//Build focus components into the other repositories.
-gulp.task('focus-component', function() {
+gulp.task('focus-npm', function() {
var react = ... | [build] Add build into external application. | KleeGroup_focus-core | train |
6f7635807ab848c0568fc0f3473b3234cf435cd1 | diff --git a/curdling/services/dependencer.py b/curdling/services/dependencer.py
index <HASH>..<HASH> 100644
--- a/curdling/services/dependencer.py
+++ b/curdling/services/dependencer.py
@@ -13,8 +13,8 @@ class Dependencer(Service):
def handle(self, requester, requirement, sender_data):
# Find the wheel... | Update the dependencer to reflect last changes to the maestro | clarete_curdling | train |
fc2925794dba49c3786e49c35932d84b283de59d | diff --git a/HierarchyCollection.php b/HierarchyCollection.php
index <HASH>..<HASH> 100644
--- a/HierarchyCollection.php
+++ b/HierarchyCollection.php
@@ -83,6 +83,8 @@ class HierarchyCollection
* @param array $children The child hierarchy
*
* @throws Exception\LogicException if the operation f... | BB-<I>: Improve layout block order setup
- fixed CS | oroinc_OroLayoutComponent | train |
437d48f926f87d304747db234cd31a6c2aad42e6 | diff --git a/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java b/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/azure/compute/image/AzureOSImage.java
+++ b/src/main/java/org/dasein/cloud/azure/compute/image/AzureOS... | use server tags for imaging rather than splitting id | dasein-cloud_dasein-cloud-azure | train |
64b3173e0a6c1838b51116d87ad3e73e428516c7 | diff --git a/src/Core/Entity/AbstractIdentifiableModificationDateAwareEntity.php b/src/Core/Entity/AbstractIdentifiableModificationDateAwareEntity.php
index <HASH>..<HASH> 100644
--- a/src/Core/Entity/AbstractIdentifiableModificationDateAwareEntity.php
+++ b/src/Core/Entity/AbstractIdentifiableModificationDateAwareEnti... | [Core] optimize preUpdate and perPersist-Hooks for Application and Abstract
(#<I>) | yawik_core | train |
7a5e34a7e1811ea4e4f4e9570102adc6fe926c21 | diff --git a/addons/depgraph/clients/ruby/depgraph/http.rb b/addons/depgraph/clients/ruby/depgraph/http.rb
index <HASH>..<HASH> 100755
--- a/addons/depgraph/clients/ruby/depgraph/http.rb
+++ b/addons/depgraph/clients/ruby/depgraph/http.rb
@@ -11,7 +11,7 @@ module Depgraph
@host = host
@port = port
... | improving timeouts and logging a bit | Commonjava_indy | train |
97cd0f4302c9ec4aa274d2d7a96e5bb6449c9808 | diff --git a/imgaug/augmenters/arithmetic.py b/imgaug/augmenters/arithmetic.py
index <HASH>..<HASH> 100644
--- a/imgaug/augmenters/arithmetic.py
+++ b/imgaug/augmenters/arithmetic.py
@@ -1386,7 +1386,7 @@ def CoarsePepper(p=0, size_px=None, size_percent=None,
mask = Binomial(Uniform(p[0], p[1]))
elif ia.i... | Fix CoarsePepper missing Binomial if p given as list | aleju_imgaug | train |
9d1e5aa7f991eb09da49c3f13d9cfd69da5e87c6 | diff --git a/src/RestGalleries/APIs/Flickr/FlickrGallery.php b/src/RestGalleries/APIs/Flickr/FlickrGallery.php
index <HASH>..<HASH> 100644
--- a/src/RestGalleries/APIs/Flickr/FlickrGallery.php
+++ b/src/RestGalleries/APIs/Flickr/FlickrGallery.php
@@ -6,7 +6,7 @@ use Guzzle\Http\Client;
use RestGalleries\APIs\Flickr\Fl... | Changing Interfaces name to interfaces | estebanmatias92_RestGalleries | train |
99ccf96e1e3787c5bc2302e7135dfdb1cce8104f | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -139,7 +139,7 @@ gulp.task('unit', function () {
return runMochaWithEspowerLoader();
});
-gulp.task('test_espowered', function () {
+gulp.task('test_generated', function () {
return runMocha(paths.test... | Reorganize gulpfile a bit. | power-assert-js_power-assert | train |
afebb87b1ad87e11caa462832083a4809ae4d9a5 | diff --git a/test/localAppResolver.js b/test/localAppResolver.js
index <HASH>..<HASH> 100644
--- a/test/localAppResolver.js
+++ b/test/localAppResolver.js
@@ -30,7 +30,7 @@ describe('localAppResolver', function() {
});
});
- describe('getUrl', function(cb) {
+ describe('getUrl', function() {
... | Accidentally made a test async. | Brightspace_free-range-app-utils | train |
b80e1d51c6f5538d7f31a2cf01c5028f68a1a62c | diff --git a/builder/amazon/ebs/step_create_ami.go b/builder/amazon/ebs/step_create_ami.go
index <HASH>..<HASH> 100644
--- a/builder/amazon/ebs/step_create_ami.go
+++ b/builder/amazon/ebs/step_create_ami.go
@@ -7,6 +7,7 @@ import (
"github.com/aws/aws-sdk-go/service/ec2"
awscommon "github.com/hashicorp/packer/bui... | aws: when building an AMI with 'encrypt_boot: true', randomize the name of the temporary AMI | hashicorp_packer | train |
76303b8a04dc6793f3c065efed328b8428a2c8e5 | diff --git a/aioworkers/cli.py b/aioworkers/cli.py
index <HASH>..<HASH> 100644
--- a/aioworkers/cli.py
+++ b/aioworkers/cli.py
@@ -2,21 +2,26 @@ import argparse
import asyncio
import logging.config
import multiprocessing
+import operator
import os
import signal
import time
+from functools import reduce
from . ... | change cli args for groups | aioworkers_aioworkers | train |
b9a3cd6a77b213d056830f3fd81c04e7d3385abf | diff --git a/src/main/org/openscience/cdk/io/MDLV2000Reader.java b/src/main/org/openscience/cdk/io/MDLV2000Reader.java
index <HASH>..<HASH> 100644
--- a/src/main/org/openscience/cdk/io/MDLV2000Reader.java
+++ b/src/main/org/openscience/cdk/io/MDLV2000Reader.java
@@ -63,9 +63,10 @@ import java.util.Map;
import java.uti... | Clarified what is read from what file type | cdk_cdk | train |
f48dce3a5a8b5a07af6cd7d0fb4f075bc65f2b72 | diff --git a/tinybus/src/com/halfbit/tinybus/TinyBus.java b/tinybus/src/com/halfbit/tinybus/TinyBus.java
index <HASH>..<HASH> 100644
--- a/tinybus/src/com/halfbit/tinybus/TinyBus.java
+++ b/tinybus/src/com/halfbit/tinybus/TinyBus.java
@@ -215,8 +215,10 @@ public class TinyBus implements Bus {
+ "Solution: create... | avoid processing events if thread is exiting | beworker_tinybus | train |
a06d546f5c2e853b07fde5a41b1fff102829b116 | diff --git a/tree.go b/tree.go
index <HASH>..<HASH> 100644
--- a/tree.go
+++ b/tree.go
@@ -349,7 +349,12 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain)
}
if len(n.path) > 0 && n.path[len(n.path)-1] == '/' {
- panic("catch-all conflicts with existing handle for the path seg... | prettify error message for catch-all conflict with existing path segment (#<I>) | gin-gonic_gin | train |
46ffdcba34c85d888c96225d51e0fa8bc6ca7de2 | diff --git a/table_logger/fmt.py b/table_logger/fmt.py
index <HASH>..<HASH> 100755
--- a/table_logger/fmt.py
+++ b/table_logger/fmt.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
+from __future__ import unicode_literals, division, absolute_import, print_function
"""The module cont... | added __future__ imports | AleksTk_table-logger | train |
0c818425b87707e69f11cff1a6b85b89c924a50f | diff --git a/tools/im2rec.py b/tools/im2rec.py
index <HASH>..<HASH> 100644
--- a/tools/im2rec.py
+++ b/tools/im2rec.py
@@ -13,7 +13,8 @@ def list_image(root, recursive, exts):
image_list = []
if recursive:
cat = {}
- for path, subdirs, files in os.walk(root):
+ for path, subdirs, files ... | Patch for im2rec.py (#<I>)
* A patch for im2rec.py
* Update with multiple .rec generation | apache_incubator-mxnet | train |
ec6d13e7cc654a06ecc4c244f01b504764856830 | diff --git a/pliers/extractors/api/clarifai.py b/pliers/extractors/api/clarifai.py
index <HASH>..<HASH> 100644
--- a/pliers/extractors/api/clarifai.py
+++ b/pliers/extractors/api/clarifai.py
@@ -57,9 +57,13 @@ class ClarifaiAPIExtractor(APITransformer, BatchTransformerMixin,
"must be p... | implemented key test for clarifai | tyarkoni_pliers | train |
86d532f618e7a951e353edd921b9ddd54dd27700 | diff --git a/pydle/async.py b/pydle/async.py
index <HASH>..<HASH> 100644
--- a/pydle/async.py
+++ b/pydle/async.py
@@ -192,9 +192,9 @@ class EventLoop:
def _do_schedule_periodically(self, interval, callback, args, kwargs):
# Use a wrapper function
- return self.io_loop.add_timeout(interval, funct... | Replace _periodical_handler with something that reminds less of menstrual cycles. | Shizmob_pydle | train |
eec51f72338301aa3faa60fee1a269cb81993002 | diff --git a/tests/data_context/test_data_context.py b/tests/data_context/test_data_context.py
index <HASH>..<HASH> 100644
--- a/tests/data_context/test_data_context.py
+++ b/tests/data_context/test_data_context.py
@@ -279,7 +279,11 @@ def test_compile(data_context):
'urn:great_expectations:validations:myd... | Use DataAssetIdentifier as key in compiled structure | great-expectations_great_expectations | train |
43578a9d6e04cdc13522f967eb2319a0982f5ed5 | diff --git a/mount/mountinfo.go b/mount/mountinfo.go
index <HASH>..<HASH> 100644
--- a/mount/mountinfo.go
+++ b/mount/mountinfo.go
@@ -21,11 +21,3 @@ import "github.com/moby/sys/mountinfo"
// Info reveals information about a particular mounted filesystem. This
// struct is populated from the content in the /proc/<pid... | mount: mount.PID(), mount.Self(): change signature to return pointers | containerd_containerd | train |
c5affc8697f07cefaa0d81488b02d43e37afbfe0 | diff --git a/src/de/lmu/ifi/dbs/data/FeatureVector.java b/src/de/lmu/ifi/dbs/data/FeatureVector.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/data/FeatureVector.java
+++ b/src/de/lmu/ifi/dbs/data/FeatureVector.java
@@ -22,6 +22,11 @@ public class FeatureVector implements RealVector {
private double[] val... | ids in metrical object | elki-project_elki | train |
60e03eccb2e10dccd45ab86a9f6c4cd0b83ae624 | diff --git a/requirements_dev.txt b/requirements_dev.txt
index <HASH>..<HASH> 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -5,3 +5,4 @@ sphinx
sphinx_rtd_theme
pytest
pytest-rerunfailures
+-e .
diff --git a/tests/base_test.py b/tests/base_test.py
index <HASH>..<HASH> 100644
--- a/tests/base_test.p... | Chn fwd test (#<I>)
* Updated forwarding tests | ParallelSSH_ssh2-python | train |
8ca3428aa9007d9069677d4eda3544d5db01445c | diff --git a/aws/resource_aws_vpc_endpoint_test.go b/aws/resource_aws_vpc_endpoint_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_vpc_endpoint_test.go
+++ b/aws/resource_aws_vpc_endpoint_test.go
@@ -94,6 +94,7 @@ func TestAccAWSVpcEndpoint_gatewayBasic(t *testing.T) {
resource.ParallelTest(t, resource.T... | tests/r/vpc_endpoint: Add ErrorCheck | terraform-providers_terraform-provider-aws | train |
30d7075eee4e45bb8f29cbb2807eba5d5c48053d | diff --git a/labm8/py/pbutil.py b/labm8/py/pbutil.py
index <HASH>..<HASH> 100644
--- a/labm8/py/pbutil.py
+++ b/labm8/py/pbutil.py
@@ -163,6 +163,7 @@ def FromFile(
else:
message.ParseFromString(f.read())
except (
+ google.protobuf.message.DecodeError,
google.protobuf.text_format.ParseError,
... | labm8/pbutil: Catch and re-raise DecodeError for wire-format.
Signed-off-by: format <I> <github.com/ChrisCummins/format> | ChrisCummins_labm8 | train |
24ba87bf92c3387b6bbf197788bffd103107931a | diff --git a/doc/ol3.md b/doc/ol3.md
index <HASH>..<HASH> 100644
--- a/doc/ol3.md
+++ b/doc/ol3.md
@@ -179,8 +179,8 @@ TileGrid
getTileCoord(coordinate) -> TileCoord
getTileCoordExtent(tileCoord) -> ol.Extent
getZForResolution(resolution) -> number
- yieldTileCoordChildren(tileCoord, function(z, TileBound... | s/yield/forEach/ | openlayers_openlayers | train |
a628ee035338cff221994da1969fe20eaa7f8638 | diff --git a/fitsio/fitslib.py b/fitsio/fitslib.py
index <HASH>..<HASH> 100644
--- a/fitsio/fitslib.py
+++ b/fitsio/fitslib.py
@@ -21,7 +21,7 @@ See the main docs at https://github.com/esheldon/fitsio
"""
from __future__ import with_statement, print_function
-import os
+import sys, os
import numpy
from . import _... | careful with bytes type in py3 | esheldon_fitsio | train |
15ca6776bc0b74e123fa3f1885543121ed7daa57 | diff --git a/src/ossos-pipeline/ossos/ssos.py b/src/ossos-pipeline/ossos/ssos.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos/ssos.py
+++ b/src/ossos-pipeline/ossos/ssos.py
@@ -2,10 +2,13 @@ __author__ = 'Michele Bannister, JJ Kavelaars'
import datetime
import os
+import pprint
import warnings
fro... | Added back some imports lost during the merge. | OSSOS_MOP | train |
90f38da337f1c2f4e80f6ca1c22da1b85cc0a160 | diff --git a/tensorboard/plugins/histogram/summary.py b/tensorboard/plugins/histogram/summary.py
index <HASH>..<HASH> 100644
--- a/tensorboard/plugins/histogram/summary.py
+++ b/tensorboard/plugins/histogram/summary.py
@@ -36,12 +36,15 @@ from tensorboard.plugins.histogram import summary_v2
# Export V2 versions.
-... | histogram: set v3 as default (#<I>)
* set histogram v3 as default
* remove unused import
* keep the v2 version for now
* keep the v3 export to avoid breaking internal tests | tensorflow_tensorboard | train |
67c070e31d25f7b0b935d54914add51d216f249e | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -34,7 +34,7 @@ util.getUrl = function (req) {
parts = url.parse(decodedUrl, true);
// Remove the _escaped_fragment_ query parameter
- if (parts.query && parts.query.hasOwnProperty('_escaped_fragment_... | fixed error with using hasOwnProperty with Node v6 | prerender_prerender | train |
11e90ea0d6f0a00e8835a95bdf35c3f4af2001eb | diff --git a/ccxt.js b/ccxt.js
index <HASH>..<HASH> 100644
--- a/ccxt.js
+++ b/ccxt.js
@@ -7656,7 +7656,7 @@ var flowbtc = {
throw new EndpointError (this.id + ' requires `ins` symbol parameter for cancelling an order');
},
- request (path, type = 'public', method = 'GET', params = {}, headers = unde... | flowbtc error handling unified | ccxt_ccxt | train |
a148fa6a81d048f01f812aac94d7899fc2859755 | diff --git a/wisdom-openjpa-enhancer-plugin/src/main/java/org/wisdom/openjpa/enhancer/OpenJPAEnhancerMojo.java b/wisdom-openjpa-enhancer-plugin/src/main/java/org/wisdom/openjpa/enhancer/OpenJPAEnhancerMojo.java
index <HASH>..<HASH> 100644
--- a/wisdom-openjpa-enhancer-plugin/src/main/java/org/wisdom/openjpa/enhancer/Op... | Revert TCCL once the enhancement is done. | wisdom-framework_wisdom-jdbc | train |
81994f6b90fb8a1380622710519c87bec19369e4 | diff --git a/src/Composer/Downloader/FileDownloader.php b/src/Composer/Downloader/FileDownloader.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Downloader/FileDownloader.php
+++ b/src/Composer/Downloader/FileDownloader.php
@@ -105,8 +105,12 @@ class FileDownloader implements DownloaderInterface
}
... | Re-download files when the cached copy is invalid, fixes #<I> | mothership-ec_composer | train |
3c25058e61801b17aa93973cf2f2cebf6ace3c19 | diff --git a/tests/test_cli.py b/tests/test_cli.py
index <HASH>..<HASH> 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -956,7 +956,9 @@ def test_ls_cli(monkeypatch, tmpdir):
assert cli_output == '\n'.join(stems) + '\n'
-def test_debug_info_cli():
+def test_debug_info_cli(monkeypatch, tmpdir):
+ m... | running black over changes
trying monkey patch in debug-info test
testing parts of the debug-info command test to narrow down problem
removing os specifics from debug-info to see if the python ones come through
python internals only testing
adding SHELL back in
adding SHELL to debug_info_test via monkeypatch
add... | tmux-python_tmuxp | train |
176d75488914bdb2f5fc1d7fe450fd761dffd023 | diff --git a/visidata/loaders/tsv.py b/visidata/loaders/tsv.py
index <HASH>..<HASH> 100644
--- a/visidata/loaders/tsv.py
+++ b/visidata/loaders/tsv.py
@@ -2,7 +2,7 @@ import os
import contextlib
import itertools
-from visidata import asyncthread, options, Progress, status, ColumnItem, Sheet, FileExistsError, getTyp... | [tsv bugfix] start with row for each column; exceptionCaught on error | saulpw_visidata | train |
dfdac2757c7f53a0ebe5aa88da775d4b49e0022d | diff --git a/lib/symmetric_encryption/cipher.rb b/lib/symmetric_encryption/cipher.rb
index <HASH>..<HASH> 100644
--- a/lib/symmetric_encryption/cipher.rb
+++ b/lib/symmetric_encryption/cipher.rb
@@ -50,6 +50,8 @@ module SymmetricEncryption
# This is the recommended format since newlines in the values to
... | Support urlsafe base<I> (#<I>)
* Add support for urlsafe_base<I>
* Add test to test difference between urlsafe encoding and strict encoding
* Add documentation and test | rocketjob_symmetric-encryption | train |
e82f5d1294163141868daf11371547d0dae7e774 | diff --git a/sdk/src/main/java/mil/nga/giat/geopackage/db/metadata/GeometryMetadataDataSource.java b/sdk/src/main/java/mil/nga/giat/geopackage/db/metadata/GeometryMetadataDataSource.java
index <HASH>..<HASH> 100644
--- a/sdk/src/main/java/mil/nga/giat/geopackage/db/metadata/GeometryMetadataDataSource.java
+++ b/sdk/src... | fixing index query to find overlaps, not just contains | ngageoint_geopackage-android | train |
44733b43c45c857dfb5843b74c2e820f073ef7a2 | diff --git a/lib/cb/utils/validator.rb b/lib/cb/utils/validator.rb
index <HASH>..<HASH> 100755
--- a/lib/cb/utils/validator.rb
+++ b/lib/cb/utils/validator.rb
@@ -14,10 +14,14 @@ module Cb
def raise_response_code_errors(response)
code = response.code rescue nil
- raise Cb::ServiceUnavailableErr... | adding ENV var to simulate outage | careerbuilder_ruby-cb-api | train |
57d1ae56fe7e3458812b7f7b6a5e0ea2361d2120 | diff --git a/lib/graphql/query.rb b/lib/graphql/query.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/query.rb
+++ b/lib/graphql/query.rb
@@ -40,7 +40,7 @@ module GraphQL
# @return [Boolean] if false, static validation is skipped (execution behavior for invalid queries is undefined)
attr_accessor :validate
... | Get query string from document if it wasn't passed in explicitly to `execute` | rmosolgo_graphql-ruby | train |
c38ae0f5c874db91dca1e7377f8e845359e08012 | diff --git a/socketio/server.py b/socketio/server.py
index <HASH>..<HASH> 100644
--- a/socketio/server.py
+++ b/socketio/server.py
@@ -62,7 +62,10 @@ class SocketIOServer(WSGIServer):
try:
address = args[0][0]
except TypeError:
- address = args[0].address[0]
+ ... | workaround for incompatibilities with gunicorn >= <I>
see esp. <URL> | abourget_gevent-socketio | train |
49a9a7f89e90fd8af9a7a9ff044c108b5cd6c2fe | diff --git a/lib/mqtt/packet.rb b/lib/mqtt/packet.rb
index <HASH>..<HASH> 100644
--- a/lib/mqtt/packet.rb
+++ b/lib/mqtt/packet.rb
@@ -194,7 +194,7 @@ module MQTT
# Build up the body length field bytes
begin
digit = (body_length % 128)
- body_length = (body_length / 128)
+ body_leng... | ruby-mqtt does not work with mathn library.
see also... <URL> | njh_ruby-mqtt | train |
467e350be43149daa4795926de743349e3c36880 | diff --git a/aws-sdk-resources/lib/aws-sdk-resources/documenter.rb b/aws-sdk-resources/lib/aws-sdk-resources/documenter.rb
index <HASH>..<HASH> 100644
--- a/aws-sdk-resources/lib/aws-sdk-resources/documenter.rb
+++ b/aws-sdk-resources/lib/aws-sdk-resources/documenter.rb
@@ -52,36 +52,12 @@ module Aws
copy_fr... | Moved documentation from doc plugin into code. | aws_aws-sdk-ruby | train |
b0c2233718f10e900b87b5bf47f1c10b878600e5 | diff --git a/core/CoreTransaction.java b/core/CoreTransaction.java
index <HASH>..<HASH> 100644
--- a/core/CoreTransaction.java
+++ b/core/CoreTransaction.java
@@ -143,7 +143,7 @@ class CoreTransaction implements Hypergraph.Transaction {
public byte[] get(byte[] key) {
try {
readWr... | Revert to using RocksDB OptimisticTransaction for reads | graknlabs_grakn | train |
f41b857680c70254fa644475aae7a9cd71bc5c94 | diff --git a/examples.py b/examples.py
index <HASH>..<HASH> 100644
--- a/examples.py
+++ b/examples.py
@@ -1,85 +1,73 @@
# -*- coding: utf-8 -*-
-"""Examples for reference using clint, progress, and blessings"""
+"""Examples
+Usage:
+`python -c "import examples; examples.simple_two_bar_example()"`
+"""
import rando... | Ensure enough lines exist below so that restore properly works; update example comments/documentation; remove clint and progress examples | hfaran_progressive | train |
54811d7e647761a650f55d492b75043794679e93 | diff --git a/lib/discordrb/events/await.rb b/lib/discordrb/events/await.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/events/await.rb
+++ b/lib/discordrb/events/await.rb
@@ -21,7 +21,7 @@ module Discordrb::Events
[
matches_all(@attributes[:key], event.key) { |a, e| a == e },
- matches_all(... | Match the correct thing for :type | meew0_discordrb | train |
c52848c167d053d044203e68442cbbc4555022e5 | diff --git a/lxd/storage/drivers/driver_lvm_volumes.go b/lxd/storage/drivers/driver_lvm_volumes.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_lvm_volumes.go
+++ b/lxd/storage/drivers/driver_lvm_volumes.go
@@ -965,6 +965,11 @@ func (d *lvm) RestoreVolume(vol Volume, snapshotName string, op *operations.... | lxd/storage/drivers/driver/lvm/volumes: Activate volume before FS UUID regen in RestoreVolume | lxc_lxd | train |
98affcc4c72b1d1d13d6628ef489b9e588f4bf44 | diff --git a/test/lib/Elastica/Test/ResultSetTest.php b/test/lib/Elastica/Test/ResultSetTest.php
index <HASH>..<HASH> 100644
--- a/test/lib/Elastica/Test/ResultSetTest.php
+++ b/test/lib/Elastica/Test/ResultSetTest.php
@@ -58,6 +58,35 @@ class ResultSetTest extends BaseTest
/**
* @group functional
+ */... | Update ResultSetTest.php | ruflin_Elastica | train |
414ccbd7e56086a424781cf7772d861ff88de658 | diff --git a/src/harvesters/core.py b/src/harvesters/core.py
index <HASH>..<HASH> 100644
--- a/src/harvesters/core.py
+++ b/src/harvesters/core.py
@@ -455,6 +455,7 @@ class ThreadBase:
#
self._mutex = mutex
self._is_running = False
+ self._id = None
def start(self) -> None:
... | Resolve issue #<I> | genicam_harvesters | train |
af611f7570702f14c05161f3e408b4b3287f56a2 | diff --git a/src/sos/actions.py b/src/sos/actions.py
index <HASH>..<HASH> 100644
--- a/src/sos/actions.py
+++ b/src/sos/actions.py
@@ -19,6 +19,7 @@ import urllib.parse
import urllib.request
import uuid
import zipfile
+import multiprocessing as mp
from collections import Sequence
from functools import wraps
@@ -... | Fix sos_run in interactive and dryrun mode | vatlab_SoS | train |
b1d106e375803360cfa2d1ed32831ef44f4f6211 | diff --git a/pkg/apis/kops/validation/validation.go b/pkg/apis/kops/validation/validation.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/kops/validation/validation.go
+++ b/pkg/apis/kops/validation/validation.go
@@ -454,12 +454,33 @@ func validateKubeAPIServer(v *kops.KubeAPIServerConfig, c *kops.Cluster, fldPath
}
... | Validate that kube-apiserver has the necessary authz modes set | kubernetes_kops | train |
b0a38a0d1b15f2d36a4743ed74efd3cd92446cb5 | diff --git a/libnetwork/drivers/bridge/bridge.go b/libnetwork/drivers/bridge/bridge.go
index <HASH>..<HASH> 100644
--- a/libnetwork/drivers/bridge/bridge.go
+++ b/libnetwork/drivers/bridge/bridge.go
@@ -156,7 +156,7 @@ func (d *driver) CreateNetwork(id driverapi.UUID, option interface{}) error {
// We ensure that ... | Fixed a bug in bridge driver where when the bridge already exists
the bridgeInterface.bridgeIPv4 is not getting initialized properly | moby_moby | train |
84ac47336a3975839c96f5cb95fbefdca709fae6 | diff --git a/tests/Propel/Tests/Common/Config/Loader/IniFileLoaderTest.php b/tests/Propel/Tests/Common/Config/Loader/IniFileLoaderTest.php
index <HASH>..<HASH> 100644
--- a/tests/Propel/Tests/Common/Config/Loader/IniFileLoaderTest.php
+++ b/tests/Propel/Tests/Common/Config/Loader/IniFileLoaderTest.php
@@ -196,6 +196,7 ... | Ignored tests depending on chmod on Windows
As Windows filesystem does not support chmod, the tests depending on unix-style filesystem permission can't go green on Windows | propelorm_Propel2 | train |
7725f1af0134c6d9db5b9ed116118fd6a9dd1295 | diff --git a/examples/plotting/server/candlestick.py b/examples/plotting/server/candlestick.py
index <HASH>..<HASH> 100644
--- a/examples/plotting/server/candlestick.py
+++ b/examples/plotting/server/candlestick.py
@@ -9,7 +9,7 @@ output_server("candlestick.py example")
hold()
-df = pd.DataFrame(MSFT)
+df = pd.Dat... | make server candlestick demo sync with file demo | bokeh_bokeh | train |
1ae14634abbe6c8153ad7ca37fc13b1a6296b17f | diff --git a/leaderboard/competition_ranking_leaderboard.py b/leaderboard/competition_ranking_leaderboard.py
index <HASH>..<HASH> 100644
--- a/leaderboard/competition_ranking_leaderboard.py
+++ b/leaderboard/competition_ranking_leaderboard.py
@@ -1,7 +1,6 @@
from .leaderboard import Leaderboard
from redis import Stri... | Remove `izip_longest` import where unneeded.
It is not used by the CompetitionRanking or TieRanking leaderboards,
and causes issues with Python 3 when trying to use these. | agoragames_leaderboard-python | train |
dbf496896a1243eb3041fd1f2bd1cf6b995c34ff | diff --git a/extensions/dagger-adapter/test/com/google/inject/daggeradapter/DaggerAdapterTest.java b/extensions/dagger-adapter/test/com/google/inject/daggeradapter/DaggerAdapterTest.java
index <HASH>..<HASH> 100644
--- a/extensions/dagger-adapter/test/com/google/inject/daggeradapter/DaggerAdapterTest.java
+++ b/extensi... | Consolidate two different yet similar tests
-------------
Created by MOE: <URL> | google_guice | train |
acd10ae78f81b7ce470de3bb8d0ef55d434fc752 | diff --git a/lib/commands/general.js b/lib/commands/general.js
index <HASH>..<HASH> 100644
--- a/lib/commands/general.js
+++ b/lib/commands/general.js
@@ -1,7 +1,7 @@
import _ from 'lodash';
import log from '../logger';
import B from 'bluebird';
-import { errors, BASEDRIVER_HANDLED_SETTINGS } from '@appium/base-driv... | fix: Update the way driver settings are updated (#<I>) | appium_appium-uiautomator2-driver | train |
738844705438b332a3f5fae9725d8c4ce01febc5 | diff --git a/s2/cmd/s2c/main.go b/s2/cmd/s2c/main.go
index <HASH>..<HASH> 100644
--- a/s2/cmd/s2c/main.go
+++ b/s2/cmd/s2c/main.go
@@ -143,7 +143,7 @@ Options:`)
file, err := os.Open(filename)
exitErr(err)
defer closeOnce.Do(func() { file.Close() })
- src, err := readahead.NewReaderSize(file, *cpu, 1<<20)... | Fix single threaded S2 ReadFrom | klauspost_compress | train |
0b4d22b245bb3c3ad7076876970d5b4b7c3efc69 | diff --git a/rules/manager.go b/rules/manager.go
index <HASH>..<HASH> 100644
--- a/rules/manager.go
+++ b/rules/manager.go
@@ -694,8 +694,6 @@ func (m *Manager) Update(interval time.Duration, files []string) error {
}
// loadGroups reads groups from a list of files.
-// As there's currently no group syntax a single... | rules/manager: remove a no-longer-relevant comment (#<I>) | prometheus_prometheus | train |
507be3909bff0b7383068c5ad7c3cb2fe7356d49 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# [develop](https://github.com/adhearsion/punchblock)
- * Feature: Set dial headers on FreeSWITCH originate command
- * Feature: Set dial headers on Asterisk originate command
+ * Feature: Set ... | [BUGFIX] Assume dial headers are SIP headers on * and FS | adhearsion_punchblock | train |
44841ca9115d28c4b8aa937ebcef6fe76bdf8f89 | diff --git a/lib/medialib.php b/lib/medialib.php
index <HASH>..<HASH> 100644
--- a/lib/medialib.php
+++ b/lib/medialib.php
@@ -494,7 +494,8 @@ class core_media_player_vimeo extends core_media_player_external {
$output = <<<OET
<span class="mediaplugin mediaplugin_vimeo">
<iframe title="$info" src="https://pl... | MDL-<I> medialib: Allow vimeo fullscreen using links
All credit to Henrik Sune Pedersen. | moodle_moodle | train |
4ceecf66c633b5e15ae42acf58961613c628cd85 | diff --git a/telemetry/telemetry/core/web_contents.py b/telemetry/telemetry/core/web_contents.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/core/web_contents.py
+++ b/telemetry/telemetry/core/web_contents.py
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in... | [Telemetry] Raise default web contents timeout from <I>-><I>s.
We want to measure muzoboss in the tough_layout_cases page set, which
legitimately takes longer than <I>s to load on a Galaxy Nexus.
BUG=<I>
Review URL: <URL> | catapult-project_catapult | train |
ce883d9bd875231bf5f75fd235a43ec532129f81 | diff --git a/src/angular-youtube-embed.js b/src/angular-youtube-embed.js
index <HASH>..<HASH> 100644
--- a/src/angular-youtube-embed.js
+++ b/src/angular-youtube-embed.js
@@ -94,6 +94,7 @@ angular.module('youtube-embed', [])
if (typeof YT === "undefined") {
// ...grab on to global callback, in case it's e... | add console.log if YouTube library is not found, fix #<I> | brandly_angular-youtube-embed | train |
74bdd1196133e06420fad9a18a6cde2a980d9237 | diff --git a/src/Leevel/Mail/Manager.php b/src/Leevel/Mail/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Mail/Manager.php
+++ b/src/Leevel/Mail/Manager.php
@@ -124,12 +124,12 @@ class Manager extends Managers
*
* @return \Leevel\Mail\Test
*/
- protected function makeConnectTest(array $op... | refactor(mail): manager connect only support string | hunzhiwange_framework | train |
99bc679a0efb0f22c028228b3c81c7dc6a6a9863 | diff --git a/features/019_check_for_consistent_node_access.feature b/features/019_check_for_consistent_node_access.feature
index <HASH>..<HASH> 100644
--- a/features/019_check_for_consistent_node_access.feature
+++ b/features/019_check_for_consistent_node_access.feature
@@ -31,6 +31,11 @@ Feature: Check for consistency... | FC<I>: Don't trigger on quoted symbols, refs #<I> | Foodcritic_foodcritic | train |
8f71c5e9328240c2947b6606ee0f2c968bc07291 | diff --git a/lib/guard/rspec/runner.rb b/lib/guard/rspec/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/rspec/runner.rb
+++ b/lib/guard/rspec/runner.rb
@@ -50,8 +50,8 @@ module Guard
end
def _without_bundler_env
- if defined?(Bundler)
- Bundler.with_clean_env { yield }
+ if... | fixes compatibility with guard-bundler
Changes instances of Bundler to ::Bundler to prevent it from attempting
to reference Guard::Bundler. | guard_guard-rspec | train |
0d8c02ae51cb794ee8d31bb6214b6622f98a888a | diff --git a/src/ServiceManager.php b/src/ServiceManager.php
index <HASH>..<HASH> 100644
--- a/src/ServiceManager.php
+++ b/src/ServiceManager.php
@@ -486,7 +486,7 @@ class ServiceManager
}
if($configuration && method_exists($instance, 'setConfiguration')) {
- $configuration = $this->mapA... | FIX: Make configuration resolution recursive | tasoftch_php-service-manager | train |
87f5c8122e4af0faca3eeac8a53e5ebbf1149beb | diff --git a/lib/janky/repository.rb b/lib/janky/repository.rb
index <HASH>..<HASH> 100644
--- a/lib/janky/repository.rb
+++ b/lib/janky/repository.rb
@@ -194,6 +194,7 @@ module Janky
md5 = Digest::MD5.new
md5 << name
md5 << uri
+ md5 << job_config_path.read
md5 << builder.callback_url.... | add this back so #<I> is clean against master | github_janky | train |
a38eb874073c66d0149cb6e6eb34370a6baea1ba | diff --git a/src/main/java/org/whitesource/agent/dependency/resolver/python/PythonDependencyResolver.java b/src/main/java/org/whitesource/agent/dependency/resolver/python/PythonDependencyResolver.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/whitesource/agent/dependency/resolver/python/PythonDependencyResolv... | WSE-<I> fixed bug in python dependency resolution | whitesource_fs-agent | train |
38286df89978cbe8ab551b17137cb4ee44dde615 | diff --git a/pymc/StepMethods.py b/pymc/StepMethods.py
index <HASH>..<HASH> 100644
--- a/pymc/StepMethods.py
+++ b/pymc/StepMethods.py
@@ -1275,73 +1275,8 @@ class AdaptiveMetropolis(StepMethod):
"""Tuning is done during the entire run, independently from the Sampler
tuning specifications. """
... | Moved TWalk skeleton out of StepMethods.py | pymc-devs_pymc | train |
1826519f53921884b1dcd03d0ad79cbdc52403a3 | diff --git a/client/signup/controller.js b/client/signup/controller.js
index <HASH>..<HASH> 100644
--- a/client/signup/controller.js
+++ b/client/signup/controller.js
@@ -67,7 +67,8 @@ export default {
context.pathname.indexOf( 'wpcc' ) >= 0 ||
context.pathname.indexOf( 'launch-site' ) >= 0 ||
context.param... | Gutenboarding: exclude crowdsignal from the test (#<I>) | Automattic_wp-calypso | train |
e7c86936359db6b88571a5fb40496e4ffafdcda5 | diff --git a/ethclient/gethclient/gethclient_test.go b/ethclient/gethclient/gethclient_test.go
index <HASH>..<HASH> 100644
--- a/ethclient/gethclient/gethclient_test.go
+++ b/ethclient/gethclient/gethclient_test.go
@@ -40,7 +40,7 @@ import (
var (
testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae... | internal/ethapi: fix panic in access list creation (#<I>)
Fixes test failure in the last commit. | ethereum_go-ethereum | train |
ccdae593a9e91b8300890cc31a10d3bdd73c05b7 | diff --git a/src/rules/chaining.js b/src/rules/chaining.js
index <HASH>..<HASH> 100644
--- a/src/rules/chaining.js
+++ b/src/rules/chaining.js
@@ -48,7 +48,7 @@ module.exports = {
const callExpressionVisitors = {
always: node => {
if (isNestedNLevels(node, ruleDepth)) {
- ... | Fix crash in chaining when mixing imported and single methods | wix_eslint-plugin-lodash | train |
2b0f351bb94f7a3d89f7ecb06432144e90eb9d2a | diff --git a/lib/dependencies/HarmonyAcceptDependency.js b/lib/dependencies/HarmonyAcceptDependency.js
index <HASH>..<HASH> 100644
--- a/lib/dependencies/HarmonyAcceptDependency.js
+++ b/lib/dependencies/HarmonyAcceptDependency.js
@@ -34,7 +34,7 @@ HarmonyAcceptDependency.Template = class HarmonyAcceptDependencyTemplat... | bugfix(harmony-deps) : bind the function to prevent the this keyword to be overriden | webpack_webpack | train |
eb92a8155d4cc5929488df10aa6e0df687c01468 | diff --git a/lib/checks/tables/no-caption.js b/lib/checks/tables/no-caption.js
index <HASH>..<HASH> 100644
--- a/lib/checks/tables/no-caption.js
+++ b/lib/checks/tables/no-caption.js
@@ -1 +1 @@
-return !(node.caption || {}).innerText;
\ No newline at end of file
+return !(node.caption || {}).textContent;
\ No newline ... | innerText doesnt work in Firefox | dequelabs_axe-core | train |
e884637d44085533ddab0d0b37be61741ba5e93f | diff --git a/lib/ArchiverInterface.php b/lib/ArchiverInterface.php
index <HASH>..<HASH> 100644
--- a/lib/ArchiverInterface.php
+++ b/lib/ArchiverInterface.php
@@ -28,7 +28,7 @@
* @author Yani Iliev <yani@iliev.me>
* @copyright 2014 Yani Iliev
* @license https://raw.github.com/yani-/zip-factory/master/LICENSE... | Bumped version from <I> to <I> | yani-_zip-factory | train |
8b7647a34da4b6cfcaeca91a503683f93c625099 | diff --git a/client/client.go b/client/client.go
index <HASH>..<HASH> 100644
--- a/client/client.go
+++ b/client/client.go
@@ -1393,7 +1393,7 @@ func (c *Client) runAllocs(update *allocUpdates) {
// previous allocation
var prevAllocDir *allocdir.AllocDir
tg := add.Job.LookupTaskGroup(add.TaskGroup)
- if tg !=... | Check for Ephemeral Disk being nil | hashicorp_nomad | train |
3c29baf63407e916d5fdbfe8e377414aae8ceecd | diff --git a/filestack/mixins/filestack_imagetransform_mixin.py b/filestack/mixins/filestack_imagetransform_mixin.py
index <HASH>..<HASH> 100644
--- a/filestack/mixins/filestack_imagetransform_mixin.py
+++ b/filestack/mixins/filestack_imagetransform_mixin.py
@@ -101,6 +101,11 @@ class ImageTransformationMixin(object):
... | Add filetype_conversion method in transform mixin | filestack_filestack-python | train |
476ff255c2cbe23bf67f39ef9242b5b179b32d45 | diff --git a/spring-cloud-consul-bus/src/main/java/org/springframework/cloud/consul/bus/ConsulInboundChannelAdapter.java b/spring-cloud-consul-bus/src/main/java/org/springframework/cloud/consul/bus/ConsulInboundChannelAdapter.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-consul-bus/src/main/java/org/springframewo... | Update ConsulInboundChannelAdapter scheduling rate. Addresses #<I> | spring-cloud_spring-cloud-consul | train |
2c7fdcaffb40d3d3eeb3be3f98e5c6371a20b9af | diff --git a/spec/middleware_spec.rb b/spec/middleware_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/middleware_spec.rb
+++ b/spec/middleware_spec.rb
@@ -4,10 +4,10 @@ require 'spec_helper'
describe 'UTF8Cleaner::Middleware' do
let :env do
{
- 'PATH_INFO' => 'foo/bar%2e%2fbaz',
+ 'PATH_INFO' => 'foo... | Revise specs to provide guidelines for conservative behavior | singlebrook_utf8-cleaner | train |
fb9b351655e6141e4cf54351d113a2e3b0488250 | diff --git a/suds/cache.py b/suds/cache.py
index <HASH>..<HASH> 100644
--- a/suds/cache.py
+++ b/suds/cache.py
@@ -190,7 +190,7 @@ class FileCache(Cache):
def put(self, id, bfr):
try:
fn = self.__fn(id)
- f = self.open(fn, 'w')
+ f = self.open(fn, 'wb')
f.wr... | Cache files now stored in binary instead of text mode.
Python 3 raises an exception if you attempt to write a bytes object to a file
for text output. Current FileCache implementation catches that exception, logs
the problem and leaves behind an incomplete file. Then later on, reading that
cache file will fail, effecti... | suds-community_suds | train |
b74775dc383977ea039ef1e9856623f6fbbaa720 | diff --git a/core-bundle/src/Resources/contao/widgets/ImageSize.php b/core-bundle/src/Resources/contao/widgets/ImageSize.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/widgets/ImageSize.php
+++ b/core-bundle/src/Resources/contao/widgets/ImageSize.php
@@ -110,9 +110,10 @@ class ImageSize extends ... | [Core] Show the hint arrows in all "imageSize" fields by default (see #<I>) | contao_contao | train |
c532594ec7ab3b0f0b1d1f5d287add81432da391 | diff --git a/src/Rairlie/LockingSession/Middleware/StartSession.php b/src/Rairlie/LockingSession/Middleware/StartSession.php
index <HASH>..<HASH> 100644
--- a/src/Rairlie/LockingSession/Middleware/StartSession.php
+++ b/src/Rairlie/LockingSession/Middleware/StartSession.php
@@ -2,7 +2,8 @@
namespace Rairlie\LockingSes... | update null handler to built in laravel instance | rairlie_laravel-locking-session | train |
00ab631caf0e2f9a24242ff9e38040d483e9e8e1 | diff --git a/xym/xym.py b/xym/xym.py
index <HASH>..<HASH> 100644
--- a/xym/xym.py
+++ b/xym/xym.py
@@ -68,7 +68,7 @@ class YangModuleExtractor:
MODULE_STATEMENT = re.compile('''^[ \t]*(sub)?module +(["'])?([-A-Za-z0-9]*(@[0-9-]*)?)(["'])? *\{.*$''')
PAGE_TAG = re.compile('.*\[Page [0-9]*\].*')
CODE_ENDS_... | Refined the code to look for the module filename on lines after the <CODE BEGINS> line. Note that the CODE_BEGINS_TAG previously permitted non-whitespace after the quoted module filename; this is no longer the case. The code now also keeps track of entry into and exit from code blocks that don't have a module name, i... | xym-tool_xym | train |
d4c43e112516198f80910983c92bd860bc8dc6f8 | diff --git a/lib/sensu/client/process.rb b/lib/sensu/client/process.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/client/process.rb
+++ b/lib/sensu/client/process.rb
@@ -110,6 +110,16 @@ module Sensu
[check[:source], check[:name]].compact.join(":")
end
+ # Execute a check hook, capturing its out... | [check-hooks] check hook yardoc | sensu_sensu | train |
24d130cf36f77b8330288e170768817a77c083c8 | diff --git a/lib/Stripe/Object.php b/lib/Stripe/Object.php
index <HASH>..<HASH> 100644
--- a/lib/Stripe/Object.php
+++ b/lib/Stripe/Object.php
@@ -149,8 +149,7 @@ class Stripe_Object implements ArrayAccess
*/
public static function constructFrom($values, $apiKey=null)
{
- $class = get_called_class();
- ... | use __CLASS__ instead of get_called_class for php<I> compatability
get_called_class, whilst alleviating the issue on <I> would result in different output to the previous code in situations where the class was extended.
__CLASS__ returns the classname from the method's own class, ignoring inheritance, which matches... | stripe_stripe-php | train |
3d7c95f9712cba698257a4bc37abb1ec95e17aa7 | diff --git a/app/models/spree/gateway/adyen_credit_card.rb b/app/models/spree/gateway/adyen_credit_card.rb
index <HASH>..<HASH> 100644
--- a/app/models/spree/gateway/adyen_credit_card.rb
+++ b/app/models/spree/gateway/adyen_credit_card.rb
@@ -40,13 +40,17 @@ module Spree
private
+ def new_credit_card? sourc... | Use predicate methods to improve readability | StemboltHQ_solidus-adyen | train |
b02a61787fdf770098f3fa11c376a72d484e9576 | diff --git a/wandb/__init__.py b/wandb/__init__.py
index <HASH>..<HASH> 100644
--- a/wandb/__init__.py
+++ b/wandb/__init__.py
@@ -69,6 +69,8 @@ from wandb.wandb_controller import sweep
logger = logging.getLogger(__name__)
+# Internal variables
+_shutdown_async_log_thread_wait_time = 20
# this global W&B debug ... | Fix async log thread cleanup (#<I>)
* Fix async log thread cleanup
* make sure we can spawn the thread multiple times | wandb_client | train |
e43a5ecec0764b75ea46df456dd153116efe1d5e | diff --git a/Classes/Backend/ItemsProcFuncs/AbstractItemsProcFunc.php b/Classes/Backend/ItemsProcFuncs/AbstractItemsProcFunc.php
index <HASH>..<HASH> 100644
--- a/Classes/Backend/ItemsProcFuncs/AbstractItemsProcFunc.php
+++ b/Classes/Backend/ItemsProcFuncs/AbstractItemsProcFunc.php
@@ -43,8 +43,23 @@ class AbstractItem... | [BUGFIX] Use core functions to get correct backend layout
Must be tested for <I> and <I> as well, since it might be
working for <I> only
Follow up for: #<I>
Change-Id: I<I>f5d<I>b0b<I>a<I>b<I>a<I>d9d<I>d<I>c | TYPO3-extensions_gridelements | train |
f3a1b506f8f8f4d351d66782d9dcb8249d266afb | diff --git a/metaseq/results_table.py b/metaseq/results_table.py
index <HASH>..<HASH> 100644
--- a/metaseq/results_table.py
+++ b/metaseq/results_table.py
@@ -360,6 +360,28 @@ class DESeqResults(ResultsTable):
if remove_deseq_extra:
self.data = self.data[~self.data.index.isin(to_remove)]
+ de... | changed/unchanged convenience methods for DESeqResults | daler_metaseq | train |
15f40fa8379e6c64b84243cf84d57fcc3d785b5e | diff --git a/test/unit/auth-handlers.test.js b/test/unit/auth-handlers.test.js
index <HASH>..<HASH> 100644
--- a/test/unit/auth-handlers.test.js
+++ b/test/unit/auth-handlers.test.js
@@ -1305,6 +1305,70 @@ describe('Auth Handler:', function () {
});
});
+ // issue: https://github.com/post... | Add unit tests for empty callback and verifier fields in OAuth1 | postmanlabs_postman-runtime | train |
45bc8037d1f4d2b6ef244a10ef38ef049317c8fc | diff --git a/proxyserver/src/main/java/com/groupon/odo/HttpUtilities.java b/proxyserver/src/main/java/com/groupon/odo/HttpUtilities.java
index <HASH>..<HASH> 100644
--- a/proxyserver/src/main/java/com/groupon/odo/HttpUtilities.java
+++ b/proxyserver/src/main/java/com/groupon/odo/HttpUtilities.java
@@ -184,6 +184,9 @@ p... | Fixing post param with no value | groupon_odo | train |
e8145690454d81c56986a0cde28080ae88708403 | diff --git a/pkg/detectors/nexmoapikey/nexmoapikey.go b/pkg/detectors/nexmoapikey/nexmoapikey.go
index <HASH>..<HASH> 100644
--- a/pkg/detectors/nexmoapikey/nexmoapikey.go
+++ b/pkg/detectors/nexmoapikey/nexmoapikey.go
@@ -2,14 +2,10 @@ package nexmoapikey
import (
"context"
- // "fmt"
-
- // "log"
+ "net/http"
... | added nexmoapikey detector | dxa4481_truffleHog | train |
3d8c120e0d047d6e46ba99ba58beb4e4e7585702 | diff --git a/rootpy/plotting/contrib/tests/test_plot_contour_matrix.py b/rootpy/plotting/contrib/tests/test_plot_contour_matrix.py
index <HASH>..<HASH> 100644
--- a/rootpy/plotting/contrib/tests/test_plot_contour_matrix.py
+++ b/rootpy/plotting/contrib/tests/test_plot_contour_matrix.py
@@ -1,9 +1,11 @@
import string
... | fix failing test if numpy is not installed | rootpy_rootpy | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.