hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
13fab967f49271f788e255566aba622930033758 | diff --git a/bundle/bundle.go b/bundle/bundle.go
index <HASH>..<HASH> 100644
--- a/bundle/bundle.go
+++ b/bundle/bundle.go
@@ -387,7 +387,9 @@ func insertValue(b *Bundle, path string, value interface{}) error {
// Remove leading / and . characters from the directory path. If the bundle
// was written with OPA then ... | bundle: Ensure data paths use `/` separators for key
Turns out on windows the filepath.Dir() call will give back paths that
are using `\` separators. This is problematic when we then go to split
the path with `/` to get the key. We need to make sure they are always
normalized to `/` separators.
Fixes: #<I> | open-policy-agent_opa | train |
3f6cbd95606771ac9f7b1c9247d2ca186cb72cb9 | diff --git a/api/prometheus/v1/api.go b/api/prometheus/v1/api.go
index <HASH>..<HASH> 100644
--- a/api/prometheus/v1/api.go
+++ b/api/prometheus/v1/api.go
@@ -538,8 +538,6 @@ func (h *httpAPI) Query(ctx context.Context, query string, ts time.Time) (model.
q.Set("time", ts.Format(time.RFC3339Nano))
}
- u.RawQuery... | Remove encode of params in query before DoGetFallback (#<I>) | prometheus_client_golang | train |
babf0afc14a08c8de8df5f172ca9eeacd63e1f0f | diff --git a/marshmallow_jsonschema/base.py b/marshmallow_jsonschema/base.py
index <HASH>..<HASH> 100644
--- a/marshmallow_jsonschema/base.py
+++ b/marshmallow_jsonschema/base.py
@@ -85,6 +85,7 @@ MARSHMALLOW_TO_PY_TYPES_PAIRS = [
(fields.Url, str),
(fields.List, list),
(fields.Number, decimal.Decimal),
... | Added fields.IP marshmallow field type to python types mapping | fuhrysteve_marshmallow-jsonschema | train |
1ec0abc61c6d022c6ab4b34cc527d330042d473b | diff --git a/captcha/audio.py b/captcha/audio.py
index <HASH>..<HASH> 100644
--- a/captcha/audio.py
+++ b/captcha/audio.py
@@ -14,6 +14,12 @@ import wave
import struct
import random
+import sys
+if sys.version_info[0] != 2:
+ import functools
+ reduce = functools.reduce
+
+
__all__ = ['AudioCaptcha']
WAVE... | AudioCaptcha works on Python 3 now | lepture_captcha | train |
0dcd39a0421621d18d3174ca986b04a07ccd2a7c | diff --git a/servers/src/main/java/tachyon/worker/DataServer.java b/servers/src/main/java/tachyon/worker/DataServer.java
index <HASH>..<HASH> 100644
--- a/servers/src/main/java/tachyon/worker/DataServer.java
+++ b/servers/src/main/java/tachyon/worker/DataServer.java
@@ -24,6 +24,7 @@ import tachyon.Constants;
import t... | Create data server with core worker instead of block locker. | Alluxio_alluxio | train |
2093755a9e9e5f557787c965edefc092fa38095c | diff --git a/src/Validation/Validation.php b/src/Validation/Validation.php
index <HASH>..<HASH> 100644
--- a/src/Validation/Validation.php
+++ b/src/Validation/Validation.php
@@ -1098,6 +1098,26 @@ class Validation
}
/**
+ * Check that the input value is an integer
+ *
+ * This method will accep... | Add validator for integers.
Add more strict validation method for checking integers. Sometimes you
need to be more specific than isNumeric. This method lets you only
accept integers. | cakephp_cakephp | train |
c695a8371a8cc55e6b1c93faf7bbf4205d8673f3 | diff --git a/tests/vagrant/vagrant_boxes.py b/tests/vagrant/vagrant_boxes.py
index <HASH>..<HASH> 100644
--- a/tests/vagrant/vagrant_boxes.py
+++ b/tests/vagrant/vagrant_boxes.py
@@ -47,8 +47,9 @@ def run_box(options, vagrantfile, cmds, guiproc):
with fabric.Connection(
v.user_hostname_port(), con... | test: set directory and commands for win | ponty_pyscreenshot | train |
3107102b4dcc2e0feae84fc97c336b4d1775ddab | diff --git a/resources.py b/resources.py
index <HASH>..<HASH> 100644
--- a/resources.py
+++ b/resources.py
@@ -17,6 +17,12 @@ class _RI(object):
(self._scheme, self._auth, self._hostname, self._port, self._path,
self._querystr, self._fragment) = wkz_urls._uri_split(ri)
+ def __copy__(self):
+ ... | add netloc to _unsplit. fix tests. | core_uricore | train |
82cef1a0c6324d6f5f5485e1de152db1be93f32f | diff --git a/clients/ts/FunctionalTests/scripts/karma.local.conf.js b/clients/ts/FunctionalTests/scripts/karma.local.conf.js
index <HASH>..<HASH> 100644
--- a/clients/ts/FunctionalTests/scripts/karma.local.conf.js
+++ b/clients/ts/FunctionalTests/scripts/karma.local.conf.js
@@ -40,7 +40,7 @@ try {
}
// We u... | fix chrome headless when root by adding --no-sandbox (#<I>) | aspnet_SignalR | train |
bc633899170990ac20b390bcab59e88a571d8d7f | diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100644
--- a/__init__.py
+++ b/__init__.py
@@ -219,7 +219,7 @@ class Firefox:
glob.glob(os.path.join(os.environ.get('PROGRAMFILES(X86)', ''),
'Mozilla Firefox/profile/cookies.sqlite... | Fix Firefox win<I> folder naming conventions
.default may be followed by additional characters. This correctly locates profile folder. | borisbabic_browser_cookie3 | train |
5372b44d3543358b2090b6911a4f1c790aa68c94 | diff --git a/clustergrammer/initialize_net.py b/clustergrammer/initialize_net.py
index <HASH>..<HASH> 100644
--- a/clustergrammer/initialize_net.py
+++ b/clustergrammer/initialize_net.py
@@ -19,6 +19,7 @@ def main(self):
self.viz['row_nodes'] = []
self.viz['col_nodes'] = []
self.viz['links'] = []
+ self.viz['... | added mat initialization to self.viz | MaayanLab_clustergrammer-py | train |
53ae390f442e745503745e5fa8ed7b06b72fd102 | diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v0.21.0.txt
+++ b/doc/source/whatsnew/v0.21.0.txt
@@ -175,7 +175,7 @@ Groupby/Resample/Rolling
- Bug in ``DataFrame.resample(...).size()`` where an empty ``DataFrame`` did not return a `... | BUG: coercing of bools in groupby transform (#<I>) | pandas-dev_pandas | train |
177833c81cf0422891e3f928febf759e01c993f8 | diff --git a/src/DocumentBinder.php b/src/DocumentBinder.php
index <HASH>..<HASH> 100644
--- a/src/DocumentBinder.php
+++ b/src/DocumentBinder.php
@@ -1,8 +1,10 @@
<?php
namespace Gt\DomTemplate;
+use Gt\Dom\Attr;
use Gt\Dom\Document;
use Gt\Dom\Element;
+use Gt\Dom\XPathResult;
use Iterator;
use ReflectionObje... | Clean data attributes (#<I>)
* build: upgrade to stable dom release
* test: bind objects in arrays with bindList
* wip: complex test for #<I>
* feature: bindListCallback allows callback to be called for each list item
closes #<I>
* feature: expose and test callback functions
closes #<I>
* feature: cle... | PhpGt_DomTemplate | train |
c9d2cbbc0a3fc06b5b37c14b37d5a9047f82317a | diff --git a/syntax/lexer.go b/syntax/lexer.go
index <HASH>..<HASH> 100644
--- a/syntax/lexer.go
+++ b/syntax/lexer.go
@@ -627,18 +627,10 @@ loop:
if p.quote&allArithmExpr != 0 {
break loop
}
- if byteAt(p.src, p.npos+1) == '(' {
- tok = _Lit
- break loop
- }
case ':', '=', '%', '?', '^', ',':... | syntax: don't allow extglob inside extensions
This gets messy, such as the added test case which used to hang. Also
means we don't have to scatter the logic across p.advanceLitOther. | mvdan_sh | train |
cef2baa3bcac931ec6911a687395a2c25ade81c7 | diff --git a/bin/coderunner.json b/bin/coderunner.json
index <HASH>..<HASH> 100644
--- a/bin/coderunner.json
+++ b/bin/coderunner.json
@@ -1,5 +1,5 @@
{
- "managementHttpPort": 2992,
+ "managementHttpPort": null,
"workers": {
"cache": {
"limit": 20
@@ -33,4 +33,4 @@
},
"sandbox": true,
"verbo... | - add an ability to use TLS options for Redis
- disable Management Server by default | Backendless_JS-Code-Runner | train |
a7c8cb52f39cda8e8cd12e65b2d6848515f768d2 | diff --git a/src/Model/Common/AbstractJsonDeserializeObject.php b/src/Model/Common/AbstractJsonDeserializeObject.php
index <HASH>..<HASH> 100644
--- a/src/Model/Common/AbstractJsonDeserializeObject.php
+++ b/src/Model/Common/AbstractJsonDeserializeObject.php
@@ -66,6 +66,17 @@ abstract class AbstractJsonDeserializeObje... | decompose collection type check and fromArray | commercetools_commercetools-php-sdk | train |
f4ebf5a6c59f2f4960d3589a685c99cba3886a0a | diff --git a/decode_response.go b/decode_response.go
index <HASH>..<HASH> 100644
--- a/decode_response.go
+++ b/decode_response.go
@@ -84,10 +84,6 @@ func (sp *SAMLServiceProvider) ValidateEncodedResponse(encodedResponse string) (
}
response := doc.Root()
- err = sp.validateResponseAttributes(response)
- if err !... | Add support for verifying the signature of multiple Assertions | russellhaering_gosaml2 | train |
6ceea921854a16a4f4d3d5c7f60ed6967dc2034e | diff --git a/lib/3scale/client.rb b/lib/3scale/client.rb
index <HASH>..<HASH> 100644
--- a/lib/3scale/client.rb
+++ b/lib/3scale/client.rb
@@ -159,6 +159,9 @@ module ThreeScale
# app_key:: secret key assigned to the application. Required only if application has
# a key defined.
# se... | client: add missing documentation for usage param in auth calls | 3scale_3scale_ws_api_for_ruby | train |
8f452ef8ef7cfd33f2abf0110e849b8bc2b49e4c | diff --git a/panflute/containers.py b/panflute/containers.py
index <HASH>..<HASH> 100644
--- a/panflute/containers.py
+++ b/panflute/containers.py
@@ -152,9 +152,9 @@ def attach(element, parent, location):
def to_json_wrapper(e):
- if type(e) == str:
+ if isinstance(e, str):
return e
- elif type(... | Replace type() with isinstance() | sergiocorreia_panflute | train |
4e2ee18e29ab885a58404f5a1fc4bf466a9b08b9 | diff --git a/app/controllers/concerns/sms.rb b/app/controllers/concerns/sms.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/concerns/sms.rb
+++ b/app/controllers/concerns/sms.rb
@@ -10,6 +10,8 @@ module Sms
# off recipient defaults the value to the current participant)
# rubocop:disable Metrics/AbcSize
de... | refactored notification message logic | NU-CBITS_social_networking | train |
025f7297fac62d7d4ad465fec983484a153ec78d | diff --git a/lib/capybara/rspec/matchers.rb b/lib/capybara/rspec/matchers.rb
index <HASH>..<HASH> 100644
--- a/lib/capybara/rspec/matchers.rb
+++ b/lib/capybara/rspec/matchers.rb
@@ -27,7 +27,7 @@ module Capybara
end
def description
- "has #{query.description}"
+ "have #{query.description}... | Change RSpec descriptions from should has to should have | teamcapybara_capybara | train |
6a190b39a179d1d7578ea17c02ea17dc2281906b | diff --git a/src/test/java/org/joda/beans/gen/ImmPerson.java b/src/test/java/org/joda/beans/gen/ImmPerson.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/joda/beans/gen/ImmPerson.java
+++ b/src/test/java/org/joda/beans/gen/ImmPerson.java
@@ -70,9 +70,6 @@ public final class ImmPerson implements ImmutableBean {... | Add support for immutable beans - no FlexiBean support
See #<I> | JodaOrg_joda-beans | train |
fbe9c75be2fe5d5f8322391c8393983db721bd71 | diff --git a/lib/middlewares/favicon.js b/lib/middlewares/favicon.js
index <HASH>..<HASH> 100644
--- a/lib/middlewares/favicon.js
+++ b/lib/middlewares/favicon.js
@@ -6,7 +6,7 @@ var swintHelper = require('swint-helper'),
defaultize = swintHelper.defaultize;
module.exports = function(options) {
- defaultize({
+ op... | Favicon doesn't need mandatory options | Knowre-Dev_swint-middleware | train |
86e7c18c07d7e37613e2b5b56a52a32d0540321f | diff --git a/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php b/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
index <HASH>..<HASH> 100644
--- a/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
+++ b/src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
@@ -124,6 +124,20 @@ class HybridAuth ext... | Check for allowed user state if enabled. | SocalNick_ScnSocialAuth | train |
a91f89790144d700dde8f8ddcbd08ab79cac71af | diff --git a/app/app.js b/app/app.js
index <HASH>..<HASH> 100644
--- a/app/app.js
+++ b/app/app.js
@@ -24,7 +24,7 @@ window.onerror = function(errorMsg, url, lineNumber, colno, error) {
if (error && error.stack) {
errorMessage += "; stack:"+error.stack;
}
- console.log("Error: "+errorMessage);
+ ... | Updated logging on uncaught errors | HospitalRun_hospitalrun-frontend | train |
b06c026a7208a14fe6dfe1e15af24cbab134b341 | diff --git a/log.go b/log.go
index <HASH>..<HASH> 100644
--- a/log.go
+++ b/log.go
@@ -57,7 +57,7 @@ var (
INFO: "[INFO] ",
DEBUG: "[DEBUG] ",
}
- escapeNewlines bool = true
+ escapeNewlines bool = false
postFix = "" //\033[0m
LogLevelWords map[string]int = map[st... | Defaulting to not escaping newlines to not change standard behavior
Escaping newlines is necessary for keeping log messages consolidated via
the Docker stdout logging system. EscapeNewlines(bool) can be called to
set the variable. | araddon_gou | train |
1bd146ed82f771395f991851f7d896d9ae778f3c | diff --git a/integration/exec_test.go b/integration/exec_test.go
index <HASH>..<HASH> 100644
--- a/integration/exec_test.go
+++ b/integration/exec_test.go
@@ -67,7 +67,7 @@ func TestIPCPrivate(t *testing.T) {
}
if actual := strings.Trim(buffers.Stdout.String(), "\n"); actual == l {
- t.Fatalf("ipc link should be... | This patch adds a test for the shared HOST Pid namespace
It also kills all processes in a cgroup if you are not using the pid namespace
If we stop using the PID namespace, and more then one process is running
when the pid 1 exits, docker will hang since the cgroups do not disappear.
This code will kill all remaining... | opencontainers_runc | train |
2d0355b3b94351c96fb40ba6f3230a8ff75f19a8 | diff --git a/src/babel/traversal/scope/binding.js b/src/babel/traversal/scope/binding.js
index <HASH>..<HASH> 100644
--- a/src/babel/traversal/scope/binding.js
+++ b/src/babel/traversal/scope/binding.js
@@ -1,5 +1,5 @@
export default class Binding {
- constructor({ identifier, scope, path, kind }) {
+ constructor({ ... | merge previous bindings constantViolations and path onto new bindings constantViolations | babel_babel | train |
9fb426b33dc3148ea52422f8ecae77e4f823c6e2 | diff --git a/gflags/flagvalues.py b/gflags/flagvalues.py
index <HASH>..<HASH> 100644
--- a/gflags/flagvalues.py
+++ b/gflags/flagvalues.py
@@ -123,8 +123,7 @@ class FlagValues(object):
# None or Method(name, value) to call from __setattr__ for an unknown flag.
self.__dict__['__set_unknown'] = None
- # Se... | Cleanup nits around UseGnuGetOpt, we won't be able to flip the default to True. | google_python-gflags | train |
dfc23edda483bb9c516ccfd00af1f214d0619920 | diff --git a/lib/pulsar/index.js b/lib/pulsar/index.js
index <HASH>..<HASH> 100644
--- a/lib/pulsar/index.js
+++ b/lib/pulsar/index.js
@@ -100,7 +100,13 @@ module.exports = (function() {
process.stdout.on('data', collectResult);
process.stderr.on('data', collectResult);
process.on('close', function() {
-... | JSON response for getAvailableTasks | cargomedia_pulsar-rest-api | train |
f0d25af317b4643d80958c89721639062c8deb73 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -46,6 +46,7 @@ setup(
'sphinxcontrib-bibtex',
'GitPython',
'astropy-helpers>=0.2.0',
+ 'breathe==4.4.0',
'lsst-dd... | Add breathe==<I> dependency
Breathe is being used as the doxygen XML bridge to Sphinx-based
documentation. | lsst-sqre_documenteer | train |
34ff9f2a470306b856f261f35384650e42aa33c8 | diff --git a/src/unity/python/turicreate/visualization/_plot.py b/src/unity/python/turicreate/visualization/_plot.py
index <HASH>..<HASH> 100644
--- a/src/unity/python/turicreate/visualization/_plot.py
+++ b/src/unity/python/turicreate/visualization/_plot.py
@@ -34,7 +34,7 @@ def _focus_client_app():
delay... | Removed the extra subprocess call in the focus_client_app function (#<I>) | apple_turicreate | train |
cc27c87b8be9abd2595e40dc68223f314d1cb909 | diff --git a/inc/class-media-meta.php b/inc/class-media-meta.php
index <HASH>..<HASH> 100644
--- a/inc/class-media-meta.php
+++ b/inc/class-media-meta.php
@@ -286,6 +286,11 @@ class Hybrid_Media_Meta {
*/
public function audio_meta() {
+ /* Filters for the audio transcript. */
+ add_filter( 'hybrid_audio_trans... | Use hybrid_get_media_meta() for audio lyrics. | justintadlock_hybrid-core | train |
937d9c6e567257b9a0c111999905350cd772a4b2 | diff --git a/clients/ptranslator/src/test/java/org/hawkular/metrics/clients/ptrans/data/ServerDataHelper.java b/clients/ptranslator/src/test/java/org/hawkular/metrics/clients/ptrans/data/ServerDataHelper.java
index <HASH>..<HASH> 100644
--- a/clients/ptranslator/src/test/java/org/hawkular/metrics/clients/ptrans/data/Se... | HWKMETRICS-<I> ServerDataHelper should return empty list if no metrics are found yet | hawkular_hawkular-metrics | train |
7bbcf06f4d615ac8f9c571af7d511d807ad940b2 | diff --git a/pymatgen/analysis/structure_analyzer.py b/pymatgen/analysis/structure_analyzer.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/structure_analyzer.py
+++ b/pymatgen/analysis/structure_analyzer.py
@@ -605,7 +605,7 @@ def get_max_bond_lengths(structure, el_radius_updates=None):
def get_dimensionalit... | You can supply max bond distances to recognize dimensionality of NaCl
As the comment of get_dimensionality says, bonding algorithm fails for
ionic crystals.
You can pass the max bond distances to avoid the issue. | materialsproject_pymatgen | train |
711304123b36a5a9bf81e018f57bb0ea8464ef49 | diff --git a/Test/AbstractElasticsearchTestCase.php b/Test/AbstractElasticsearchTestCase.php
index <HASH>..<HASH> 100644
--- a/Test/AbstractElasticsearchTestCase.php
+++ b/Test/AbstractElasticsearchTestCase.php
@@ -62,7 +62,6 @@ abstract class AbstractElasticsearchTestCase extends WebTestCase
protected function se... | fixing performance leak to not create index twice on func. tests | ongr-io_ElasticsearchBundle | train |
640325b590c64e0c9bc52b95aa2cedec9955eafc | diff --git a/lib/fly/-parallel.js b/lib/fly/-parallel.js
index <HASH>..<HASH> 100644
--- a/lib/fly/-parallel.js
+++ b/lib/fly/-parallel.js
@@ -4,13 +4,20 @@ const Promise = require('bluebird');
const co = Promise.coroutine;
const READY = '_ready';
-module.exports = co(function * (tasks) {
+const defs = {
+ src: nul... | allow fly.parallel to accept options
- all tasks will receive same obj | lukeed_taskr | train |
7317c05df2eafd682e692f5b8a7b685bb884b3b6 | diff --git a/gremlin-core/src/main/java/com/tinkerpop/gremlin/process/graph/step/branch/RepeatStep.java b/gremlin-core/src/main/java/com/tinkerpop/gremlin/process/graph/step/branch/RepeatStep.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/src/main/java/com/tinkerpop/gremlin/process/graph/step/branch/RepeatStep.jav... | added a non-null bearing toString() for RepeatStep. | apache_tinkerpop | train |
5a9987bc1a9482429ce953561d7d3bb764bb2b25 | diff --git a/cmd/juju/commands/upgradejuju_test.go b/cmd/juju/commands/upgradejuju_test.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/commands/upgradejuju_test.go
+++ b/cmd/juju/commands/upgradejuju_test.go
@@ -371,7 +371,7 @@ func (s *UpgradeJujuSuite) checkToolsUploaded(c *gc.C, vers version.Binary, agen
storage, e... | Fix some remaining tests using old storage interface. | juju_juju | train |
eb4f1f0333c5c046e30cdd1695f8fa3821c9e085 | diff --git a/src/main/java/com/github/sebhoss/reguloj/AbstractRuleEngine.java b/src/main/java/com/github/sebhoss/reguloj/AbstractRuleEngine.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/sebhoss/reguloj/AbstractRuleEngine.java
+++ b/src/main/java/com/github/sebhoss/reguloj/AbstractRuleEngine.java
@@ -2... | performSinglePass(context, rules) runs all given rules in the given
context and returns whether any rule returned true. | sebhoss_reguloj | train |
aabf1c13f7c221d25364930fe3e7ce36b6c0cf36 | diff --git a/vendors.php b/vendors.php
index <HASH>..<HASH> 100755
--- a/vendors.php
+++ b/vendors.php
@@ -75,6 +75,26 @@ if (0 !== $code) {
}
}
+// Remove previous assets
+$assetDir = __DIR__. '/www/assets';
+$code = 0;
+if (is_dir($assetDir)) {
+ system('rm -rf ' . escapeshellarg($assetDir), $code);
+}
+
+... | Reset assets directory and bower cache | alchemy-fr_Phraseanet | train |
93cab5b94a6c508dc206f92e09af8cb3319b065c | diff --git a/src/tree/builder/TreeAdapter.js b/src/tree/builder/TreeAdapter.js
index <HASH>..<HASH> 100644
--- a/src/tree/builder/TreeAdapter.js
+++ b/src/tree/builder/TreeAdapter.js
@@ -135,26 +135,35 @@ class TreeAdapter {
* @returns {void}
*/
appendChild( parent, child ) {
- // Do not do anything with irrel... | Added comments to appendChild method of TreeAdapter. | Yoast_YoastSEO.js | train |
5fded72481753c377c01468dbea8d54beab216ae | diff --git a/pyarlo/media.py b/pyarlo/media.py
index <HASH>..<HASH> 100644
--- a/pyarlo/media.py
+++ b/pyarlo/media.py
@@ -62,11 +62,14 @@ class ArloMediaLibrary(object):
for video in data:
# pylint: disable=cell-var-from-loop
- srccam = \
- list(filter(
- ... | Currently we don't support Arlo DoorBells and this code is a temporary
workaround to get the media library loaded when a doorbell is present. | tchellomello_python-arlo | train |
43696ec4b39cd463a7a706c5d2440aa6b15dd25f | diff --git a/src/Rules/UnusedFunctionParametersCheck.php b/src/Rules/UnusedFunctionParametersCheck.php
index <HASH>..<HASH> 100644
--- a/src/Rules/UnusedFunctionParametersCheck.php
+++ b/src/Rules/UnusedFunctionParametersCheck.php
@@ -47,6 +47,17 @@ class UnusedFunctionParametersCheck
if ($node instanceof Node\Expr... | Added check for use within compact() call | phpstan_phpstan | train |
450ba0ea0ef995a8bc7b43b7aacaa1445ad69ecf | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -94,10 +94,21 @@ def run_preclassical(csm, oqparam, h5):
oqparam.maximum_distance)
if csm.sitecol:
... | Better parallelization of the preclassical calculator | gem_oq-engine | train |
12b1c6a842e9149730287891348744957c1eb277 | diff --git a/src/easyComp.js b/src/easyComp.js
index <HASH>..<HASH> 100644
--- a/src/easyComp.js
+++ b/src/easyComp.js
@@ -6,7 +6,7 @@ const OBSERVED_RENDER = Symbol('observed render')
const IS_DIRECT_RENDER = Symbol('is direct render')
const RENDER_RESULT = Symbol('render result')
-export default function easyStat... | refactor: rename easyState to easyComp inside easyComp file | solkimicreb_react-easy-state | train |
926684c2872ade9835378a85f8ee86997df40042 | diff --git a/endpoints/tv/tests/integration_test.js b/endpoints/tv/tests/integration_test.js
index <HASH>..<HASH> 100644
--- a/endpoints/tv/tests/integration_test.js
+++ b/endpoints/tv/tests/integration_test.js
@@ -1,7 +1,7 @@
var request = require('request');
var helpers = require('../../../lib/test_helpers.js');
... | Rephrasing of tv tests | apis-is_apis | train |
be45a6796c9b39d825638f6b1555c00099fc271c | diff --git a/src/python/twitter/pants/tasks/jvm_run.py b/src/python/twitter/pants/tasks/jvm_run.py
index <HASH>..<HASH> 100644
--- a/src/python/twitter/pants/tasks/jvm_run.py
+++ b/src/python/twitter/pants/tasks/jvm_run.py
@@ -63,6 +63,7 @@ class JvmRun(JvmTask):
def execute(self, targets):
# Run the first ta... | Release lock before running a JVM process in pants.
This is so we can run multiple processes concurrently, and/or
use other pants commands concurrently with a run command.
(sapling split of <I>e0d<I>c<I>f<I>bc<I>e<I>e8ffa) | pantsbuild_pants | train |
9227abbfe15f17fc7513a9e074a7e4ca0f1a6d42 | diff --git a/adventure/__init__.py b/adventure/__init__.py
index <HASH>..<HASH> 100644
--- a/adventure/__init__.py
+++ b/adventure/__init__.py
@@ -9,7 +9,7 @@ def play():
from .interpret import read_data_from_nearby_file
from .prompt import install_builtins
- data = read_data_from_nearby_file()
- game... | Made Game inherit from Data to avoid saying `game.data` over and over again. | brandon-rhodes_python-adventure | train |
4548b3bab7e9dc9c360e06400f56bb6720385a46 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@
#### Changes
* Nested memoization of the same method is now allowed and won't reset the
memoization cache anymore.
+* Remove unit "mhz" from `Address` of type `:radio_frequency`.
## 1.0.0... | Remove "mhz" unit from address of type radio frequency | svoop_aixm | train |
34ddf5b47264fdcd1d9bc50a756a96b8dfd53a51 | diff --git a/src/main/java/com/samskivert/util/Config.java b/src/main/java/com/samskivert/util/Config.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/samskivert/util/Config.java
+++ b/src/main/java/com/samskivert/util/Config.java
@@ -91,11 +91,17 @@ public class Config
/**
* Constructs a config obje... | Deprecated constructor with pointless argument. | samskivert_samskivert | train |
8abaa06c2387c141b09dcfeee4146af2a12b4f0d | diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/integration/conftest.py
+++ b/tests/integration/conftest.py
@@ -38,10 +38,6 @@ def try_internet(url="http://httpbin.org/ip", timeout=1.5):
resp.raise_for_status()
-class ServerNotDead(Exception):
... | Remove extraneous exception added to conftest.py | pypa_pipenv | train |
68594f4926818a7c2f4be2be693a9c5720a2f4e8 | diff --git a/sllurp/llrp_proto.py b/sllurp/llrp_proto.py
index <HASH>..<HASH> 100644
--- a/sllurp/llrp_proto.py
+++ b/sllurp/llrp_proto.py
@@ -1104,10 +1104,24 @@ Message_struct['C1G2RFControl'] = {
# 16.3.1.2.1.3 C1G2SingulationControl Parameter
def encode_C1G2SingulationControl (par):
- raise NotImplementedErr... | add support for C1G2SingulationControl | ransford_sllurp | train |
2da39d27c596741e40a177b8f61928c425e3ef6d | diff --git a/framework/core/src/Flarum/Core/Support/Seeders/DiscussionTableSeeder.php b/framework/core/src/Flarum/Core/Support/Seeders/DiscussionTableSeeder.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Flarum/Core/Support/Seeders/DiscussionTableSeeder.php
+++ b/framework/core/src/Flarum/Core/Support/Seeders... | Fix up bug in discussion seeder where number_index could be null. closes #<I> | flarum_core | train |
e0fd7ab43172cc1a1fa988df85ff6fc5dcb167d1 | diff --git a/bddrest/authoring/given.py b/bddrest/authoring/given.py
index <HASH>..<HASH> 100644
--- a/bddrest/authoring/given.py
+++ b/bddrest/authoring/given.py
@@ -1,19 +1,18 @@
from ..context import Context
from ..specification import FirstCall, AlteredCall, Call
-from .story import Story
from .manipulation impo... | Accept only a `callable(story) -> file-like` for autodump and autodoc arguments of the Given class | Carrene_bddrest | train |
9066412f896726296c7f273ffe026e5a279a0b57 | diff --git a/src/Command/PlatformCommand.php b/src/Command/PlatformCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/PlatformCommand.php
+++ b/src/Command/PlatformCommand.php
@@ -375,12 +375,20 @@ abstract class PlatformCommand extends Command
if (!$project) {
return null;
}
+
+ ... | Cache the <I> response from getEnvironment(). | platformsh_platformsh-cli | train |
390a873f4fb36906df6b109a511ae5f577b56e64 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,6 +7,7 @@ setup(
packages=find_packages(),
install_requires=[
'pdfrw',
+ 'PyPDF3',
'Pillow',
'PySimpleGUI',
'reportlab', | Added PyPDF3 as an install requirement | mrstephenneal_pdfconduit | train |
4c24ddaf8ed4ad928bd15db7b34604cfc66074f9 | diff --git a/packages/table/src/table-column.js b/packages/table/src/table-column.js
index <HASH>..<HASH> 100644
--- a/packages/table/src/table-column.js
+++ b/packages/table/src/table-column.js
@@ -270,7 +270,7 @@ export default {
fixed: this.fixed === '' ? true : this.fixed,
filterMethod: this.filterMet... | Table: fix table filter (#<I>) | ElemeFE_element | train |
ffdbec12fea1b0bb758ef54a3be797e5420da0a7 | diff --git a/cake/libs/view/helpers/jquery_engine.php b/cake/libs/view/helpers/jquery_engine.php
index <HASH>..<HASH> 100644
--- a/cake/libs/view/helpers/jquery_engine.php
+++ b/cake/libs/view/helpers/jquery_engine.php
@@ -45,14 +45,26 @@ class JqueryEngineHelper extends JsBaseEngineHelper {
/**
* Add an event to th... | Refactoring event() and adding ability to stop default events. | cakephp_cakephp | train |
e128c0768dc7e8a5c82ea3a91e0a55a1ef4b33e1 | diff --git a/cmd/api/http.go b/cmd/api/http.go
index <HASH>..<HASH> 100644
--- a/cmd/api/http.go
+++ b/cmd/api/http.go
@@ -6,7 +6,7 @@ import (
"net/http"
)
-func writeJSON(w http.ResponseWriter, v interface{}, status int) {
+func writeJSON(w http.ResponseWriter, status int, v interface{}) {
w.Header().Set("Cont... | cmd/api: reorder writeJSON params for readability
Closes chain/chainprv#<I>.
Reviewers: @tessr | chain_chain | train |
3f7d66aacf068e3b1324ed9628ee30e265133620 | diff --git a/xwiki-commons-core/xwiki-commons-filter/xwiki-commons-filter-xml/src/main/java/org/xwiki/filter/xml/internal/serializer/DefaultXMLSerializer.java b/xwiki-commons-core/xwiki-commons-filter/xwiki-commons-filter-xml/src/main/java/org/xwiki/filter/xml/internal/serializer/DefaultXMLSerializer.java
index <HASH>.... | XCOMMONS-<I>: Provide a generic XML parser/serializer for filters
* improve Result support in the serializer | xwiki_xwiki-commons | train |
30755c6ad8aaeacf83de4257c957f70dea5f5008 | diff --git a/test_sqlalchemy.py b/test_sqlalchemy.py
index <HASH>..<HASH> 100755
--- a/test_sqlalchemy.py
+++ b/test_sqlalchemy.py
@@ -68,16 +68,24 @@ class BasicAppTestCase(unittest.TestCase):
with self.app.test_request_context():
todo = self.Todo('Test 1', 'test')
self.db.session.ad... | Run more than one query in query recorder test
Otherwise the case where the sqlalchemy_queries list already exists
isn't tested. | pallets_flask-sqlalchemy | train |
af438ce945c798e87aa1c374f8a7e4de61d7714c | diff --git a/src/typeahead/plugin.js b/src/typeahead/plugin.js
index <HASH>..<HASH> 100644
--- a/src/typeahead/plugin.js
+++ b/src/typeahead/plugin.js
@@ -7,7 +7,7 @@
(function() {
var old, typeaheadKey, methods;
- old = jQuery.fn.typeahead;
+ old = $.fn.typeahead;
typeaheadKey = 'ttTypeahead';
@@ -109,7... | Change jQuery to $ in function declaration
When compiled, `window.jQuery` is passed in and is set to the variable `$` internally. We should maintain that variable when defining the typeahead function.
<URL> | twitter_typeahead.js | train |
38d70a1c3dceedb042249c792bf6a9e15a0d607d | diff --git a/internal/terraform/context_apply2_test.go b/internal/terraform/context_apply2_test.go
index <HASH>..<HASH> 100644
--- a/internal/terraform/context_apply2_test.go
+++ b/internal/terraform/context_apply2_test.go
@@ -1042,11 +1042,38 @@ output "out" {
state, diags := ctx.Apply(plan, m)
assertNoErrors(t, d... | configure providers during destroy plan
Now that we can fully evaluate a provider configuration, make sure we
configure the provider before using it during a destroy plan. | hashicorp_terraform | train |
074330707c208481b931504625a6b7fbb71cf537 | diff --git a/src/ol/format/gml/base.js b/src/ol/format/gml/base.js
index <HASH>..<HASH> 100644
--- a/src/ol/format/gml/base.js
+++ b/src/ol/format/gml/base.js
@@ -549,7 +549,8 @@ ol.format.GML.prototype.readFlatLinearRing_ = function(node, objectStack) {
goog.asserts.assert(node.nodeType == goog.dom.NodeType.ELEMENT... | Call dedicated version format methods with 'this.constructor' object | openlayers_openlayers | train |
73cbeffb282b6eb9ae1b564f2e6f76cdefb97ffb | diff --git a/errors.js b/errors.js
index <HASH>..<HASH> 100644
--- a/errors.js
+++ b/errors.js
@@ -132,6 +132,19 @@ module.exports.ResponseFrameState = TypedError({
state: null
});
+module.exports.RequestAlreadyDone = TypedError({
+ type: 'tchannel.request-already-done',
+ message: 'cannot {attempted}, re... | OutgoingRequest: add send state errors to match res | uber_tchannel-node | train |
21aedc7050b23b7b50b80f4fb88af2f75b73cb12 | diff --git a/settings/index.js b/settings/index.js
index <HASH>..<HASH> 100644
--- a/settings/index.js
+++ b/settings/index.js
@@ -1,8 +1,11 @@
'use strict';
const path = require('path');
+const chalk = require('chalk');
const pathExists = require('path-exists');
+const Logger = require('../logger');
+
const se... | refactor asset logic for index.html and favicon.ico | Availity_availity-workflow | train |
3822429b91f265bff4fb4b14c4f16e49e26741fb | diff --git a/src/Screen/Fields/Group.php b/src/Screen/Fields/Group.php
index <HASH>..<HASH> 100644
--- a/src/Screen/Fields/Group.php
+++ b/src/Screen/Fields/Group.php
@@ -170,4 +170,12 @@ class Group implements Fieldable, Groupable
{
return $this->set('align', 'align-items-end');
}
+
+ /**
+ *... | Added the ability to convert a group to a string. | orchidsoftware_platform | train |
3f5f454db5d94bca00f24c187bddb8460eb83ab4 | diff --git a/book/src/main/java/module-info.java b/book/src/main/java/module-info.java
index <HASH>..<HASH> 100644
--- a/book/src/main/java/module-info.java
+++ b/book/src/main/java/module-info.java
@@ -33,4 +33,4 @@ module com.semanticcms.dia.model.book {
requires com.semanticcms.core.taglib; // <groupId>com.semant... | Activated org.openrewrite.java.cleanup.Cleanup | aoindustries_semanticcms-dia-model | train |
1b788f7152a421ed71a7cba41cd40555a1b1a19c | diff --git a/test/unit/specs/Searching.spec.js b/test/unit/specs/Searching.spec.js
index <HASH>..<HASH> 100644
--- a/test/unit/specs/Searching.spec.js
+++ b/test/unit/specs/Searching.spec.js
@@ -267,7 +267,7 @@ describe('Searching', () => {
const { nodeMap } = wrapper.vm.forest
expect(nodeMap).toEqual(Obj... | make eslint happy | riophae_vue-treeselect | train |
f3d07cdf5732631646d5572cc76f6e2d053c1615 | diff --git a/samples/chat/js/messages.js b/samples/chat/js/messages.js
index <HASH>..<HASH> 100644
--- a/samples/chat/js/messages.js
+++ b/samples/chat/js/messages.js
@@ -62,7 +62,6 @@ function onMessage(userId, msg) {
updateDialogsList(msg.dialog_id, msg.body);
}
- throw '123123123';
}
function retrieve... | deleted throw '...'; from some listners in samples/chat/js/messages.js | QuickBlox_quickblox-javascript-sdk | train |
38da796eaf4fbac06ed99595fd8feab2fc268799 | diff --git a/public/js/embed.js b/public/js/embed.js
index <HASH>..<HASH> 100644
--- a/public/js/embed.js
+++ b/public/js/embed.js
@@ -197,8 +197,8 @@ function embed(link) {
var iframe = document.createElement('iframe'),
resize = document.createElement('div'),
url = link.href.replace(/edit/, 'embed');
... | fix bug: Embed bins do not respect ?panel,panel
passing only 1st part of query as iframe src - assuming the 1st query
parameter is always about panels | jsbin_jsbin | train |
d8f1be55dd026129478142a9c684a12a8a3cf1be | diff --git a/picturefill.js b/picturefill.js
index <HASH>..<HASH> 100644
--- a/picturefill.js
+++ b/picturefill.js
@@ -9,48 +9,22 @@
B) A major browser implements <picture>
*/
(function( w ){
- var document = w.document,
- Modernizr = w.Modernizr;
+ var document = w.document;
// Test if `<picture>` is suppo... | Removed Modernizr hooks | scottjehl_picturefill | train |
7f2e75781f849767b4b9f3f8adbe792b8c92cb93 | diff --git a/src/java/voldemort/utils/KeyVersionFetcherCLI.java b/src/java/voldemort/utils/KeyVersionFetcherCLI.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/utils/KeyVersionFetcherCLI.java
+++ b/src/java/voldemort/utils/KeyVersionFetcherCLI.java
@@ -51,6 +51,7 @@ import voldemort.client.protocol.admin.Admi... | Sort versions displayed by KeyVersionFetcherCLI | voldemort_voldemort | train |
0ad326521213419a8b4b534c5fc13ba1cf2fcde4 | diff --git a/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java b/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java
index <HASH>..<HASH> 100644
--- a/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/Fil... | [WFLY-<I>] Fix legacy timer serialization | wildfly_wildfly | train |
fc41ca0c2823270e85c34aa54ddeca49d5edd611 | diff --git a/src/Routes/Collection.php b/src/Routes/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Routes/Collection.php
+++ b/src/Routes/Collection.php
@@ -4,6 +4,7 @@ namespace Lord\Laroute\Routes;
use Illuminate\Routing\Route;
use Illuminate\Routing\RouteCollection;
+use Illuminate\Support\Arr;
use Lord\L... | change global array helper to Arr equivalent | aaronlord_laroute | train |
9fe0d3fae97f04f41bb81c1e4e044ec03cbc6034 | diff --git a/lib/cequel/schema/migration_validator.rb b/lib/cequel/schema/migration_validator.rb
index <HASH>..<HASH> 100644
--- a/lib/cequel/schema/migration_validator.rb
+++ b/lib/cequel/schema/migration_validator.rb
@@ -84,12 +84,25 @@ module Cequel
def assert_data_columns_match!
each_data_column_pai... | Fail fast when attempting to change a column's type in an incompatible way
Later patchlevels of Cassandra <I> and <I> only allow a small subset of all
possible type transitions; fail fast when attempting one that's not allowed. | cequel_cequel | train |
66abf24a55fb83424dc992c1e14d7a7dbdda7b12 | diff --git a/runtime/runtime.js b/runtime/runtime.js
index <HASH>..<HASH> 100644
--- a/runtime/runtime.js
+++ b/runtime/runtime.js
@@ -262,12 +262,28 @@ var rb_intern = Rt.Y = function(id) {
if (!sym) {
sym = new rb_cSymbol.$a();
sym.sym = id;
+ rb_symbol_tbl[id] = sym;
}
return sym;
};
/**
... | VM.symbols() for getting all symbols | opal_opal | train |
6b7dd26d1be6fc508ddb05dcfe181dc11626fd67 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,8 @@ tests_require = ['nose', 'mock', 'testfixtures', 'blinker']
if sys.version_info[0:2] >= (3, 5):
tests_require.append('Flask>=1.0')
+ # For some reason, Flask 1.1.1 is pulling in Jinja2 3.0.0 which cause... | reinstate jinja2 constraint for test dependencies | honeybadger-io_honeybadger-python | train |
97dcdae4aff3ae6ae5f5bcf356a72babaa9f293d | diff --git a/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php b/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php
+++ b/src/Propel/Generator/Behavior/Timestampable/Timestampab... | Allows the use of TimestampableBehavior with INTEGER columns (#<I>) | propelorm_Propel2 | train |
4c580f586a6cea7339da0dac572b64af353eb30c | diff --git a/public/source/staging.js b/public/source/staging.js
index <HASH>..<HASH> 100644
--- a/public/source/staging.js
+++ b/public/source/staging.js
@@ -182,14 +182,12 @@ var FileViewModel = function(staging, type) {
this.staging = staging;
this.app = staging.app;
this.type = type;
- this.imageDiff = new Im... | Change image file detection to check ext. instead of first line | FredrikNoren_ungit | train |
d72da506c585ec6b761cc4276254b7c7127c53b2 | diff --git a/upnp.go b/upnp.go
index <HASH>..<HASH> 100644
--- a/upnp.go
+++ b/upnp.go
@@ -361,7 +361,7 @@ func (n *upnpNAT) AddPortMapping(protocol string, externalPort, internalPort int
// A single concatenation would break ARM compilation.
message := "<u:AddPortMapping xmlns:u=\"urn:schemas-upnp-org:service:WANI... | Some UPNP devices require the protocol to be uppercase.
This matches what miniupnpc sends. | btcsuite_btcd | train |
3a350f60b4bf24074445a1cc769d0bfa3bbf5095 | diff --git a/rangeparser.py b/rangeparser.py
index <HASH>..<HASH> 100644
--- a/rangeparser.py
+++ b/rangeparser.py
@@ -55,7 +55,11 @@ class ReprMixin:
class Suit(ReprMixin):
__slots__ = '_suit'
- def __init__(self, suit: str):
+ def __init__(self, suit: str or Suit):
+ if isinstance(suit, Suit):
+ ... | Suit, Rank, and Card __init__()-s are all accepting instances. | pokerregion_poker | train |
1338d815ffbd69f801f542b0d4c9ed8461bb1953 | diff --git a/publ/cards.py b/publ/cards.py
index <HASH>..<HASH> 100644
--- a/publ/cards.py
+++ b/publ/cards.py
@@ -15,7 +15,7 @@ class CardData():
# pylint: disable=too-few-public-methods
def __init__(self):
- self.description = ''
+ self.description = None
self.images = []
@@ -32... | Return to just a single card paragraph | PlaidWeb_Publ | train |
4763af859fb50204be65ffeff42fc04a32cba099 | diff --git a/drivers/openstack4j/src/main/java/de/uniulm/omi/cloudiator/sword/drivers/openstack4j/converters/ServerInRegionToVirtualMachine.java b/drivers/openstack4j/src/main/java/de/uniulm/omi/cloudiator/sword/drivers/openstack4j/converters/ServerInRegionToVirtualMachine.java
index <HASH>..<HASH> 100644
--- a/drivers... | ported privateIpfix to <I> (#<I>) | cloudiator_sword | train |
cc6bff3daa4da4d2c6935761d0ab059201f772e2 | diff --git a/activerecord/test/cases/adapter_test.rb b/activerecord/test/cases/adapter_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/adapter_test.rb
+++ b/activerecord/test/cases/adapter_test.rb
@@ -491,7 +491,7 @@ module ActiveRecord
assert_equal 0, Post.count
ensure
- reset_fixt... | Auto-correct `Style/StringLiterals` cop offences
Somehow Code Climate is not working as expected for now? | rails_rails | train |
3cf59a3cdb4f13b63adabc5cb7896deb212d1fe3 | diff --git a/pants.ini b/pants.ini
index <HASH>..<HASH> 100644
--- a/pants.ini
+++ b/pants.ini
@@ -35,13 +35,8 @@ pythonpath: [
"%(buildroot)s/pants-plugins/src/python",
]
-backend_packages: [
- "pants.backend.graph_info",
+backend_packages: +[
"pants.backend.docgen",
- "pants.backend.python",
- ... | Deprecate the default_backend_packages option.
We don't need it now that we can append and filter list options.
Repos can modify the backend_packages option directly, removing
any default backends they don't need and appending their custom
backends.
Testing Done:
Verified that we get the deprecation option under the ... | pantsbuild_pants | train |
485521d2dd8afa3f40f343c4e20330e45fab0dbe | diff --git a/dropwizard-core/src/main/java/com/yammer/dropwizard/config/ConfigurationFactory.java b/dropwizard-core/src/main/java/com/yammer/dropwizard/config/ConfigurationFactory.java
index <HASH>..<HASH> 100644
--- a/dropwizard-core/src/main/java/com/yammer/dropwizard/config/ConfigurationFactory.java
+++ b/dropwizard... | Removing unused Reader from ConfigurationFactory#build | dropwizard_dropwizard | train |
7392497c7a6021afc8f82c0127be272699651ddf | diff --git a/llvmlite/binding/ffi.py b/llvmlite/binding/ffi.py
index <HASH>..<HASH> 100644
--- a/llvmlite/binding/ffi.py
+++ b/llvmlite/binding/ffi.py
@@ -81,6 +81,7 @@ class ObjectRef(object):
"""
_closed = False
_as_parameter_ = _DeadPointer()
+ # Whether this object pointer is owned by another one.... | Add a comment for a possibly misleading attribute | numba_llvmlite | train |
cc6087c58e0ad8bf7aa775e5eacedd817939dee6 | diff --git a/webcam-capture/src/example/java/ParallelGetImageBytesExample.java b/webcam-capture/src/example/java/ParallelGetImageBytesExample.java
index <HASH>..<HASH> 100644
--- a/webcam-capture/src/example/java/ParallelGetImageBytesExample.java
+++ b/webcam-capture/src/example/java/ParallelGetImageBytesExample.java
@... | Small fix in parallel buffer access example, refs #<I> | sarxos_webcam-capture | train |
3c27a91997295b300348946eb7878e5e652ecd37 | diff --git a/tornado/websocket.py b/tornado/websocket.py
index <HASH>..<HASH> 100644
--- a/tornado/websocket.py
+++ b/tornado/websocket.py
@@ -105,6 +105,21 @@ class WebSocketHandler(tornado.web.RequestHandler):
};
This script pops up an alert box that says "You said: Hello, world".
+
+ Web browsers al... | Expand documentation of WebSocketHandler.check_origin.
Document the potential problems that arise with websockets and
self-signed certificates. | tornadoweb_tornado | train |
e59f04c13cb8e9a0b61469d3346442317575b135 | diff --git a/downhill/__init__.py b/downhill/__init__.py
index <HASH>..<HASH> 100644
--- a/downhill/__init__.py
+++ b/downhill/__init__.py
@@ -1,7 +1,7 @@
-from .adaptive import RProp, RMSProp, ADADELTA, ESGD
+from .adaptive import *
from .base import build, Optimizer
from .dataset import Dataset
-from .first_order i... | Add __all__ to facilitate imports. | lmjohns3_downhill | train |
a35f1dd7c94e409085e03d0eed8fc9aad8e32d11 | diff --git a/lib/arel/nodes/postgresql.rb b/lib/arel/nodes/postgresql.rb
index <HASH>..<HASH> 100644
--- a/lib/arel/nodes/postgresql.rb
+++ b/lib/arel/nodes/postgresql.rb
@@ -33,6 +33,10 @@ module Arel
def visit_Arel_Nodes_ArrayConcat o, *a
"#{visit o.left, *a} #{ARRAY_CONCAT} #{visit o.right, *a}"
... | Add support for UNION DISTINCT for Rails prior to <I> | take-five_activerecord-hierarchical_query | train |
13e31a1a0c373c43af11edda2076fbdfe1ebc1d7 | diff --git a/gtfspy/filter.py b/gtfspy/filter.py
index <HASH>..<HASH> 100644
--- a/gtfspy/filter.py
+++ b/gtfspy/filter.py
@@ -113,6 +113,8 @@ class FilterExtract(object):
assert isinstance(self.copy_db_conn, sqlite3.Connection)
self._delete_rows_by_start_and_end_date()
+ if self.... | Raise an error if filter delete everything | CxAalto_gtfspy | train |
25b0c12e120e14114601d884fdb595b6b09c5221 | diff --git a/colorful/core.py b/colorful/core.py
index <HASH>..<HASH> 100644
--- a/colorful/core.py
+++ b/colorful/core.py
@@ -20,7 +20,7 @@ from . import ansi
from . import rgb
from . import styles
from . import terminal
-from .utils import PY2, DEFAULT_ENCODE, UNICODE
+from .utils import PY2, DEFAULT_ENCODING, UNI... | Catch AttributeError in case sys.stdout was monkey patched (#<I>)
.. and the custom object doesn't provide the 'encoding' attribute.
Also renamed DEFAULT_ENCODE -> DEFAULT_ENCODING and avoided the
repeated usage of if expressions by directly setting the
DEFAULT_ENCODING to 'utf-8' in case it is None or Empty. | timofurrer_colorful | train |
ed2e51ffb798765e1c79dfe76cee95c486eca3bb | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "scroungejs",
- "version": "1.2.9",
+ "version": "1.3.0",
"license": "MIT",
"readmeFilename": "README.md",
"main": "src/scrounge.js",
diff --git a/src/scrounge_adapt.js b/s... | added ability to specify babel plugins from callee | iambumblehead_scroungejs | train |
1a714be96297bc9a6532b4ff5a08be9fc01624c5 | diff --git a/java/example/src/main/java/com/youtube/vitess/example/VitessClientExample.java b/java/example/src/main/java/com/youtube/vitess/example/VitessClientExample.java
index <HASH>..<HASH> 100644
--- a/java/example/src/main/java/com/youtube/vitess/example/VitessClientExample.java
+++ b/java/example/src/main/java/c... | java/example: Print exception ourselves instead of throwing it. | vitessio_vitess | train |
a0916c36733da1799fdd62ba01e39aea519f30c6 | diff --git a/client/lib/analytics/index.js b/client/lib/analytics/index.js
index <HASH>..<HASH> 100644
--- a/client/lib/analytics/index.js
+++ b/client/lib/analytics/index.js
@@ -87,7 +87,7 @@ function checkForBlockedTracks() {
}
}
- loadScript( '/nostats.js?_ut=' + encodeURIComponent( _ut ) + '&_ui=' + encodeUR... | Move stats block detection to public route and simplify error message | Automattic_wp-calypso | train |
834d3cd46fa614a0f1d94785f8d314ac821c4751 | diff --git a/test/simulation/makers.py b/test/simulation/makers.py
index <HASH>..<HASH> 100644
--- a/test/simulation/makers.py
+++ b/test/simulation/makers.py
@@ -56,11 +56,11 @@ def simulate_image_from_galaxies_and_output_to_fits(
add_noise=True,
)
- # Now, lets output this simulated ccd-instrument ... | Refining splitting of data and instrument. | Jammy2211_PyAutoLens | train |
d0f3bfd4cc81202705857b4bd3ba7a3dceb7025a | diff --git a/common/src/main/java/io/netty/util/DefaultAttributeMap.java b/common/src/main/java/io/netty/util/DefaultAttributeMap.java
index <HASH>..<HASH> 100644
--- a/common/src/main/java/io/netty/util/DefaultAttributeMap.java
+++ b/common/src/main/java/io/netty/util/DefaultAttributeMap.java
@@ -90,6 +90,9 @@ public ... | [#<I>] Fix infinite-loop when remove attribute and create the same attribute again
Motivation:
The current DefaultAttributeMap cause an infinite-loop when the user removes an attribute and create the same attribute again. This regression was introduced by c3bd7a8ff<I>b0c<I>d<I>f<I>dbbf4fe<I>.
Modification:
Correctly ... | netty_netty | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.