hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
1d8e0fa3edb57d79761ec1bccfc5545beb633a8d | diff --git a/warehouse/macaroons/models.py b/warehouse/macaroons/models.py
index <HASH>..<HASH> 100644
--- a/warehouse/macaroons/models.py
+++ b/warehouse/macaroons/models.py
@@ -60,6 +60,6 @@ class Macaroon(db.Model):
# default would be to generate a random key). However, it appears the
# PostgreSQL pgcrypto... | Fixed a typo in a comment (#<I>) | pypa_warehouse | train |
93b69e1aac3ac69204cbdc164cc601e97aa88916 | diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/type/cron.rb
+++ b/lib/puppet/type/cron.rb
@@ -4,12 +4,12 @@ require 'puppet/util/filetype'
Puppet::Type.newtype(:cron) do
@doc = <<-'EOT'
- Installs and manages cron jobs. Every cron resource requires ... | (maint) Update required params when creating cron jobs
The cron type only requires `command` and a schedule component _when creating
jobs_. `user` is not strictly required as a default will be used.
When managing existing jobs, one only needs to provide the properties to manage
and the namevar. | puppetlabs_puppet | train |
9053083056467a6379b18fa025d8009e9fec2b06 | diff --git a/libs/commandio.js b/libs/commandio.js
index <HASH>..<HASH> 100644
--- a/libs/commandio.js
+++ b/libs/commandio.js
@@ -14,11 +14,13 @@
var logger = require(__dirname+'/logger');
var EventEmitter = require('events').EventEmitter;
var emitter = new EventEmitter();
-var stdin = process.stdin;
-var commandDe... | Add two custom Error types. | Techniv_node-command-io | train |
ccb3eb8fdffef9c24e38da30bd5d7afde5f66797 | diff --git a/lib/text-formatters.spec.js b/lib/text-formatters.spec.js
index <HASH>..<HASH> 100644
--- a/lib/text-formatters.spec.js
+++ b/lib/text-formatters.spec.js
@@ -1,7 +1,7 @@
'use strict';
const { test, given } = require('sazerac');
-const moment = require('moment');
+const sinon = require('sinon');
const ... | Fix January unit test (#<I>) | badges_shields | train |
020d2abf3282fa3a36847a93a6539d9e0fc08f31 | diff --git a/Components/CommitsManager.php b/Components/CommitsManager.php
index <HASH>..<HASH> 100644
--- a/Components/CommitsManager.php
+++ b/Components/CommitsManager.php
@@ -139,6 +139,8 @@ class CommitsManager
* @param string $user User Name
* @param null|string $comment Operat... | ADD: Post Request Commit Feature | SplashSync_Php-Core | train |
2f95364795491eed1c743098c4d33e2739756e6f | diff --git a/openxc/measurements.py b/openxc/measurements.py
index <HASH>..<HASH> 100644
--- a/openxc/measurements.py
+++ b/openxc/measurements.py
@@ -15,17 +15,30 @@ class Measurement(AgingData):
_measurement_map = {}
unit = units.Undefined
- def __init__(self, name, value, event=None):
+ def __init_... | Don't allow assigning values with the wrong units unless building from JSON. | openxc_openxc-python | train |
057585fac40a74ecc720f158fef5d48ceb1ba78f | diff --git a/pyinfra/api/state.py b/pyinfra/api/state.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/state.py
+++ b/pyinfra/api/state.py
@@ -328,6 +328,9 @@ class State(object):
Flag a ``set`` of hosts as failed, error for ``config.FAIL_PERCENT``.
'''
+ if not hosts_to_fail:
+ re... | Return early if `hosts_to_fail` is empty. | Fizzadar_pyinfra | train |
4d65a992f85f4c64537d94c64a4911f98174817e | diff --git a/bundler.go b/bundler.go
index <HASH>..<HASH> 100644
--- a/bundler.go
+++ b/bundler.go
@@ -13,7 +13,6 @@ import (
"github.com/asticode/go-astilectron"
"github.com/asticode/go-astilog"
"github.com/asticode/go-astitools/os"
- "github.com/asticode/go-astitools/slice"
"github.com/jteeuwen/go-bindata"
... | Added environment validation and linux + windows finish | asticode_go-astilectron-bundler | train |
868102ffa4d8c1f1bae8c7de9ed81caa0e561d6d | diff --git a/src/framework/src/Co.php b/src/framework/src/Co.php
index <HASH>..<HASH> 100644
--- a/src/framework/src/Co.php
+++ b/src/framework/src/Co.php
@@ -151,9 +151,10 @@ class Co
$result = $channel->pop($timeout);
if ($result === false) {
Debug::log('Co::multi request fa... | Fix multi and clog trace bug | swoft-cloud_swoft-process | train |
c28cdb1bfd557ecb28e43dadd3045086a307c37e | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -84,11 +84,11 @@ class Service {
createQuery (paramsQuery = {}) {
const { filters, query } = filter(paramsQuery);
- let q = this.db().select(['*']);
+ let q = this.db().select([`${this.table}.*`... | Scoping select to current table to prevent "ambiguous" joins queries (#<I>) | feathersjs-ecosystem_feathers-knex | train |
f170aada91fd309f0416dff4759bacb44defb25e | diff --git a/src/ElasticsearchServiceProvider.php b/src/ElasticsearchServiceProvider.php
index <HASH>..<HASH> 100755
--- a/src/ElasticsearchServiceProvider.php
+++ b/src/ElasticsearchServiceProvider.php
@@ -5,7 +5,6 @@ namespace Basemkhirat\Elasticsearch;
use Basemkhirat\Elasticsearch\Commands\ReindexCommand;
use Ela... | fixing the application class error in service provider | basemkhirat_elasticsearch | train |
2658fe48e8398881e2e2ef657b9c98750f2cf3c6 | diff --git a/Utility/JsonParser.php b/Utility/JsonParser.php
index <HASH>..<HASH> 100755
--- a/Utility/JsonParser.php
+++ b/Utility/JsonParser.php
@@ -62,7 +62,7 @@ class JsonParser
private function validatePath($path)
{
- $regexp = '/^(?:[a-z0-9_]*(?:\.|\[\d+\]|\*)?)+$/i';
+ $regexp = '/^(?... | Allow hyphen in json property | Atlantic18_CoralCoreBundle | train |
e4c78c6b4c90265c3d3af08fce3e15b554cf3b2b | diff --git a/src/test/java/io/github/theangrydev/businessflows/TwoFlowsTest.java b/src/test/java/io/github/theangrydev/businessflows/TwoFlowsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/github/theangrydev/businessflows/TwoFlowsTest.java
+++ b/src/test/java/io/github/theangrydev/businessflows/TwoFlowsTes... | Expanding TwoFlowsTest example | theangrydev_business-flows | train |
68d0df04b12c709356119ccf0566981559476a12 | diff --git a/clonevirtualenv.py b/clonevirtualenv.py
index <HASH>..<HASH> 100644
--- a/clonevirtualenv.py
+++ b/clonevirtualenv.py
@@ -65,9 +65,12 @@ def clone_virtualenv(src_dir, dst_dir):
if os.path.exists(dst_dir):
raise UserError('dest dir %r exists' % dst_dir)
#sys_path = _virtualenv_syspath(src... | added verbose mode with logging. | edwardgeorge_virtualenv-clone | train |
fcb1b4180d86e3dd10462bc97af1c3cd6ceb9f30 | diff --git a/src/Analyser/TypeSpecifier.php b/src/Analyser/TypeSpecifier.php
index <HASH>..<HASH> 100644
--- a/src/Analyser/TypeSpecifier.php
+++ b/src/Analyser/TypeSpecifier.php
@@ -286,11 +286,11 @@ class TypeSpecifier
}
} elseif ($expr instanceof BooleanAnd || $expr instanceof LogicalAnd) {
$leftTypes = $... | TypeSpecifier - filter by truthy/falsey values for right expressions in && and || | phpstan_phpstan | train |
c51445214838929aeef14c97a2915fecb9270983 | diff --git a/android/src/main/java/com/geniem/rnble/RNBLEModule.java b/android/src/main/java/com/geniem/rnble/RNBLEModule.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/geniem/rnble/RNBLEModule.java
+++ b/android/src/main/java/com/geniem/rnble/RNBLEModule.java
@@ -547,9 +547,10 @@ class RNBLEModule ex... | convert noble uuids to native uuids | jacobrosenthal_react-native-ble | train |
0bcdfb2ce04fbcf47e0ef37dd7ad11cde8a0e57d | diff --git a/tensorflow_probability/python/mcmc/random_walk_metropolis.py b/tensorflow_probability/python/mcmc/random_walk_metropolis.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/mcmc/random_walk_metropolis.py
+++ b/tensorflow_probability/python/mcmc/random_walk_metropolis.py
@@ -249,7 +249,7 @@ c... | Update random_walk_metropolis.py
There is no need for one to substract `true_mean` here. It is because the `target = tfd.MultivariateNormalTriL(loc=true_mean, scale_tril=L)` already contains the `loc`. | tensorflow_probability | train |
2fe16403b360080fdb2911e5ca6f80177df05f5d | diff --git a/py/h2o.py b/py/h2o.py
index <HASH>..<HASH> 100644
--- a/py/h2o.py
+++ b/py/h2o.py
@@ -1086,10 +1086,17 @@ class H2O(object):
def GLM(self, key, timeoutSecs=300, retryDelaySecs=0.5, **kwargs):
a = self.GLM_shared(key, timeoutSecs, retryDelaySecs, parentName="GLM", **kwargs)
+ # Check ... | update to match tomas' release of GLMProgress (so GLM acts like RF/parse/GLMGrid) | h2oai_h2o-2 | train |
05fac3e1a559cc344593161fdc65a28ce549fad3 | diff --git a/lib/global_id/global_id.rb b/lib/global_id/global_id.rb
index <HASH>..<HASH> 100644
--- a/lib/global_id/global_id.rb
+++ b/lib/global_id/global_id.rb
@@ -63,6 +63,11 @@ class GlobalID
def ==(other)
other.is_a?(GlobalID) && @uri == other.uri
end
+ alias_method :eql?, :==
+
+ def hash
+ self.... | Array#uniq to correctly identify == GlobalIDs | rails_globalid | train |
467011e4449fa0d4e1473a31505bf07ab925752b | diff --git a/inginious/agent/docker_agent.py b/inginious/agent/docker_agent.py
index <HASH>..<HASH> 100644
--- a/inginious/agent/docker_agent.py
+++ b/inginious/agent/docker_agent.py
@@ -432,17 +432,24 @@ class DockerAgent(object):
future_results):
""" Talk with a contai... | msgpack.Unpacker _*-~/IS/~-*_ horribly slow. And shouldn't be. | UCL-INGI_INGInious | train |
d28c1da167afbbc0314ed3c708aaaa957ff3eed3 | diff --git a/tutorials/js/adjust-vertices.js b/tutorials/js/adjust-vertices.js
index <HASH>..<HASH> 100644
--- a/tutorials/js/adjust-vertices.js
+++ b/tutorials/js/adjust-vertices.js
@@ -11,7 +11,7 @@ function adjustVertices(graph, cell) {
}).each(function(group, key) {
// If the member of the gro... | fix: correct the code shown in "multiple links" tutorial (#<I>) | clientIO_joint | train |
87677fcc4dfda7ee9e0b5609344b46d6e3ccd227 | diff --git a/examples/run_gpt2.py b/examples/run_gpt2.py
index <HASH>..<HASH> 100644
--- a/examples/run_gpt2.py
+++ b/examples/run_gpt2.py
@@ -58,7 +58,7 @@ def run_model():
parser.add_argument("--nsamples", type=int, default=1)
parser.add_argument("--batch_size", type=int, default=-1)
parser.add_argumen... | [run_gpt2.py] temperature should be a float, not int | huggingface_pytorch-pretrained-BERT | train |
a51e824c381e7db3fec406ed11e172be690c19be | diff --git a/app/resonant-laboratory/models/Dataset.js b/app/resonant-laboratory/models/Dataset.js
index <HASH>..<HASH> 100644
--- a/app/resonant-laboratory/models/Dataset.js
+++ b/app/resonant-laboratory/models/Dataset.js
@@ -46,6 +46,9 @@ class DatasetCache {
set cachedPromises (value) {
this._cachedPromises ... | Show the correct access error dialog instead of crashing | Kitware_candela | train |
84ac2a259e534808eb8acd411d9107bea3fffbd8 | diff --git a/eemeter/caltrack/hourly.py b/eemeter/caltrack/hourly.py
index <HASH>..<HASH> 100644
--- a/eemeter/caltrack/hourly.py
+++ b/eemeter/caltrack/hourly.py
@@ -138,6 +138,38 @@ class CalTRACKHourlyModelResults(object):
}
return data
+ @classmethod
+ def fromJson(cls, data):
+ """... | Add fromJson to the CalTRACKHourlyModelResults | openeemeter_eemeter | train |
3f8d43897909291f1255c549754911a3d22498eb | diff --git a/spring-data-simpledb-impl/src/main/java/org/springframework/data/simpledb/core/SimpleDbTemplate.java b/spring-data-simpledb-impl/src/main/java/org/springframework/data/simpledb/core/SimpleDbTemplate.java
index <HASH>..<HASH> 100644
--- a/spring-data-simpledb-impl/src/main/java/org/springframework/data/simp... | Fixed issue with updateImpl - added JSON fallback for property type | 3pillarlabs_spring-data-simpledb | train |
5f34da52748a482a76f1a0060d63127d0a0683e6 | diff --git a/src/tag/Expression.js b/src/tag/Expression.js
index <HASH>..<HASH> 100644
--- a/src/tag/Expression.js
+++ b/src/tag/Expression.js
@@ -16,9 +16,11 @@ export function Expression(tagName, typeValue) {
const expectedType = typeofName(typeValue.name);
if (expectedType == null) {
c... | fix(expressin): safe-undefined detection | azu_jsdoc-to-assert | train |
52b6042734c4da7552b7dc5635e8d51dc5711ffb | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,7 @@
"use strict";
module.exports = {
rules: {
+ 'accidental_assignment': require('./lib/rules/accidental_assignment.js'),
'assign_to_hostname': require('./lib/rules/assign_to_hostname'),
'assign_to_h... | Add missing rules to index.js (fixes #4) | mozfreddyb_eslint-plugin-scanjs-rules | train |
178af58f4c038eadcc8c62493cd0e74f0027f03b | diff --git a/src/python/dxpy/cli/exec_io.py b/src/python/dxpy/cli/exec_io.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/cli/exec_io.py
+++ b/src/python/dxpy/cli/exec_io.py
@@ -447,7 +447,7 @@ class ExecutableInputs(object):
input_class = None
if self.input_spec is not None:
- i... | Bugfix for dx-run-app-locally compatibility | dnanexus_dx-toolkit | train |
dfc2cf96a6c1bea8ab63d045712c5c2599565633 | diff --git a/cassandra/cluster.py b/cassandra/cluster.py
index <HASH>..<HASH> 100644
--- a/cassandra/cluster.py
+++ b/cassandra/cluster.py
@@ -1456,11 +1456,6 @@ class Cluster(object):
connection = None
try:
connection = self.connection_factory(host.address)
- try:
- ... | don't wait for schema agreement when repreparing on up
PYTHON-<I> | datastax_python-driver | train |
d3acb377f5cae3e152cd451e6f96159a3e4f9c88 | diff --git a/hyperv/neutron/security_groups_driver.py b/hyperv/neutron/security_groups_driver.py
index <HASH>..<HASH> 100755
--- a/hyperv/neutron/security_groups_driver.py
+++ b/hyperv/neutron/security_groups_driver.py
@@ -16,6 +16,7 @@
from eventlet import greenthread
import netaddr
from neutron.agent import firewa... | SecurityGroups: clears port SG rule cache if port doesn't exist
If an exceptions.NotFound is raised when binding / removing
security group rules, it means that the port no longer exists.
Clears the port's cached SG rules in this case.
Change-Id: I0ce1c<I>b4a8b<I>f<I>f<I>fd2a<I>e4f<I>bf<I>
Closes-Bug: #<I> | openstack_networking-hyperv | train |
29bb75a79e5f01e24720899ded30d3833268952c | diff --git a/parthial/built_ins.py b/parthial/built_ins.py
index <HASH>..<HASH> 100644
--- a/parthial/built_ins.py
+++ b/parthial/built_ins.py
@@ -91,3 +91,9 @@ def lisp_cdr(self, ctx, l):
cdr = l.val[1:]
return ctx.env.new(LispList(cdr))
+@built_in(default_globals, 'list', count_args=False)
+def lisp_list(... | Fixed an incredibly stupid typo bug. | benzrf_parthial | train |
9431d0d97114564b55b221f017fd8764099b83d0 | diff --git a/probability.py b/probability.py
index <HASH>..<HASH> 100644
--- a/probability.py
+++ b/probability.py
@@ -87,22 +87,22 @@ class JointProbDist(ProbDist):
>>> P = JointProbDist(['X', 'Y']); P[1, 1] = 0.25
>>> P[1, 1]
0.25
+ >>> P[dict(X=0, Y=1)] = 0.5
+ >>> P[dict(X=0, Y=1)]
+ 0.5
... | Fixed type error in ProbDist.__setitem__ and factored out common logic. | hobson_aima | train |
b302731a504a7073a7cdfb1b40e0654cac1a40c1 | diff --git a/packages/cerebral/src/devtools/index.js b/packages/cerebral/src/devtools/index.js
index <HASH>..<HASH> 100644
--- a/packages/cerebral/src/devtools/index.js
+++ b/packages/cerebral/src/devtools/index.js
@@ -42,7 +42,7 @@ class Devtools {
this.controller = null
this.originalRunTreeFunction = null
... | fix(Devtools): fix sending initial backlog (#<I>) | cerebral_cerebral | train |
86d5e906d7125c5285c663dc4068ecb9d5a802aa | diff --git a/lib/friendly_id/adapters/active_record/slugged_model.rb b/lib/friendly_id/adapters/active_record/slugged_model.rb
index <HASH>..<HASH> 100644
--- a/lib/friendly_id/adapters/active_record/slugged_model.rb
+++ b/lib/friendly_id/adapters/active_record/slugged_model.rb
@@ -224,7 +224,7 @@ module FriendlyId
... | Made normalize_friendly_id receive instance of SlugString. | norman_friendly_id | train |
02da49597dce2e8206495eb3f778b22126ca6724 | diff --git a/hugolib/page.go b/hugolib/page.go
index <HASH>..<HASH> 100644
--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -169,7 +169,7 @@ func (p *Page) setSummary() {
} else {
// If hugo defines split:
// render, strip html, then split
- plain := strings.TrimSpace(p.Plain())
+ plain := strings.Join(strings.... | Fix string comparison for .Truncated page variable
Instead of `strings.TrimSpace()`, use `strings.Join(strings.Fields(s), " ")`
to collapse all whitespaces into single spaces, in order to match the
behaviour of helpers.TruncateWordsToWholeSentence(),
in order to detect non-truncated content correctly. | gohugoio_hugo | train |
a8fe54db428e7c059900d3c7f74cd3d6d9c97861 | diff --git a/sovrin_client/test/cli/conftest.py b/sovrin_client/test/cli/conftest.py
index <HASH>..<HASH> 100644
--- a/sovrin_client/test/cli/conftest.py
+++ b/sovrin_client/test/cli/conftest.py
@@ -1,30 +1,22 @@
import json
import os
import tempfile
-import traceback
-
-import itertools
-from time import sleep
imp... | refactored few fixtures to re-use code, removed unused imports | hyperledger-archives_indy-client | train |
d59fd3537d9e174e373581d67d6ca20cd4a3ab52 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
@@ -6... | Changed escape detection using the instance argument number - if the
method is static or if the instance is passed as anything other than
arg 0, then it escapes. Changed so all objects of types derived
from java.io.InputStream and java.io.OutputStream are checked,
except for the ByteArray variants.
git-svn-id: <URL> | spotbugs_spotbugs | train |
efc269250a1df95a32232eeea370b37e3911cb71 | diff --git a/pyemma/plots/thermo.py b/pyemma/plots/thermo.py
index <HASH>..<HASH> 100644
--- a/pyemma/plots/thermo.py
+++ b/pyemma/plots/thermo.py
@@ -88,7 +88,7 @@ def plot_convergence_info(thermo_estimator, axes=None):
def plot_memm_implied_timescales(thermo_estimators,
ax=None, nits=None, therm_state=None, x... | [thermo] adding **kwargs to plot_memm_implied_timescales() | markovmodel_PyEMMA | train |
f7ed7f127d90de7a3fb37ed6cac33175d9badace | diff --git a/tests/explainers/test_tree.py b/tests/explainers/test_tree.py
index <HASH>..<HASH> 100644
--- a/tests/explainers/test_tree.py
+++ b/tests/explainers/test_tree.py
@@ -208,15 +208,15 @@ def test_pyspark_classifier_decision_tree():
from pyspark.ml.classification import RandomForestClassifier, Decisio... | Skip pyspark tests when pyspark fails to load | slundberg_shap | train |
bd42a1e546b26317a4d3a1010fd111c230c65ec6 | diff --git a/tests/streambase.py b/tests/streambase.py
index <HASH>..<HASH> 100755
--- a/tests/streambase.py
+++ b/tests/streambase.py
@@ -210,15 +210,21 @@ class TestReceiverSelect(ReceiverSelectTestCase):
self.client.write(C2S_CLIENT_STREAM_HEAD)
self.wait_short(0.2)
self.client.write("</st... | More debug logs for streambase.py test | Jajcus_pyxmpp2 | train |
cf040f2224e5b3ac4809c7967cee3f9c362b8cf4 | diff --git a/lib/origami/pdf.rb b/lib/origami/pdf.rb
index <HASH>..<HASH> 100644
--- a/lib/origami/pdf.rb
+++ b/lib/origami/pdf.rb
@@ -392,7 +392,7 @@ module Origami
# Looking for an object present at a specified file offset.
#
def get_object_by_offset(offset) #:nodoc:
- self.indir... | pdf: replace some unnecessary arrays by enumerators | gdelugre_origami | train |
065d8066b728fdfe5af1a52735aa0b31791bd5a5 | diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/description/method/MethodDescription.java b/byte-buddy-dep/src/main/java/net/bytebuddy/description/method/MethodDescription.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/main/java/net/bytebuddy/description/method/MethodDescription.java
+++ b/byte-buddy... | Cache the hash code of tokens to avoid unneccessary recalculation. | raphw_byte-buddy | train |
3e93ce2ba16292fa5007df653436964a2c90cd45 | diff --git a/lib/sheepsafe/config.rb b/lib/sheepsafe/config.rb
index <HASH>..<HASH> 100644
--- a/lib/sheepsafe/config.rb
+++ b/lib/sheepsafe/config.rb
@@ -3,8 +3,8 @@ require 'yaml'
module Sheepsafe
class Config
FILE = File.expand_path('~/.sheepsafe/sheepsafe.yml')
- DEFAULT_CONFIG = {"untrusted_location" =... | Enable/disable without uninstalling | nicksieger_sheepsafe | train |
a4f7d0f3218427787a7af7c9f8d02baa88926b8a | diff --git a/src/Gregwar/Captcha/CaptchaBuilder.php b/src/Gregwar/Captcha/CaptchaBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Gregwar/Captcha/CaptchaBuilder.php
+++ b/src/Gregwar/Captcha/CaptchaBuilder.php
@@ -26,7 +26,7 @@ class CaptchaBuilder implements CaptchaBuilderInterface
/**
* @var array
*... | php7 error: Parameter must be an array or an object that implements Countable in CaptchaBuilder.php on line <I>
I got this error using xampp with php7 under windows <I> <I>bit.
Parameter must be an array or an object that implements Countable in CaptchaBuilder.php on line <I>
I fixed it by declaring $textColor a... | Gregwar_Captcha | train |
cf52020f8caa48635f511479cfecafbf4065abd2 | diff --git a/spec/PHPeg/Generator/ToClassVisitorSpec.php b/spec/PHPeg/Generator/ToClassVisitorSpec.php
index <HASH>..<HASH> 100644
--- a/spec/PHPeg/Generator/ToClassVisitorSpec.php
+++ b/spec/PHPeg/Generator/ToClassVisitorSpec.php
@@ -119,7 +119,10 @@ EOS;
function it_should_create_a_grammar_from_a_node()
{
... | Added namespaces to generated parser code | scato_phpeg | train |
2657975489cb37257c339a78bc16d5e63af5085f | diff --git a/src/adapt/viewer.js b/src/adapt/viewer.js
index <HASH>..<HASH> 100644
--- a/src/adapt/viewer.js
+++ b/src/adapt/viewer.js
@@ -182,9 +182,16 @@ adapt.viewer.Viewer.prototype.loadEPUB = function(command) {
self.opf = opf;
self.opf.resolveFragment(fragment).then(function(posi... | Fix timing of 'loaded' event
- 'loaded' event is fired after the rendering task is done, which is returned from `resize` method. | vivliostyle_vivliostyle.js | train |
3969011f7f4c9cbc18e66a920fe2707399e67bc5 | diff --git a/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php b/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php
+++ b/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.p... | [Routing] fixed a test | symfony_symfony | train |
dd49e370f4c3e30a4d346ad0d445c0e185c81292 | diff --git a/lib/softlayer/NetworkMonitor.rb b/lib/softlayer/NetworkMonitor.rb
index <HASH>..<HASH> 100644
--- a/lib/softlayer/NetworkMonitor.rb
+++ b/lib/softlayer/NetworkMonitor.rb
@@ -20,6 +20,17 @@ module SoftLayer
# This struct represents a network monitor query result that shows the last
# state of the netw... | Fix rdoc in Server for Network Monitor attributes and move the query result status descriptions into its respective class | softlayer_softlayer-ruby | train |
d4e69454b4f9f4fcf607805eb3db0e7b52b7194b | diff --git a/src/node.js b/src/node.js
index <HASH>..<HASH> 100644
--- a/src/node.js
+++ b/src/node.js
@@ -97,8 +97,11 @@ const Node = AsyncInit.compose({
}
this.api = client.api
- const { nodeRevision: revision, genesisKeyBlockHash: genesisHash, networkId, protocols } = await this.api.getStatus()
- t... | perf: take current height from status response | aeternity_aepp-sdk-js | train |
59c0afc203366049dfb4d45dff75903f16d544f6 | diff --git a/taxi_zebra/backend.py b/taxi_zebra/backend.py
index <HASH>..<HASH> 100755
--- a/taxi_zebra/backend.py
+++ b/taxi_zebra/backend.py
@@ -192,7 +192,7 @@ class ZebraBackend(BaseBackend):
projects_list = []
date_attrs = ('start_date', 'end_date')
- for project in projects['data']:
+ ... | Adapt code to new projects endpoint structure | sephii_taxi-zebra | train |
60dcbc29418efde13e7eb86f71ebff1256b6638e | diff --git a/composer.json b/composer.json
index <HASH>..<HASH> 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
},
"require-dev": {
"phpunit/phpunit": "^7.0",
- "nyholm/psr7": "^1.0",
+ "nyholm/psr7": "^1.3",
"nyholm/nsa": "^1.1"
},
"autoload": {
diff... | Added support for numeric headers (#<I>)
* Added support for numeric headers
* PHPdoc
require ^<I> of psr7 for tests to pass | Nyholm_psr7-server | train |
c36388c60481fb82f16520e3f8e8075e4b255633 | diff --git a/src/Php70/Php70.php b/src/Php70/Php70.php
index <HASH>..<HASH> 100644
--- a/src/Php70/Php70.php
+++ b/src/Php70/Php70.php
@@ -60,7 +60,7 @@ final class Php70
restore_error_handler();
}
- public static function intArg($value, $caller, $pos)
+ private static function intArg($value, $cal... | Php<I>: do not expose intArg
intArg is used from Php<I> only. make it private | symfony_polyfill | train |
a4c3f5e249749b862a34a1ffb43098a2221bd6aa | diff --git a/claripy/fp.py b/claripy/fp.py
index <HASH>..<HASH> 100644
--- a/claripy/fp.py
+++ b/claripy/fp.py
@@ -134,7 +134,13 @@ class FPV(BackendObject):
@normalize_types
@compare_sorts
def __div__(self, o):
- return FPV(self.value / o.value, self.sort)
+ try:
+ return FPV(se... | account for concrete FP ZeroDivisionError | angr_claripy | train |
b90c048804d3390f746fcceec9d7c43ba6570b74 | diff --git a/command/image/build.go b/command/image/build.go
index <HASH>..<HASH> 100644
--- a/command/image/build.go
+++ b/command/image/build.go
@@ -59,6 +59,7 @@ type buildOptions struct {
compress bool
securityOpt []string
networkMode string
+ squash bool
}
// NewBuildCommand creates a... | Adds ability to squash image after build
Allow built images to be squash to scratch.
Squashing does not destroy any images or layers, and preserves the
build cache.
Introduce a new CLI argument --squash to docker build
Introduce a new param to the build API endpoint `squash`
Once the build is complete, docker create... | docker_cli | train |
1b294cc4c11c55948d5b5d5f3192170c47df5fa6 | diff --git a/src/main/java/water/api/GLMProgressPage.java b/src/main/java/water/api/GLMProgressPage.java
index <HASH>..<HASH> 100644
--- a/src/main/java/water/api/GLMProgressPage.java
+++ b/src/main/java/water/api/GLMProgressPage.java
@@ -400,7 +400,7 @@ public class GLMProgressPage extends Request {
);
... | Fix for PUB-<I>. Forgot 2 more null checks. | h2oai_h2o-2 | train |
125a444bbd7c9e8cde2d29783ba232b5389760a0 | diff --git a/lib/ffi_yajl/ffi/encoder.rb b/lib/ffi_yajl/ffi/encoder.rb
index <HASH>..<HASH> 100644
--- a/lib/ffi_yajl/ffi/encoder.rb
+++ b/lib/ffi_yajl/ffi/encoder.rb
@@ -88,7 +88,7 @@ end
class TrueClass
def ffi_yajl(yajl_gen, state)
- if ( status = FFI_Yajl.yajl_gen_bool(yajl_gen, 0) ) != 0
+ if ( status ... | fix #to_json on base classes | chef_ffi-yajl | train |
e0fed894d3070a3fa7a9557af31200f0e382f1da | diff --git a/listing-bundle/contao/ModuleListing.php b/listing-bundle/contao/ModuleListing.php
index <HASH>..<HASH> 100644
--- a/listing-bundle/contao/ModuleListing.php
+++ b/listing-bundle/contao/ModuleListing.php
@@ -258,6 +258,7 @@ class ModuleListing extends \Module
);
}
+ $j = 0;
$arrRows = $objData->... | [Listing] More issues found by PHPStorm fixed | contao_contao | train |
4669f1373a5524fd22a45ff730717a382272f753 | diff --git a/salt/utils/data.py b/salt/utils/data.py
index <HASH>..<HASH> 100644
--- a/salt/utils/data.py
+++ b/salt/utils/data.py
@@ -4,7 +4,6 @@ and data structures.
"""
-# Import Python libs
import copy
import fnmatch
import functools
@@ -12,15 +11,12 @@ import logging
import re
from collections.abc import... | filter_by supports list fix (#<I>)
* fixed issue #<I>
* Running pre-commit bits manually. | saltstack_salt | train |
15d08176d250b1faf701c04887a01a31f22afd28 | diff --git a/src/main/java/org/agrona/collections/IntHashSet.java b/src/main/java/org/agrona/collections/IntHashSet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/agrona/collections/IntHashSet.java
+++ b/src/main/java/org/agrona/collections/IntHashSet.java
@@ -343,15 +343,18 @@ public final class IntHashSet i... | [Java] Tidy up from merge of PR #<I> to fix build errors and remove unnecessary null checks. | real-logic_agrona | train |
23e382fae082e6ad4bd174ff8ba0d4a491c19244 | diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java
index <HASH>..<HASH> 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplication... | Proxy and AR integration. Requests without AppName and Handler are not routed correctly, so adding them. And the proxy should be considered external and endpoint for application routing, since you can't AR beyond a proxy.
Date: <I>-<I>-<I> <I>:<I>:<I>
git-svn-id: <URL> | RestComm_sip-servlets | train |
76a171de13d1812733be8a58f50571d2a3501775 | diff --git a/schema/validator.js b/schema/validator.js
index <HASH>..<HASH> 100644
--- a/schema/validator.js
+++ b/schema/validator.js
@@ -2,7 +2,9 @@ var Ajv = require('ajv');
var ajv = new Ajv({allErrors: true});
module.exports = function validate(schema, data) {
- var ajv = new Ajv();
+ var ajv = new Ajv({
+ er... | feat(errors): show nicer errors if there are extra fields
Now you can see which field caused the error. | webpack-contrib_extract-text-webpack-plugin | train |
7674953c75c04669d36e9e8f6a979eb3eaaadf6b | diff --git a/component/ViewManager.js b/component/ViewManager.js
index <HASH>..<HASH> 100644
--- a/component/ViewManager.js
+++ b/component/ViewManager.js
@@ -1,4 +1,5 @@
import React from 'react'
+import GlobalContext from '../context'
export default class ViewManager extends React.Component {
views = {}
@@ -8,9... | fixed single component context bug in keep-alive mode | Lucifier129_react-imvc | train |
0e20e764e5ad43c33d08b4c397b69e41c62fef9f | diff --git a/lib/rack/rewrite/rule.rb b/lib/rack/rewrite/rule.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/rewrite/rule.rb
+++ b/lib/rack/rewrite/rule.rb
@@ -169,7 +169,7 @@ module Rack
}.merge!(additional_headers), []]
when :send_data
[status, {
- 'Content-Type' => interpre... | Fix duplicated key in apply!(env) method
there is a typo in the :send_data case within the apply!(env) method of rule.rb, the key 'Content-Type' is used twice. should be 'Content-Length' on line <I>. | jtrupiano_rack-rewrite | train |
a17dc01d55406f3b7d6c3dee8e82ebe715806b41 | diff --git a/src/InsertOnDuplicateKey.php b/src/InsertOnDuplicateKey.php
index <HASH>..<HASH> 100644
--- a/src/InsertOnDuplicateKey.php
+++ b/src/InsertOnDuplicateKey.php
@@ -35,7 +35,7 @@ trait InsertOnDuplicateKey
$data = static::inLineArray($data);
- return DB::statement($sql, $data);
+ re... | Added support for non-default connection | yadakhov_insert-on-duplicate-key | train |
0915c91baa6e8f3e7877ea68825321ba23cfa2b9 | diff --git a/packages/blueprint-gatekeeper/app/-internal/granters/refresh_token.js b/packages/blueprint-gatekeeper/app/-internal/granters/refresh_token.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint-gatekeeper/app/-internal/granters/refresh_token.js
+++ b/packages/blueprint-gatekeeper/app/-internal/granters/re... | fix: the user-defined payload was not included in the refreshed token | onehilltech_blueprint | train |
218fb2e18d83e2d930466eecf773e51ecc7767f9 | diff --git a/src/main/java/org/primefaces/component/captcha/CaptchaRenderer.java b/src/main/java/org/primefaces/component/captcha/CaptchaRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/component/captcha/CaptchaRenderer.java
+++ b/src/main/java/org/primefaces/component/captcha/CaptchaRendere... | callback and callback-expired from reCaptcha v2 were not supported by p:captcha.
With this patch captcha provide two attributes for javascript callbacks:
- callback (executed when the user submits a successful captcha response)
- expired (executed when the recaptcha response expires and the user needs to solve a new ca... | primefaces_primefaces | train |
0ed85b9e1dfa476763624b0b8637dcfa83cfdb90 | diff --git a/grapheneexchange/exchange.py b/grapheneexchange/exchange.py
index <HASH>..<HASH> 100644
--- a/grapheneexchange/exchange.py
+++ b/grapheneexchange/exchange.py
@@ -981,11 +981,17 @@ class GrapheneExchange(GrapheneClient) :
for debt in debts:
base = self.getObject(debt["call_price"]["ba... | [exchange] do not fail if no settlement price exists, i.e. get_debt_position called on non-bitasset | xeroc_python-graphenelib | train |
824b9829619673d24be8168af57d4328e4fcf545 | diff --git a/shared/login/register/set-public-name/index.js b/shared/login/register/set-public-name/index.js
index <HASH>..<HASH> 100644
--- a/shared/login/register/set-public-name/index.js
+++ b/shared/login/register/set-public-name/index.js
@@ -29,7 +29,7 @@ export class SetPublicName extends Component<void, Props, S... | Pass in the correct waiting prop, use definite shape to catch errors like these (#<I>) | keybase_client | train |
308d086f4a29847823a99f37cddcecce3f0a8ac7 | diff --git a/packages/botfuel-dialog/src/brains/brain.js b/packages/botfuel-dialog/src/brains/brain.js
index <HASH>..<HASH> 100644
--- a/packages/botfuel-dialog/src/brains/brain.js
+++ b/packages/botfuel-dialog/src/brains/brain.js
@@ -110,6 +110,15 @@ class Brain {
}
/**
+ * Gets all users.
+ * @async
+ *... | feat: added get all users method to brain | Botfuel_botfuel-dialog | train |
62748f1262ecce8e591975ac4e3af7804f2382d3 | diff --git a/src/main/java/com/tumblr/jumblr/types/VideoPost.java b/src/main/java/com/tumblr/jumblr/types/VideoPost.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/tumblr/jumblr/types/VideoPost.java
+++ b/src/main/java/com/tumblr/jumblr/types/VideoPost.java
@@ -9,7 +9,6 @@ import java.util.Map;
* @author jc
... | update video post to proper type override | tumblr_jumblr | train |
c79c2050103161fafa3b9a07d052804356014041 | diff --git a/beautysh/beautysh.py b/beautysh/beautysh.py
index <HASH>..<HASH> 100755
--- a/beautysh/beautysh.py
+++ b/beautysh/beautysh.py
@@ -112,44 +112,48 @@ class Beautify:
output.append(record)
continue
- inc = len(re.findall(
- ... | Let multi-line conditional statements pass through
They are often meticulously formatted | lovesegfault_beautysh | train |
41d3b89a56cd57ce2e386259cc8b271adee5dc1c | diff --git a/networkzero/discovery.py b/networkzero/discovery.py
index <HASH>..<HASH> 100644
--- a/networkzero/discovery.py
+++ b/networkzero/discovery.py
@@ -11,6 +11,10 @@ The discovery module offers:
* A ZeroMQ socket which allow any process on this machine to
communicate with its broadcast socket
+In other w... | Add a slight summary of the situation | tjguk_networkzero | train |
1ad48236f5127ceb9cc548dd7c852b559b2bb2b7 | diff --git a/database/migrations/2017_06_07_113300_modify_primary_key_in_settings_table.php b/database/migrations/2017_06_07_113300_modify_primary_key_in_settings_table.php
index <HASH>..<HASH> 100644
--- a/database/migrations/2017_06_07_113300_modify_primary_key_in_settings_table.php
+++ b/database/migrations/2017_06_... | Modify settings primary key migration to work with sqlsrv | arbory_arbory | train |
f4a83be4315b8505f7690bcba1a781279f79beca | diff --git a/lib/katello/engine.rb b/lib/katello/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/katello/engine.rb
+++ b/lib/katello/engine.rb
@@ -23,7 +23,7 @@ module Katello
Apipie.configuration.api_controllers_matcher = "#{Katello::Engine.root}/app/controllers/katello/api/v2/*.rb"
end
- initializer ... | Require dynflow before initializing | Katello_katello | train |
bedf06a774449d5ea48a1ad7c57fb2a1ed23e471 | diff --git a/moco-runner/src/test/java/com/github/dreamhead/moco/runner/DynamicSettingRunnerTest.java b/moco-runner/src/test/java/com/github/dreamhead/moco/runner/DynamicSettingRunnerTest.java
index <HASH>..<HASH> 100644
--- a/moco-runner/src/test/java/com/github/dreamhead/moco/runner/DynamicSettingRunnerTest.java
+++ ... | reseted system out and error before assertion in should_reload_configuration_with_multiple_modification | dreamhead_moco | train |
ce04182351e50bc1d3de76c1c9d3a3edbeb64890 | diff --git a/form-submission-handler.js b/form-submission-handler.js
index <HASH>..<HASH> 100644
--- a/form-submission-handler.js
+++ b/form-submission-handler.js
@@ -9,6 +9,9 @@ function getFormData() {
var fields = Object.keys(elements).map(function(k) {
if(elements[k].name !== undefined) {
return elem... | address #<I> to get radio button values
bug fix traverses a form's html collection for input values (for Edge, maybe IE) | dwyl_learn-to-send-email-via-google-script-html-no-server | train |
e77622899688e98928eb5e7ca39b77a5e629f2ad | diff --git a/tools/py/pipeline/link_materialize_actions.py b/tools/py/pipeline/link_materialize_actions.py
index <HASH>..<HASH> 100644
--- a/tools/py/pipeline/link_materialize_actions.py
+++ b/tools/py/pipeline/link_materialize_actions.py
@@ -151,7 +151,7 @@ def materialize(typ, rel=None, origin=None, unique=None, fpri... | Make sure nested materialize gets the right context link info | uogbuji_versa | train |
5b4f848989967a51a4e21be1a3f6277f009f16ad | diff --git a/perceval/_version.py b/perceval/_version.py
index <HASH>..<HASH> 100644
--- a/perceval/_version.py
+++ b/perceval/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.13.0"
+__version__ = "0.14.0" | Update version number to <I> | chaoss_grimoirelab-perceval | train |
6734e67d377ec8d8096a87d0751e787d6b481a45 | diff --git a/go/auth/credential_authority.go b/go/auth/credential_authority.go
index <HASH>..<HASH> 100644
--- a/go/auth/credential_authority.go
+++ b/go/auth/credential_authority.go
@@ -1,6 +1,7 @@
package auth
import (
+ "fmt"
libkb "github.com/keybase/client/go/libkb"
logger "github.com/keybase/client/go/log... | auth: add more credential authority logging | keybase_client | train |
326e5de130460edec135377d225c0bcdfbdd6800 | diff --git a/ccmlib/cluster.py b/ccmlib/cluster.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cluster.py
+++ b/ccmlib/cluster.py
@@ -224,6 +224,7 @@ class Cluster():
print "[%s ERROR] %s" % (node.name, line.rstrip('\n'))
if verbose:
print "----"
+ ... | Ensure thrift is ready on cluster start | riptano_ccm | train |
25863473ed291191688a9cd084e1441292c4473d | diff --git a/chef/lib/chef/provider/remote_file.rb b/chef/lib/chef/provider/remote_file.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/remote_file.rb
+++ b/chef/lib/chef/provider/remote_file.rb
@@ -73,7 +73,7 @@ class Chef
@new_resource.updated = true
# We're done with the file,... | Adding a safety check for closing already closed filehandles | chef_chef | train |
a300e76a6822812cbb9aee30237cc6b338ff7fef | diff --git a/breezy/lib/index.js b/breezy/lib/index.js
index <HASH>..<HASH> 100644
--- a/breezy/lib/index.js
+++ b/breezy/lib/index.js
@@ -6,6 +6,7 @@ import {setWindow, unsetWindow, hasWindow} from './window'
import {Nav} from './utils/react'
import connect from './connector'
import {pathQuery as convertToPathQuery... | Fix re-enable deferments | jho406_Breezy | train |
e1f4a3595be79fec966fb9301f801bd8c5e0cd16 | diff --git a/src/Models/User.php b/src/Models/User.php
index <HASH>..<HASH> 100644
--- a/src/Models/User.php
+++ b/src/Models/User.php
@@ -159,6 +159,7 @@ class User extends Model implements AuthenticatableContract, AuthenticatableTwoF
'gender',
'active',
'login_at',
+ 'abilities',
... | Add abilities mutator for easy user abilities attachment | rinvex_laravel-auth | train |
b7010c6ac5818c9e041df9d5a5ae47736ede54fc | diff --git a/wsrequest/__init__.py b/wsrequest/__init__.py
index <HASH>..<HASH> 100644
--- a/wsrequest/__init__.py
+++ b/wsrequest/__init__.py
@@ -11,10 +11,13 @@ VERSION = __version__
class WebSocketRequest(object):
- def __init__(self, message):
+ def __init__(self, message, factory_defaults=None):
... | Allow passing extra defaults for RequestFactory | GetBlimp_django-websocket-request | train |
695393f05a3e5287a4b4b7badf52f6047e01ce46 | diff --git a/packages/with-without/js/handleActiveRegionChange.js b/packages/with-without/js/handleActiveRegionChange.js
index <HASH>..<HASH> 100644
--- a/packages/with-without/js/handleActiveRegionChange.js
+++ b/packages/with-without/js/handleActiveRegionChange.js
@@ -7,11 +7,14 @@ const setActiveRegionAttr = (inacti... | fix(with-without): ie/edge broken when animateIn called on invisible desktop circle when on mobile | bolt-design-system_bolt | train |
1553a51e6efb943652ea29cba72c970be2b4f83d | diff --git a/src/main/java/com/wiley/autotest/services/SeleniumMethodsInvoker.java b/src/main/java/com/wiley/autotest/services/SeleniumMethodsInvoker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/wiley/autotest/services/SeleniumMethodsInvoker.java
+++ b/src/main/java/com/wiley/autotest/services/SeleniumMetho... | hotfix for #<I>. Now before method should be executed for safari | WileyLabs_teasy | train |
da612b59b1f07e1df58548e2d799611ddd59bcee | diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -138,6 +138,31 @@ def save(filename=None):
return out
+def check(table='filter', chain=None, rule=None):
+ '''
+ Check for the existance of a rule ... | Add function to check for the existance of an iptables rule | saltstack_salt | train |
3e522be86edbb1cc7f6cdf03d9b13a9fa02cbd9e | diff --git a/lib/rules/indent.js b/lib/rules/indent.js
index <HASH>..<HASH> 100644
--- a/lib/rules/indent.js
+++ b/lib/rules/indent.js
@@ -268,6 +268,16 @@ module.exports = {
) {
report(node, indent, nodeIndent);
}
+
+ if (node.type === "IfStatement" && node.alterna... | Fix: false negative of `indent` with `else if` statements (fixes #<I>) (#<I>) | eslint_eslint | train |
1b976454352d92680ef25cf9f196b48952f70581 | diff --git a/test/test_hashers.py b/test/test_hashers.py
index <HASH>..<HASH> 100644
--- a/test/test_hashers.py
+++ b/test/test_hashers.py
@@ -16,8 +16,12 @@
from __future__ import unicode_literals
from collections import OrderedDict
+from unittest import skipUnless
+import passlib
from passlib import hash
+from... | add tests for argon2/scrypt | mathiasertl_django-hashers-passlib | train |
4b8ab797b4653d8764c687e73cb630c32ae8bb4b | diff --git a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
+++ b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
@@ -105,6 +105,15 @@ ... | break each polymorphic type to it's own method | rails_rails | train |
9f49be9d5e879791c83170df85d0623b5f90307b | diff --git a/iktomi/forms/fields.py b/iktomi/forms/fields.py
index <HASH>..<HASH> 100644
--- a/iktomi/forms/fields.py
+++ b/iktomi/forms/fields.py
@@ -455,4 +455,3 @@ class FileField(Field):
return False
return True
-
diff --git a/iktomi/forms/widgets.py b/iktomi/forms/widgets.py
index <HASH... | fixed a bug with null value in select choices | SmartTeleMax_iktomi | train |
63bf8649cacf140911703e74c1f8506a3992a600 | diff --git a/src/KrToolBaseClass.php b/src/KrToolBaseClass.php
index <HASH>..<HASH> 100644
--- a/src/KrToolBaseClass.php
+++ b/src/KrToolBaseClass.php
@@ -32,6 +32,7 @@ class KrToolBaseClass {
protected function outputException( Exception $e ) {
global $kgBase;
+ http_response_code( 500 );
$kgBase->addOut( $... | Return <I> in case of exception | Krinkle_toollabs-base | train |
45f36c8eb5d5aa7fb6df6dccda5f6c0ac5666354 | diff --git a/polyaxon_cli/cli/upload.py b/polyaxon_cli/cli/upload.py
index <HASH>..<HASH> 100644
--- a/polyaxon_cli/cli/upload.py
+++ b/polyaxon_cli/cli/upload.py
@@ -37,10 +37,12 @@ def upload(sync=True): # pylint:disable=assign-to-new-keyword
Printer.print_error(
'Could ... | Update list of possible errors when uploading code | polyaxon_polyaxon | train |
31996062388371a938af0bcce1ea05989aff07e3 | diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskSubmissionTestEnvironment.java b/flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskSubmissionTestEnvironment.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/Tas... | [FLINK-<I>] Stop TaskSubmissionTestEnvironment.testingRpcService when closing the environment
This closes #<I>. | apache_flink | train |
1d298ea5cfe63e56335b3bc0f401ce17c5f5f36f | diff --git a/core/dbt/graph/selector.py b/core/dbt/graph/selector.py
index <HASH>..<HASH> 100644
--- a/core/dbt/graph/selector.py
+++ b/core/dbt/graph/selector.py
@@ -338,20 +338,20 @@ class Graph:
ancestors_for = self.select_children(selected) | selected
return self.select_parents(ancestors_for) | an... | Added type annotations and errors types refactored | fishtown-analytics_dbt | train |
fef0567746ade52943e4dfd6adfeb8341e015d02 | diff --git a/uncompyle6/parsers/parse33.py b/uncompyle6/parsers/parse33.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/parse33.py
+++ b/uncompyle6/parsers/parse33.py
@@ -12,8 +12,21 @@ class Python33Parser(Python32Parser):
def p_33on(self, args):
"""
# Python 3.3+ adds yield from.
- ... | Some Python <I> grammar rules apply to Python <I> | rocky_python-uncompyle6 | train |
29223e17ac2ba7d686611c67affff49ffe814dce | diff --git a/modules/custom/mentions/src/Form/MentionsSettingsForm.php b/modules/custom/mentions/src/Form/MentionsSettingsForm.php
index <HASH>..<HASH> 100644
--- a/modules/custom/mentions/src/Form/MentionsSettingsForm.php
+++ b/modules/custom/mentions/src/Form/MentionsSettingsForm.php
@@ -7,7 +7,6 @@ use Drupal\Core\E... | Issue #<I> by tekNorah: StringTranslationTrait define the same [error] property (#<I>) | goalgorilla_open_social | train |
594448499b1248b5a742ff7ffbcbc82c92b4bbd2 | diff --git a/forms/FieldList.php b/forms/FieldList.php
index <HASH>..<HASH> 100644
--- a/forms/FieldList.php
+++ b/forms/FieldList.php
@@ -267,10 +267,7 @@ class FieldList extends ArrayList {
if(is_a($parentPointer, 'TabSet')) {
// use $title on the innermost tab only
if ($k == $last_idx) {
- if (... | BUGFIX: Don't try to set the title if it hasn't been set for us.
This enables the new code to pass the existing tests. | silverstripe_silverstripe-framework | train |
5acfc42d9d3d2982b1d5eb3420449b01a431600f | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -75,11 +75,11 @@ class Griddle extends Component {
settingsComponentObjects,
selectors,
styleConfig: defaultStyleConfig,
+
pageProperties: {
currentPage: 1,
pageSiz... | Avoid special treatment for pageProperties | GriddleGriddle_Griddle | train |
40ffaa05eb92f219c1cdec811fa2e07e91d5d0e0 | diff --git a/src/adapt/ops.js b/src/adapt/ops.js
index <HASH>..<HASH> 100644
--- a/src/adapt/ops.js
+++ b/src/adapt/ops.js
@@ -1157,7 +1157,7 @@ adapt.ops.OPSDocStore.prototype.parseOPSResource = function(response) {
if (index < sources.length) {
var source = sources[index++];
... | Avoid unnecessary and incorrect CSS parsing when a viewport meta element is present
- When the style sheet text is an empty string and not null, it should be parsed as a style sheet text. | vivliostyle_vivliostyle.js | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.