hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
fccf5476154e5a51e7a0c6c78417b3f834a526db | diff --git a/django_tenants/migration_executors/base.py b/django_tenants/migration_executors/base.py
index <HASH>..<HASH> 100644
--- a/django_tenants/migration_executors/base.py
+++ b/django_tenants/migration_executors/base.py
@@ -16,7 +16,7 @@ def run_migrations(args, options, executor_codename, schema_name, allow_ato... | ITAL-<I> use increased index for progress reporting | tomturner_django-tenants | train |
5d87ea09761ed485aae8a631fbee82c99e0f9199 | diff --git a/tests/Deployment/Connection/ConnectedConnectionAdapterTestCase.php b/tests/Deployment/Connection/ConnectedConnectionAdapterTestCase.php
index <HASH>..<HASH> 100644
--- a/tests/Deployment/Connection/ConnectedConnectionAdapterTestCase.php
+++ b/tests/Deployment/Connection/ConnectedConnectionAdapterTestCase.p... | Added unit tests for ConnectionAdapterInterface::changeWorkingDirectory and ConnectionAdapterInterface::getWorkingDirectory | accompli_accompli | train |
79cd83c6ed9ea91d1da92304becfb96716489209 | diff --git a/modules/wycs/src/wycs/transforms/VerificationCheck.java b/modules/wycs/src/wycs/transforms/VerificationCheck.java
index <HASH>..<HASH> 100644
--- a/modules/wycs/src/wycs/transforms/VerificationCheck.java
+++ b/modules/wycs/src/wycs/transforms/VerificationCheck.java
@@ -162,13 +162,11 @@ public class Verifi... | WYCS: ok, we're almost back to where we were a month ago ... only it's taking a lot less time!! | Whiley_WhileyCompiler | train |
ca858fc4685e862fdd5615dfd06dabf9c9391f6f | diff --git a/aeron-system-tests/src/test/java/io/aeron/ExclusivePublicationTest.java b/aeron-system-tests/src/test/java/io/aeron/ExclusivePublicationTest.java
index <HASH>..<HASH> 100644
--- a/aeron-system-tests/src/test/java/io/aeron/ExclusivePublicationTest.java
+++ b/aeron-system-tests/src/test/java/io/aeron/Exclusi... | [Java] Ensure proper termination of the ExecutorServices. | real-logic_aeron | train |
3bd42f74725c51d9af130c0be68917dc4129f409 | diff --git a/grammpy/Grammars/RawGrammar.py b/grammpy/Grammars/RawGrammar.py
index <HASH>..<HASH> 100644
--- a/grammpy/Grammars/RawGrammar.py
+++ b/grammpy/Grammars/RawGrammar.py
@@ -7,10 +7,11 @@ Part of grammpy
"""
import inspect
-from grammpy.Terminal import Terminal
-from grammpy.Nonterminal import Nonterminal
... | Add implementation of rules* functions on grammar | PatrikValkovic_grammpy | train |
c7e25a050373d7986b9626a2f283a74914a90845 | diff --git a/shared/desktop/app/installer.desktop.js b/shared/desktop/app/installer.desktop.js
index <HASH>..<HASH> 100644
--- a/shared/desktop/app/installer.desktop.js
+++ b/shared/desktop/app/installer.desktop.js
@@ -3,7 +3,7 @@ import * as SafeElectron from '../../util/safe-electron.desktop'
import exec from './exe... | Don't try to run the installer binary on Linux (#<I>)
* Don't try to run the installer binary on Linux
* fix import | keybase_client | train |
207ec5a9d6adbce7792c17aa74008ace0ccf8661 | diff --git a/zinnia/tests/test_mixins.py b/zinnia/tests/test_mixins.py
index <HASH>..<HASH> 100644
--- a/zinnia/tests/test_mixins.py
+++ b/zinnia/tests/test_mixins.py
@@ -164,6 +164,7 @@ class MixinTestCase(TestCase):
instance = EntryArchiveTemplateResponseMixin()
instance.get_year = get_year
... | Completing the tests of EntryArchiveTemplateResponseMixin | Fantomas42_django-blog-zinnia | train |
91608ada46031a31f3af9c453f41d69377b7305b | diff --git a/Brocfile.js b/Brocfile.js
index <HASH>..<HASH> 100644
--- a/Brocfile.js
+++ b/Brocfile.js
@@ -1,3 +1,5 @@
+/* jshint node: true */
+
var fs = require('fs');
var util = require('util');
var path = require('path'); | Brocfile - Inform JSHint that `process` is a global | emberjs_ember.js | train |
4533875c75c23edf3dad57f869df883b236f8172 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -22,9 +22,9 @@ module.exports = function( grunt ) {
template: require('grunt-template-jasmine-requirejs'),
templateOptions: {
requireConfig: {
- baseUrl: 'lib',
+... | another attempt to resolve issue running tests in Travis | enketo_enketo-core | train |
a7abcaefd91f67223a05360a432d5137a592b882 | diff --git a/dev/com.ibm.ws.security.oauth.oidc_fat.common/src/com/ibm/ws/security/oauth_oidc/fat/commonTest/CommonValidationTools.java b/dev/com.ibm.ws.security.oauth.oidc_fat.common/src/com/ibm/ws/security/oauth_oidc/fat/commonTest/CommonValidationTools.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.security.o... | Allow a larger window when assuming exp time is valid | OpenLiberty_open-liberty | train |
8dcefb5c5554418445f670933fb5ef22b57c8529 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ See [cgminer\_api\_client](https://github.com/jramos/cgminer_api_client#configur
Add the following to your ``Gemfile``:
- gem 'cgminer_monitor', '~> 0.0.8'
+ gem 'cgminer_monitor', '~> 0.0.9'
U... | adding pool stale hashrate | jramos_cgminer_monitor | train |
a810189a8e93527974e22667342e8fa01d782efa | diff --git a/pkg.go b/pkg.go
index <HASH>..<HASH> 100644
--- a/pkg.go
+++ b/pkg.go
@@ -15,6 +15,7 @@ import (
"os"
"path"
"strconv"
+ "strings"
"sync"
"text/tabwriter"
@@ -38,6 +39,8 @@ var (
meta string
releaseNotes string
saveDir string
+ bulkDir string
+ baseUrl string
... | package: add 'package create bulk' command
Allows user to take output of `package download`
command and create packages from the directory's
`*info.json` files. | coreos_updateservicectl | train |
7c4fd65eed9450dad74115926a20c5626642b9fc | diff --git a/src/main/java/com/googlecode/ipv6/IPv6Address.java b/src/main/java/com/googlecode/ipv6/IPv6Address.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/ipv6/IPv6Address.java
+++ b/src/main/java/com/googlecode/ipv6/IPv6Address.java
@@ -33,16 +33,23 @@ public final class IPv6Address implements... | Added factory to construct an IPv6Address from two longs. | janvanbesien_java-ipv6 | train |
e628bb5668bb969b58feca4a63d6785370e46ff5 | diff --git a/ruuvitag_sensor/data_formats.py b/ruuvitag_sensor/data_formats.py
index <HASH>..<HASH> 100644
--- a/ruuvitag_sensor/data_formats.py
+++ b/ruuvitag_sensor/data_formats.py
@@ -1,3 +1,28 @@
+import logging
+
+log = logging.getLogger(__name__)
+
+
+def _dechunk(raw):
+ """
+ Given a BLE advertisement in ... | ruuvitag_sensor.data_formats: Rework parsing
This reworks the data parsing in ruuvitag_sensor.data_formats to more
closely follow the structure defined for BLE advertisements. It checks
for types that we're interested in for the different firmware versions,
and returns the appropriate data.
This will give us more con... | ttu_ruuvitag-sensor | train |
801649e1efec04e439ad79262200b0be7fc6f55b | diff --git a/app/controllers/katello/api/v2/repositories_controller.rb b/app/controllers/katello/api/v2/repositories_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/katello/api/v2/repositories_controller.rb
+++ b/app/controllers/katello/api/v2/repositories_controller.rb
@@ -35,9 +35,9 @@ module Katello
... | Refs #<I> - Update API docs for repo create
It isn't very clear that the IDs for ssl-*-id params are content credentials, this commit adds some clarification and fixes a typo as well | Katello_katello | train |
dccdeff2397a2dbcbfb4c7df0ae904427e8b5ab7 | diff --git a/openquake/baselib/hdf5.py b/openquake/baselib/hdf5.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/hdf5.py
+++ b/openquake/baselib/hdf5.py
@@ -310,8 +310,7 @@ class File(h5py.File):
totlen += len(val)
length = len(dset)
dset.resize((length + len(data),) + shape[1:])
- ... | Optimized save_vlen | gem_oq-engine | train |
9689f96e9b7f00a1a3830fb063e84ab16ce04631 | diff --git a/nunaliit2-js/src/main/js/nunaliit2/n2.canvasCustomSVG.js b/nunaliit2-js/src/main/js/nunaliit2/n2.canvasCustomSVG.js
index <HASH>..<HASH> 100644
--- a/nunaliit2-js/src/main/js/nunaliit2/n2.canvasCustomSVG.js
+++ b/nunaliit2-js/src/main/js/nunaliit2/n2.canvasCustomSVG.js
@@ -66,6 +66,7 @@ var CustomSvgCanvas... | nunaliit-js: Add provisions to custom SVG for specifying the elements
used in un-select.
Issue #<I> | GCRC_nunaliit | train |
7ef0964b77b4ee6fa03b9735695c598b28e65582 | diff --git a/polyaxon/conf/options/mount_paths.py b/polyaxon/conf/options/mount_paths.py
index <HASH>..<HASH> 100644
--- a/polyaxon/conf/options/mount_paths.py
+++ b/polyaxon/conf/options/mount_paths.py
@@ -3,4 +3,4 @@ import conf
from options.registry import mount_paths
conf.subscribe(mount_paths.MountPathsNvidia)... | Subscribe to nvidia mount paths option | polyaxon_polyaxon | train |
ea5390ad4a17ccd05a255b2ccc50b24302fd1e0e | diff --git a/estnltk/converters/layer_dict_converter.py b/estnltk/converters/layer_dict_converter.py
index <HASH>..<HASH> 100644
--- a/estnltk/converters/layer_dict_converter.py
+++ b/estnltk/converters/layer_dict_converter.py
@@ -1,10 +1,11 @@
-from estnltk.converters import serialisation_modules
+from estnltk.convert... | Fix in layer_dict_converter.py: better import handling | estnltk_estnltk | train |
5e785b96157f09cd841f00ed4a0359f913c0997a | diff --git a/airtest/core/win/win.py b/airtest/core/win/win.py
index <HASH>..<HASH> 100644
--- a/airtest/core/win/win.py
+++ b/airtest/core/win/win.py
@@ -2,8 +2,7 @@
from airtest import aircv
from airtest.core.device import Device
from pywinauto.application import Application
-from pywinauto import Desktop
-from py... | add mock in docs for building win module on linux/mac | AirtestProject_Airtest | train |
9eb04a1e7d19eadce850b5f26bec870cef10074f | diff --git a/lib/chessmonger/armory.rb b/lib/chessmonger/armory.rb
index <HASH>..<HASH> 100644
--- a/lib/chessmonger/armory.rb
+++ b/lib/chessmonger/armory.rb
@@ -22,9 +22,13 @@ module Chessmonger
@behaviors.keys
end
- def train name, game, player = nil
- behavior = @behaviors[name].create game
- ... | Simplified piece and behavior method arguments. | AlphaHydrae_chessmonger | train |
0da9e167d4cdda6f41d0b0e2fc72c5eeefd7aafc | diff --git a/Scripts/typo3cms.php b/Scripts/typo3cms.php
index <HASH>..<HASH> 100644
--- a/Scripts/typo3cms.php
+++ b/Scripts/typo3cms.php
@@ -17,7 +17,7 @@ call_user_func(function () {
if (getenv('TYPO3_PATH_WEB')) {
// In case we are symlinked (like for travis tests),
// we need to accept the l... | [CLEANUP] Harden entry script | TYPO3-Console_TYPO3-Console | train |
7145a2c8803856be67b731c953ea527c65e32912 | diff --git a/lib/httpful.php b/lib/httpful.php
index <HASH>..<HASH> 100644
--- a/lib/httpful.php
+++ b/lib/httpful.php
@@ -118,7 +118,8 @@ class Http {
class Response {
public $body, $raw_body, $headers, $request,
- $code = 0, $content_type, $charset;
+ $code = 0, $content_type, $charset,
+ ... | don't assume the user wants us to serialize their payload | nategood_httpful | train |
adef2638f41b4f712bd61d86ac04af51668fe275 | diff --git a/lib/promise.js b/lib/promise.js
index <HASH>..<HASH> 100644
--- a/lib/promise.js
+++ b/lib/promise.js
@@ -31,7 +31,11 @@ const path = require("path");
const _split = (self, rest) => {
const _ = require("..");
- return _.flatten(rest.map(key => key.split(",")))
+ return _.flatten(
+ ... | gracefully handly null in end() | dpjanes_iotdb-helpers | train |
8387d59ad1897fca1e692916f76ee8ac9f6356b1 | diff --git a/lxd/response/swagger.go b/lxd/response/swagger.go
index <HASH>..<HASH> 100644
--- a/lxd/response/swagger.go
+++ b/lxd/response/swagger.go
@@ -1,3 +1,6 @@
+// Package response contains helpers for rendering LXD HTTP responses.
+//
+//nolint:deadcode
package response
import ( | lxd/response: Adds nolint directive for deadcode.
The swagger definitions contained in this file are intentionally unused
so must be ignored by deadcode. The directive must be placed above
"package" to ignore the whole file (this does not ignore the whole
package). To satisfy another linter we must also format the pac... | lxc_lxd | train |
2b8d0c4785e855226b0c03b0145c878a5cafe5d3 | diff --git a/api/acl_test.go b/api/acl_test.go
index <HASH>..<HASH> 100644
--- a/api/acl_test.go
+++ b/api/acl_test.go
@@ -1,26 +1,14 @@
package api
import (
- "os"
"testing"
)
-// ROOT is a management token for the tests
-var CONSUL_ROOT string
-
-func init() {
- CONSUL_ROOT = os.Getenv("CONSUL_ROOT")
-}
-
f... | api: run ACL tests by default | hashicorp_consul | train |
6b6d63efa7dd1b7d0c6d0d670005e963ae24bc7e | diff --git a/lib/validator.js b/lib/validator.js
index <HASH>..<HASH> 100644
--- a/lib/validator.js
+++ b/lib/validator.js
@@ -69,6 +69,16 @@ var validators = {
},
notRegex: function(str, pattern, modifiers) {
return !this.regex(str, pattern, modifiers);
+ },
+ isUUID: function(str, version) {
... | refactored isUUID | chriso_validator.js | train |
c033b4293e13f9b75a09b827a4d276363f368930 | diff --git a/lib/puppet/node.rb b/lib/puppet/node.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/node.rb
+++ b/lib/puppet/node.rb
@@ -39,7 +39,7 @@ class Puppet::Node
def to_data_hash
result = {
'name' => name,
- 'environment' => environment.name,
+ 'environment' => environment.name.to_s,
... | (PUP-<I>) Avoid symbols when serializing
This commit ensures that the result of doing a to_data_hash does not
contain symbols. Although symbols work in JSON (they are automatically
converted to strings), they generate unnecessary overhead when used with
YAML. There, an extra tag is added for each Symbol. | puppetlabs_puppet | train |
f1d59ca1eb98b5507382b13cb05b14ebb2f89bcb | diff --git a/lib/veritas/relation/operation/limit.rb b/lib/veritas/relation/operation/limit.rb
index <HASH>..<HASH> 100644
--- a/lib/veritas/relation/operation/limit.rb
+++ b/lib/veritas/relation/operation/limit.rb
@@ -71,7 +71,7 @@ module Veritas
#
# @api private
def self.assert_valid_limit(... | Make sure the relation.drop(nil) and relation.take(nil) raise a nicer exception | dkubb_axiom | train |
f17660441971ed532c5e949db0a20b38b197227c | diff --git a/entitlement/src/test/java/com/ning/billing/entitlement/api/TestDefaultSubscriptionApi.java b/entitlement/src/test/java/com/ning/billing/entitlement/api/TestDefaultSubscriptionApi.java
index <HASH>..<HASH> 100644
--- a/entitlement/src/test/java/com/ning/billing/entitlement/api/TestDefaultSubscriptionApi.jav... | Fix flaky tests by hardcoding the UUID so when comparison defaults to ID level this is predictable | killbill_killbill | train |
1d73faed49383a31fabc29dbe9021883ab2c8f7d | diff --git a/src/core/schema.js b/src/core/schema.js
index <HASH>..<HASH> 100644
--- a/src/core/schema.js
+++ b/src/core/schema.js
@@ -51,6 +51,9 @@ export const column = {
getAggFN: function getAggFN(name) {
let s = name.substr(AGG_PREFIX.length);
return s.substr(0, s.indexOf('_'));
+ },
+ ... | Complete aggregation column names refactor | CartoDB_carto-vl | train |
531f24581796a22735233559d22c99727b729c3f | diff --git a/manticore/core/cpu/arm.py b/manticore/core/cpu/arm.py
index <HASH>..<HASH> 100644
--- a/manticore/core/cpu/arm.py
+++ b/manticore/core/cpu/arm.py
@@ -626,9 +626,9 @@ class Armv7Cpu(Cpu):
@instruction
def PUSH(cpu, *regs):
- high_to_low_regs = regs[::-1]
+ high_to_low_regs = [r.rea... | Fix arm PUSH (#<I>)
If sp is in the list, it gets pushed incorrectly because it gets
updated by the stack_pushes for registers that occur before it | trailofbits_manticore | train |
11dee420f0ebf7979acf0c985de15a8d6ddc401e | diff --git a/birdhousebuilder/recipe/supervisor/__init__.py b/birdhousebuilder/recipe/supervisor/__init__.py
index <HASH>..<HASH> 100644
--- a/birdhousebuilder/recipe/supervisor/__init__.py
+++ b/birdhousebuilder/recipe/supervisor/__init__.py
@@ -106,11 +106,11 @@ class Recipe(object):
self.options['killasgrou... | don't set LD_LIBRARY_PATH | bird-house_birdhousebuilder.recipe.supervisor | train |
2c97b828f2741eefb9a382f15a52c541ae69cc31 | diff --git a/knot.py b/knot.py
index <HASH>..<HASH> 100644
--- a/knot.py
+++ b/knot.py
@@ -81,6 +81,12 @@ class Container(dict):
dictionary methods are available without any modifications.
"""
+ def __call__(self, *args):
+ """A shortcut method for convenience.
+ For more information see :m... | Put back `__call__` as a shortcut for `provide`. | jaapverloop_knot | train |
df8a7f4295dbe5ea635970d262ca16b8bb7edeb4 | diff --git a/spec/live/custom_status_spec.rb b/spec/live/custom_status_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/live/custom_status_spec.rb
+++ b/spec/live/custom_status_spec.rb
@@ -4,12 +4,12 @@ require 'securerandom'
describe ZendeskAPI::CustomStatus, :delete_after do
def valid_attributes
{
- :stat... | Update custom_status_spec.rb to use Ruby <I> hash syntax | zendesk_zendesk_api_client_rb | train |
8f8c31e5cfc17029e9f87083dd5965bf84b39ca4 | diff --git a/cmd/localkube/localkube.go b/cmd/localkube/localkube.go
index <HASH>..<HASH> 100644
--- a/cmd/localkube/localkube.go
+++ b/cmd/localkube/localkube.go
@@ -23,6 +23,7 @@ import (
"flag"
"fmt"
"log"
+ "math/rand"
"net/http"
"os"
"time"
@@ -90,8 +91,10 @@ func api_server() {
Client: http.... | Fix localkube due to a bad merge. | kubernetes_kubernetes | train |
5ac45f08bb943c097d3d10ee088a4a8f4f8e4de8 | diff --git a/lib/rules/no-only-tests.js b/lib/rules/no-only-tests.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-only-tests.js
+++ b/lib/rules/no-only-tests.js
@@ -1,36 +1,7 @@
'use strict';
const utils = require('../utils');
-
-/**
- * Checks if the given token is a comma token or not.
- * From: https://github.... | Fix: Use token utilities from eslint-utils (#<I>) | not-an-aardvark_eslint-plugin-eslint-plugin | train |
876c94d556e38b9cbe33b8a34ded0ff8f5d97317 | diff --git a/tests/frontend/org/voltdb/TestJSONInterface.java b/tests/frontend/org/voltdb/TestJSONInterface.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/TestJSONInterface.java
+++ b/tests/frontend/org/voltdb/TestJSONInterface.java
@@ -98,7 +98,6 @@ import org.apache.http.impl.client.CloseableHttpCli... | Increase test timeout because it fails on some machines. | VoltDB_voltdb | train |
4ec3e711177b0407241ef204487f75ac90765d05 | diff --git a/ejb3/src/main/java/org/jboss/as/ejb3/EjbMessages.java b/ejb3/src/main/java/org/jboss/as/ejb3/EjbMessages.java
index <HASH>..<HASH> 100644
--- a/ejb3/src/main/java/org/jboss/as/ejb3/EjbMessages.java
+++ b/ejb3/src/main/java/org/jboss/as/ejb3/EjbMessages.java
@@ -1980,4 +1980,13 @@ public interface EjbMessag... | AS7-<I> Throw exception on interceptor-order is applied to the default interceptors, as this is not allowed by the spec, and is currently silently ignored | wildfly_wildfly | train |
26e320750cedd9f56721263cf65238e47d30af5e | diff --git a/parsl/utils.py b/parsl/utils.py
index <HASH>..<HASH> 100644
--- a/parsl/utils.py
+++ b/parsl/utils.py
@@ -142,7 +142,10 @@ def wtime_to_minutes(time_string):
'''
hours, mins, seconds = time_string.split(':')
- return int(hours) * 60 + int(mins) + 1
+ total_mins = int(hours) * 60 + int(min... | Parse walltime strings to actual number of minutes
Previously, one minute was added, to attempt to deal with
a specific degenerate situation of 0 minutes being specified.
Now, zero minutes will be parsed as 0 minutes, but a warning will
be emitted if the return vales is <1, to nudge the user in the
right direction. | Parsl_parsl | train |
7e421d169cf11269228646fe3ae3ba3152e084ab | diff --git a/src/node_modules/lib/transaction.js b/src/node_modules/lib/transaction.js
index <HASH>..<HASH> 100644
--- a/src/node_modules/lib/transaction.js
+++ b/src/node_modules/lib/transaction.js
@@ -79,6 +79,15 @@ class Transaction {
return buf;
}
+
+ /**
+ * @param {number} byte
+ * @param {number} ... | added missing method transaction#indexOf() | reklatsmasters_binary-data | train |
eae3b1946a276ac099e0018fc792d9e8c3bfda6d | diff --git a/params/version.go b/params/version.go
index <HASH>..<HASH> 100644
--- a/params/version.go
+++ b/params/version.go
@@ -21,10 +21,10 @@ import (
)
const (
- VersionMajor = 1 // Major version component of the current release
- VersionMinor = 10 // Minor version component of the current re... | params: release go-ethereum <I> stable | ethereum_go-ethereum | train |
76aa4512452e067b574d77e082bcc21bda70ab25 | diff --git a/src/frontend/org/voltdb/client/Client.java b/src/frontend/org/voltdb/client/Client.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/client/Client.java
+++ b/src/frontend/org/voltdb/client/Client.java
@@ -172,9 +172,17 @@ public interface Client {
* Invoke a procedure with specified quer... | better doc for batch/query timeout (#<I>) | VoltDB_voltdb | train |
a1ec89b5f84ef5ee86ec87bb9b15dd8784a56eab | diff --git a/util/progress_writer.go b/util/progress_writer.go
index <HASH>..<HASH> 100644
--- a/util/progress_writer.go
+++ b/util/progress_writer.go
@@ -33,6 +33,7 @@ func (w *ProgressWriter) Write(b []byte) (int, error) {
func (w *ProgressWriter) Close() error {
if w.written > 0 && w.Writer != nil {
_, e := fm... | set writer to nil when closed | dynport_dgtk | train |
f902119919bbab0c047eb4bc08492d92ea8c9fa1 | diff --git a/sample/src/com/nostra13/example/universalimageloader/Constants.java b/sample/src/com/nostra13/example/universalimageloader/Constants.java
index <HASH>..<HASH> 100644
--- a/sample/src/com/nostra13/example/universalimageloader/Constants.java
+++ b/sample/src/com/nostra13/example/universalimageloader/Constant... | Sample: Removed deprecated image link. | nostra13_Android-Universal-Image-Loader | train |
28f38ccb095e634433b39849d078d576192e0c81 | diff --git a/tests/muc/test_e2e.py b/tests/muc/test_e2e.py
index <HASH>..<HASH> 100644
--- a/tests/muc/test_e2e.py
+++ b/tests/muc/test_e2e.py
@@ -73,13 +73,26 @@ class TestMuc(TestCase):
logging.debug("thirdwitch is %s", self.thirdwitch.local_jid)
# make firstwitch and secondwitch join
- sel... | muc: make sure to configure room in e2e tests | horazont_aioxmpp | train |
0132bb463ad81a67158cd76d7636469a64ae955e | diff --git a/availability/ports.go b/availability/ports.go
index <HASH>..<HASH> 100644
--- a/availability/ports.go
+++ b/availability/ports.go
@@ -26,6 +26,9 @@ func Check(address *net.TCPAddr, timeout time.Duration) error {
}
func isListening(address *net.TCPAddr) bool {
- _, err := net.DialTCP("tcp", nil, address... | close tcp connection when finished | pivotal-cf_cf-redis-broker | train |
50ade57700fe6e48f3a1b975ab484cc093376317 | diff --git a/spec/api-native-image-spec.js b/spec/api-native-image-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-native-image-spec.js
+++ b/spec/api-native-image-spec.js
@@ -95,9 +95,11 @@ describe('nativeImage module', () => {
})
assert.deepEqual(imageB.getSize(), {width: 269, height: 95})
as... | Add more hasRepresentation asserts | electron_electron | train |
3e705a7820aba16bcb661f2c4a8764b50445e996 | diff --git a/annis-service/src/main/java/annis/dao/QueryDaoImpl.java b/annis-service/src/main/java/annis/dao/QueryDaoImpl.java
index <HASH>..<HASH> 100644
--- a/annis-service/src/main/java/annis/dao/QueryDaoImpl.java
+++ b/annis-service/src/main/java/annis/dao/QueryDaoImpl.java
@@ -26,7 +26,15 @@ import java.io.OutputS... | Use the graphannis.log logfile to report log messages from graphANNIS to the ANNIS service (e.g. on import) | korpling_ANNIS | train |
47c4dad85cfdfe6d2e229d4c3a419b62f0740d83 | diff --git a/anpy/dossier_from_opendata.py b/anpy/dossier_from_opendata.py
index <HASH>..<HASH> 100644
--- a/anpy/dossier_from_opendata.py
+++ b/anpy/dossier_from_opendata.py
@@ -213,17 +213,10 @@ def an_text_url(identifiant, code):
return host + leg + "/" + datas[type]['repertoire'] + "/" + datas[type]['prefixe']... | remove "verbose" option since it's not used anymore | regardscitoyens_anpy | train |
f8fb4f5214770be9b823073708f634d9e722d73d | diff --git a/api-spec-testing/test_file.rb b/api-spec-testing/test_file.rb
index <HASH>..<HASH> 100644
--- a/api-spec-testing/test_file.rb
+++ b/api-spec-testing/test_file.rb
@@ -199,34 +199,7 @@ module Elasticsearch
end
def clear_indices(client)
- indices = client.indices.get(index: '_all'... | [API] Fix clear_indices in test_file to actually delete all indices | elastic_elasticsearch-ruby | train |
51e97ec3b0b8609efbbf6c2126c1f6575066ef7b | diff --git a/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js b/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js
+++ b/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataModel.js
@@ -3352,7 +3352,7 @@ sap.ui.define([
... | [FIX] v2/ODataModel: Prevent unexpected error handler calls
This change fixes an issue with called error handlers of deferred requests.
BCP: <I>
Change-Id: I<I>fc<I>cc<I>c<I>a7ee<I>eaff<I>befbde5e8 | SAP_openui5 | train |
fb9765aca106d56a91897956c40901255c81d800 | diff --git a/recast-demo/src/main/java/org/recast4j/demo/builder/TileNavMeshBuilder.java b/recast-demo/src/main/java/org/recast4j/demo/builder/TileNavMeshBuilder.java
index <HASH>..<HASH> 100644
--- a/recast-demo/src/main/java/org/recast4j/demo/builder/TileNavMeshBuilder.java
+++ b/recast-demo/src/main/java/org/recast4... | Limit min number of processors when creating thread pools (fixes #<I>) | ppiastucki_recast4j | train |
d39df1d811050c812a038dc00b6fc2bb85788e52 | diff --git a/EloquentUserProvider.php b/EloquentUserProvider.php
index <HASH>..<HASH> 100755
--- a/EloquentUserProvider.php
+++ b/EloquentUserProvider.php
@@ -75,9 +75,13 @@ class EloquentUserProvider implements UserProvider
{
$user->setRememberToken($token);
+ $timestamps = $user->timestamps;
+
... | Restore user timestamps property after save. | illuminate_auth | train |
2eae37d58bdcea958638c77fc7ac8f58cc1c2145 | diff --git a/src/Sulu/Bundle/WebsiteBundle/Admin/SuluWebsiteAdmin.php b/src/Sulu/Bundle/WebsiteBundle/Admin/SuluWebsiteAdmin.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/WebsiteBundle/Admin/SuluWebsiteAdmin.php
+++ b/src/Sulu/Bundle/WebsiteBundle/Admin/SuluWebsiteAdmin.php
@@ -17,9 +17,9 @@ use Sulu\Bundle\Adm... | corrected theme config due to changes in library | sulu_sulu | train |
8786a8e5f56ff1f88ad8f9f4de02385ae3d97f69 | diff --git a/dist/component.js b/dist/component.js
index <HASH>..<HASH> 100644
--- a/dist/component.js
+++ b/dist/component.js
@@ -30,7 +30,7 @@ var Component = (function (_React$Component) {
_get(_React$Component.prototype, "constructor", this).call(this, props);
// Set initial state to merged object from ... | Fix issue if state is defined before calling parent constructor | SimonDegraeve_react-class-helper | train |
e4a05f177e95ab62a7ddb6204377a87dcff2b2db | diff --git a/src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java b/src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java
+++ b/src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java
@@ -13,10 +13... | [misc] ensure timezone setting for Windows unknown Zone id | MariaDB_mariadb-connector-j | train |
4b73d48254749bbf08c42126f10b16ac2d71f004 | diff --git a/wkhtmltopdf/utils.py b/wkhtmltopdf/utils.py
index <HASH>..<HASH> 100644
--- a/wkhtmltopdf/utils.py
+++ b/wkhtmltopdf/utils.py
@@ -93,8 +93,13 @@ def wkhtmltopdf(pages, output=None, **kwargs):
list(pages),
[output]))
ck_kwargs = {'env': env}
- if h... | Patch python3 / mod_wsgi incompatibility on sys.stderrr.fileno() call
Root cause of this issue is in python3 / mod_wsgi. See: <URL> and simply skips setting stderr if there is to avoid the AttributeError that occurs otherwise. Pull <URL> method cannot be called. | incuna_django-wkhtmltopdf | train |
9e654aecbe8675f20ca13a52c6314f817dbe057e | diff --git a/chunkypipes/util/__init__.py b/chunkypipes/util/__init__.py
index <HASH>..<HASH> 100644
--- a/chunkypipes/util/__init__.py
+++ b/chunkypipes/util/__init__.py
@@ -45,10 +45,10 @@ def execute_from_command_line(argv=None):
print_help_text()
sys.exit(0)
- chunky_home_root = os.environ.ge... | Bug fix, where no command worked without chunky init, not even chunky init | djf604_chunky-pipes | train |
228395b0f7621c00a9f591fd00c6599929f998a3 | diff --git a/deltas/segmenters/paragraphs_sentences_and_whitespace.py b/deltas/segmenters/paragraphs_sentences_and_whitespace.py
index <HASH>..<HASH> 100644
--- a/deltas/segmenters/paragraphs_sentences_and_whitespace.py
+++ b/deltas/segmenters/paragraphs_sentences_and_whitespace.py
@@ -1,14 +1,14 @@
-import re
-
from ... | Fixes sentence segmentation for sentences with a comment in them | halfak_deltas | train |
8f6345e5fdee48b7a96082423c82d959a56bd882 | diff --git a/spec/mongo/server/connection_spec.rb b/spec/mongo/server/connection_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongo/server/connection_spec.rb
+++ b/spec/mongo/server/connection_spec.rb
@@ -447,22 +447,22 @@ describe Mongo::Server::Connection do
context 'when the socket_timeout is negative' do... | RUBY-<I> Try another method of mocking socket timeout | mongodb_mongo-ruby-driver | train |
434e1f988efd36a9b1c3dcfdde4ba06eea8f0644 | diff --git a/lib/omnibus/software.rb b/lib/omnibus/software.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/software.rb
+++ b/lib/omnibus/software.rb
@@ -279,7 +279,7 @@ module Omnibus
# implementation
# @todo Why the caching of the URI?
def source_uri
- @source_uri ||= URI(@source[:url])
+ ... | use the source method when creating the uri and checksum
This way the overrides are applied instead of just using the default values in `@source` | chef_omnibus | train |
2e98b15e5f2a884c7e5b171f1d7691f612769f2a | diff --git a/test/test_cursor.py b/test/test_cursor.py
index <HASH>..<HASH> 100644
--- a/test/test_cursor.py
+++ b/test/test_cursor.py
@@ -182,6 +182,18 @@ class TestCursor(unittest.TestCase):
for x in range(500):
db.test.save({"x": x})
+ curs = db.test.find().limit(0).batch_size(10)
+ ... | Add a few more tests PYTHON-<I> | mongodb_mongo-python-driver | train |
891c0e5c73b0b59cc18bfc70e6c1ebadf93ab51a | diff --git a/recsql/rest_table.py b/recsql/rest_table.py
index <HASH>..<HASH> 100644
--- a/recsql/rest_table.py
+++ b/recsql/rest_table.py
@@ -63,7 +63,15 @@ with
Module content
--------------
-.. See the autogenerated content in the online docs or the source code.
+.. See the autogenerated content in the online do... | added Autoconverter and autoconversion to None, True, False
git-svn-id: svn+ssh://gonzo.med.jhmi.edu/scratch/svn/woolf_repository/users/oliver/Library/RecSQL@<I> df5ba8eb-4b0b-<I>-8c<I>-c<I>f<I>b<I>c | orbeckst_RecSQL | train |
706e66dac26799c5cde0b6b67604488e1081904f | diff --git a/src/mimerender.py b/src/mimerender.py
index <HASH>..<HASH> 100644
--- a/src/mimerender.py
+++ b/src/mimerender.py
@@ -286,7 +286,7 @@ try:
del flask.request.environ[key]
def _make_response(self, content, content_type, status):
- response = flask._make_response(content)
+ ... | fixed call to flask.make_response | martinblech_mimerender | train |
5c874584bedd894f4d06516c1f628cd6f0f38e0d | diff --git a/command/agent/http.go b/command/agent/http.go
index <HASH>..<HASH> 100644
--- a/command/agent/http.go
+++ b/command/agent/http.go
@@ -52,6 +52,8 @@ func (s *HTTPServer) Shutdown() {
// registerHandlers is used to attach our handlers to the mux
func (s *HTTPServer) registerHandlers() {
+ s.mux.HandleFun... | Adding index page with <I> catchall | hashicorp_consul | train |
4763690c03e47be195a1bd4ce4c1ffd21c1b9dcf | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -2,6 +2,21 @@ const path = require('path')
const webpack = require('webpack')
const config = require('./config')
+let plugins = [
+ new webpack.optimize.DedupePlugin(),
+ // Webpack 1.... | add minification and dedupe for production builds | jeffshaver_safe-app | train |
0d718da666f9e092f12fdf9e2ae2d4d2d6931633 | diff --git a/src/structure/immutable/__tests__/keys.spec.js b/src/structure/immutable/__tests__/keys.spec.js
index <HASH>..<HASH> 100644
--- a/src/structure/immutable/__tests__/keys.spec.js
+++ b/src/structure/immutable/__tests__/keys.spec.js
@@ -25,4 +25,15 @@ describe('structure.immutable.keys', () => {
List([... | add support for plain objects in keys extractor from immutable structure (#<I>) | erikras_redux-form | train |
d7b4adc852e06159f420539b0c09da3be0ce9b66 | diff --git a/ttyutils_darwin.go b/ttyutils_darwin.go
index <HASH>..<HASH> 100644
--- a/ttyutils_darwin.go
+++ b/ttyutils_darwin.go
@@ -9,15 +9,12 @@ import (
)
const (
- sys_TIOCGETA = 0x40487413
- sys_TIOCSETA = 0x80487414
sys_ISTRIP = 0x20
sys_INLCR = 0x40
sys_ICRNL = 0x100
sys_IGNCR = 0x80
sys_IXON = 0... | Removed some constants that ARE actually defined by Go on darwin. | burke_ttyutils | train |
b15014cb6a6cd03575ca449a8fd2ceeabdc99891 | diff --git a/src/Surfnet/StepupMiddlewareClient/Identity/Service/IdentityService.php b/src/Surfnet/StepupMiddlewareClient/Identity/Service/IdentityService.php
index <HASH>..<HASH> 100644
--- a/src/Surfnet/StepupMiddlewareClient/Identity/Service/IdentityService.php
+++ b/src/Surfnet/StepupMiddlewareClient/Identity/Servi... | Make API resource path construction more robust. | OpenConext_Stepup-Middleware-clientbundle | train |
fff13f5910a75f15f24ca507627a446337062bf7 | diff --git a/tests/test_phonetic.py b/tests/test_phonetic.py
index <HASH>..<HASH> 100644
--- a/tests/test_phonetic.py
+++ b/tests/test_phonetic.py
@@ -25,7 +25,7 @@ import unittest
import os
import random
import math
-import bz2
+import codecs
from abydos._compat import _unicode
from abydos.phonetic import russell... | switched bz2s to csvs | chrislit_abydos | train |
355c8f98f43c5e3fa987f072e57ca419bdb3d132 | diff --git a/geopy/geocoders/__init__.py b/geopy/geocoders/__init__.py
index <HASH>..<HASH> 100644
--- a/geopy/geocoders/__init__.py
+++ b/geopy/geocoders/__init__.py
@@ -1,6 +1,6 @@
"""
Each geolocation service you might use, such as Google Maps, Bing Maps, or
-Yahoo BOSS, has its own class in ``geopy.geocoders`` ab... | Geocoders doc: remove refs to Yahoo and GeocoderDotUS | geopy_geopy | train |
da907fd7811947b9c27a8f5b6cc31fe50f3caa7e | diff --git a/src/nsPopover.js b/src/nsPopover.js
index <HASH>..<HASH> 100644
--- a/src/nsPopover.js
+++ b/src/nsPopover.js
@@ -67,7 +67,13 @@
var displayer_ = {
id_: undefined,
- display: function(popover, delay, e) {
+ /**
+ * Set the display property of... | Remove 'popover' parameter from displayer/hider as it's redundant. | nohros_nsPopover | train |
1639d01d70726e50db27d4a1d646ff673ef4338b | diff --git a/src/main/java/hex/glm/GLMModel.java b/src/main/java/hex/glm/GLMModel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hex/glm/GLMModel.java
+++ b/src/main/java/hex/glm/GLMModel.java
@@ -155,13 +155,6 @@ public class GLMModel extends Model implements Comparable<GLMModel> {
rank = r;
this.s... | GLM2 bugfix: removed outdated Submodel clone. | h2oai_h2o-2 | train |
41f4d269b06101c13357a558eaddd033a6770a9f | diff --git a/system/src/Grav/Common/Filesystem/Folder.php b/system/src/Grav/Common/Filesystem/Folder.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Filesystem/Folder.php
+++ b/system/src/Grav/Common/Filesystem/Folder.php
@@ -60,13 +60,10 @@ abstract class Folder
/** @var \RecursiveDirectoryIter... | Various tweaks and hopefully improvements to file change detection | getgrav_grav | train |
c6877ca48578b4dac468e62083fd0038b8434de8 | diff --git a/sphinx.go b/sphinx.go
index <HASH>..<HASH> 100644
--- a/sphinx.go
+++ b/sphinx.go
@@ -7,6 +7,7 @@ import (
"fmt"
"io"
"math/big"
+ "sync"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg"
@@ -701,6 +702,8 @@ type Tx struct {
// only be accessed if the index is *not* include... | sphinx: allow concurrent onion packet processing | lightningnetwork_lightning-onion | train |
dcd341c5a1b9ae84b5b266d6f4496b523cbde3cf | diff --git a/cli.go b/cli.go
index <HASH>..<HASH> 100644
--- a/cli.go
+++ b/cli.go
@@ -94,12 +94,7 @@ func (cli *CLI) Run(args []string) int {
// Listen for signals
signalCh := make(chan os.Signal, 1)
- signal.Notify(signalCh,
- syscall.SIGHUP,
- syscall.SIGINT,
- syscall.SIGTERM,
- syscall.SIGQUIT,
- )
+ sig... | Watch all signals and propagate to the runner | hashicorp_consul-template | train |
7a15d3a4d7fb2950ae5ac5365977ed76a5c4c985 | diff --git a/pkg/kubelet/cm/cpumanager/cpu_manager_test.go b/pkg/kubelet/cm/cpumanager/cpu_manager_test.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/cm/cpumanager/cpu_manager_test.go
+++ b/pkg/kubelet/cm/cpumanager/cpu_manager_test.go
@@ -19,6 +19,7 @@ package cpumanager
import (
"fmt"
"reflect"
+ "strconv"
... | Fix bug in parsing int to string in CPUManager tests | kubernetes_kubernetes | train |
5b87c96289ec6c54f50a1f32800e864859776406 | diff --git a/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/negotiation/SPNEGOLoginModuleTestCase.java b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/security/loginmodules/negotiation/SPNEGOLoginModuleTestCase.java
index <HASH>..<HASH> 100644
---... | prepare SPNEGOLoginModuleTestCase for run with security manager | wildfly_wildfly | train |
58a766f63635cce81da36bdfda312c2cc6b6d4ca | diff --git a/posterior.py b/posterior.py
index <HASH>..<HASH> 100644
--- a/posterior.py
+++ b/posterior.py
@@ -47,12 +47,12 @@ class oneD:
self.bins = bins / bins.sum()
# Calculate the smoothed bins.
- self.bins_smoothed = ndimage.gaussian_filter(
- self.bins,
- ... | Disable smoothing, and spelling
ndimage.gaussian_filter doesn’t work with very spread out data sets.
Index overflow. | sliem_barrett | train |
de57e060737681e7b8e50d12f658cee9a402e25e | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -139,17 +139,21 @@ const generateCriticalCssWrapped = async function generateCriticalCssWrapped (
'\ncss length: ' +
options.cssString.length
)
- await restartBrowser({... | handle uncaught exceptions from launching puppeteer browser | pocketjoso_penthouse | train |
271464d3293704b29a24e5a4f140deb2b3985cda | diff --git a/packages/eslint-plugin-patternfly-react/lib/rules/import-tokens-icons.js b/packages/eslint-plugin-patternfly-react/lib/rules/import-tokens-icons.js
index <HASH>..<HASH> 100644
--- a/packages/eslint-plugin-patternfly-react/lib/rules/import-tokens-icons.js
+++ b/packages/eslint-plugin-patternfly-react/lib/ru... | fix(eslint): fix @patternfly/react-icons/createIcon differently (#<I>) | patternfly_patternfly-react | train |
a00eec773665c0243edc3f952bd3bbd0b982cbef | diff --git a/tilequeue/process.py b/tilequeue/process.py
index <HASH>..<HASH> 100644
--- a/tilequeue/process.py
+++ b/tilequeue/process.py
@@ -78,7 +78,9 @@ def _preprocess_data(feature_layers):
preproc_feature_layer = dict(
name=layer_datum['name'],
layer_datum=layer_datum,
- ... | Pass query padded bounds through pipeline
Passing the query padded bounds through the pipeline allows the
transforms to have access to it. | tilezen_tilequeue | train |
6235ab5514b05d335ae526ce62e0a3f505b4b7ab | diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index <HASH>..<HASH> 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -10,10 +10,10 @@ from twisted.internet import defer
from alot.commands import Command, registerCommand
from alot import settings
from alot import helper
-f... | use extract_body in envelope reedit | pazz_alot | train |
e71603be2cb4c09176f8aa747b77b1e662d13297 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -6,7 +6,7 @@ var fs = require('fs');
function normalize(filepath) {
// resolve to an absolute ppath
- if (!path.isAbsolute(filepath))
+ if (!path.isAbsolute || !path.isAbsolute(filepath))
filepath = path... | fixes #2, assuming not relative in <I> | weisjohn_jsonload | train |
f20ae2964303a4a2557b37482f925cc5f043a11e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,6 @@ setup(
'templates/salmonella/admin/widgets/*.html'
]},
url="http://github.com/lincolnloop/django-salmonella/",
- install_requires=['setuptools'],
classifiers=[
'Development St... | Removed requirements for setuptools because to use this requirement we already require setuptools. | lincolnloop_django-dynamic-raw-id | train |
fcdec3e40d69dbaa4927e840c8e564d76249a965 | diff --git a/lib/tools/apk-utils.js b/lib/tools/apk-utils.js
index <HASH>..<HASH> 100644
--- a/lib/tools/apk-utils.js
+++ b/lib/tools/apk-utils.js
@@ -12,11 +12,8 @@ apkUtilsMethods.isAppInstalled = async function (pkg) {
try {
let installed = false;
log.debug(`Getting install status for ${pkg}`);
- let... | Remove third-party restriction from app installed check | appium_appium-adb | train |
6ca5123d190dfb6e3ad0bbbc0cfc9b67f4ee04fe | diff --git a/config/routes/api/v2.rb b/config/routes/api/v2.rb
index <HASH>..<HASH> 100644
--- a/config/routes/api/v2.rb
+++ b/config/routes/api/v2.rb
@@ -255,8 +255,8 @@ Katello::Engine.routes.draw do
collection do
get :auto_complete_search
match ':sync_plan_id/available_prod... | refs #<I> - fixing routing errors
Routes was complaining about using `#match()` without specifying a http
method. | Katello_katello | train |
b83021510684c9b20610d2206e31c01e9c932783 | diff --git a/src/ValidationException.php b/src/ValidationException.php
index <HASH>..<HASH> 100644
--- a/src/ValidationException.php
+++ b/src/ValidationException.php
@@ -18,36 +18,22 @@ class ValidationException extends Exception
*
* @return \Exception
*/
- public function __construct($errors, $mo... | Fix exception constructor refactoring (#<I>)
* Fix exception constructor refactoring
* fix bad original usage
* fix test
* fix CS | atk4_data | train |
b2a6ec633409132e28576fea6b96131681dbfd52 | diff --git a/Entity/MailChimpNewsletter.php b/Entity/MailChimpNewsletter.php
index <HASH>..<HASH> 100755
--- a/Entity/MailChimpNewsletter.php
+++ b/Entity/MailChimpNewsletter.php
@@ -12,6 +12,7 @@ namespace CampaignChain\Operation\MailChimpBundle\Entity;
use CampaignChain\CoreBundle\Entity\Meta;
use Doctrine\ORM\Ma... | CE-<I> ParserUtil::sanitizeUrl() in Location::setUrl() adds unnecessary trailing slash that causes e.g. GoToWebinar links to not work | CampaignChain_operation-mailchimp | train |
e715f63c0bd1deb2de80fccd613e10a39d790b7f | diff --git a/plugins/database/influxdb/connection_producer.go b/plugins/database/influxdb/connection_producer.go
index <HASH>..<HASH> 100644
--- a/plugins/database/influxdb/connection_producer.go
+++ b/plugins/database/influxdb/connection_producer.go
@@ -168,7 +168,7 @@ func (i *influxdbConnectionProducer) createClient... | fix uninitialized tlsConfig in influxdb plugin (#<I>) | hashicorp_vault | train |
3c799d92c870413ba3414092fab274e1511b1f7b | diff --git a/java/src/com/google/template/soy/jbcsrc/SoyNodeCompiler.java b/java/src/com/google/template/soy/jbcsrc/SoyNodeCompiler.java
index <HASH>..<HASH> 100644
--- a/java/src/com/google/template/soy/jbcsrc/SoyNodeCompiler.java
+++ b/java/src/com/google/template/soy/jbcsrc/SoyNodeCompiler.java
@@ -876,7 +876,6 @@ f... | Fix a bug in how we generate code for velog nodes
if a velog had a non trivial logonly expression and defined a new variable in the body, the detach logic could get screwed up where we would try to save the variables defined inside the loop for the logonly expression.
Also create a new variable scope for the velog no... | google_closure-templates | train |
15001c1c60cc376e6b376dd8ad5e4684375a8fd9 | diff --git a/reporter.php b/reporter.php
index <HASH>..<HASH> 100644
--- a/reporter.php
+++ b/reporter.php
@@ -131,7 +131,7 @@
* @access public
*/
function paintFormattedMessage($message) {
- print "<pre>$message</pre>";
+ echo '<pre>', htmlentities($message), '</pr... | moved htmlentities() for dump to HtmlReporter | simpletest_simpletest | train |
2140cca1db79338f79309b30d46f54f058468008 | diff --git a/mod/forum/user.php b/mod/forum/user.php
index <HASH>..<HASH> 100644
--- a/mod/forum/user.php
+++ b/mod/forum/user.php
@@ -389,9 +389,19 @@ if (isset($courseid) && $courseid != SITEID) {
}
echo $OUTPUT->header();
-echo $OUTPUT->heading($inpageheading);
echo html_writer::start_tag('div', array('class' =... | MDL-<I> mod_forum: Display sub-header on user posts/discussions page | moodle_moodle | train |
836445d3048e0a1243ba939e1d03e73fb7fd1635 | diff --git a/idx/memory/meta_tags.go b/idx/memory/meta_tags.go
index <HASH>..<HASH> 100644
--- a/idx/memory/meta_tags.go
+++ b/idx/memory/meta_tags.go
@@ -96,10 +96,12 @@ func (m metaTagIndex) insertRecord(keyValue tagquery.Tag, id recordId) {
// getMetaRecordIdsByExpression takes an expression and returns all meta ... | use negated operators to look up meta tag records when appropriate | grafana_metrictank | train |
a47265bdc20730fe617339456be064a0af3312bc | diff --git a/pandas/tests/frame/methods/test_duplicated.py b/pandas/tests/frame/methods/test_duplicated.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/frame/methods/test_duplicated.py
+++ b/pandas/tests/frame/methods/test_duplicated.py
@@ -64,7 +64,6 @@ def test_duplicated_nan_none(keep, expected):
tm.assert_se... | using keep fixture in more places (#<I>) | pandas-dev_pandas | train |
f2175ae4424c113a5daaaf96ba155b64b74a7d5f | diff --git a/frame.go b/frame.go
index <HASH>..<HASH> 100644
--- a/frame.go
+++ b/frame.go
@@ -730,10 +730,10 @@ func (f *framer) parseResultMetadata() resultMetadata {
table = f.readString()
}
- cols := make([]ColumnInfo, colCount)
+ var cols []ColumnInfo
for i := 0; i < colCount; i++ {
- col := &cols[i]
+... | Dont allocate all the columninfo upfront
If the column count for a row result is huge it will trigger either
a makeslice: len out of range or the program will do lots of gc
which make the application unresponsive, even if there are not really
that many columns. | gocql_gocql | train |
c4a10cdc2deee0d711567e2f0c32e5503f43a562 | diff --git a/scripts/test_matrix.py b/scripts/test_matrix.py
index <HASH>..<HASH> 100644
--- a/scripts/test_matrix.py
+++ b/scripts/test_matrix.py
@@ -55,6 +55,8 @@ def get_parser():
parser.add_argument('--dry-run', action='store_true', default=False,
help="""Display commands that will be ... | update script with instructions closer to BEP2. Also update add new skip-tests argument | bokeh_bokeh | train |
08436a7f0598268fbf5c392314199e341fa7e437 | diff --git a/.travis.yml b/.travis.yml
index <HASH>..<HASH> 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ before_script:
- composer install
script:
- - vendor/bin/php-cs-fixer fix --dry-run
+ - vendor/bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff
- vendor/bin/phpstan analyze lib/ -... | Stub hash (#<I>)
* use md5 hash of the as the stub cache filename
in order to support multiple stub locators, use a hash of the stub path
* show diff on cs fail
* fix cs | phpactor_worse-reflection | train |
804cffa843692a6d33fc2f2086e32c15c482b637 | diff --git a/examples/filter_private_profiles.py b/examples/filter_private_profiles.py
index <HASH>..<HASH> 100644
--- a/examples/filter_private_profiles.py
+++ b/examples/filter_private_profiles.py
@@ -16,5 +16,5 @@ from instabot import Bot
bot = Bot(filter_users=True,
filter_private_users=True)
bot.login... | Update filter_private_profiles.py | instagrambot_instabot | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.