hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
92eed7228a676ff7f1e29a602209d9950b813931 | diff --git a/fluids/compressible.py b/fluids/compressible.py
index <HASH>..<HASH> 100644
--- a/fluids/compressible.py
+++ b/fluids/compressible.py
@@ -325,8 +325,8 @@ def isentropic_efficiency(P1, P2, k, eta_s=None, eta_p=None):
{(P_2/P_1)^{\frac{k-1}{k\eta_p}}-1}
.. math::
- \eta_p = \frac{\left... | Reverse the slow entropic death of Python 2 support once more | CalebBell_fluids | train |
aac353c94e484026902e8fe1537292b12088d661 | diff --git a/library/Imbo/Auth/AccessControl/Adapter/AdapterInterface.php b/library/Imbo/Auth/AccessControl/Adapter/AdapterInterface.php
index <HASH>..<HASH> 100644
--- a/library/Imbo/Auth/AccessControl/Adapter/AdapterInterface.php
+++ b/library/Imbo/Auth/AccessControl/Adapter/AdapterInterface.php
@@ -111,6 +111,14 @@ ... | Add public key existence check to access control adapter interface | imbo_imbo | train |
500289660cc52ab09678fabf09ca99664d1c9200 | diff --git a/src/Sculpin/Bundle/TwigBundle/TwigFormatter.php b/src/Sculpin/Bundle/TwigBundle/TwigFormatter.php
index <HASH>..<HASH> 100644
--- a/src/Sculpin/Bundle/TwigBundle/TwigFormatter.php
+++ b/src/Sculpin/Bundle/TwigBundle/TwigFormatter.php
@@ -54,13 +54,15 @@ class TwigFormatter implements FormatterInterface
... | Try to find all available blocks and render them all. | sculpin_sculpin | train |
437211844df604454577f9e487a89721b397b4bf | diff --git a/cache.go b/cache.go
index <HASH>..<HASH> 100644
--- a/cache.go
+++ b/cache.go
@@ -10,11 +10,11 @@ import (
type pkgTypes struct {
ifaces map[string]string
- funcs map[string]string
+ funcs map[string]bool
}
func (p *pkgTypes) isFuncType(t string) bool {
- return p.funcs[t] != ""
+ return p.funcs... | Simplify func signature map
It's a set after all. Also remove the redundant ifaceFuncs. | mvdan_interfacer | train |
22fac5c2e40b00911933040afaf9adcdd2c00ac2 | diff --git a/src/support.js b/src/support.js
index <HASH>..<HASH> 100644
--- a/src/support.js
+++ b/src/support.js
@@ -13,24 +13,23 @@ jQuery.support = (function() {
clickFn,
div = document.createElement("div");
- // Preliminary tests
+ // Setup
div.setAttribute( "className", "t" );
div.innerHTML = " <link... | Fix #<I>: be more kind to non-browser environments. Close gh-<I>. | jquery_jquery | train |
3a1e45c4eeeb64ecf89230e552551b9cf612e39c | diff --git a/moztelemetry/histogram.py b/moztelemetry/histogram.py
index <HASH>..<HASH> 100644
--- a/moztelemetry/histogram.py
+++ b/moztelemetry/histogram.py
@@ -63,7 +63,7 @@ class Histogram:
histograms_definition = _fetch_histograms_definition(revision)
# TODO: implement centralized revision serv... | Add support for USE_COUNTER2_* histograms. | mozilla_python_moztelemetry | train |
1cc190864d87d51ba776ce112455b2e03f34a14a | diff --git a/lib/gir_ffi/info_ext/i_signal_info.rb b/lib/gir_ffi/info_ext/i_signal_info.rb
index <HASH>..<HASH> 100644
--- a/lib/gir_ffi/info_ext/i_signal_info.rb
+++ b/lib/gir_ffi/info_ext/i_signal_info.rb
@@ -65,6 +65,15 @@ module GirFFI
end
types.unshift(:pointer).push(:pointer)
end
+
+ ... | Make :gboolean to GLib::Boolean as an FFI type | mvz_gir_ffi | train |
0a50285b6072dd0691ee89e68671316c1b8948d6 | diff --git a/src/test/java/com/thinkaurelius/faunus/FaunusVertexTest.java b/src/test/java/com/thinkaurelius/faunus/FaunusVertexTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/thinkaurelius/faunus/FaunusVertexTest.java
+++ b/src/test/java/com/thinkaurelius/faunus/FaunusVertexTest.java
@@ -383,4 +383,20 @@ ... | Added a test case for large propert values -- 5M characters supported, <I>M throws buffer overflow problem in Kryo. Will not fix as that is an egregious amount of data. ~<I> books worth of character data. | thinkaurelius_titan | train |
916e6cc45b073a9dace8671307b566616830e10f | diff --git a/d1_common_python/src/tests/test_utils.py b/d1_common_python/src/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/d1_common_python/src/tests/test_utils.py
+++ b/d1_common_python/src/tests/test_utils.py
@@ -34,13 +34,15 @@ import sys
import logging
import unittest
import codecs
+import os
from d1_co... | Removed relative path dependency for encoding tests | DataONEorg_d1_python | train |
47c705be9c8fb1b6e02f2fe137a13a5c2818deda | diff --git a/lib/websearch_webinterface.py b/lib/websearch_webinterface.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_webinterface.py
+++ b/lib/websearch_webinterface.py
@@ -94,6 +94,7 @@ from invenio.webuser import getUid, page_not_authorized, get_user_preferences, \
collect_user_info, logoutUser, isUserSupe... | WebLinkback: initial release
* Initial release of the trackback/linkback support.
(closes #<I>) (closes #<I>) (references #<I>) | inveniosoftware_invenio-records | train |
ee013fbbd4be5c84d5314611c637a1b1a8f66953 | diff --git a/src/Way/Generators/Commands/ModelGeneratorCommand.php b/src/Way/Generators/Commands/ModelGeneratorCommand.php
index <HASH>..<HASH> 100644
--- a/src/Way/Generators/Commands/ModelGeneratorCommand.php
+++ b/src/Way/Generators/Commands/ModelGeneratorCommand.php
@@ -5,19 +5,19 @@ use Symfony\Component\Console\I... | Formatting and <I> arrays | JeffreyWay_Laravel-4-Generators | train |
a4dd6745059a8690ca864df04a9e6b122a726abd | diff --git a/tests/ScaffoldTest.php b/tests/ScaffoldTest.php
index <HASH>..<HASH> 100644
--- a/tests/ScaffoldTest.php
+++ b/tests/ScaffoldTest.php
@@ -3,7 +3,7 @@
namespace Tests;
use Symfony\Component\Console\Application;
-use TightenCo\Jigsaw\Scaffold\PresetScaffold;
+use TightenCo\Jigsaw\Scaffold\BasicScaffold;
... | Use BasicScaffold in ScaffoldTest | tightenco_jigsaw | train |
8c96909414b8e156e69712a58a25069b87111103 | diff --git a/test/clockTest.js b/test/clockTest.js
index <HASH>..<HASH> 100644
--- a/test/clockTest.js
+++ b/test/clockTest.js
@@ -56,14 +56,6 @@ function describeClockContract(name, ctr, intervalFn, timeFn, greaterThan) {
});
}
-describeClockContract('date based', zeit.DateClock, function (i) {return 10 * i;},... | added tests for get and set timeout/interval | daviddenton_zeit | train |
601e0e5b2fcd1466e34d7bdb731f87bc074d83a2 | diff --git a/lib/scoped_search/query_builder.rb b/lib/scoped_search/query_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/scoped_search/query_builder.rb
+++ b/lib/scoped_search/query_builder.rb
@@ -89,11 +89,11 @@ module ScopedSearch
def order_by(order, &block)
order ||= definition.default_order
ret... | Allow ordering by field symbol (regression)
Fixes regression introduced by fix for Issue #<I> in commit
c4a<I>de<I>c6d<I>aa<I>afd<I>e<I>dda<I>. It wasn't documented or
tested, but previously we supported using a field symbol for the "order"
option of search_for. This commit adds that capability back (and a test). | wvanbergen_scoped_search | train |
b7652563b1658b36b05f4af3c7098f5eba162b6f | diff --git a/integration/wai-aria.spec.js b/integration/wai-aria.spec.js
index <HASH>..<HASH> 100644
--- a/integration/wai-aria.spec.js
+++ b/integration/wai-aria.spec.js
@@ -260,8 +260,16 @@ describe('WAI ARIA Spec', () => {
}
});
- it('If the accordion panel associated with an accordion... | Add integration test for ariaDisabled | springload_react-accessible-accordion | train |
e6e6eb6b784f19b7748e649d8b5e7828e62a9bac | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,41 +1,37 @@
import re
from setuptools import find_packages, setup
-LONG_DESCRIPTION = """Django-Prometheus
+with open("README.md") as fl:
+ LONG_DESCRIPTION = fl.read()
-This library contains code to expose some mo... | Use README.md as a long description | korfuri_django-prometheus | train |
9ddb92b9e72b332b77beb53aceec7151d4bb2100 | diff --git a/lib/controller/page/type/page.summary/index.js b/lib/controller/page/type/page.summary/index.js
index <HASH>..<HASH> 100644
--- a/lib/controller/page/type/page.summary/index.js
+++ b/lib/controller/page/type/page.summary/index.js
@@ -299,6 +299,24 @@ module.exports = class SummaryController extends CommonC... | Make sure CSV submissions can accept multiple destinations
In the runner node the to field for csv attachments does not split
multiple email addresses on the comma therefore when the payload reaches
AWS SES it throws and InvalidParameter exception.
This causes the submission to get put on the failed queue which in tu... | ministryofjustice_fb-runner-node | train |
a25f5f2ec126e7ce89beb78829001e180e301e54 | diff --git a/src/service.js b/src/service.js
index <HASH>..<HASH> 100644
--- a/src/service.js
+++ b/src/service.js
@@ -148,7 +148,7 @@
script.async = true;
script.defer = true;
script.src = 'https://www.google.com/recaptcha/api.js?onload='+provider.onLoadFunctionName+'... | fix broken angular translate attr for meta tags in template
* when use translate-attr-content from angular for meta content, meta content remains empty when using append
* this issue might be related to jQuery, since [0] is the real DOM, without the [0], it's the jQuery wrapped DOM
* appendChild on the native DOM to a... | VividCortex_angular-recaptcha | train |
8735378d33fdec8155709d2eeb44ad933a3b3936 | diff --git a/src/main/java/au/com/southsky/jfreesane/SaneSession.java b/src/main/java/au/com/southsky/jfreesane/SaneSession.java
index <HASH>..<HASH> 100644
--- a/src/main/java/au/com/southsky/jfreesane/SaneSession.java
+++ b/src/main/java/au/com/southsky/jfreesane/SaneSession.java
@@ -435,7 +435,7 @@ public class Sane... | Empty records are perfectly valid, they do not signify an end of stream. JFreeSane incorrectly thought they signified an end of stream. | sjamesr_jfreesane | train |
cdb2c9fcf1d6ee75623de3e3c7cf269a25bac83b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,8 @@ this interface will replace the current epic api""",
include_package_data=True,
zip_safe=False,
install_requires=[
- 'nose'
+ 'nose',
+ 'requests'
],
... | Added requests library to setup requires section | EUDAT-B2SAFE_B2HANDLE | train |
280c54d78a72f37154fc5bbb2578f84fae0ac6f1 | diff --git a/tile_generator/pcf.py b/tile_generator/pcf.py
index <HASH>..<HASH> 100755
--- a/tile_generator/pcf.py
+++ b/tile_generator/pcf.py
@@ -150,7 +150,14 @@ def install_cmd(product, version):
payload = {
'to_version': version
}
- opsmgr.put('/api/installation_settings/products/' + matches[0]['guid'], ... | pcf isntall succeeds when version is already installed | cf-platform-eng_tile-generator | train |
82fc62aed230ab9441ecb4a2f44be64a155ac9a6 | diff --git a/pkg/etwlogrus/hook.go b/pkg/etwlogrus/hook.go
index <HASH>..<HASH> 100644
--- a/pkg/etwlogrus/hook.go
+++ b/pkg/etwlogrus/hook.go
@@ -64,12 +64,10 @@ func (h *Hook) Fire(e *logrus.Entry) error {
// We could try to map Logrus levels to ETW levels, but we would lose some
// fidelity as there are fewer E... | Return error from WriteEvent in Logrus hook | Microsoft_go-winio | train |
77985fdc98e99e0cf7aa3884e27b57c7afd31309 | diff --git a/src/DataTablesEditor.php b/src/DataTablesEditor.php
index <HASH>..<HASH> 100644
--- a/src/DataTablesEditor.php
+++ b/src/DataTablesEditor.php
@@ -327,6 +327,29 @@ abstract class DataTablesEditor
}
/**
+ * Get dataTables model.
+ *
+ * @return Model
+ */
+ public function getM... | Add model fluent getter and setter.
Fix #<I>. | yajra_laravel-datatables-editor | train |
4aef0e82ed1042d500c74bf50ab60a8404354060 | diff --git a/readabilitySAX.js b/readabilitySAX.js
index <HASH>..<HASH> 100644
--- a/readabilitySAX.js
+++ b/readabilitySAX.js
@@ -142,7 +142,6 @@ var tagsToSkip = {__proto__:null,aside:true,footer:true,head:true,nav:true,noscr
unpackDivs = {__proto__:embeds,div:true,img:true},
noContent = {__proto__:formatTags,fon... | Inlined tagsToScore, fixed bug where the attribute `class` was checked
The `class` attribute isn't present anymore, the check would have
always returned true (because undefined === undefined)
The new test is much more restrictive and doesn't reflect the behavior
of Readability, but it's better nevertheless. | fb55_readabilitySAX | train |
76036144e4b0049575d5c2f0c64d6365529ee9e7 | diff --git a/astroid/test_utils.py b/astroid/test_utils.py
index <HASH>..<HASH> 100644
--- a/astroid/test_utils.py
+++ b/astroid/test_utils.py
@@ -29,7 +29,7 @@ def require_version(minver: str = "0.0.0", maxver: str = "4.0.0") -> Callable:
Skip the test if older.
"""
- def parse(python_version: str) -> T... | Fix got "Tuple[int, ...]", expected "Tuple[int]" | PyCQA_astroid | train |
81560a139b0b07def52dd8af9bab71019ccc7743 | diff --git a/lib/topsy/page.rb b/lib/topsy/page.rb
index <HASH>..<HASH> 100755
--- a/lib/topsy/page.rb
+++ b/lib/topsy/page.rb
@@ -13,6 +13,7 @@ module Topsy
class Page < Hashie::Dash
property :total
+ property :trackback_total
property :list
property :page
property :perpage
diff --git a/t... | Added trackback_total property to Page | pengwynn_topsy | train |
e48d8ce2234f3de7a0dc645eeee15d5ceec083ef | diff --git a/templatetags/analytics.py b/templatetags/analytics.py
index <HASH>..<HASH> 100644
--- a/templatetags/analytics.py
+++ b/templatetags/analytics.py
@@ -38,11 +38,14 @@ class AnalyticsNode(template.Node):
code = self.code
else:
return ''
-
- t = loader.get_template('g... | If the code is left blank, nothing should be rendered | clintecker_django-google-analytics | train |
6b5497f86e768bfcdedd28d7841d9fab8c52fabb | diff --git a/lib/resque_cleaner.rb b/lib/resque_cleaner.rb
index <HASH>..<HASH> 100644
--- a/lib/resque_cleaner.rb
+++ b/lib/resque_cleaner.rb
@@ -118,17 +118,20 @@ module Resque
if !block_given? || block.call(job)
index = @limiter.start_index + i - requeued
- if clear_after_r... | Use transacation to wrap this up more safely.
Also reverse the logic so the job gets created first in the code
and then removed. Given that it's now in a transaction this is
a minor point, but it reads more reasonably. | ono_resque-cleaner | train |
eb62fb814c2ab811182dda6b19832bacd0af6f4a | diff --git a/src/sos/controller.py b/src/sos/controller.py
index <HASH>..<HASH> 100644
--- a/src/sos/controller.py
+++ b/src/sos/controller.py
@@ -8,7 +8,7 @@ import zmq
import time
import threading
from collections import defaultdict
-from .utils import env, ProcessKilled
+from .utils import env, ProcessKilled, get... | Using real IP addresses for router address to allow remote worker connectin | vatlab_SoS | train |
1a4b1b31096dedccdd9be4b6aea2e226deeb4d94 | diff --git a/models/points.go b/models/points.go
index <HASH>..<HASH> 100644
--- a/models/points.go
+++ b/models/points.go
@@ -1936,7 +1936,9 @@ func (p *point) Delete() {
switch {
case p.it.end == p.it.start:
case p.it.end >= len(p.fields):
- p.fields = p.fields[:p.it.start]
+ // Remove the trailing comma if t... | Fix delete time fields creating unparseable points
If a field was named time was written and was subsequently dropped,
it could leave a trailing comma in the series key causing it to fail
to be parseable in other parts of the code. | influxdata_influxdb | train |
556d46835b10e6f49a03fe517fe758231016acb5 | diff --git a/pyhull/__init__.py b/pyhull/__init__.py
index <HASH>..<HASH> 100644
--- a/pyhull/__init__.py
+++ b/pyhull/__init__.py
@@ -35,8 +35,7 @@ def qhull_cmd(cmd, options, points):
Output as a list of strings. E.g., ['4', '0 2', '1 0', '2 3 ', '3 1']
"""
prep_str = [str(len(points[0])), str(len(... | Use repr instead of %<I>f to guanrantee float precision preservation. | materialsvirtuallab_pyhull | train |
1838e094d1acd0243b8299b4654aa455c56e6f1b | diff --git a/components/ekb/src/main/java/org/openengsb/core/ekb/internal/ModelRegistryService.java b/components/ekb/src/main/java/org/openengsb/core/ekb/internal/ModelRegistryService.java
index <HASH>..<HASH> 100644
--- a/components/ekb/src/main/java/org/openengsb/core/ekb/internal/ModelRegistryService.java
+++ b/comp... | [OPENENGSB-<I>] found a better way to catch the ClassNotFound exceptions in the model registry | openengsb_openengsb | train |
7564695eb7b511d0914907e9188c619b2392d14c | diff --git a/arch/zx48k/optimizer/errors.py b/arch/zx48k/optimizer/errors.py
index <HASH>..<HASH> 100644
--- a/arch/zx48k/optimizer/errors.py
+++ b/arch/zx48k/optimizer/errors.py
@@ -7,7 +7,22 @@ class DuplicatedLabelError(Error):
""" Exception raised when a duplicated Label is found.
This should never happen... | Add optimizer exceptions
Raised when unexpected error in block partitions are
encountered. | boriel_zxbasic | train |
ca9b9f2c0490cfee56660c5120787cef5006f3d9 | diff --git a/src/Bes/Twig/Extension/MobileDetectExtension.php b/src/Bes/Twig/Extension/MobileDetectExtension.php
index <HASH>..<HASH> 100755
--- a/src/Bes/Twig/Extension/MobileDetectExtension.php
+++ b/src/Bes/Twig/Extension/MobileDetectExtension.php
@@ -23,15 +23,15 @@ class MobileDetectExtension extends \Twig_Extensi... | replaced depricated methods, support twig 2.x | bes89_mobiledetect-twig-extension | train |
f9d28540567264ad9943779b6b5e3ea64b95edf0 | diff --git a/SoftLayer/DNS.py b/SoftLayer/DNS.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/DNS.py
+++ b/SoftLayer/DNS.py
@@ -31,8 +31,9 @@ class DNSManager(object):
domain - str"""
domain = domain.lower()
- results = self.domain.getByDomainName(domain,
- mask={'resourceRe... | pep8 cleanups for DNS.py | softlayer_softlayer-python | train |
3396208df88e0348285ed7b692d32218431e41a2 | diff --git a/android/guava/src/com/google/common/util/concurrent/CollectionFuture.java b/android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
index <HASH>..<HASH> 100644
--- a/android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
+++ b/android/guava/src/com/google/common/util/co... | Mark a field as `final`.
I don't think there was any concurrency-related danger here from the non-`final` field. But it should have been `final` to begin with, so now it is.
PiperOrigin-RevId: <I> | google_guava | train |
08d7c8d50427730a128097d74a20bd5b5806ee15 | diff --git a/geocoder/baidu.py b/geocoder/baidu.py
index <HASH>..<HASH> 100644
--- a/geocoder/baidu.py
+++ b/geocoder/baidu.py
@@ -3,10 +3,13 @@
from __future__ import absolute_import
+from collections import OrderedDict
import logging
+import re
+import six
from geocoder.base import OneResult, MultipleResults... | Added developer key functionality for Baidu | DenisCarriere_geocoder | train |
5a81e9e5578baa30cd4a64602f9c1cd65491531a | diff --git a/src/base/Router.php b/src/base/Router.php
index <HASH>..<HASH> 100644
--- a/src/base/Router.php
+++ b/src/base/Router.php
@@ -174,6 +174,24 @@
}
/**
+ * Function that checks if the long of the patterns match
+ * @param $routePattern
+ * @param $path
+ * @... | Improve router parser to allow very complex urls | psfs_core | train |
ea350ae14d717da842105d4bfad3a6c2dee71b1d | diff --git a/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java b/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java
+++ b/java/client/src/org/openqa/selenium/remote/BeanToJsonConverte... | Allow the BeanToJsonConverter cleanly handle common return types
The way that `toJson` is currently handled encourages people
to take a hard dependency on gson, or attempt to handle
serialising JSON themselves. Modify how `toJson` is handled
to allow us to return other data types, such as `Map` and
anything extending ... | SeleniumHQ_selenium | train |
8b6eaee1398e715ffe47e68723a7e7fc53f3a10b | diff --git a/ansible_runner/runner_config.py b/ansible_runner/runner_config.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/runner_config.py
+++ b/ansible_runner/runner_config.py
@@ -26,7 +26,7 @@ import shlex
from uuid import uuid4
from collections import Mapping
-from distutils.spawn import find_executable
+#... | Roll back Ansible executable check
This prevents unit testing when ansible itself isn't present | ansible_ansible-runner | train |
ff2bd052e67ad6d7f0f130eaff4d9f8a17dde1fa | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versio... | Added option to disable CSRF protection | RevisionTen_forms | train |
a3eb11c7ce75ec7bc9a9319afa2eaa9871eec4c5 | diff --git a/src/angular-materialize.js b/src/angular-materialize.js
index <HASH>..<HASH> 100644
--- a/src/angular-materialize.js
+++ b/src/angular-materialize.js
@@ -1107,7 +1107,7 @@
/* example usage:
<!-- Modal Trigger -->
- <a class='btn' href='#demoModal' modal>show Modal</a>
+ <a class='b... | fix modal according to refactored version <I> from Dogfalo/materialize | krescruz_angular-materialize | train |
ecbfce2bee13bed4bb105ffdec7983051a079c08 | diff --git a/src/TableColumn/DualTableColumn.php b/src/TableColumn/DualTableColumn.php
index <HASH>..<HASH> 100644
--- a/src/TableColumn/DualTableColumn.php
+++ b/src/TableColumn/DualTableColumn.php
@@ -38,7 +38,7 @@ abstract class DualTableColumn extends TableColumn
*
* @var int|null
*/
- protected ?int $... | Typed property DualTableColumn::$sortOrder2 must not be accessed before initialization. | SetBased_php-abc-table-overview | train |
b9be0dcea7b2c3160145d5fd5ab3a1927beda8bd | diff --git a/src/java/com/threerings/miso/client/MisoScenePanel.java b/src/java/com/threerings/miso/client/MisoScenePanel.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/miso/client/MisoScenePanel.java
+++ b/src/java/com/threerings/miso/client/MisoScenePanel.java
@@ -470,17 +470,8 @@ public class MisoSce... | Broke menu bounds computation out into its own method for use by subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train |
5f7637dd6d981a2b99b488948f0fc04f24c252ea | diff --git a/xdoctest/utils/util_notebook.py b/xdoctest/utils/util_notebook.py
index <HASH>..<HASH> 100644
--- a/xdoctest/utils/util_notebook.py
+++ b/xdoctest/utils/util_notebook.py
@@ -218,7 +218,11 @@ def execute_notebook(ipynb_fpath, timeout=None, verbose=None):
>>> print('resources = {!r}'.format(resource... | Make error into a warning on win<I> | Erotemic_xdoctest | train |
5cf95eadeb323c81320bc62748151b992765f0b0 | diff --git a/openpnm/utils/petsc.py b/openpnm/utils/petsc.py
index <HASH>..<HASH> 100644
--- a/openpnm/utils/petsc.py
+++ b/openpnm/utils/petsc.py
@@ -11,10 +11,13 @@ import scipy.sparse
from openpnm.core import Base
from openpnm.utils import logging
logger = logging.getLogger(__name__)
-import petsc4py
-# Next line... | Protect petsc import via try/except | PMEAL_OpenPNM | train |
fb947f9067f802bc3130bfd3686aa695b932b1c6 | diff --git a/web/concrete/js/ccm.base.js b/web/concrete/js/ccm.base.js
index <HASH>..<HASH> 100644
--- a/web/concrete/js/ccm.base.js
+++ b/web/concrete/js/ccm.base.js
@@ -53,16 +53,25 @@ ccm_activateSite = function() {
ccm_topPaneDeactivated = false;
}
+
ccm_addHeaderItem = function(item, type) {
+ // "item" migh... | IE fixes to JavaScript addHeaderItem; more reliable block refreshing when a package block has been overridden in the core
Former-commit-id: <I>d<I>b<I>ea<I>e<I>d<I>c<I>bd<I>bb8 | concrete5_concrete5 | train |
d74b81ecaaf76c8c2f1294b1ebf28156f535934b | diff --git a/org_reader/org_reader.py b/org_reader/org_reader.py
index <HASH>..<HASH> 100644
--- a/org_reader/org_reader.py
+++ b/org_reader/org_reader.py
@@ -38,10 +38,11 @@ class OrgReader(BaseReader):
]
"""
no_more_header = False
+ expr_metadata = re.compile(r'^#\+[a-zA-Z]+:.*')
... | org_reader: Write the metadata extractor code | getpelican_pelican-plugins | train |
696e44625e79b4437f65fdc31736f3759fbf2ee5 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,6 +1,4 @@
const gulp = require('gulp');
-const babel = require('gulp-babel');
-const sourcemaps = require('gulp-sourcemaps');
const changed = require('gulp-changed');
const eslint = require('gulp-eslint');
... | remove babel compile from gulp tasks | MostlyJS_mostly-entity | train |
0c093da67f31dbf29a9e29659dbba0f422260b12 | diff --git a/cmd/minikube/cmd/root.go b/cmd/minikube/cmd/root.go
index <HASH>..<HASH> 100644
--- a/cmd/minikube/cmd/root.go
+++ b/cmd/minikube/cmd/root.go
@@ -62,7 +62,7 @@ var RootCmd = &cobra.Command{
Long: `minikube provisions and manages local Kubernetes clusters optimized for development workflows.`,
Persiste... | revert because of IDE bug | kubernetes_minikube | train |
fc7fbe0c1add38435e104688b4bbccd8df6c2ce2 | diff --git a/code/controllers/EventRegisterController.php b/code/controllers/EventRegisterController.php
index <HASH>..<HASH> 100644
--- a/code/controllers/EventRegisterController.php
+++ b/code/controllers/EventRegisterController.php
@@ -122,12 +122,13 @@ class EventRegisterController extends Page_Controller {
ret... | Allow AttendeesReviewTable template content to be customised via extensions | registripe_registripe-core | train |
c3cf722e92643ab84988882144977e38334ea37f | diff --git a/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/impl/ExternalTaskRestServiceImpl.java b/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/impl/ExternalTaskRestServiceImpl.java
index <HASH>..<HASH> 100644
--- a/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/re... | fix(rest): code cleanup
related to CAM-<I> | camunda_camunda-bpm-platform | train |
3df074ee4ae969e4bcc87cf5aa5b2e5a25c91ec6 | diff --git a/abstractions.py b/abstractions.py
index <HASH>..<HASH> 100644
--- a/abstractions.py
+++ b/abstractions.py
@@ -122,7 +122,7 @@ class ModelGibbsSampling(Model):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
- def resample(self):
+ def resample_model(self):
pass
class ModelMean... | differentiated resample and resample_model, so that models can act like
distributions! useful for when mixture model in larger model, or using
models as components in other models | mattjj_pybasicbayes | train |
70ad3c16c3b500c507a991430ba03546843fbe6c | diff --git a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/ConfigurationDialog.java b/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/ConfigurationDialog.java
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/ConfigurationDialog.java
+++ b/trunk/J... | don't show test language in dialog | languagetool-org_languagetool | train |
5391a0b6f521faf175e8fbf27402c76329a6e7de | diff --git a/crd-generator/src/main/java/io/dekorate/crd/apt/CustomResourceAnnotationProcessor.java b/crd-generator/src/main/java/io/dekorate/crd/apt/CustomResourceAnnotationProcessor.java
index <HASH>..<HASH> 100644
--- a/crd-generator/src/main/java/io/dekorate/crd/apt/CustomResourceAnnotationProcessor.java
+++ b/crd-... | fix: only trigger generation on Group / Version annotations | fabric8io_kubernetes-client | train |
5de6df19dc7989312e5916bfd840a4f5f917308d | diff --git a/openstack_dashboard/dashboards/project/instances/tabs.py b/openstack_dashboard/dashboards/project/instances/tabs.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/project/instances/tabs.py
+++ b/openstack_dashboard/dashboards/project/instances/tabs.py
@@ -35,7 +35,18 @@ class OverviewTab(... | Add image data for instance with volume
If an instance was created with a volume from an image, there is
no image details in instance overview page.
This patch adds image info from volume image-metadata.
Change-Id: I1da<I>eb4a<I>ab<I>f<I>d<I>b<I>bada<I>de<I>f2
Closes-Bug: <I> | openstack_horizon | train |
c5d8caf0240c61ed3b50fcfc9125a42ea8b9f8a7 | diff --git a/examples/hid/device.py b/examples/hid/device.py
index <HASH>..<HASH> 100755
--- a/examples/hid/device.py
+++ b/examples/hid/device.py
@@ -90,15 +90,6 @@ class Mouse(functionfs.HIDFunction):
(GO_RIGHT_REPORT, ),
)
-class SubprocessMouse(SubprocessFunction):
- """
- Just to illu... | examples/hid/device.py: Simplify.
usbcat is a better example of why SubprocessFunction may need to be
subclassed. | vpelletier_python-functionfs | train |
b532b9f63e70d1cc1470d3893784bf96c89bd259 | diff --git a/src/ParseMenu.php b/src/ParseMenu.php
index <HASH>..<HASH> 100644
--- a/src/ParseMenu.php
+++ b/src/ParseMenu.php
@@ -159,7 +159,7 @@ class ParseMenu implements ParserInterface
}
// Add this item to the newly trimmed menu
- $path_menu[] = $item;
+ $path_men... | Set the key for the menu items as the menu_item_id to be able to traverse the array using the path | waynestate_parse-menu | train |
13897762f2a699a8e23badf7a47ad052b27e87c1 | diff --git a/benchmarks/bench.py b/benchmarks/bench.py
index <HASH>..<HASH> 100644
--- a/benchmarks/bench.py
+++ b/benchmarks/bench.py
@@ -410,9 +410,9 @@ def merge_v3(output, fmt, memory):
def merge_v4(output, fmt, memory):
- files = [r'test.mf4', ] * 2
+ files = [r'test.mf4', ] * 3
- with Timer('Merge... | some cahnges to the benchmark script | danielhrisca_asammdf | train |
be49a955c1ced37f3720d5410443e3ceafe946f3 | diff --git a/libraries/joomla/application/application.php b/libraries/joomla/application/application.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/application/application.php
+++ b/libraries/joomla/application/application.php
@@ -673,13 +673,14 @@ class JApplication extends JObject
// Get the global JAuthen... | Turn JAuthentication back from static class and updated tests accordingly to use non-static version | joomla_joomla-framework | train |
08547379bd9a1446a6701efa8f8cedf64481a97b | diff --git a/src/Renderers/Bootstrap3.php b/src/Renderers/Bootstrap3.php
index <HASH>..<HASH> 100644
--- a/src/Renderers/Bootstrap3.php
+++ b/src/Renderers/Bootstrap3.php
@@ -709,7 +709,7 @@ class Bootstrap3 extends Base
*/
private function hasErrors(Field $control)
{
- foreach ($this->getErrorMe... | Fixed validation messages for nested control names. | inkvizytor_FluentForm | train |
0dcb3da35a2b161e494b4738dd17b9e61bf0ae05 | diff --git a/jasper.py b/jasper.py
index <HASH>..<HASH> 100755
--- a/jasper.py
+++ b/jasper.py
@@ -18,7 +18,10 @@ if not jasper_home or not os.path.exists(jasper_home):
sys.exit(0)
# Change CWD to $JASPER_HOME/jasper/client
-os.chdir(os.path.join(os.getenv("JASPER_HOME"), "jasper" , "client"))
+client_path ... | Add client folder to sys.path
Otherwise this would cause bugs in client.brain | benhoff_vexbot | train |
9a501ac7b1f1a8c02e87dc75299c034a8cb0ae62 | diff --git a/lib/committee/middleware/response_validation.rb b/lib/committee/middleware/response_validation.rb
index <HASH>..<HASH> 100644
--- a/lib/committee/middleware/response_validation.rb
+++ b/lib/committee/middleware/response_validation.rb
@@ -8,17 +8,12 @@ module Committee::Middleware
def call(env)
... | Improve API for `ResponseValidator` | interagent_committee | train |
8a2f6363d67cb78ebd8756e092a0e9b19b2b3e37 | diff --git a/azurerm/resource_arm_network_interface.go b/azurerm/resource_arm_network_interface.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_network_interface.go
+++ b/azurerm/resource_arm_network_interface.go
@@ -90,7 +90,6 @@ func resourceArmNetworkInterface() *schema.Resource {
Type: schema.... | Fix bug for Network Interface (#<I>) | terraform-providers_terraform-provider-azurerm | train |
a385186b12ee7023daf777208ff071c146681a7a | diff --git a/lib/rack/mauth.rb b/lib/rack/mauth.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/mauth.rb
+++ b/lib/rack/mauth.rb
@@ -96,11 +96,26 @@ module Medidata
@self_app_uuid, @self_private_key = config[:app_uuid], config[:private_key]
@should_authenticate_check = config[:should_authenticate_chec... | make the logger configurable, defaulting to Rails' logger if none is set. | mdsol_mauth-client-ruby | train |
3ac91a29d426ddb243442499f6e257cb52b4ba55 | diff --git a/sentry/client/base.py b/sentry/client/base.py
index <HASH>..<HASH> 100644
--- a/sentry/client/base.py
+++ b/sentry/client/base.py
@@ -69,6 +69,21 @@ class SentryClient(object):
for k in ('url', 'view', 'data'):
if k not in kwargs:
kwargs[k] = record.__dict__.get(k)
+ ... | Logging now supports passing in the request object via extra | elastic_apm-agent-python | train |
7747bac60c164a7e1aa630e06aa13e7d92056756 | diff --git a/protempa-test-suite/src/test/java/org/protempa/test/ProtempaTest.java b/protempa-test-suite/src/test/java/org/protempa/test/ProtempaTest.java
index <HASH>..<HASH> 100644
--- a/protempa-test-suite/src/test/java/org/protempa/test/ProtempaTest.java
+++ b/protempa-test-suite/src/test/java/org/protempa/test/Pro... | added checks against the number of forward and backward derivations for each key | eurekaclinical_protempa | train |
f71b83ffef005ccde06b4e67fcf96348ff9f81e7 | diff --git a/plugins/svg.php b/plugins/svg.php
index <HASH>..<HASH> 100644
--- a/plugins/svg.php
+++ b/plugins/svg.php
@@ -203,7 +203,7 @@ function svg_generator ($input, $fn_name) {
// Resolve the type.
// Bail if type not recognised.
- $type = isset($raw_data['type']) ? strtolower($raw_data['type']) : ... | Some tweaks to SVG output to better support common svg2png convertors.
Changed default SVG type from 'rect' to 'path'. | peteboere_css-crush | train |
4c337dc9a89dfb549a3c2cb62893d74129582143 | diff --git a/flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaConsumerTestBase.java b/flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaConsumerTestBase.java
index <HASH>..<HASH> 100644
--- a/flink-connect... | [hotfix][tests] Remove unused methods in KafkaConsumerTestBase | apache_flink | train |
5bd91ec82386836497094c377197023fdf121526 | diff --git a/tests/NinjaMutex/Lock/LockTest.php b/tests/NinjaMutex/Lock/LockTest.php
index <HASH>..<HASH> 100644
--- a/tests/NinjaMutex/Lock/LockTest.php
+++ b/tests/NinjaMutex/Lock/LockTest.php
@@ -168,6 +168,7 @@ class LockTest extends AbstractTest
* @medium Timeout for test increased to ~5s http://stackoverflo... | Let's finally try to expect Fatal Error | arvenil_ninja-mutex | train |
10a63e2a0cbdc1e8e4d7aef87afc868bd599ca94 | diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
@... | Refactor methods in html node to avoid injects. | rails_rails | train |
cb7a289361c846de28e14119a1bed3b7a673c5a0 | diff --git a/tools/static_require.js b/tools/static_require.js
index <HASH>..<HASH> 100644
--- a/tools/static_require.js
+++ b/tools/static_require.js
@@ -255,7 +255,7 @@ exports.handle = function(req, res, options) {
}
res.writeHead(200, {
"Content-Type": 'application/javascript',
- "Content... | Content-Length should be calculated using Buffer. Otherwise some files got cut off. | voloko_uki | train |
2849d056f9c927968ad4492f5d371d4a8a264a58 | diff --git a/spec/opal/core/runtime/eval_spec.rb b/spec/opal/core/runtime/eval_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/opal/core/runtime/eval_spec.rb
+++ b/spec/opal/core/runtime/eval_spec.rb
@@ -1,5 +1,5 @@
describe "Opal.eval()" do
it "evaluates ruby code by compiling it to javascript and running" do
- ... | JSHint: do not use reserved keywords for identifiers (specs) | opal_opal | train |
5a2d0a691abf88edea3fbd5a822811d779efac80 | diff --git a/assess_update_mongo.py b/assess_update_mongo.py
index <HASH>..<HASH> 100755
--- a/assess_update_mongo.py
+++ b/assess_update_mongo.py
@@ -12,6 +12,7 @@ import sys
from deploy_stack import (
BootstrapManager,
)
+from remote import remote_from_address
from utility import (
add_basic_testing_argu... | Added DEP_script run via remote. | juju_juju | train |
9edcc2db43c84b31862ad9d619ce43c249c6b8ed | diff --git a/src/pipeline/container.go b/src/pipeline/container.go
index <HASH>..<HASH> 100644
--- a/src/pipeline/container.go
+++ b/src/pipeline/container.go
@@ -2,7 +2,6 @@ package pipeline
import (
"io"
- "strings"
"github.com/fsouza/go-dockerclient"
)
@@ -41,14 +40,14 @@ func stopContainer(id string) erro... | Use a go-dockerclient function to parse the image name | pachyderm_pachyderm | train |
9d98ef698d3bb874c2809bb8bb07f8071f1e9669 | diff --git a/gwpy/segments/tests/test_flag.py b/gwpy/segments/tests/test_flag.py
index <HASH>..<HASH> 100644
--- a/gwpy/segments/tests/test_flag.py
+++ b/gwpy/segments/tests/test_flag.py
@@ -519,17 +519,8 @@ class TestDataQualityFlag(object):
f2 = self.TEST_CLASS.read(fp)
utils.assert_flag_equ... | gwpy.segments: update test dependencies
LIGO_LW operations all require python-ligo-lw | gwpy_gwpy | train |
5c76131fd352c67410fb9c1ba4dce1144644ea88 | diff --git a/flask_appbuilder/console.py b/flask_appbuilder/console.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/console.py
+++ b/flask_appbuilder/console.py
@@ -194,7 +194,7 @@ def babel_extract(config, input, output, target):
Babel, Extracts and updates all messages marked for translation
"""
... | fix babel-extract command | dpgaspar_Flask-AppBuilder | train |
6d691e203a4f6cd8a001f236452521b4669ad340 | diff --git a/src/main/java/com/cloudbees/jenkins/support/slowrequest/SlowRequestChecker.java b/src/main/java/com/cloudbees/jenkins/support/slowrequest/SlowRequestChecker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cloudbees/jenkins/support/slowrequest/SlowRequestChecker.java
+++ b/src/main/java/com/cloudbe... | Fixed issue where no line were being published in the slow-requests. According to <URL>, the default getThreadInfo method returns a depth size of 0, so slow-requests were incomplete. | jenkinsci_support-core-plugin | train |
e03c71a4558f872696e06168dc9b61508f9c7b8a | diff --git a/shared/desktop/package.desktop.js b/shared/desktop/package.desktop.js
index <HASH>..<HASH> 100644
--- a/shared/desktop/package.desktop.js
+++ b/shared/desktop/package.desktop.js
@@ -36,7 +36,8 @@ const argv = minimist(process.argv.slice(2), {string: ['appVersion']})
const appName = 'Keybase'
const should... | Handle an empty app path in the packager (#<I>)
Also make it be able to build a particular arch and platform.
I used this to build bundles to test on Windows. | keybase_client | train |
09cd35fbbfc01b96204866f62ac64d2b04b3b1ee | diff --git a/PHPCompatibility/Tests/Sniffs/PHP/RemovedAlternativePHPTagsSniffTest.php b/PHPCompatibility/Tests/Sniffs/PHP/RemovedAlternativePHPTagsSniffTest.php
index <HASH>..<HASH> 100644
--- a/PHPCompatibility/Tests/Sniffs/PHP/RemovedAlternativePHPTagsSniffTest.php
+++ b/PHPCompatibility/Tests/Sniffs/PHP/RemovedAlter... | Tests: add test skip explanations. | PHPCompatibility_PHPCompatibility | train |
b42e0b0feffaff585a9ce49d0d12b0c93dd40935 | diff --git a/src/thin-tree.js b/src/thin-tree.js
index <HASH>..<HASH> 100644
--- a/src/thin-tree.js
+++ b/src/thin-tree.js
@@ -60,8 +60,17 @@ ThinTree.prototype.preOrderNext = function() {
}
}
+ThinTree.prototype.preOrderPrevious = function() {
+ var thisNodeIndex = this.root.preOrderTraverse().indexOf(this)... | preOrderPrevious + Changes based on review | evanrs_thin-tree | train |
c14b38708fc523e305239b2e14733d0de9bbf1e2 | diff --git a/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/DeviceInfo.java b/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/DeviceInfo.java
index <HASH>..<HASH> 100644
--- a/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/DeviceInfo.java
+++ b/clevertap-android-sdk/src/main/... | chore(androidx): Added try/catch for Android <I> Security Exception in DeviceInfo SDK-<I> | CleverTap_clevertap-android-sdk | train |
886fcb0f7700f9cf8bb6c17f5f2f081d68f9c1a6 | diff --git a/actionview/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb
index <HASH>..<HASH> 100644
--- a/actionview/lib/action_view/digestor.rb
+++ b/actionview/lib/action_view/digestor.rb
@@ -42,7 +42,7 @@ module ActionView
':variant. Please update your code to pass a Hash argument. ... | Warning removed (...) interpreted as grouped expression | rails_rails | train |
13adc4fa771d463f55156de0ccf899ce77f0d83e | diff --git a/pyocd/tools/pyocd.py b/pyocd/tools/pyocd.py
index <HASH>..<HASH> 100755
--- a/pyocd/tools/pyocd.py
+++ b/pyocd/tools/pyocd.py
@@ -1556,10 +1556,14 @@ Prefix line with ! to execute a shell command.""")
def print_disasm(self, code, startAddr, maxInstructions=None):
if not isCapstoneAvailable:... | Enable commander disasm command while target is running.
If the target is running, the disasm command doesn't try to read the PC. | mbedmicro_pyOCD | train |
808a457ea4e9f48c34ce10e52776ae7fd7a33f84 | diff --git a/lib/actions/form.js b/lib/actions/form.js
index <HASH>..<HASH> 100644
--- a/lib/actions/form.js
+++ b/lib/actions/form.js
@@ -71,15 +71,8 @@ export function parseUrlQueryString (params = getUrlParams()) {
})
const searchId = params.ui_activeSearch || randId()
// Convert strings to numbers/ob... | feat(query): attempt to geocode place name from query params
fix #<I> | opentripplanner_otp-react-redux | train |
3efe8219dc58d43501213cdcb87f2dfb9663a1e1 | diff --git a/test/vendor/load-image-scale.js b/test/vendor/load-image-scale.js
index <HASH>..<HASH> 100644
--- a/test/vendor/load-image-scale.js
+++ b/test/vendor/load-image-scale.js
@@ -236,7 +236,7 @@
if (
pixelRatio > 1 &&
// Check if image has not yet device pixel ratio applied:
- pa... | Update vendored load-image dev dependency. | blueimp_JavaScript-Canvas-to-Blob | train |
fd6d1241aea2ab897621dcdd9f4ee6d25ab33c3b | diff --git a/xinclude/src/spec/java/org/etourdot/xincproc/xinclude/AbstractSuiteTest.java b/xinclude/src/spec/java/org/etourdot/xincproc/xinclude/AbstractSuiteTest.java
index <HASH>..<HASH> 100644
--- a/xinclude/src/spec/java/org/etourdot/xincproc/xinclude/AbstractSuiteTest.java
+++ b/xinclude/src/spec/java/org/etourdo... | fix xmlunit comparison in integration tests | etourdot_xincproc | train |
5e091bba91bffb5f7d46222ee1621e211480942c | diff --git a/lib/puppet/provider/package/sun.rb b/lib/puppet/provider/package/sun.rb
index <HASH>..<HASH> 100755
--- a/lib/puppet/provider/package/sun.rb
+++ b/lib/puppet/provider/package/sun.rb
@@ -61,7 +61,7 @@ Puppet::Type.type(:package).provide :sun, :parent => Puppet::Provider::Package d
cmd = [command(:pkgin... | (#<I>) Use combine when running pkginfo
pkginfo was previously executed with combine => false so stderr was
discarded. This way puppet was unable to detect any errors the pkginfo
might print, especially the message `ERROR: information for
"some_package" was not found`.
As a result the provider failed every time it tr... | puppetlabs_puppet | train |
8c94d50c143502b2c9b7154ee2894a925796ef59 | diff --git a/lib/ice_cube/schedule.rb b/lib/ice_cube/schedule.rb
index <HASH>..<HASH> 100644
--- a/lib/ice_cube/schedule.rb
+++ b/lib/ice_cube/schedule.rb
@@ -43,11 +43,12 @@ module IceCube
end
# Create a schedule from a hash created by instance.to_hash
- def self.from_hash(hash)
+ def self.from_hash(... | add start date override to from_yaml and from_hash to allow recurrence rules to be applied against different start dates | seejohnrun_ice_cube | train |
82995952b0368fb044a62a2788e833172ed7f0ef | diff --git a/src/main/java/com/crawljax/browser/WebDriverFirefox.java b/src/main/java/com/crawljax/browser/WebDriverFirefox.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/crawljax/browser/WebDriverFirefox.java
+++ b/src/main/java/com/crawljax/browser/WebDriverFirefox.java
@@ -66,6 +66,8 @@ public class WebDri... | Also use proxy for requests to localhost (firefox webdriver) | crawljax_crawljax | train |
298ecfeb54f96be3427e43f24ff75490d318b98a | diff --git a/lib/interpolateName.js b/lib/interpolateName.js
index <HASH>..<HASH> 100644
--- a/lib/interpolateName.js
+++ b/lib/interpolateName.js
@@ -12,8 +12,12 @@ function encodeStringToEmoji(content, length) {
if(emojiCache[content]) return emojiCache[content];
length = length || 1;
const emojis = [];
- do {
... | Have a violent reaction when out of emoji
Failing explicitly is better than silently starting to return empty strings. | webpack_loader-utils | train |
82013bfb6ee36045dabbb4aecc730acbee716151 | diff --git a/Repository/Vcs/GitHubDriver.php b/Repository/Vcs/GitHubDriver.php
index <HASH>..<HASH> 100644
--- a/Repository/Vcs/GitHubDriver.php
+++ b/Repository/Vcs/GitHubDriver.php
@@ -74,10 +74,7 @@ class GitHubDriver extends BaseGitHubDriver
while ($notFoundRetries) {
try {
- ... | Simplify getComposerContent method | fxpio_composer-asset-plugin | train |
d7ac77a567d6cf42c49dac8f4689793a9f263fc8 | diff --git a/nodeconductor/cloud/backend/openstack.py b/nodeconductor/cloud/backend/openstack.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/cloud/backend/openstack.py
+++ b/nodeconductor/cloud/backend/openstack.py
@@ -149,7 +149,7 @@ class OpenStackBackend(object):
for image in cloud_account.images.... | opensatck backend push security groups method (nc-<I>) | opennode_waldur-core | train |
2449c00dbe7bb9caeb234707b95601bd9f7d177c | diff --git a/app/lib/MyAccountsStore.js b/app/lib/MyAccountsStore.js
index <HASH>..<HASH> 100644
--- a/app/lib/MyAccountsStore.js
+++ b/app/lib/MyAccountsStore.js
@@ -77,10 +77,42 @@ export default class MyAccountsStore {
}
connectAccount (konnector, account, folder) {
- return account.id
+ const result =... | feat: now run the konnector on submit | cozy_cozy-home | train |
fe27526a318f3832991c45801db4f94c5708f69f | diff --git a/driver-sync/src/test/functional/com/mongodb/client/AbstractClientEncryptionCustomEndpointTest.java b/driver-sync/src/test/functional/com/mongodb/client/AbstractClientEncryptionCustomEndpointTest.java
index <HASH>..<HASH> 100644
--- a/driver-sync/src/test/functional/com/mongodb/client/AbstractClientEncrypti... | Update AWS invalid endpoint host
Don't test against specific error text
JAVA-<I> | mongodb_mongo-java-driver | train |
8b4c326365182498fd2963d825b29d93006c1512 | diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py
index <HASH>..<HASH> 100644
--- a/compiler/docs/compiler.py
+++ b/compiler/docs/compiler.py
@@ -412,11 +412,15 @@ def pyrogram_api():
Chat.unban_member
Chat.restrict_member
Chat.promote_member
+ Chat.joi... | Add missing bound methods to docs | pyrogram_pyrogram | train |
8bd80a99a259e6409a9ac0a8a60325f94b5c5e9d | diff --git a/lib/puppet/node/facts.rb b/lib/puppet/node/facts.rb
index <HASH>..<HASH> 100755
--- a/lib/puppet/node/facts.rb
+++ b/lib/puppet/node/facts.rb
@@ -1,12 +1,17 @@
+require 'time'
+
require 'puppet/node'
require 'puppet/indirector'
+require 'puppet/util/pson'
+
# Manage a given node's facts. This either ... | (#<I>) Add support for PSON to facts
Previously, facts could be fetched via the REST API in PSON, but came
back as the to_s representation of a Ruby object, rather than as
proper PSON data. This patch adds to_pson and from_pson to facts, so
they can be properly used with PSON. | puppetlabs_puppet | train |
4554a104c7d1bb29aa370b2c3b87a1d51a108445 | diff --git a/src/scs_core/particulate/exegesis/isecen2_v001.py b/src/scs_core/particulate/exegesis/isecen2_v001.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/particulate/exegesis/isecen2_v001.py
+++ b/src/scs_core/particulate/exegesis/isecen2_v001.py
@@ -11,8 +11,8 @@ Coefficients gained from Alphasense OPC-N2 (ver... | Added particle exegesis framework. | south-coast-science_scs_core | train |
39597fb60f9e5040370307f849201c2fdbe5159a | diff --git a/lib/cross_validation.rb b/lib/cross_validation.rb
index <HASH>..<HASH> 100644
--- a/lib/cross_validation.rb
+++ b/lib/cross_validation.rb
@@ -3,3 +3,7 @@ $LOAD_PATH.unshift File.dirname(__FILE__)
module CrossValidation
VERSION = '0.0.1'
end
+
+%w(confusion_matrix runner).each do |fn|
+ require File.j... | Require the runner and confusion matrix by default | jmdeldin_cross_validation | train |
96f7a5d9962e83a7c37cbd0a37c638bbf2065866 | diff --git a/napalm_yang/parser.py b/napalm_yang/parser.py
index <HASH>..<HASH> 100644
--- a/napalm_yang/parser.py
+++ b/napalm_yang/parser.py
@@ -56,7 +56,7 @@ class Parser(object):
attr = getattr(attr, p)
r = attr(**m["args"])
- if isinstance(r, dict):
+ ... | Make sure all values are string before flattening | napalm-automation_napalm-yang | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.