hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
312718164d6dbe15d82d323573c276dddef97cdd | diff --git a/fuzz.go b/fuzz.go
index <HASH>..<HASH> 100644
--- a/fuzz.go
+++ b/fuzz.go
@@ -7,56 +7,68 @@ package sh
import (
"bytes"
+ "encoding/binary"
"io/ioutil"
"mvdan.cc/sh/v3/syntax"
)
func Fuzz(data []byte) int {
- // first byte masks for parser/printer options:
- // 1: posix, not bash
- // 2:... | re-implement and improve fuzz option encoding
We were using the first byte to encode 8 bits of options. The code was
hard to understand and maintain, and it omitted many new options like
SingleLine.
Use three bytes instead, which covers more ground. And use constants to
better express what each bit means.
This shoul... | mvdan_sh | train |
cd52a38fcc513d5d67869c59e97b99efb2fe7224 | diff --git a/shopify/base.py b/shopify/base.py
index <HASH>..<HASH> 100644
--- a/shopify/base.py
+++ b/shopify/base.py
@@ -26,7 +26,6 @@ class ShopifyResourceMeta(ResourceMeta):
@property
def connection(cls):
"""HTTP connection for the current thread"""
- super_class = cls.__mro__[1]
... | Make the headers resource class property thread-local.
OAuth2 uses a X-Shopify-Access-Token header on all API requests for
authentication. | Shopify_shopify_python_api | train |
584da37756dd386a8b33cfa6b49eca3e555380a3 | diff --git a/cli/command/container/attach.go b/cli/command/container/attach.go
index <HASH>..<HASH> 100644
--- a/cli/command/container/attach.go
+++ b/cli/command/container/attach.go
@@ -138,10 +138,6 @@ func runAttach(dockerCli command.Cli, opts *attachOptions) error {
return err
}
- if errAttach != nil {
- re... | cli/command/container/attach.go:<I>:<I>: nilness: impossible condition: nil != nil (govet) | docker_cli | train |
8b4f83c811d8d23c27bfac4b65adab626c45f795 | diff --git a/dxm/src/main/java/io/pcp/parfait/dxm/Instance.java b/dxm/src/main/java/io/pcp/parfait/dxm/Instance.java
index <HASH>..<HASH> 100644
--- a/dxm/src/main/java/io/pcp/parfait/dxm/Instance.java
+++ b/dxm/src/main/java/io/pcp/parfait/dxm/Instance.java
@@ -6,13 +6,11 @@ package io.pcp.parfait.dxm;
import java.... | MMVv2: Make writeToMmv to be abstract for Instance | performancecopilot_parfait | train |
4211e5ed777cdaa4412de7f6e6f423cf2f5c08f8 | diff --git a/modules/core/src/lib/attribute/attribute.js b/modules/core/src/lib/attribute/attribute.js
index <HASH>..<HASH> 100644
--- a/modules/core/src/lib/attribute/attribute.js
+++ b/modules/core/src/lib/attribute/attribute.js
@@ -355,17 +355,31 @@ export default class Attribute extends DataColumn {
}
}
+... | Fix attribute check greater than attribute size (#<I>)
Through the TypedArrayManager, it is possible that a buffer from the pool can be used that contains invalid values for the type and the update of the attribute may only affect the attribute.size, rather than the buffer.length.
Limit fix limits the validation to... | uber_deck.gl | train |
0593b49c922389f66a6df6b727ddb809cb8d3c4f | 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
@@ -48,6 +48,8 @@ from shinken.misc.datamanag... | Fix the missing import of livestatus_query_cache in the livestatus_broker | Alignak-monitoring_alignak | train |
6a2a80e3fed74433b03a866235b03cda243b38b9 | diff --git a/spec/functional/run_lock_spec.rb b/spec/functional/run_lock_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/run_lock_spec.rb
+++ b/spec/functional/run_lock_spec.rb
@@ -224,7 +224,6 @@ E
Process.kill(:KILL, p1)
Process.waitpid2(p1)
-
p2 = fork do
run_lock.acquire
... | More test cases for run_lock to cover the functionality used during daemonizing. | chef_chef | train |
afa545b4a0c11bf1b9711b563c7422dfffb74724 | diff --git a/src/cssrelpreload.js b/src/cssrelpreload.js
index <HASH>..<HASH> 100644
--- a/src/cssrelpreload.js
+++ b/src/cssrelpreload.js
@@ -24,12 +24,6 @@
rp.enableStylesheet = function( link, media ){
link.rel = "stylesheet";
link.media = media;
- // set a localStorage flag
- if( w.localStorage )... | stop using localstorage, clean up load handlers a bit | filamentgroup_loadCSS | train |
0fdf7d979ac128cd6b08faa90f645957ddafb5b1 | diff --git a/integration_tests/ctesque/src/sharedTest/java/android/content/res/ResourcesTest.java b/integration_tests/ctesque/src/sharedTest/java/android/content/res/ResourcesTest.java
index <HASH>..<HASH> 100644
--- a/integration_tests/ctesque/src/sharedTest/java/android/content/res/ResourcesTest.java
+++ b/integratio... | Round calculated NinePatchDrawable intrinsic width for ResourcesTest
See NinePatchDrawable#scaleFromDensity. | robolectric_robolectric | train |
6c35a62a88e641aa112752be7ad88cbf7c2fa8b9 | diff --git a/doc/source/whatsnew/v1.4.0.rst b/doc/source/whatsnew/v1.4.0.rst
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v1.4.0.rst
+++ b/doc/source/whatsnew/v1.4.0.rst
@@ -547,6 +547,7 @@ Reshaping
- Bug in :func:`crosstab` when inputs are are categorical Series, there are categories that are not present in... | BUG: Merge with str/StringDtype keys and multiindex (#<I>) (#<I>) | pandas-dev_pandas | train |
413b5ca199809dcfa2d739471de00ba4fd5474a2 | diff --git a/src/test/java/mil/nga/geopackage/test/extension/index/FeatureTableIndexUtils.java b/src/test/java/mil/nga/geopackage/test/extension/index/FeatureTableIndexUtils.java
index <HASH>..<HASH> 100644
--- a/src/test/java/mil/nga/geopackage/test/extension/index/FeatureTableIndexUtils.java
+++ b/src/test/java/mil/n... | JUnit feature table test update to delete single indexed geometries | ngageoint_geopackage-java | train |
783e24fd4557c35254772f6a255f30b5bba69b67 | diff --git a/jax/numpy/lax_numpy.py b/jax/numpy/lax_numpy.py
index <HASH>..<HASH> 100644
--- a/jax/numpy/lax_numpy.py
+++ b/jax/numpy/lax_numpy.py
@@ -2558,7 +2558,7 @@ def tensordot(a, b, axes=2, precision=None):
@_wraps(onp.einsum, lax_description=_PRECISION_DOC)
def einsum(*operands, **kwargs):
- optimize = kwa... | try optimize=True with einsum
closes #<I>
can revert if this ends up problematic for some reason! | tensorflow_probability | train |
4ee9c152fc2fc1e4200d4ffff1775f3e98cb0571 | diff --git a/simplesqlite/core.py b/simplesqlite/core.py
index <HASH>..<HASH> 100644
--- a/simplesqlite/core.py
+++ b/simplesqlite/core.py
@@ -399,7 +399,7 @@ class SimpleSQLite(object):
"""
return self.select_as_tabledata(
- table_name, column_list, where, extra).as_dict()
+ t... | Change return value from dict to list of OrderedDict | thombashi_SimpleSQLite | train |
23f8c6a35542d506b44b48dce67fcc3470cdecb9 | diff --git a/packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js b/packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js
+++ b/packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js
@@ -251,23 +2... | test: continue fixing the eslint test timeout… | vuejs_vue-cli | train |
5db3ca8fd490fe89ff395440d5a06a564ef3dff2 | diff --git a/lib/vws.rb b/lib/vws.rb
index <HASH>..<HASH> 100644
--- a/lib/vws.rb
+++ b/lib/vws.rb
@@ -13,7 +13,7 @@ module Vws
BASE_URL = "https://vws.vuforia.com"
TARGETS_URL = BASE_URL + "/targets"
SUMMARY_URL = BASE_URL + "/summary"
- #TARGETS_URL = "http://requestb.in/118jky11" # simple end point
+ ... | changed delete method. Need to test this for functionality | nkokkos_vws | train |
fa19077bf901a898418b5f27ff220c39d99061c8 | diff --git a/converters/fromZigbee.js b/converters/fromZigbee.js
index <HASH>..<HASH> 100644
--- a/converters/fromZigbee.js
+++ b/converters/fromZigbee.js
@@ -509,6 +509,13 @@ const converters = {
cmd: 'moveToLevelWithOnOff',
convert: (model, msg, publish, options) => ictcg1(model, msg, publish, optio... | added Nue in wall-ceilng switch convertor | Koenkk_zigbee-shepherd-converters | train |
d84d6cd894440e5e8f7af8d20ac3e11e35f7ba90 | diff --git a/AlgorithmSearchBreadthFirst.php b/AlgorithmSearchBreadthFirst.php
index <HASH>..<HASH> 100644
--- a/AlgorithmSearchBreadthFirst.php
+++ b/AlgorithmSearchBreadthFirst.php
@@ -11,22 +11,22 @@ class AlgorithmSearchBreadthFirst{
*/
public function getVertices(){
$queue = array($this->vertex... | add comments for the allgorithm description | graphp_graph | train |
12f64e2cd8521137efb6f915f8be609fef67fb3f | diff --git a/src/fn.js b/src/fn.js
index <HASH>..<HASH> 100644
--- a/src/fn.js
+++ b/src/fn.js
@@ -13,11 +13,12 @@ export const flatten = (arr) => arr.reduce(
[]
)
-export const mapObject = (obj, fn) => {
- return Object.keys(obj)
- .map(key => fn(key, obj[key]))
- .reduce((acc, curr) => extend(acc, curr),... | Adjust code style to match lint rules | Swizz_snabbdom-pragma | train |
d339c389401648bb4fad1d93512278e679601f79 | diff --git a/closure/goog/base.js b/closure/goog/base.js
index <HASH>..<HASH> 100644
--- a/closure/goog/base.js
+++ b/closure/goog/base.js
@@ -1625,58 +1625,17 @@ goog.now = (goog.TRUSTED_SITE && Date.now) || (function() {
/**
- * Evals JavaScript in the global scope. In IE this uses execScript, other
- * browser... | Simpify goog.globalEval in advance of inlining and deprecating it. We believe the special cases are all for pre-ES5 era browsers which we no longer care to support.
RELNOTES[INC]: Simplify goog.globalEval in by removing pre-ES5 support.
PiperOrigin-RevId: <I> | google_closure-library | train |
5cc26a52d3a0cbca27a1bb8910bdbf1b3de44725 | diff --git a/lib/Proem/Bootstrap/Filter/Event/Route.php b/lib/Proem/Bootstrap/Filter/Event/Route.php
index <HASH>..<HASH> 100644
--- a/lib/Proem/Bootstrap/Filter/Event/Route.php
+++ b/lib/Proem/Bootstrap/Filter/Event/Route.php
@@ -81,62 +81,7 @@ class Route extends Event
$assets->set(
'rou... | Moving default routes so that they are attached after custom routes.
Closes #<I> | proem-components_signal | train |
abc1ba5c4386688b564aadae51d08a06616b6b34 | diff --git a/tests/Unit/Suites/Http/HttpPutRequestTest.php b/tests/Unit/Suites/Http/HttpPutRequestTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Suites/Http/HttpPutRequestTest.php
+++ b/tests/Unit/Suites/Http/HttpPutRequestTest.php
@@ -11,7 +11,7 @@ namespace Brera\Http;
*/
class HttpPutRequestTest extends Ab... | Issue #<I>: Remove useless test | lizards-and-pumpkins_catalog | train |
b0b43d858353ef8b9e823e05dba7adc0eded4ecf | diff --git a/src/contours.js b/src/contours.js
index <HASH>..<HASH> 100644
--- a/src/contours.js
+++ b/src/contours.js
@@ -91,7 +91,6 @@ export default function() {
// Marching squares with isolines stitched into rings.
// Based on https://github.com/topojson/topojson-client/blob/v3.0.0/src/stitch.js
- // TODO... | Remove reverse cases.
These can’t happen now that I’ve fixed the winding order of segments! | d3_d3-contour | train |
c19a33d24306b2f6cf9aa08aa1ddffbf893231c2 | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index <HASH>..<HASH> 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -11,13 +11,19 @@ jobs:
formatting:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
... | adding pyflakes to check for unused imports and issues (#<I>)
* adding pyflakes to check for unused imports and issues | singularityhub_singularity-cli | train |
999345c0ff769420753663c60a84f31146896468 | diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/version.rb
+++ b/lib/appsignal/version.rb
@@ -1,5 +1,5 @@
require 'yaml'
module Appsignal
- VERSION = '0.12.beta.35'
+ VERSION = '0.12.beta.36'
end | Bump to <I>.beta<I> [ci skip] | appsignal_appsignal-ruby | train |
14b46e40c8e630d70ef9fceabd2a4286a08e60c7 | diff --git a/gcs/gcsfake/bucket.go b/gcs/gcsfake/bucket.go
index <HASH>..<HASH> 100644
--- a/gcs/gcsfake/bucket.go
+++ b/gcs/gcsfake/bucket.go
@@ -32,7 +32,7 @@ func NewFakeBucket(name string) gcs.Bucket {
return b
}
-type object struct {
+type fakeObject struct {
// A storage.Object representing metadata for th... | Renamed a type to aid searchability. | jacobsa_gcloud | train |
51e51a1d14518426e4dfeada5514c5140401595a | diff --git a/class.krumo.php b/class.krumo.php
index <HASH>..<HASH> 100644
--- a/class.krumo.php
+++ b/class.krumo.php
@@ -871,7 +871,7 @@ This is a list of all the values from the <code><b><?php echo realpath($ini_file
* @access private
* @static
*/
- Private Static Function _dump(&$data, $name='...') {
+ Privat... | fix issue with collapse not expanding string when set | mmucklo_krumo | train |
5059c59a31b7577f779175ee788108a9b32ec48d | diff --git a/src/structures/Message.js b/src/structures/Message.js
index <HASH>..<HASH> 100644
--- a/src/structures/Message.js
+++ b/src/structures/Message.js
@@ -197,12 +197,13 @@ class Message {
if (data.type === 6) this.system = true;
}
if (data.attachments) {
- this.attachments = new Collectio... | Message patching: clear mention collections (#<I>)
* Message patching: clear mention collections
Fixes #<I>
When discord sends an array of mentions, it is a full list of mentions -- therefore, we should clear the old mention collection. The same goes for when we re-analyze the message for channel mentions.
* Us... | discordjs_discord.js | train |
96a7b2d6ebb56abc0a26a5b46c85e2ff8976a909 | diff --git a/core/wisdom-test/src/main/java/org/wisdom/test/http/Options.java b/core/wisdom-test/src/main/java/org/wisdom/test/http/Options.java
index <HASH>..<HASH> 100644
--- a/core/wisdom-test/src/main/java/org/wisdom/test/http/Options.java
+++ b/core/wisdom-test/src/main/java/org/wisdom/test/http/Options.java
@@ -2... | Apply time factor on connection and socket timeouts | wisdom-framework_wisdom | train |
8f3a23c3642e7f875d1e15236dc95f764b555a2e | diff --git a/camera.js b/camera.js
index <HASH>..<HASH> 100644
--- a/camera.js
+++ b/camera.js
@@ -3,7 +3,6 @@ const random = require('pex-random')
const vec3 = require('pex-math/vec3')
const mat4 = require('pex-math/mat4')
const utils = require('pex-math/utils')
-const flatten = require('flatten')
const POSTPROC... | Optimize SSAO initialization
Flatten was taking 1s in SF and <I>s in FF. | pex-gl_pex-renderer | train |
14d98294808365e0320ef39d58098dd2994fca6c | diff --git a/install/lang/th_utf8/installer.php b/install/lang/th_utf8/installer.php
index <HASH>..<HASH> 100644
--- a/install/lang/th_utf8/installer.php
+++ b/install/lang/th_utf8/installer.php
@@ -27,6 +27,7 @@ $string['configfilewritten'] = 'สร้าง config.php เรียบร้
$string['configurationcompletehead'] = 'ตั้งค่าตั... | Automatic installer.php lang files by installer_builder (<I>) | moodle_moodle | train |
ce7e59ec4e4055b563aaa8754837d155c54f951b | diff --git a/tdigest.go b/tdigest.go
index <HASH>..<HASH> 100644
--- a/tdigest.go
+++ b/tdigest.go
@@ -91,7 +91,7 @@ func (t *TDigest) Add(value float64, count uint32) error {
t.count += count
if t.summary.Len() == 0 {
- t.addCentroid(value, count)
+ t.summary.Add(value, count)
return nil
}
@@ -109,14 +1... | Get rid of updateCentroid and addCentroid proxies
Less code is almost always better | caio_go-tdigest | train |
6e86c939aa8ef3b801b69f7dc6dc940e38d5f85c | diff --git a/google/auth/_default.py b/google/auth/_default.py
index <HASH>..<HASH> 100644
--- a/google/auth/_default.py
+++ b/google/auth/_default.py
@@ -58,8 +58,12 @@ def _load_credentials_from_file(filename):
Raises:
google.auth.exceptions.DefaultCredentialsError: if the file is in the
- ... | Add error message to handle case of empty string or missing file for GOOGLE_APPLICATION_CREDENTIALS (#<I>)
Fixes #<I> | googleapis_google-auth-library-python | train |
04a0ab9271f06e93e119e523b66df34d45be5a46 | diff --git a/ndb/model.py b/ndb/model.py
index <HASH>..<HASH> 100644
--- a/ndb/model.py
+++ b/ndb/model.py
@@ -1687,12 +1687,12 @@ class JsonProperty(BlobProperty):
super(JsonProperty, self).__init__(name=name, compressed=compressed, **kwds)
self._json_type = json_type
- # Use late import so the dependency... | Move orphaned comment back to the right spot. | GoogleCloudPlatform_datastore-ndb-python | train |
07b2ef2ed595658921158635b3e9ac37319dc740 | diff --git a/lib/rules/indentation.js b/lib/rules/indentation.js
index <HASH>..<HASH> 100644
--- a/lib/rules/indentation.js
+++ b/lib/rules/indentation.js
@@ -196,6 +196,8 @@ module.exports = {
node.body.forEach (inspectBlockItem.bind (null, blockIndent));
});
+
+
context.on ('StructDeclaration', function (... | Add early out conditions back to indentation rule | duaraghav8_Ethlint | train |
e1699761c6e62103c970ede1e36ccf11b1c780d6 | diff --git a/bulbs/base/models.py b/bulbs/base/models.py
index <HASH>..<HASH> 100644
--- a/bulbs/base/models.py
+++ b/bulbs/base/models.py
@@ -90,6 +90,7 @@ class Tagish(models.Model):
BASE_CONTENT_MAPPING = {
"properties": {
+ "object_id": {"type": "integer"},
"title": {"type": "string"},
... | We're gonna need an actual object id at some point | theonion_django-bulbs | train |
d4a03f74564532bce142a7e7bd179fd8c37baae4 | diff --git a/lib/Kazoo/Api/Data/Entity/Callflow.php b/lib/Kazoo/Api/Data/Entity/Callflow.php
index <HASH>..<HASH> 100644
--- a/lib/Kazoo/Api/Data/Entity/Callflow.php
+++ b/lib/Kazoo/Api/Data/Entity/Callflow.php
@@ -15,7 +15,7 @@ class Callflow extends AbstractEntity {
protected static $_callflow_module = "callflow... | SDK: Time based routes working in all cases | 2600hz_kazoo-php-sdk | train |
826b87b2cebb530f46dfb55e3389b39a23c59eca | diff --git a/src/wireclient.js b/src/wireclient.js
index <HASH>..<HASH> 100644
--- a/src/wireclient.js
+++ b/src/wireclient.js
@@ -75,7 +75,13 @@
var mimeType = xhr.getResponseHeader('Content-Type');
var body = mimeType && mimeType.match(/^application\/json/) ? JSON.parse(xhr.responseText) : xhr.responseT... | wireclient: copy binary data into ArrayBuffer before passing it along (refs #<I>) | remotestorage_remotestorage.js | train |
c5ae0c09245e12637736ac09aa986c4cc597e1bf | diff --git a/ykman/cli/util.py b/ykman/cli/util.py
index <HASH>..<HASH> 100644
--- a/ykman/cli/util.py
+++ b/ykman/cli/util.py
@@ -47,7 +47,7 @@ class UpperCaseChoice(click.Choice):
click.Choice.__init__(self, choices)
def convert(self, value, param, ctx):
- if value.upper().replace('_', '-') in ... | Fix dash translation in EnumChoice instead of UpperCaseChoice | Yubico_yubikey-manager | train |
3c0314d3a33c50017094afdc131be35ecbde4e8c | diff --git a/mockserver-maven-plugin/src/test/java/org/mockserver/maven/MockServerRunAndWaitMojoTest.java b/mockserver-maven-plugin/src/test/java/org/mockserver/maven/MockServerRunAndWaitMojoTest.java
index <HASH>..<HASH> 100644
--- a/mockserver-maven-plugin/src/test/java/org/mockserver/maven/MockServerRunAndWaitMojoTe... | #<I> and the test missed on previous commit | jamesdbloom_mockserver | train |
997cdf96352df0af9b1c218a5e775ee7c2b74a5f | diff --git a/lib/nest-api.js b/lib/nest-api.js
index <HASH>..<HASH> 100644
--- a/lib/nest-api.js
+++ b/lib/nest-api.js
@@ -135,7 +135,7 @@ NestApi = (function() {
path: path,
method: 'GET',
headers: {
- 'User-Agent': this.userAgent,
+ 'User-Agent': userAgent,
'X-nl-user-id': ... | Fix for issue where userAgent is addressed via 'this' but has not be declared on 'this' | johnwyles_node-nest-api | train |
398d9275a07aa6eb04ada79aa7ee7a5c3b2ba0fd | diff --git a/test/spec/search.testdata.js b/test/spec/search.testdata.js
index <HASH>..<HASH> 100644
--- a/test/spec/search.testdata.js
+++ b/test/spec/search.testdata.js
@@ -340,7 +340,7 @@ var responseHelper = {
],
"params" : "query=&hitsPerPage=20&page=0&facets=%5B%5D&facetFilters=%5B%5B%22city%3AParis%22%2C... | Fix test failing because of backported commit | algolia_algoliasearch-helper-js | train |
ed07701839905a6295ae0d665369314333168aca | diff --git a/test/associated-model.js b/test/associated-model.js
index <HASH>..<HASH> 100644
--- a/test/associated-model.js
+++ b/test/associated-model.js
@@ -1142,7 +1142,7 @@ $(document).ready(function () {
});
- test("Polymorphic associations + map: Issue#54", 9, function () {
+ test("Polymorphic asso... | Refactor test case to demonstrate use of the new type param | dhruvaray_backbone-associations | train |
669556d82ca29abb580e8203a43db3f9f5803c1e | diff --git a/src/vis/vis.js b/src/vis/vis.js
index <HASH>..<HASH> 100644
--- a/src/vis/vis.js
+++ b/src/vis/vis.js
@@ -213,8 +213,6 @@ var VisModel = Backbone.Model.extend({
dataviewsCollection: this._dataviewsCollection
});
- this._windshaftMap.bind('instanceCreated', this._onMapInstanceCreated, this)... | Invoke method explicitly instead of relying on event | CartoDB_carto.js | train |
e686535982f6c6f5cfadb7497958a75268e78566 | diff --git a/squiffy.py b/squiffy.py
index <HASH>..<HASH> 100644
--- a/squiffy.py
+++ b/squiffy.py
@@ -41,21 +41,19 @@ def process(input_filename, source_path):
if len(section.js) > 0:
write_js(output_js_file, 2, section.js)
- if len(section.passages) > 0:
- output_js_file.writ... | Always write section.passages to JS even if empty | textadventures_squiffy | train |
e131cdd36c332a5ce47f57310bd3e6edc4b4bb3e | diff --git a/bin/ugrid-shell.js b/bin/ugrid-shell.js
index <HASH>..<HASH> 100755
--- a/bin/ugrid-shell.js
+++ b/bin/ugrid-shell.js
@@ -11,14 +11,15 @@ var prompt = webid ? '' : 'ugrid> ';
co(function *() {
var uc = yield ugrid.context({noworker: true});
- var context = coshell({
+ var r = coshell({
prompt: prom... | handle exit properly in ugrid-shell.js
Former-commit-id: fb<I>abdd<I>f<I>edc6ec<I>ee8a9bfc3 | skale-me_skale | train |
643fedaf21560536616ff7385134487463a7e23d | diff --git a/code/EditableSpamProtectionField.php b/code/EditableSpamProtectionField.php
index <HASH>..<HASH> 100644
--- a/code/EditableSpamProtectionField.php
+++ b/code/EditableSpamProtectionField.php
@@ -9,6 +9,7 @@ use SilverStripe\Forms\DropdownField;
use SilverStripe\Forms\FieldGroup;
use SilverStripe\Forms\Fie... | FIX Allow fields without parents to be programatically created | silverstripe_silverstripe-spamprotection | train |
903f13d5536aa6f0e8de515e0cd69fb751d7f29a | diff --git a/src/menu/menuitem.js b/src/menu/menuitem.js
index <HASH>..<HASH> 100644
--- a/src/menu/menuitem.js
+++ b/src/menu/menuitem.js
@@ -132,7 +132,6 @@ export class Dialog {
buildForm(pm, submit) {
let form = this.form(pm, submit)
- form.appendChild(elt("button", {type: "submit", style: "display: no... | Hidden submit button doesn't work in IE. Use key handler instead | ProseMirror_prosemirror-markdown | train |
442005fae4d14c7c36ff9d582268d1afc9d92893 | diff --git a/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/TabBarView.java b/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/TabBarView.java
index <HASH>..<HASH> 100644
--- a/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/Ta... | Added measureAndLayout to tab view interface | grahammendick_navigation | train |
9807dde74ad8865b308c0a5137de83cf61166632 | diff --git a/restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java b/restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java
index <HASH>..<HASH> 100644
--- a/restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java
+++ b/restygwt/src/main/java/org/fusesou... | Move method to get boolean property to BaseSourceCreator | resty-gwt_resty-gwt | train |
bcc20443e371fd5d262e03997d35a7d0ec37ccb7 | diff --git a/lxd/project/limits.go b/lxd/project/limits.go
index <HASH>..<HASH> 100644
--- a/lxd/project/limits.go
+++ b/lxd/project/limits.go
@@ -292,10 +292,10 @@ func fetchProject(tx *db.ClusterTx, projectName string, skipIfNoLimits bool) (*a
// If the project has the profiles feature enabled, we use its own
// ... | lxd/project/limits: Default const usage | lxc_lxd | train |
10aaa35db54901699b6e377f8a0ea1e89f33686c | diff --git a/kvdb/bolt_compact.go b/kvdb/bolt_compact.go
index <HASH>..<HASH> 100644
--- a/kvdb/bolt_compact.go
+++ b/kvdb/bolt_compact.go
@@ -8,6 +8,7 @@
package kvdb
import (
+ "encoding/hex"
"fmt"
"os"
"path"
@@ -228,6 +229,30 @@ func (cmd *compacter) walk(db *bbolt.DB, walkFn walkFunc) error {
})
}
+... | kvdb: add loggableKeyName method
Safely logs the bucket key name as hex if it includes special
characters. | lightningnetwork_lnd | train |
3e0cbadf62a6eca4a360aaef72834f8da1057d5e | diff --git a/src/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php b/src/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php
index <HASH>..<HASH> 100644
--- a/src/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php
+++ b/src/Bridge/Symfony/Bundle/DependencyInjection/ApiPla... | Check messenger service is available
Fix #<I> | api-platform_core | train |
1098084371068833e828a80126bea75fc216dce0 | diff --git a/lib/wed/wed.js b/lib/wed/wed.js
index <HASH>..<HASH> 100644
--- a/lib/wed/wed.js
+++ b/lib/wed/wed.js
@@ -1693,7 +1693,7 @@ Editor.prototype._blur = function () {
this._setFakeCaretTo(); // Removes the fake caret.
this._sel_anchor = undefined;
this._sel_focus = undefined;
- this._caretCha... | Changes to work around a Firefox bug.
The recent changes to wed triggered this Firefox bug:
<URL> | mangalam-research_wed | train |
2f766a79a186b05de40a66b7524cf48b36a99bac | diff --git a/compiled/template/normal-filter.js b/compiled/template/normal-filter.js
index <HASH>..<HASH> 100644
--- a/compiled/template/normal-filter.js
+++ b/compiled/template/normal-filter.js
@@ -19,22 +19,22 @@ module.exports = function (h, that) {
attrs: { 'for': id }
},
... | bump up version after PR #<I> | matfish2_vue-tables-2 | train |
bf9760c4a8936936a7cf4c065fd42e1ba9b33b4d | diff --git a/filter/censor/filter.php b/filter/censor/filter.php
index <HASH>..<HASH> 100644
--- a/filter/censor/filter.php
+++ b/filter/censor/filter.php
@@ -15,10 +15,15 @@
function censor_filter($courseid, $text) {
static $words;
+ global $CFG;
+
+ if (!isset($CFG->filter_censor_badwords)) {
+ s... | Provide setup screen for the censor bad words list. Note that for decencies
sake, I have decided to start with a blank word list rather than use the
provided one which may shock the unwary! | moodle_moodle | train |
da2ec0d59047e79dabd55f67cc08d3243381bf05 | diff --git a/src/Dispatcher.php b/src/Dispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Dispatcher.php
+++ b/src/Dispatcher.php
@@ -8,7 +8,7 @@ use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ResponseInterface;
use LogicException;
-class Dispatcher
+class Dispatcher implements ServerMiddlewareI... | Added ability to use the dispatcher as an inner middleware | middlewares_utils | train |
f6bcaa03bad42f854a1e7bbca84930a3e377c615 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -13,7 +13,7 @@ class View {
constructor(options) {
this.config = {
local: local,
- provided: options
+ provided: options || {}
}
} | fix: ensure that provided config is an object | cubic-js_cubic | train |
28d3366760f72f33a46725321cc63fb7097cd9c7 | diff --git a/shared/util.go b/shared/util.go
index <HASH>..<HASH> 100644
--- a/shared/util.go
+++ b/shared/util.go
@@ -614,6 +614,28 @@ func StringInSlice(key string, list []string) bool {
return false
}
+// RemoveElementsFromStringSlice returns a slice equivalent to removing the given elements from the given list... | shared: Adds method to remove elements from a slice.
Also adds tests for method. | lxc_lxd | train |
0bd720b28dc7b416fe2193bdafaca011ec24d032 | diff --git a/daemon/daemon.go b/daemon/daemon.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon.go
+++ b/daemon/daemon.go
@@ -693,7 +693,11 @@ func NewDaemon(config *Config, registryService registry.Service, containerdRemot
// set up SIGUSR1 handler on Unix-like systems, or a Win32 global event
// on Windows to ... | Move stack dump dir to exec root
Dump stack dumps to exec root instead of daemon root.
When no path is provided to the stack dumper, such is the case with
SIGQUIT, dump to stderr. | moby_moby | train |
2cda9af615ab66210a72d7ed6a58410ac5d26c3a | diff --git a/satpy/readers/hrit_base.py b/satpy/readers/hrit_base.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/hrit_base.py
+++ b/satpy/readers/hrit_base.py
@@ -106,6 +106,16 @@ class HRITFileHandler(BaseFileHandler):
self.mda = {}
+ self._get_hd(hdr_info)
+
+ self._start_time = filenam... | Move the fetching of the basic header info to a private method | pytroll_satpy | train |
b4ba7433bdb5c222ae0fecd3f6f389f01139a4b7 | diff --git a/elasticsearch/connection_pool.py b/elasticsearch/connection_pool.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/connection_pool.py
+++ b/elasticsearch/connection_pool.py
@@ -1,6 +1,11 @@
import time
import random
+try:
+ from Queue import PriorityQueue
+except ImportError:
+ from queue import... | Make sure dead connections are handled in a thread-safe manner | elastic_elasticsearch-py | train |
40dc18e2fa3724c5c4361f42a413c754ee03a492 | diff --git a/daemon/container.go b/daemon/container.go
index <HASH>..<HASH> 100644
--- a/daemon/container.go
+++ b/daemon/container.go
@@ -1235,7 +1235,7 @@ func (container *Container) setupLinkedContainers() ([]string, error) {
container.activeLinks = make(map[string]*links.Link, len(children))
// If we encoun... | Fix a minor typo in daemon/container.go | containers_storage | train |
66521cf720264e1cf87eb2869188ef137334b5bf | diff --git a/httpony/application.py b/httpony/application.py
index <HASH>..<HASH> 100644
--- a/httpony/application.py
+++ b/httpony/application.py
@@ -1,6 +1,9 @@
from httpie.cli import parser
from httpie.context import Environment
+from httpie.output import streams
+from requests.models import Request
from werkzeug... | Ponies!!
I got the basics of HTTPony working. | mblayman_httpony | train |
b813f6ea6502da91ab088425de899d583a3f457f | diff --git a/python/phonenumbers/geocoder.py b/python/phonenumbers/geocoder.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/geocoder.py
+++ b/python/phonenumbers/geocoder.py
@@ -44,7 +44,8 @@ True
# limitations under the License.
from .phonenumberutil import format_number, PhoneNumberFormat, number_type
-f... | Merge code changes from upstream r<I>
Not split out anything equivalent to PrefixFileReader.java
because the metadata is loaded rather differently in the Python
code. | daviddrysdale_python-phonenumbers | train |
f6911a00163e092396e529440883e9fa70374358 | diff --git a/libagent/device/trezor.py b/libagent/device/trezor.py
index <HASH>..<HASH> 100644
--- a/libagent/device/trezor.py
+++ b/libagent/device/trezor.py
@@ -3,6 +3,7 @@
import binascii
import logging
import os
+import sys
import semver
@@ -34,12 +35,12 @@ class Trezor(interface.Device):
retur... | pin: use PyQt only when running with no TTY | romanz_trezor-agent | train |
120b908867f37747859aced96056cbdd3a9ea87e | diff --git a/FormManager/Fields/Choose.php b/FormManager/Fields/Choose.php
index <HASH>..<HASH> 100644
--- a/FormManager/Fields/Choose.php
+++ b/FormManager/Fields/Choose.php
@@ -15,9 +15,7 @@ class Choose extends Collection implements CollectionInterface {
}
public function load ($value = null, $file = null) {
-... | Implemented check and uncheck methods for radio and checkboxes | oscarotero_form-manager | train |
fdd24fc1d680dbad359776b11ed2af6af22ed4d0 | diff --git a/lnrpc/routerrpc/router_backend.go b/lnrpc/routerrpc/router_backend.go
index <HASH>..<HASH> 100644
--- a/lnrpc/routerrpc/router_backend.go
+++ b/lnrpc/routerrpc/router_backend.go
@@ -648,6 +648,10 @@ func (r *RouterBackend) extractIntentFromSendRequest(
payIntent.Amount = *payReq.MilliSat
}
+ if !... | routerrpc: limit max parts if the invoice doesn't declare MPP support | lightningnetwork_lnd | train |
03f6cfac58ab338025d12fd64cb228bb86002ef9 | diff --git a/core/src/main/java/cucumber/runtime/formatter/PrettyFormatter.java b/core/src/main/java/cucumber/runtime/formatter/PrettyFormatter.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/cucumber/runtime/formatter/PrettyFormatter.java
+++ b/core/src/main/java/cucumber/runtime/formatter/PrettyFormatter.ja... | [Core] Pretty formatter is not a concurrent event listener
Fixes #<I> | cucumber_cucumber-jvm | train |
df96582bd3e83a13418f3d2d105d39e4073cb410 | diff --git a/src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java b/src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/opentable/db/postgres/embedded/EmbeddedPostgres.java
+++ b/src/main/java/com/opentable/db/postgres/embedded/Emb... | when Extracting files from the postgres tarball, also identify executables created with a relative path
closes #<I> | opentable_otj-pg-embedded | train |
c78f95296202e2d0201fc06a4d127cc6d5c9ef63 | diff --git a/src/Controller/ToolUserController.php b/src/Controller/ToolUserController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/ToolUserController.php
+++ b/src/Controller/ToolUserController.php
@@ -572,8 +572,8 @@ class ToolUserController extends AbstractActionController
{
... | MelisCore: added fix on tool user image uploading issue | melisplatform_melis-core | train |
c46b0a874d1e69ab07a7fb752b6cf0f416608041 | diff --git a/trunk/mlcp/src/main/java/com/marklogic/contentpump/Command.java b/trunk/mlcp/src/main/java/com/marklogic/contentpump/Command.java
index <HASH>..<HASH> 100644
--- a/trunk/mlcp/src/main/java/com/marklogic/contentpump/Command.java
+++ b/trunk/mlcp/src/main/java/com/marklogic/contentpump/Command.java
@@ -238,9... | Bug:<I>
Do not set MapOutPutValueClass and MapOutPutKeyClass during job creation for import. | marklogic_marklogic-contentpump | train |
853c134cbec5633db4b088e0230a7be1e7a2d906 | diff --git a/fritzconnection/fritzcall.py b/fritzconnection/fritzcall.py
index <HASH>..<HASH> 100644
--- a/fritzconnection/fritzcall.py
+++ b/fritzconnection/fritzcall.py
@@ -24,13 +24,20 @@ except (ValueError, SystemError, ImportError):
from datetime import datetime, timedelta
from lxml import etree
-__version__ =... | fritzcall adapted to version <I>, cli-output enhanced. | kbr_fritzconnection | train |
d52274bbb64dfce3bea8ff8a3d7963f6b9107aed | diff --git a/modules/system/ServiceProvider.php b/modules/system/ServiceProvider.php
index <HASH>..<HASH> 100644
--- a/modules/system/ServiceProvider.php
+++ b/modules/system/ServiceProvider.php
@@ -89,7 +89,7 @@ class ServiceProvider extends ModuleServiceProvider
if (Config::get('database.connections.mysql.ch... | Don't show mail branding menu item unless system.manage_mail_templates is assigned to current user (#<I>)
Fixes #<I>. Credit to @interworks-morr | octobercms_october | train |
12728c0a4a155c298cee5307dcfea446e4d54a90 | diff --git a/acceptance/tests/security/cve-2013-1654_sslv2_downgrade_master.rb b/acceptance/tests/security/cve-2013-1654_sslv2_downgrade_master.rb
index <HASH>..<HASH> 100644
--- a/acceptance/tests/security/cve-2013-1654_sslv2_downgrade_master.rb
+++ b/acceptance/tests/security/cve-2013-1654_sslv2_downgrade_master.rb
@... | Display SSL messages so we can match our regex
On rhel6, `openssl s_client` doesn't display the SSL messages that we
are trying to match, e.g. SERVER-HELLO. The `-msg` option must be used
for them to be displayed. | puppetlabs_puppet | train |
6dbbd7f395be79beec2459dcd1eb1e9896a402e7 | diff --git a/src/main/java/net/fortuna/ical4j/model/TimeZone.java b/src/main/java/net/fortuna/ical4j/model/TimeZone.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/fortuna/ical4j/model/TimeZone.java
+++ b/src/main/java/net/fortuna/ical4j/model/TimeZone.java
@@ -96,7 +96,12 @@ public class TimeZone extends java... | Check whether calculated offset is less than raw offset to avoid parse exception where historical raw offset is different to the current | ical4j_ical4j | train |
6e7e33a095ea1df822abb0e04401c56834a8ce8c | diff --git a/test/Unit.php b/test/Unit.php
index <HASH>..<HASH> 100644
--- a/test/Unit.php
+++ b/test/Unit.php
@@ -691,7 +691,7 @@ class Unit extends \lithium\core\Object {
*
* @param string $method The name of the test method to run.
* @param array $options
- * @return mixed
+ * @return array Results of tes... | Changing return from `_runTestMethod()`.
Removing returning of `$passed` as this was always `null`, because the
inner function was not returning anything.
Always returning `$this->_results` as already done in the upper body of
the method in some cases. | UnionOfRAD_lithium | train |
aa49cdc88929ec883394422f87210acde41696c0 | diff --git a/molgenis-omx-biobankconnect/src/main/java/org/molgenis/omx/biobankconnect/mappingmanager/MappingManagerController.java b/molgenis-omx-biobankconnect/src/main/java/org/molgenis/omx/biobankconnect/mappingmanager/MappingManagerController.java
index <HASH>..<HASH> 100644
--- a/molgenis-omx-biobankconnect/src/m... | correct the list of datasets when mappingmanager is initialized | molgenis_molgenis | train |
78cf84c1e0b6f2e0d81e4e3777d2237500d97e52 | diff --git a/openquake/hazardlib/calc/gmf.py b/openquake/hazardlib/calc/gmf.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/calc/gmf.py
+++ b/openquake/hazardlib/calc/gmf.py
@@ -206,8 +206,8 @@ class GmfComputer(object):
M = len(self.imts)
result = numpy.zeros(
(len(self.imts), l... | Small renaming [ci skip] | gem_oq-engine | train |
0daa72903fcb2000700841fcdb9bff32e83c63b1 | diff --git a/src/GitHub_Updater/API.php b/src/GitHub_Updater/API.php
index <HASH>..<HASH> 100644
--- a/src/GitHub_Updater/API.php
+++ b/src/GitHub_Updater/API.php
@@ -246,16 +246,6 @@ abstract class API extends Base {
$repo = isset( $this->type->repo ) ? $this->type->repo : 'ghu';
$transient = 'ghu-' . md5( ... | filters no longer useful w/optimized transients | afragen_github-updater | train |
9eef692b70268e42f50bafea595baf9adc9ffb02 | diff --git a/Classes/System/Dispatcher.php b/Classes/System/Dispatcher.php
index <HASH>..<HASH> 100644
--- a/Classes/System/Dispatcher.php
+++ b/Classes/System/Dispatcher.php
@@ -65,6 +65,22 @@ class Dispatcher implements MiddlewareInterface
{
$restlerObj = $this->restlerBuilder->build($request);
... | [Fix] Prevent inconsistent TSFE state. | AOEpeople_TYPO3_Restler | train |
1b6385cb7d25ba22ccde332f36c3c4e7bdbec965 | diff --git a/test/results.test.js b/test/results.test.js
index <HASH>..<HASH> 100644
--- a/test/results.test.js
+++ b/test/results.test.js
@@ -210,4 +210,20 @@ describe("Results", () => {
assert.deepStrictEqual(results.getOffenders("foo"), ["bar is foo"]);
assert.strictEqual(results.getUrl(), "https://example... | core/results.js nowts.js<I>% code coverage, yay! | macbre_phantomas | train |
c94f3510aabf1d8f67e58ae0d3350c98821d296b | diff --git a/confidence.py b/confidence.py
index <HASH>..<HASH> 100644
--- a/confidence.py
+++ b/confidence.py
@@ -211,7 +211,7 @@ def load(*fps):
:return: a `.Configuration` instance providing values from *fps*
:rtype: `.Configuration`
"""
- return Configuration(*(yaml.load(fp.read()) for fp in fps))... | Use yaml.safe_load instead of yaml.load
yaml.load has security issues as it allows the use of non-standard tags
to create used-defined Python types or call builtins (such as os.exec). | HolmesNL_confidence | train |
6c1a1f6cba5c5fc4e29c2302fbbc67ffc32ebffd | diff --git a/client/lib/url/index.js b/client/lib/url/index.js
index <HASH>..<HASH> 100644
--- a/client/lib/url/index.js
+++ b/client/lib/url/index.js
@@ -3,9 +3,15 @@
/**
* External dependencies
*/
+import { parse as parseUrl } from 'url';
import startsWith from 'lodash/startsWith';
/**
+ * Internal dependenc... | Update isExternal function to check hostname
For a more thorough test, we should check to see if the hostname of the
URL is the same as the current hostname for the app | Automattic_wp-calypso | train |
84b1f6fc9ec6fb07796eb67b877d433613d4ca46 | diff --git a/vk/api.py b/vk/api.py
index <HASH>..<HASH> 100644
--- a/vk/api.py
+++ b/vk/api.py
@@ -64,7 +64,7 @@ class Session(object):
logger.debug('Prepare API Method request')
- response = self.send_api_request(method_request)
+ response = self.send_api_request(method_request, captcha_resp... | Now we send captcha_response from make_request into send_api_request | voronind_vk | train |
4e3c38ff2ce2486eea33dfcccb093d6ba2d21521 | diff --git a/src/render.js b/src/render.js
index <HASH>..<HASH> 100644
--- a/src/render.js
+++ b/src/render.js
@@ -7,10 +7,6 @@ export default function(src, rootElement) {
var datum = {};
var tag = element.node().nodeName;
- if (tag[0] == '#') {
- // Skip close tag
- ret... | text and comment nodes are nodes too | magjac_d3-graphviz | train |
c4f5b6ba87826a7629c42a1cfcb4fc26ea5ce5ea | diff --git a/lib/em-synchrony.rb b/lib/em-synchrony.rb
index <HASH>..<HASH> 100644
--- a/lib/em-synchrony.rb
+++ b/lib/em-synchrony.rb
@@ -5,12 +5,13 @@ require "eventmachine"
require "fiber"
require "em-synchrony/em-multi"
+# require "em-synchrony/iterator" # iterators are not release in EM yet
+require "em-synchr... | do not require iterator for now (not yet released in EM) | igrigorik_em-synchrony | train |
64e064719d11befa99212335590fa33c361f226e | diff --git a/src/main/java/com/metamx/http/client/HttpClient.java b/src/main/java/com/metamx/http/client/HttpClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/metamx/http/client/HttpClient.java
+++ b/src/main/java/com/metamx/http/client/HttpClient.java
@@ -16,7 +16,6 @@
package com.metamx.http.client;
... | 1) Fix initial HTTP line passed to not include the host | metamx_http-client | train |
4f497adb8ad046c5a35035674fb6c2b674d7fa84 | diff --git a/lib/workflow-backend.js b/lib/workflow-backend.js
index <HASH>..<HASH> 100644
--- a/lib/workflow-backend.js
+++ b/lib/workflow-backend.js
@@ -109,10 +109,8 @@ WorkflowBackend.prototype.runJob = function(uuid, runner_id, callback) {
// for every job's task.
// job - the job object. It'll be saved to the b... | Redis backend finishJob method | joyent_node-workflow | train |
05f073248ed86331df9748d2e1fbfc27f78366a0 | diff --git a/lib/assertions.js b/lib/assertions.js
index <HASH>..<HASH> 100644
--- a/lib/assertions.js
+++ b/lib/assertions.js
@@ -161,6 +161,9 @@ module.exports = function (expect) {
}
expect(subject, 'to have [own] property', key);
+ this.argsOutput = function () {
+ ... | to have property: Improve the error output when an expected value is given. | unexpectedjs_unexpected | train |
3da4cac6fddee9d5a21e29168a38ffdd03528037 | diff --git a/noodles/run/xenon.py b/noodles/run/xenon.py
index <HASH>..<HASH> 100644
--- a/noodles/run/xenon.py
+++ b/noodles/run/xenon.py
@@ -15,6 +15,7 @@ import xenon
import os
import sys
import threading
+import jpype
# from contextlib import redirect_stderr
# xenon_log = open('xenon_log.txt', 'w')
@@ -169,7... | Using JPype threads | NLeSC_noodles | train |
ea96deacf87a24085a0f8258430ea00321b1eb7c | diff --git a/autograd/core.py b/autograd/core.py
index <HASH>..<HASH> 100644
--- a/autograd/core.py
+++ b/autograd/core.py
@@ -23,7 +23,7 @@ def make_vjp(fun, argnum=0):
def forward_pass(fun, args, kwargs, argnum=0):
args = list(args)
with trace_stack.new_trace() as t:
- start_node = VJPNode(None, Non... | Put some of the more generic node-y behavior in Node.__init__ and the application-specific stuff in process_local_data. It'll probably take a bit of playing around to figure out what the right interface is here. | HIPS_autograd | train |
53bcdf4a06916e5f67ccd6c921f72f28a61c30d7 | diff --git a/vaex/export.py b/vaex/export.py
index <HASH>..<HASH> 100644
--- a/vaex/export.py
+++ b/vaex/export.py
@@ -38,7 +38,6 @@ def _export(dataset_input, dataset_output, random_index_column, path, column_nam
if selection:
if selection == True: # easier to work with the name
selection = "default"
- asser... | fix: don't check if export exists, since it may be an expression | vaexio_vaex | train |
72ca12c4107cc5f399352b5e2193c447c7fa091a | diff --git a/account.go b/account.go
index <HASH>..<HASH> 100644
--- a/account.go
+++ b/account.go
@@ -333,6 +333,17 @@ type AccountDeclineSettingsParams struct {
CVCFailure *bool `form:"cvc_failure"`
}
+// AccountDocumentsBankAccountOwnershipVerificationParams represents the parameters allowed for passing
+// ban... | Add support for `BankAccountOwnershipVerification` on `Account` | stripe_stripe-go | train |
2fbb950e442281bef90da08a1f9e8b54ea02ac5f | diff --git a/lib/adapters/parsers/grok.js b/lib/adapters/parsers/grok.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/parsers/grok.js
+++ b/lib/adapters/parsers/grok.js
@@ -15,21 +15,13 @@ module.exports = base.extend({
return new Promise(function(resolve, reject) {
var buffer = [];
- ... | Get rid of pending/streamEnd logic | juttle_juttle | train |
f9c4635a5d2edc3f93841007f6cccc86d7bdf576 | diff --git a/lib/pdf/reader/encoding.rb b/lib/pdf/reader/encoding.rb
index <HASH>..<HASH> 100644
--- a/lib/pdf/reader/encoding.rb
+++ b/lib/pdf/reader/encoding.rb
@@ -111,6 +111,23 @@ class PDF::Reader
@string_cache[glyph_code] ||= internal_int_to_utf8_string(glyph_code)
end
+ # convert an integer glyp... | improve text extraction of built in fonts
* if the font includes a difference table (allowing it to use non ASCII
chars) then we need to do some extra work to extract the glyph width
from the relevant AFM file | yob_pdf-reader | train |
c15f82d8d69ca564a2792323a5e9a03cd40941ca | diff --git a/lib/puppet/environments.rb b/lib/puppet/environments.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/environments.rb
+++ b/lib/puppet/environments.rb
@@ -141,17 +141,16 @@ module Puppet::Environments
class StaticDirectory < Static
# Accepts a single environment in the given directory having the giv... | (PUP-<I>) Ensure env name is always a symbol
Previously the StaticDirectory environment type did not aggressively
symbolize the environment name before comparing it, unlike other
environment types. This caused issues when some code paths provided the
name as a symbol when trying to load the config, because the request... | puppetlabs_puppet | train |
58c446f56282cb8c24f5dce0ef03e5e7bebe00ef | diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go
index <HASH>..<HASH> 100644
--- a/hugolib/shortcode.go
+++ b/hugolib/shortcode.go
@@ -343,9 +343,14 @@ Loop:
if tmpl == nil {
return sc, fmt.Errorf("Unable to locate template for shortcode '%s' in page %s", sc.name, p.BaseFileName())
}
+
+ // TODO(... | Fix recently introduced new data race in the shortcode handling
Fixes #<I> | gohugoio_hugo | train |
08ddca51c688d8abc4ba56bd11c03de021caad18 | diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activejob/CHANGELOG.md
+++ b/activejob/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Push skipped jobs to `enqueued_jobs` when using `perform_enqueued_jobs` with a `only` filter in tests
+
+ *Alexander Pauly*
+
* Removed deprecat... | Append skipped jobs to enqueued_jobs
Refactored ActiveJob TestAdapter
Updated ActiveJob changelog
Fixed typo in changelog
Fixed formatting issue in changelog | rails_rails | train |
96e3584ed8de56e90ca4b271722cc65a685a4955 | diff --git a/fedmsg_meta_fedora_infrastructure/anitya.py b/fedmsg_meta_fedora_infrastructure/anitya.py
index <HASH>..<HASH> 100644
--- a/fedmsg_meta_fedora_infrastructure/anitya.py
+++ b/fedmsg_meta_fedora_infrastructure/anitya.py
@@ -45,6 +45,7 @@ class AnityaProcessor(BaseProcessor):
if 'id.fedoraproject... | Let's not forget to return the agent's username | fedora-infra_fedmsg_meta_fedora_infrastructure | train |
7d4665d1c09d0413363264eae109d57fecbb3e84 | diff --git a/kie-api/src/main/java/org/kie/api/runtime/conf/ClockTypeOption.java b/kie-api/src/main/java/org/kie/api/runtime/conf/ClockTypeOption.java
index <HASH>..<HASH> 100644
--- a/kie-api/src/main/java/org/kie/api/runtime/conf/ClockTypeOption.java
+++ b/kie-api/src/main/java/org/kie/api/runtime/conf/ClockTypeOptio... | [DROOLS-<I>] changes to enable improvements to Kogito API (#<I>)
* [DROOLS-<I>] changes to enable improvements to Kogito API
* wip | kiegroup_droolsjbpm-knowledge | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.