hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
5feb56383755f1ac4f6f74e1992b5a842c2f3cd8 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,5 +1,46 @@
const scrapeRS = require("./roomSlotScrapr");
-module.exports = function scrapeRoomSlots(term, minRequestSpace = 1000, verbose = false) {
- return scrapeRS(term, verbose, minRequestSpace... | added the ability to scrape only certain departments, added input validation, and added API comments | IMCampbell_ubcscrapr | train |
125f98b678ebdc21cd9c4dd304652e0226ea56ff | diff --git a/tests/Concerns/Deserialize.php b/tests/Concerns/Deserialize.php
index <HASH>..<HASH> 100644
--- a/tests/Concerns/Deserialize.php
+++ b/tests/Concerns/Deserialize.php
@@ -13,6 +13,7 @@ declare(strict_types=1);
namespace ArkEcosystem\Tests\Crypto\Concerns;
+use Illuminate\Support\Arr;
use ArkEcosystem\... | fix: use Illuminate\Support\Arr directly | ArkEcosystem_php-crypto | train |
7e92e93b0f61ec57f7324465f539b3f72df643db | diff --git a/beprof/curve.py b/beprof/curve.py
index <HASH>..<HASH> 100644
--- a/beprof/curve.py
+++ b/beprof/curve.py
@@ -68,24 +68,39 @@ class Curve(np.ndarray):
def change_domain(self, domain):
- #check if new domain includes in the orginal domain
- if np.max(domain)>np.max(self.x):
- ... | Update curve.py
1) Added fixed_step_domain() method. I assumed the first solution of 2 I mentioned in issue #4 is correct.
2) Content of main() is just for testing. Once you say methods are implemented correctly I will remove those and write docstring tests instead.
3) 'prints' inside methods - need to figure out w... | DataMedSci_beprof | train |
a5aec27b5ed05d621a1f7d1b7cc2154961900ff1 | diff --git a/cherrypy/_cpcompat.py b/cherrypy/_cpcompat.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cpcompat.py
+++ b/cherrypy/_cpcompat.py
@@ -329,6 +329,8 @@ except NameError:
if sys.version_info >= (3,3):
Timer = threading.Timer
+ Event = threading.Event
else:
# Python 3.2 and earlier
Timer ... | In Python <I>, threading._Event was renamed to threading.Event. This change creates a compatibility shim and uses that shim in cherrypy.lib.caching. Fixes #<I>.
--HG--
branch : cherrypy-<I>.x | cherrypy_cheroot | train |
8e132f504662532d9ed1dafa94a6a4b83e29bc6d | diff --git a/lib/rake/extensiontask.rb b/lib/rake/extensiontask.rb
index <HASH>..<HASH> 100644
--- a/lib/rake/extensiontask.rb
+++ b/lib/rake/extensiontask.rb
@@ -18,7 +18,7 @@ module Rake
def init(name = nil, gem_spec = nil)
super
@config_script = 'extconf.rb'
- @source_pattern = "*.c"
+ @... | Regard C++ sources as source_files | rake-compiler_rake-compiler | train |
1230e1c85448bbbe5f774378d47e591a9424ad3c | diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -23,16 +23,6 @@ class TestUnbabelAPI(unittest.TestCase):
return self._api
- def test_get_translations(self):
- trans = self.api.get_translations()
-
- self.assertIsInstance... | test for get_translation after post_translation | Unbabel_unbabel-py | train |
24f54d50fec671669b27519b184c8fde1411b0eb | diff --git a/tests/example_project/urls.py b/tests/example_project/urls.py
index <HASH>..<HASH> 100644
--- a/tests/example_project/urls.py
+++ b/tests/example_project/urls.py
@@ -21,10 +21,6 @@ ADMIN_ROOTS = (
normpath(join(dirname(django.__file__), 'contrib', 'admin', 'media')),
)
-js_info_dict = {
- 'packa... | jsi<I>n url defined in newman, not in project. | ella_ella | train |
fe2bd7cf8b0139e1c7c1037d89929dd7c4093458 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,11 +7,11 @@ VERSION = "0.6.3"
src_dir = os.path.dirname(__file__)
install_requires = [
- "troposphere>=1.2.2",
+ "troposphere>=1.8.0",
"boto3>=1.3.1",
"botocore>=1.4.38",
"PyYAML>=3.11",
- "awacs... | Update troposphere & awacs to latest releases | cloudtools_stacker | train |
c3c9db8c61f2f79a226acb8bc3a4eb1ab4053ab7 | diff --git a/Model/FileManager.php b/Model/FileManager.php
index <HASH>..<HASH> 100644
--- a/Model/FileManager.php
+++ b/Model/FileManager.php
@@ -297,7 +297,7 @@ class FileManager
}
$upload_path = realpath($this->getUploadPath());
- if (strcasecmp($real_path, $upload_path > 0)) {
+ if... | Corrected a wrong expression on conditional | YouweGit_FileManager | train |
5c31147f37ccf2b1bc50e3af44b81ca47a14be2f | diff --git a/src/main/java/com/blackducksoftware/integration/hub/dataservice/notification/model/NotificationContentItem.java b/src/main/java/com/blackducksoftware/integration/hub/dataservice/notification/model/NotificationContentItem.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/blackducksoftware/integration... | INTCMN-<I>: Fix NotificationContentItem.compareTo() to factor in component name as well as version (in case there is no version) | blackducksoftware_blackduck-common | train |
cf7971187b7d914535c843394fca194d4ae865ee | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,14 +20,12 @@ with open(os.path.join(ROOT, "swag_client", "__about__.py")) as f:
install_requires = [
- 'marshmallow==2.13.5',
- 'inflection==0.3.1',
+ 'marshmallow>=2.13.5',
'boto3>=1.4.6',
- 'tabulat... | Adding a bigger range of possible dependencies. (#<I>) | Netflix-Skunkworks_swag-client | train |
7753b2c4be208753dd05688b79ca497252212f7e | diff --git a/gargoyle/models.py b/gargoyle/models.py
index <HASH>..<HASH> 100644
--- a/gargoyle/models.py
+++ b/gargoyle/models.py
@@ -31,7 +31,7 @@ class Switch(models.Model):
"""
key = models.CharField(max_length=32, primary_key=True)
- value = JSONField(default="{\"disable\": true}")
+ value = ... | swapped disable for 'global' flag which can say 'really on' or 'really off' | disqus_gargoyle | train |
3fdbb1b5b5ee7ec05e9c0e007f982a96b868a027 | diff --git a/python/src/cm_api/endpoints/services.py b/python/src/cm_api/endpoints/services.py
index <HASH>..<HASH> 100644
--- a/python/src/cm_api/endpoints/services.py
+++ b/python/src/cm_api/endpoints/services.py
@@ -52,7 +52,6 @@ def get_all_services(resource_root, cluster_name="default", view=None):
"""
dic =... | [Systest] Add support for deploying Nagios w/ CM monitoring on RH6
Systest clusters running RH6 will be deployed with Nagios, which
integrates CM health status into its dashboard using the cm_nagios.py
script and data accessed by the CM API.
The cm_nagios script generates the Nagios configuration files that map
Nagio... | cloudera_cm_api | train |
090711183d13724302aaaf7277959c7960c59508 | diff --git a/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionStorage.php b/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionStorage.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionStorage.php
+++ b/src/Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionStorage.php
@... | session data needs to be encoded because it can contain non binary safe
characters e.g null. Fixes #<I> | symfony_symfony | train |
68b68b710c53b35f0feffb6e5a983b91c6dc0f22 | diff --git a/src/payapi/command/command.branding.php b/src/payapi/command/command.branding.php
index <HASH>..<HASH> 100644
--- a/src/payapi/command/command.branding.php
+++ b/src/payapi/command/command.branding.php
@@ -70,7 +70,7 @@ final class commandBranding extends controller
return $this->render($pluginBrand... | Fix defaulted branding not redered properly | payapi_payapi-sdk-php | train |
ffad17c4339b56088ef5646e111225417bf49ea6 | diff --git a/AegeanTools/BANE.py b/AegeanTools/BANE.py
index <HASH>..<HASH> 100644
--- a/AegeanTools/BANE.py
+++ b/AegeanTools/BANE.py
@@ -126,7 +126,7 @@ def sigma_filter(filename, region, step_size, box_size, shape, dobkg=True):
# TODO: fix the code below so that the above comment can be removed
ymin, yma... | fix crash that could occur when a box is all nan
fixes issue #<I> | PaulHancock_Aegean | train |
570297f53fb22f34b11b8399fea1c25c8bbd76b2 | diff --git a/spec/integration/parser/collector_spec.rb b/spec/integration/parser/collector_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/integration/parser/collector_spec.rb
+++ b/spec/integration/parser/collector_spec.rb
@@ -1,44 +1,89 @@
#! /usr/bin/env ruby
require 'spec_helper'
+require 'puppet_spec/compiler'
... | (Maint) Change collector tests to be more intent revealing
The previous tests did very little to inform anyone what the behavior of
the collector was expected to be in various situations. This changes the
tests to be individually split out, named, and transformed into
manifests that use the feature. | puppetlabs_puppet | train |
0b9d0b4faa569ee47f94c5100d6bb4cf5ee5c1d9 | diff --git a/commands/image.py b/commands/image.py
index <HASH>..<HASH> 100644
--- a/commands/image.py
+++ b/commands/image.py
@@ -106,8 +106,12 @@ def list_images(client: docker.Client, args, state: dict):
def inspect_image(docker_client: docker.Client, args, state: dict):
+ if args.image == '-':
+ args... | allow using '-' to be a reference to the last used image | leftstache_dkr | train |
98b52748f863e2305886ee4480f58bdef3015d3a | diff --git a/salt/version.py b/salt/version.py
index <HASH>..<HASH> 100644
--- a/salt/version.py
+++ b/salt/version.py
@@ -276,6 +276,9 @@ class SaltStackVersion(object):
version_string += 'rc{0}'.format(self.rc)
if self.noc and self.sha:
version_string += '-{0}-{1}'.format(self.noc, ... | Include version codename in the generated version string.
Fixes #<I>. | saltstack_salt | train |
12eea0473d732d19dbc64bc694b050d5cd538b6b | diff --git a/BimServer/src/org/bimserver/GeometryGenerator.java b/BimServer/src/org/bimserver/GeometryGenerator.java
index <HASH>..<HASH> 100644
--- a/BimServer/src/org/bimserver/GeometryGenerator.java
+++ b/BimServer/src/org/bimserver/GeometryGenerator.java
@@ -123,8 +123,6 @@ public class GeometryGenerator {
se... | Fixed geometry use on-the-fly instead of on checkin | opensourceBIM_BIMserver | train |
9e0363b44cebbe0ad608190a7d85ab9a90673817 | diff --git a/src/feat/agencies/net/agency.py b/src/feat/agencies/net/agency.py
index <HASH>..<HASH> 100644
--- a/src/feat/agencies/net/agency.py
+++ b/src/feat/agencies/net/agency.py
@@ -316,6 +316,7 @@ class Agency(agency.Agency):
self._link_log_file(options.MASTER_LOG_LINK)
signal.signal(signal.SI... | Add back the posibility to call full_shutdown() with a signal. (USR2) | f3at_feat | train |
7d0b05914372be7b1fec8290d3a4fda5fe2ec147 | diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/RepositoryService.java b/modules/activiti-engine/src/main/java/org/activiti/engine/RepositoryService.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/main/java/org/activiti/engine/RepositoryService.java
+++ b/modules/activiti-engin... | Merge PR #<I> in Activiti 6 branch | Activiti_Activiti | train |
56b1a659998d1dbe05c7ca2056c8888674f272c4 | diff --git a/src/ChipInput.js b/src/ChipInput.js
index <HASH>..<HASH> 100644
--- a/src/ChipInput.js
+++ b/src/ChipInput.js
@@ -321,6 +321,10 @@ class ChipInput extends React.Component {
const chips = this.props.value || this.state.chips
const autoCompleteData = (dataSource || []).filter((value) => chips.index... | Change default filter to always show the popover if openOnFocus is set.
#8 | TeamWertarbyte_material-ui-chip-input | train |
07c49ff2021fc46e6d1ab92751008067386067b8 | diff --git a/ternary/lines.py b/ternary/lines.py
index <HASH>..<HASH> 100644
--- a/ternary/lines.py
+++ b/ternary/lines.py
@@ -176,7 +176,7 @@ def gridlines(ax, scale, multiple=None, horizontal_kwargs=None, left_kwargs=None
return ax
def ticks(ax, scale, ticks=None, locations=None, multiple=1, axis='b',
- ... | added axes_colors dict as an option to pass to ticks function to color ticks and labels according to axis. As a warning, it might override the color in kwargs... also, I set a default color as blue becuase I thought it was more elegant to use this axes_color dict instead of e.g. if axes_color is not None in a 6 places. | marcharper_python-ternary | train |
ab6d35f649901c62e347488e30881b7d8bd9de0a | diff --git a/presto-verifier/src/main/java/com/facebook/presto/verifier/framework/AbstractVerifyCommand.java b/presto-verifier/src/main/java/com/facebook/presto/verifier/framework/AbstractVerifyCommand.java
index <HASH>..<HASH> 100644
--- a/presto-verifier/src/main/java/com/facebook/presto/verifier/framework/AbstractVe... | Use PostConstruct annotation to start VerificationManager | prestodb_presto | train |
8b5fd3bd21e88507a89b19ffc0b4f1ea6971f8cd | diff --git a/skew/djskew/__init__.py b/skew/djskew/__init__.py
index <HASH>..<HASH> 100644
--- a/skew/djskew/__init__.py
+++ b/skew/djskew/__init__.py
@@ -81,12 +81,15 @@ if not config or 'QUEUE' not in config:
queue = config['QUEUE']
-db_name = settings.DATABASES['default']['NAME'].rsplit('/', 1)[-1]
+if 'default... | Do not require a database configured if using with django | coleifer_huey | train |
618065895b9ec3170eeb954bd12f8de58255e5c6 | diff --git a/miner/agent.go b/miner/agent.go
index <HASH>..<HASH> 100644
--- a/miner/agent.go
+++ b/miner/agent.go
@@ -23,6 +23,7 @@ import (
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/pow"
+ "sync/atomic"
)
type CpuAgent struct {
@@... | agent/miner Prevent the CpuAgent to be started multiple times | ethereum_go-ethereum | train |
b744c421d9d912ad6de5f7f6f0f5296d8af02c0f | diff --git a/astroplan/plots/time_dependent.py b/astroplan/plots/time_dependent.py
index <HASH>..<HASH> 100644
--- a/astroplan/plots/time_dependent.py
+++ b/astroplan/plots/time_dependent.py
@@ -6,6 +6,7 @@ import numpy as np
import astropy.units as u
from astropy.time import Time
from astropy.coordinates import get... | Test for `collections.Sequence` instead of list, better enumerate, remove sort | astropy_astroplan | train |
5cffc06bf05020ea5aaced53d41565e038bcf1b8 | diff --git a/lib/puppet/data_providers/hiera_interpolate.rb b/lib/puppet/data_providers/hiera_interpolate.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/data_providers/hiera_interpolate.rb
+++ b/lib/puppet/data_providers/hiera_interpolate.rb
@@ -100,10 +100,16 @@ module Puppet::DataProviders::HieraInterpolate
t... | (PUP-<I>) Prevent that subkeys can do lookups in string values
Before this commit, a subkey of a dotted key could be matched by a
string that contained a matching text. Hiera would require that the
value responded to :[] and that it was not an Array (arrays should use
numeric index). A string fulfills that requirement... | puppetlabs_puppet | train |
dfc59e45ba642c2b8cb1444e5e3a0571a1b7cf00 | diff --git a/pkg/models/fundingoffer/fundingoffer.go b/pkg/models/fundingoffer/fundingoffer.go
index <HASH>..<HASH> 100644
--- a/pkg/models/fundingoffer/fundingoffer.go
+++ b/pkg/models/fundingoffer/fundingoffer.go
@@ -133,6 +133,15 @@ func CancelFromRaw(raw []interface{}) (Cancel, error) {
return Cancel(*o), nil
}
... | ability to map raw data to fundingoffer New data type | bitfinexcom_bitfinex-api-go | train |
e82d4f0132ad5e1de47c66e54bd7d9635a50fd7b | diff --git a/auth.go b/auth.go
index <HASH>..<HASH> 100644
--- a/auth.go
+++ b/auth.go
@@ -81,7 +81,7 @@ func (a Authorizer) Login(rw http.ResponseWriter, req *http.Request, u string, p
}
} else {
a.addMessage(rw, req, "Invalid username or password.")
- return errors.New("User not found")
... | Cleaning up documentation to satisfy go-lint. | apexskier_httpauth | train |
3be11a22cdb1c15fbaa4c7b5bc965d5cff319d0c | diff --git a/web/src/main/java/org/springframework/security/web/server/savedrequest/WebSessionServerRequestCache.java b/web/src/main/java/org/springframework/security/web/server/savedrequest/WebSessionServerRequestCache.java
index <HASH>..<HASH> 100644
--- a/web/src/main/java/org/springframework/security/web/server/sav... | Save query parameters in WebSessionServerRequestCache
Previously, URL query parameters were lost when saving a request
in WebSessionServerRequestCache. Now it is properly saved and
restored. | spring-projects_spring-security | train |
6ad203f936feb5b32dd69c9f19a03188e64eb295 | diff --git a/src/test/java/hex/DeepLearningIrisTest.java b/src/test/java/hex/DeepLearningIrisTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/hex/DeepLearningIrisTest.java
+++ b/src/test/java/hex/DeepLearningIrisTest.java
@@ -43,7 +43,7 @@ public class DeepLearningIrisTest extends TestUtil {
@Test public ... | Improve seeding in Iris test. | h2oai_h2o-2 | train |
8d2d4f34851f1c991471f0639cf72a0b4be56e40 | diff --git a/lib/mongo/socket/ssl.rb b/lib/mongo/socket/ssl.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/socket/ssl.rb
+++ b/lib/mongo/socket/ssl.rb
@@ -137,7 +137,7 @@ module Mongo
#
# @since 2.0.0
def connect!
- Timeout.timeout(options[:connect_timeout], Error::SocketTimeoutError) do
+ ... | RUBY-<I> added error message to timeouts (#<I>)
* RUBY-<I> added error message to timeouts
* RUBY-<I> change timeout message to include number of seconds
* RUBY-<I> changed single quotes to double quotes | mongodb_mongo-ruby-driver | train |
d0fc475aa52175debb1c37b003c02e4d33d5cfef | diff --git a/safeplace/src/main/java/btrplace/solver/api/cstrSpec/ConstraintInputGenerator.java b/safeplace/src/main/java/btrplace/solver/api/cstrSpec/ConstraintInputGenerator.java
index <HASH>..<HASH> 100644
--- a/safeplace/src/main/java/btrplace/solver/api/cstrSpec/ConstraintInputGenerator.java
+++ b/safeplace/src/ma... | ConstraintInputGenerator support core constraint. This will bring more consistency | btrplace_scheduler | train |
d1293eb765a1214a6f662aef8b977642fb6802a8 | diff --git a/txn.go b/txn.go
index <HASH>..<HASH> 100644
--- a/txn.go
+++ b/txn.go
@@ -14,6 +14,11 @@ const (
id = "id"
)
+var (
+ // ErrNotFound is returned when the requested item is not found
+ ErrNotFound = fmt.Errorf("not found")
+)
+
// tableIndex is a tuple of (Table, Index) used for lookups
type tableInd... | use ErrNotFound for deleting missing item | hashicorp_go-memdb | train |
cffd68f7cff0fd07907e7e62b01b4612a75a6cd5 | diff --git a/tests/tendermint/test_event_stream.py b/tests/tendermint/test_event_stream.py
index <HASH>..<HASH> 100644
--- a/tests/tendermint/test_event_stream.py
+++ b/tests/tendermint/test_event_stream.py
@@ -78,4 +78,5 @@ async def test_subscribe_events(tendermint_ws_url):
msg_data_dict = json.loads(msg.data)
... | Problem: Event stream test incomplete (#<I>)
Solution: Complete the test by checking connection status returned in the 'result' field | bigchaindb_bigchaindb | train |
9aa6d43e1be6e251df29df2ba838c729de13a928 | diff --git a/invenio_marc21/version.py b/invenio_marc21/version.py
index <HASH>..<HASH> 100644
--- a/invenio_marc21/version.py
+++ b/invenio_marc21/version.py
@@ -14,4 +14,4 @@ and parsed by ``setup.py``.
from __future__ import absolute_import, print_function
-__version__ = "1.0.0a7"
+__version__ = '1.0.0a8' | release: <I>a8 | inveniosoftware_invenio-marc21 | train |
406b081679fb14c88ead9e2ba85f3d9f0fd098a1 | diff --git a/box-content-sdk/src/main/java/com/box/androidsdk/content/BoxApiFile.java b/box-content-sdk/src/main/java/com/box/androidsdk/content/BoxApiFile.java
index <HASH>..<HASH> 100644
--- a/box-content-sdk/src/main/java/com/box/androidsdk/content/BoxApiFile.java
+++ b/box-content-sdk/src/main/java/com/box/androids... | Add logic to copy more details when constructing a session from another session. | box_box-android-sdk | train |
13efb4e2373705143ec5f70478522cda5bb9dde3 | diff --git a/test/unit/Service/Base/Response_Test.php b/test/unit/Service/Base/Response_Test.php
index <HASH>..<HASH> 100644
--- a/test/unit/Service/Base/Response_Test.php
+++ b/test/unit/Service/Base/Response_Test.php
@@ -18,7 +18,7 @@ class Response_UnitTest extends \Praxigento\Core\Lib\Test\BaseMockeryCase
... | MOBI-<I> - Code review & tests in Odoo module (after REST API) | praxigento_mobi_mod_core | train |
70603e1078cfd6c4ac2f4c5976da68ccbd35932a | diff --git a/src/Eloquent/Equality/Comparator.php b/src/Eloquent/Equality/Comparator.php
index <HASH>..<HASH> 100644
--- a/src/Eloquent/Equality/Comparator.php
+++ b/src/Eloquent/Equality/Comparator.php
@@ -34,6 +34,17 @@ class Comparator
*
* @return boolean
*/
+ public function __invoke($left, $ri... | Added Comparator::__invoke, so that comparator can be used directly as a predicate with icecave/collections, etc | eloquent_equality | train |
685b31b56ef5c7aef16d6a14f53703b71539476b | diff --git a/fastprogress/fastprogress.py b/fastprogress/fastprogress.py
index <HASH>..<HASH> 100644
--- a/fastprogress/fastprogress.py
+++ b/fastprogress/fastprogress.py
@@ -198,9 +198,12 @@ class NBMasterBar(MasterBar):
if self.clean_on_interrupt: self.out.update(HTML(''))
def on_iter_end(self):
- ... | Enable simultaneous output of imgs and graph (#<I>)
* enable simultaneously using graph and images
* remove unnecessary comment
* fix duplicated display of graph at end | fastai_fastprogress | train |
65eb51750738f0b60475442c89e233dce5390e4c | diff --git a/amo2kinto/generator.py b/amo2kinto/generator.py
index <HASH>..<HASH> 100644
--- a/amo2kinto/generator.py
+++ b/amo2kinto/generator.py
@@ -35,8 +35,8 @@ def generate_index(records, template, target_dir):
filename = os.path.join(target_dir, 'index.html')
logger.info('Writing %s' % filename)
- ... | Prefer Python's built-in encoding logic when writing to disk | mozilla-services_amo2kinto | train |
8bc8ab6ee8e602ecb55846461f00d71c7023fa2f | diff --git a/lib/navigationlib.php b/lib/navigationlib.php
index <HASH>..<HASH> 100644
--- a/lib/navigationlib.php
+++ b/lib/navigationlib.php
@@ -2392,16 +2392,19 @@ class global_navigation extends navigation_node {
$participants = $coursenode->add(get_string('participants'), new moodle_url('/user/index.p... | MDL-<I> navigation: fixed blog URL within courses using groups | moodle_moodle | train |
dfe0ee3197cb1d56d90da659b6417d9ff2eea0bc | diff --git a/agent/agent.go b/agent/agent.go
index <HASH>..<HASH> 100644
--- a/agent/agent.go
+++ b/agent/agent.go
@@ -160,6 +160,7 @@ const SystemIdentity = "system-identity"
const (
LxcBridge = "LXC_BRIDGE"
+ LxdBridge = "LXD_BRIDGE"
ProviderType = "PROVIDER_TYPE"
Containe... | agent: add an lxd bridge configuration option and use it | juju_juju | train |
1491c973b82b6f54b7a86161aaf2b8053964f0d3 | diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -137,6 +137,10 @@ TYPE_QNAME = "%s.type" % BUILTINS
PY33 = sys.version_info >= (3, 3)
PY3K = sys.version_info >= (3, 0)
PY35 = sys.version_info >= (3, 5)
+ABC_META... | abstract-class-instantiated accounts for _py_abc.ABCMeta for Python <I> | PyCQA_pylint | train |
05134b5a13571502a0b29bb80936774872d866c9 | diff --git a/Player/Extension/BlackfireExtension.php b/Player/Extension/BlackfireExtension.php
index <HASH>..<HASH> 100644
--- a/Player/Extension/BlackfireExtension.php
+++ b/Player/Extension/BlackfireExtension.php
@@ -100,6 +100,13 @@ final class BlackfireExtension extends AbstractExtension
$config = $this->c... | BKF-<I> Add a random cookie to help crossing caches | blackfireio_player | train |
8274512608c89f21aa9fa64da1f7dd6867ba0135 | diff --git a/libkbfs/test_stallers.go b/libkbfs/test_stallers.go
index <HASH>..<HASH> 100644
--- a/libkbfs/test_stallers.go
+++ b/libkbfs/test_stallers.go
@@ -58,6 +58,12 @@ type NaïveStaller struct {
mu sync.RWMutex
blockOpsStalls map[StallableBlockOp]*naïveStallInfo
mdOpsStalls map[StallableMDOp]... | NaïveStaller: make sure only one Op per kind can be stalled at a time (#<I>) | keybase_client | train |
9990522f111898f72c342eee939275468e0b2a78 | diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php
index <HASH>..<HASH> 100644
--- a/plugins/API/ProcessedReport.php
+++ b/plugins/API/ProcessedReport.php
@@ -326,6 +326,7 @@ class ProcessedReport
Piwik::translate('VisitsSummary_VisitsSummary'),
Piwik::trans... | Added visits and fixed a bug so data looks tiny bit different | matomo-org_matomo | train |
df0e4e3ec136da54d9e39aaf3c5fe45286f7d4eb | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,7 +17,7 @@ import os
import mock
-MOCK_MODULES = ['coverage', 'cython', 'distorm3>=0', 'elasticsearch',
+MOCK_MODULES = ['coverage', 'cython', 'distorm3', 'elasticsearch',
'funcsigs', ... | trying to fix yet another issue with rekall, the distorm3 module needs --pre and the <I> version of pip doesn't know about tthat :) | SuperCowPowers_workbench | train |
cee72afbb46a060674ffee04e1c1d9cc94657a02 | diff --git a/apptentive/src/com/apptentive/android/sdk/module/messagecenter/view/MessageCenterActivityContent.java b/apptentive/src/com/apptentive/android/sdk/module/messagecenter/view/MessageCenterActivityContent.java
index <HASH>..<HASH> 100644
--- a/apptentive/src/com/apptentive/android/sdk/module/messagecenter/view... | AND-<I> Change email validation rule; fix Who Card not showing | apptentive_apptentive-android | train |
c05ca53800901e2b9390837e18024f165bb80d7a | diff --git a/lib/consumer/postgres/postgres.rb b/lib/consumer/postgres/postgres.rb
index <HASH>..<HASH> 100644
--- a/lib/consumer/postgres/postgres.rb
+++ b/lib/consumer/postgres/postgres.rb
@@ -6,18 +6,20 @@ module Consumer
end
end
- def configure(batch_size: nil, session: nil, position_store: nil, co... | Configure method accepts settings, not session | eventide-project_consumer-postgres | train |
3686bcba48c541f1b2d5b42ce205a92ce39d4014 | diff --git a/flat/style/flat.editor.js b/flat/style/flat.editor.js
index <HASH>..<HASH> 100644
--- a/flat/style/flat.editor.js
+++ b/flat/style/flat.editor.js
@@ -778,6 +778,7 @@ function editor_oninit() {
for (var i = 0; i < editfields;i++) {
if ($('#editfield' + i) && ($('#editfield' + i).val()... | Allow changes of correction class of latest when in correction editform (still a bit hacky) | proycon_flat | train |
f8c5ce5b19ae0912e59e664adbf93df0988bc162 | diff --git a/src/main/com/mongodb/DBTCPConnector.java b/src/main/com/mongodb/DBTCPConnector.java
index <HASH>..<HASH> 100644
--- a/src/main/com/mongodb/DBTCPConnector.java
+++ b/src/main/com/mongodb/DBTCPConnector.java
@@ -371,7 +371,7 @@ public class DBTCPConnector implements DBConnector {
// use master... | JAVA-<I>: Reserving connection after requestStart for reads now as well as writes | mongodb_mongo-java-driver | train |
67bf19130aaaac83787e68f399d49ae0d24307ae | diff --git a/lib/pinball_wizard/registry.rb b/lib/pinball_wizard/registry.rb
index <HASH>..<HASH> 100644
--- a/lib/pinball_wizard/registry.rb
+++ b/lib/pinball_wizard/registry.rb
@@ -22,8 +22,10 @@ module PinballWizard
@collection = {}
end
- def to_json
+ def to_h
Helpers::Hash.camelize_hash_... | [CW] [<I>] Rename Registry#to_json to #to_h | rentpath_pinball_wizard | train |
d9dc38da44c75d7175459144acd210e11c34d836 | diff --git a/lib/govuk_publishing_components/presenters/machine_readable/faq_page_schema.rb b/lib/govuk_publishing_components/presenters/machine_readable/faq_page_schema.rb
index <HASH>..<HASH> 100644
--- a/lib/govuk_publishing_components/presenters/machine_readable/faq_page_schema.rb
+++ b/lib/govuk_publishing_compone... | Undo recursive FAQPage presenter
I'm intending to do this more simply and specifically for HTML publications
within government-frontend. This code is quite hard to debug without context,
and it's not working quite right at the moment.
Note that this is not a breaking change - it still resolves a valid schema
on HTML ... | alphagov_govuk_publishing_components | train |
7530a01446b6f1057ca92012462a38fcbbb0022e | diff --git a/bcbio/rnaseq/gtf.py b/bcbio/rnaseq/gtf.py
index <HASH>..<HASH> 100644
--- a/bcbio/rnaseq/gtf.py
+++ b/bcbio/rnaseq/gtf.py
@@ -105,6 +105,7 @@ def gtf_to_fasta(gtf_file, ref_fasta, cds=False, out_file=None):
to output only the CDS
handles malformed FASTA files where a single transcript is repeated... | Strip transcript versions going from GTF -> fasta.
We strip the versions from the GTF file later on in the process, so we
should strip them, if they exist, when we make the FASTA file. | bcbio_bcbio-nextgen | train |
e7b99a83b27c4a0a0962807782f1aa24f8f144da | diff --git a/phydmslib/treelikelihood.py b/phydmslib/treelikelihood.py
index <HASH>..<HASH> 100644
--- a/phydmslib/treelikelihood.py
+++ b/phydmslib/treelikelihood.py
@@ -281,7 +281,10 @@ class TreeLikelihood(object):
assert len(self.paramsarray) > 0, "There are no parameters to optimize"
result = sci... | Fixed bug in branch scaling for YNGKP_M0
Previously, the `phydms` script did not add
the branch scaling parameter `mu` for `YNGKP_M0`. | jbloomlab_phydms | train |
57089ce6cbfc0a58f41af6ddcfb490fae030c7da | diff --git a/src/Core/ClientTrait.php b/src/Core/ClientTrait.php
index <HASH>..<HASH> 100644
--- a/src/Core/ClientTrait.php
+++ b/src/Core/ClientTrait.php
@@ -159,8 +159,11 @@ trait ClientTrait
* 1. If $config['projectId'] is set, use that.
* 2. If $config['keyFile'] is set, attempt to retrieve a project ID... | Add support for env var in Project ID detection (#<I>) | googleapis_google-cloud-php | train |
9eb6bb81bfbacdb1f996ef8b76c9dfc8a4304d62 | diff --git a/test/crafity.mailer.test.js b/test/crafity.mailer.test.js
index <HASH>..<HASH> 100644
--- a/test/crafity.mailer.test.js
+++ b/test/crafity.mailer.test.js
@@ -11,7 +11,7 @@
var jstest = require('crafity-jstest')
, assert = jstest.assert
, context = jstest.createContext()
- , fs = require('crafity-files... | Changed dependency crafity-filesystem to regular fs | Crafity_crafity-mailer | train |
04ff8e6fa1d8e0c27c344743147c69500b4dff66 | diff --git a/lib/yaml/resolver.py b/lib/yaml/resolver.py
index <HASH>..<HASH> 100644
--- a/lib/yaml/resolver.py
+++ b/lib/yaml/resolver.py
@@ -32,6 +32,18 @@ class BaseResolver(object):
add_implicit_resolver = classmethod(add_implicit_resolver)
def add_path_resolver(cls, tag, path, kind=None):
+ # No... | Fix the bug when the `path` in `add_path_resolver` contains boolean values. Fix #<I> (thanks to jstroud(at)mbi.ucla.edu for reporting and pointing to the cause). | yaml_pyyaml | train |
dfad27555510f5dd4136152c56c876bc78174bcc | diff --git a/mdProcessor.js b/mdProcessor.js
index <HASH>..<HASH> 100644
--- a/mdProcessor.js
+++ b/mdProcessor.js
@@ -29,7 +29,7 @@ var SWITCH_TOC = "-disableTOC";
var SWITCH_HEADERFILE = "--headerFile";
var SWITCH_FOOTERFILE = "--footerFile";
var SWITCH_CONREFFILE = "--conrefFile";
-var COPY_EXTENSIONS = [EXTENSIO... | add more COPY_EXTENSIONS | IBM_marked-it | train |
989d7b35788c3d4a1f70e9d5f77b167ce2d88c42 | diff --git a/lib/ShopifySDK.php b/lib/ShopifySDK.php
index <HASH>..<HASH> 100644
--- a/lib/ShopifySDK.php
+++ b/lib/ShopifySDK.php
@@ -68,6 +68,7 @@ use PHPShopify\Exception\SdkException;
/**
* @property-read AbandonedCheckout $AbandonedCheckout
+ * @property-read ApplicationCharge $ApplicationCharge
* @property... | Update ShopifySDK.php
Add missing @property-read and @method helpers. | phpclassic_php-shopify | train |
baa991a6fffcacb7699b3455f15d4942a339b1c7 | diff --git a/Controller/CorrectionController.php b/Controller/CorrectionController.php
index <HASH>..<HASH> 100644
--- a/Controller/CorrectionController.php
+++ b/Controller/CorrectionController.php
@@ -660,7 +660,6 @@ class CorrectionController extends DropzoneBaseController
'totalChoice' => $dropzone... | [CollecticielBundle] bug correction - admin - correction edition route
there was a bug when admin was trying to edit a correction | claroline_Distribution | train |
5c4428a9a8bc5d58428d954e7699e6bd43c0081d | diff --git a/Buzz/DebugClient.php b/Buzz/DebugClient.php
index <HASH>..<HASH> 100644
--- a/Buzz/DebugClient.php
+++ b/Buzz/DebugClient.php
@@ -18,20 +18,17 @@ class DebugClient implements Client\ClientInterface
public function send(Message\Request $request, Message\Response $response)
{
- $logRequest... | removes clones for request & response | juliendidier_BuzzProfilerBundle | train |
5c49dfdae2334a26f40016c2839ea7fe67ebf94a | diff --git a/src/main/java/de/javakaffee/web/msm/serializer/javolution/JavolutionTranscoder.java b/src/main/java/de/javakaffee/web/msm/serializer/javolution/JavolutionTranscoder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/javakaffee/web/msm/serializer/javolution/JavolutionTranscoder.java
+++ b/src/main/java... | The XMLObjectReader seems to need the actual class object that is to be deserialized - otherwise a ClassCastException is thrown | magro_memcached-session-manager | train |
8e2979a8455f45119b8d7f434805999b69d0cc06 | diff --git a/lib/Packager/lib/factor-source-stream/factor-source-stream.js b/lib/Packager/lib/factor-source-stream/factor-source-stream.js
index <HASH>..<HASH> 100644
--- a/lib/Packager/lib/factor-source-stream/factor-source-stream.js
+++ b/lib/Packager/lib/factor-source-stream/factor-source-stream.js
@@ -212,7 +212,7 ... | re-reverse array in-place to ordering in bundles isn't backward | enyojs_enyo-dev | train |
00c562b220e5c879754a848b1985b6ef63c0d32f | diff --git a/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js b/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
+++ b/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
@@ -78,6 +78,7 @@ function loadAdminPage(... | Resolved issue VMC-<I> : VMC Admin tab to show DR Overflow directory | VoltDB_voltdb | train |
b4ed2e85fa868027fbf4205b2fdfa812b1471582 | diff --git a/archunit-junit/src/main/java/com/tngtech/archunit/junit/ArchUnitRunner.java b/archunit-junit/src/main/java/com/tngtech/archunit/junit/ArchUnitRunner.java
index <HASH>..<HASH> 100644
--- a/archunit-junit/src/main/java/com/tngtech/archunit/junit/ArchUnitRunner.java
+++ b/archunit-junit/src/main/java/com/tngt... | Updated ArchUnitRunner Javadoc | TNG_ArchUnit | train |
0eaec902d32533f059bcf96d8c9c72318eddc214 | diff --git a/vcs_repo_mgr/__init__.py b/vcs_repo_mgr/__init__.py
index <HASH>..<HASH> 100644
--- a/vcs_repo_mgr/__init__.py
+++ b/vcs_repo_mgr/__init__.py
@@ -104,7 +104,7 @@ from vcs_repo_mgr.exceptions import (
)
# Semi-standard module versioning.
-__version__ = '0.26.1'
+__version__ = '0.27'
USER_CONFIG_FILE ... | Expose the name of the currently checked out branch | xolox_python-vcs-repo-mgr | train |
9d838fe4eb523265a98ec72aea9df0d13b530f93 | diff --git a/blinkpy/blinkpy.py b/blinkpy/blinkpy.py
index <HASH>..<HASH> 100644
--- a/blinkpy/blinkpy.py
+++ b/blinkpy/blinkpy.py
@@ -19,7 +19,8 @@ import logging
import blinkpy.helpers.errors as ERROR
from blinkpy.sync_module import BlinkSyncModule
from blinkpy.helpers.util import (
- http_req, BlinkURLHandler,... | Added session for requests
- fixed refresh issue throttling summary and events | fronzbot_blinkpy | train |
2a228b604b5a46510c7ff803132869367a09a911 | diff --git a/iserve-importer-wsc/src/main/java/es/usc/citius/composit/importer/wsc/wscxml/WSCImporter.java b/iserve-importer-wsc/src/main/java/es/usc/citius/composit/importer/wsc/wscxml/WSCImporter.java
index <HASH>..<HASH> 100644
--- a/iserve-importer-wsc/src/main/java/es/usc/citius/composit/importer/wsc/wscxml/WSCImp... | WSCImporter fixed. Test passes and services are imported to iServe | kmi_iserve | train |
dc026b4812e88699e46a06712e9f6b379a9345d4 | diff --git a/lib/y2r/parser.rb b/lib/y2r/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/y2r/parser.rb
+++ b/lib/y2r/parser.rb
@@ -300,13 +300,13 @@ module Y2R
when "if"
AST::YCP::If.new(
:cond => element_to_node(element.elements[0], context),
- :then => if element.elements[1... | Fix compilation of |if| statements with no then
An <if> element inside ycpc-produced XML corresponding to an |if|
statement with an empty block in the "then" part won't contain a <then>
subelement. Because our code relied on its presence, it compiled such
statements incorrectly (it trasnlated an "else" part of such |i... | yast_y2r | train |
441118458d57011ee1b1f1dcfea558de462c6da9 | diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -870,6 +870,16 @@ module ActiveRecord #:nodoc:
reset_scoped_methods
end
+ # Specifi... | Use encode_with for marshalling | rails_rails | train |
3a707e21109abfbecd499c445345707d2eb944cd | diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1034,6 +1034,9 @@ module ActiveRecord
# Specifies a one-to-many as... | [ci skip] Move association class method notes
Make explanation of association class methods clearer by moving notes to beginning of each example section. | rails_rails | train |
e7a967804b3682eeec37432b49490919ec0e53c4 | diff --git a/DatabaseServiceProvider.php b/DatabaseServiceProvider.php
index <HASH>..<HASH> 100755
--- a/DatabaseServiceProvider.php
+++ b/DatabaseServiceProvider.php
@@ -74,8 +74,8 @@ class DatabaseServiceProvider extends ServiceProvider
*/
protected function registerEloquentFactory()
{
- $this-... | [<I>] Allow configuration of Faker locale through config (#<I>)
* Allow configuration of Faker locale through config
* Add en_US as default fallback locale | illuminate_database | train |
bb92c92e46487c6c0ff607331232caa28c5f6b71 | diff --git a/webapps/cockpit/cockpit-webapp/src/main/webapp/assets/vendor/camunda-common/directives/help.js b/webapps/cockpit/cockpit-webapp/src/main/webapp/assets/vendor/camunda-common/directives/help.js
index <HASH>..<HASH> 100644
--- a/webapps/cockpit/cockpit-webapp/src/main/webapp/assets/vendor/camunda-common/direc... | fix(webapps/help): remove flickering caused by help directive | camunda_camunda-bpm-platform | train |
78b8bb748d12f2de4e6f5934a43e80a71ba9faea | diff --git a/plugin/badge/Listener/BadgeListener.php b/plugin/badge/Listener/BadgeListener.php
index <HASH>..<HASH> 100644
--- a/plugin/badge/Listener/BadgeListener.php
+++ b/plugin/badge/Listener/BadgeListener.php
@@ -86,7 +86,7 @@ class BadgeListener
}
/**
- * @DI\Observe("claroline.log.create")
+ ... | Deactivates badge listener on every logs (#<I>) | claroline_Distribution | train |
8d38a3e5568684cbec7e6ef40670a60bba9d2901 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestTextAbstract.java b/core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestTextAbstract.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestTextAbs... | Small changes to clean code in different spots | orientechnologies_orientdb | train |
ddaa1458e8c1fa782442f9f4e187be479023b7e5 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -8,11 +8,12 @@ import (
"net/http"
"net/url"
+ "time"
+
"github.com/pkg/errors"
"golang.org/x/net/context"
"golang.org/x/oauth2"
"golang.org/x/oauth2/clientcredentials"
- "time"
)
//Client used to communi... | Store endpoint in refreshEndpoint(). (#<I>) | cloudfoundry-community_go-cfclient | train |
b0ee9d13ee57811098c5b18ecdfb02df27d3e3d4 | diff --git a/zhihu/common.py b/zhihu/common.py
index <HASH>..<HASH> 100644
--- a/zhihu/common.py
+++ b/zhihu/common.py
@@ -9,6 +9,7 @@ import os
from requests import Session
from bs4 import BeautifulSoup as _Bs
+from bs4 import Tag, NavigableString
try:
__import__('lxml')
@@ -134,6 +135,7 @@ def parser_auth... | Fix answer content removed from original soup after processed | 7sDream_zhihu-py3 | train |
3eac64b6419a09bd2b4d01779075392949f37d86 | diff --git a/src/Leevel/Http/Request.php b/src/Leevel/Http/Request.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Http/Request.php
+++ b/src/Leevel/Http/Request.php
@@ -91,6 +91,28 @@ class Request extends BaseRequest implements IArray, ArrayAccess
}
/**
+ * 从 Symfony 请求创建 Leevel 请求.
+ *
+ * @... | fix(any): fix rr:server | hunzhiwange_framework | train |
61e4d7d8ee99a9a9a6500b5766a1130875fb8088 | diff --git a/src/spotify_local/utils.py b/src/spotify_local/utils.py
index <HASH>..<HASH> 100644
--- a/src/spotify_local/utils.py
+++ b/src/spotify_local/utils.py
@@ -1,6 +1,8 @@
+import os
import sys
import psutil
+import delegator
from random import choices
from string import ascii_lowercase
@@ -40,10 +42,44 ... | add functions to check if spotify is open as well as opening it if needed | erinxocon_spotify-local | train |
01adf7f0f2dbedc5ba2980737a7479babd10fe75 | diff --git a/lib/mongo/bulk/bulk_write.rb b/lib/mongo/bulk/bulk_write.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/bulk/bulk_write.rb
+++ b/lib/mongo/bulk/bulk_write.rb
@@ -153,6 +153,28 @@ module Mongo
super("Invalid document provided.")
end
end
+
+ # Exception raised if there are wri... | RUBY-<I> Raise BulkWriteError if there are write errors | mongodb_mongo-ruby-driver | train |
57d69c7edd4d330929f91e6573f1ec9c81caadb7 | diff --git a/matchtree.go b/matchtree.go
index <HASH>..<HASH> 100644
--- a/matchtree.go
+++ b/matchtree.go
@@ -82,10 +82,20 @@ type matchTree interface {
matches(cp *contentProvider, cost int, known map[matchTree]bool) (match bool, sure bool)
}
+// docMatchTree iterates over documents for which predicate(docID) re... | docMatchTree: compute document ids lazily
Instead of precomputing all document ids for a docMatchTree, we compute
them lazily based on a predicate.
Change-Id: I3acf<I>f6bb<I>fc1d<I>f2cde2bdc<I>c3dd<I>b3 | google_zoekt | train |
8844d130ddf5c35178ab7f72553ebbf6c156deae | diff --git a/test/test262/errors.js b/test/test262/errors.js
index <HASH>..<HASH> 100644
--- a/test/test262/errors.js
+++ b/test/test262/errors.js
@@ -1,12 +1,12 @@
import fs from 'fs';
-import { parseModule } from '../../';
-import { parseScript } from '../../';
+import { parseScriptWithLocation, parseModuleWithLocat... | Add location sanity check to test<I>-parser-tests | shapesecurity_shift-parser-js | train |
2eb1c208faae234c32e2a01a78c04e74f05c292f | diff --git a/lib/pay/stripe/subscription.rb b/lib/pay/stripe/subscription.rb
index <HASH>..<HASH> 100644
--- a/lib/pay/stripe/subscription.rb
+++ b/lib/pay/stripe/subscription.rb
@@ -76,7 +76,9 @@ module Pay
end
def subscription(**options)
- ::Stripe::Subscription.retrieve(options.merge(id: proce... | Expand invoice and setup intents for Stripe Subscriptions | jasoncharnes_pay | train |
09eb54798b4325a7a5840a17b5cc0a6ad6068b2c | diff --git a/tests/unit/config_test.py b/tests/unit/config_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/config_test.py
+++ b/tests/unit/config_test.py
@@ -36,7 +36,7 @@ from salt.version import SaltStackVersion
log = logging.getLogger(__name__)
# mock hostname should be more complex than the systems FQDN
-M... | The MOCK_HOSTNAME is not sufficiently long to guarantee that it is
longer than the hostname on the current host. Make it crazy long. | saltstack_salt | train |
8bc0e459296b500db39b598f3a014a91a30f4805 | diff --git a/bin/webpack-dev-server.js b/bin/webpack-dev-server.js
index <HASH>..<HASH> 100755
--- a/bin/webpack-dev-server.js
+++ b/bin/webpack-dev-server.js
@@ -24,8 +24,15 @@ if (importLocal(__filename)) {
const Server = require('../lib/Server');
const webpack = require('webpack'); // eslint-disable-line
-// web... | Don't rely on webpack's webpack-cli installed check
This doesn't work because it requires webpack-cli if it is installed, thus webpack-cli will startup which we do not want. | webpack_webpack-dev-server | train |
e0f7f3e23e5318e369d451f0ad5d36df6981108e | diff --git a/src/Vies/CheckVatResponse.php b/src/Vies/CheckVatResponse.php
index <HASH>..<HASH> 100644
--- a/src/Vies/CheckVatResponse.php
+++ b/src/Vies/CheckVatResponse.php
@@ -23,7 +23,7 @@ namespace DragonBe\Vies;
*/
class CheckVatResponse
{
- const VIES_DATETIME_FORMAT = 'Y-m-d+H:i';
+ const VIES_DATETIM... | fix VIES_DATETIME_FORMAT to proper xsd:date Y-m-dP where P is (Difference to Greenwich time) | DragonBe_vies | train |
6722f7b9c9b3e3a15cdd9e40b1d24bb7391ac22e | diff --git a/lxd/device/disk.go b/lxd/device/disk.go
index <HASH>..<HASH> 100644
--- a/lxd/device/disk.go
+++ b/lxd/device/disk.go
@@ -654,6 +654,9 @@ func (d *disk) startVM() (*deviceConfig.RunConfig, error) {
Revert: revert.New(),
}
+ revert := revert.New()
+ defer revert.Fail()
+
if shared.IsRootDiskDevice(... | lxd/device/disk: Pass cloud-init:config drive to QEMU using file descriptor
Aligns with how other disk device types are passed to QEMU. | lxc_lxd | train |
80582826565d0dfc0613d1cfcd813d35007e9de8 | diff --git a/stat/src/main/java/com/google/sitebricks/stat/StatCollector.java b/stat/src/main/java/com/google/sitebricks/stat/StatCollector.java
index <HASH>..<HASH> 100644
--- a/stat/src/main/java/com/google/sitebricks/stat/StatCollector.java
+++ b/stat/src/main/java/com/google/sitebricks/stat/StatCollector.java
@@ -3... | Adding hierarchy climbing for registered classes. | dhanji_sitebricks | train |
52326273cb5d9fccb3adbda0959aa6184c517d92 | diff --git a/ccxt.js b/ccxt.js
index <HASH>..<HASH> 100644
--- a/ccxt.js
+++ b/ccxt.js
@@ -8199,12 +8199,13 @@ var cryptopia = {
let secret = this.base64ToBinary (this.secret);
let uri = this.encodeURIComponent (url);
let lowercase = uri.toLowerCase ();
- let auth = thi... | fixed private api for cryptopia in python3 #<I>, #<I> | ccxt_ccxt | train |
2db51e9d612499e6728226281639df795750e89a | diff --git a/server-main.go b/server-main.go
index <HASH>..<HASH> 100644
--- a/server-main.go
+++ b/server-main.go
@@ -158,14 +158,9 @@ func initServerConfig(c *cli.Context) {
err := createCertsPath()
fatalIf(err, "Unable to create \"certs\" directory.")
- // Save new config.
- err = serverConfig.Save()
- fatalIf... | server/config: config should be updated only when we edit the credentials. (#<I>) | minio_minio | train |
c96a906b398cfda4571246637ad5836686bd5faf | diff --git a/src/crypto/index.js b/src/crypto/index.js
index <HASH>..<HASH> 100644
--- a/src/crypto/index.js
+++ b/src/crypto/index.js
@@ -2970,9 +2970,8 @@ Crypto.prototype._processReceivedRoomKeyRequest = async function(req) {
decryptor.shareKeysWithDevice(req);
};
- // if the device is is verified... | Check both cross-signing and local trust for key sharing
When sharing room keys with our own devices, this ensure we check both
cross-signing and local trust.
Fixes <URL> | matrix-org_matrix-js-sdk | train |
e1b44de79dab7307019609d7fa336bdec55d48bf | diff --git a/spoon-runner/src/main/java/com/squareup/spoon/XmlTestRunListener.java b/spoon-runner/src/main/java/com/squareup/spoon/XmlTestRunListener.java
index <HASH>..<HASH> 100644
--- a/spoon-runner/src/main/java/com/squareup/spoon/XmlTestRunListener.java
+++ b/spoon-runner/src/main/java/com/squareup/spoon/XmlTestRu... | Fixed junit reports (#<I>) | square_spoon | train |
57864d8a9044b6478c1b0ec1d545bb3c4fc3f699 | diff --git a/src/main/java/net/spy/memcached/MemcachedClient.java b/src/main/java/net/spy/memcached/MemcachedClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/spy/memcached/MemcachedClient.java
+++ b/src/main/java/net/spy/memcached/MemcachedClient.java
@@ -100,7 +100,7 @@ public final class MemcachedClien... | Adding getters and setters again! | dustin_java-memcached-client | train |
364d3ffc4a73556a21f0181fbc823f4c444b81e3 | diff --git a/builtin/providers/test/resource_nested.go b/builtin/providers/test/resource_nested.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/test/resource_nested.go
+++ b/builtin/providers/test/resource_nested.go
@@ -39,6 +39,20 @@ func testResourceNested() *schema.Resource {
Optional: true,
F... | provider/test: Test for nested dynamic blocks
This is a HCL feature rather than a Terraform feature really, but we want
to make sure it keeps working consistently in future versions of Terraform
so this is a Terraform-flavored test for the block expansion behavior.
In particular, it tests that a nested dynamic block ... | hashicorp_terraform | train |
46200e943ffa28a2952431a96f790ac656af2361 | diff --git a/test/integration-orientdb/tests/manyThrough.add.js b/test/integration-orientdb/tests/manyThrough.add.js
index <HASH>..<HASH> 100644
--- a/test/integration-orientdb/tests/manyThrough.add.js
+++ b/test/integration-orientdb/tests/manyThrough.add.js
@@ -3,7 +3,7 @@ var assert = require('assert'),
describe('... | Added many-to-many through association create nested test | appscot_sails-orientdb | train |
eb1dc97cea514b02c21c696793e647878f960247 | diff --git a/nianalysis/archive/xnat.py b/nianalysis/archive/xnat.py
index <HASH>..<HASH> 100644
--- a/nianalysis/archive/xnat.py
+++ b/nianalysis/archive/xnat.py
@@ -250,7 +250,8 @@ class XNATSource(ArchiveSource, XNATMixin):
fnames = os.listdir(data_path)
match_fnames = [
f ... | ensured that extensions are lower case (and are transformed to that in
xnat archive check) | MonashBI_arcana | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.