hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
796cdf7b2c65cf5ec1b6c21aec235aa9a516bfbb | diff --git a/upload/catalog/model/affiliate/affiliate.php b/upload/catalog/model/affiliate/affiliate.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/model/affiliate/affiliate.php
+++ b/upload/catalog/model/affiliate/affiliate.php
@@ -10,7 +10,6 @@ class ModelAffiliateAffiliate extends Model {
$subject = sprintf... | Wrong/double approval text in affiliate mail close #<I> | opencart_opencart | train | php |
e3846cd7dac0da9d4bc85969aa5a509d0824ff17 | diff --git a/tests/Unit/AuditableTest.php b/tests/Unit/AuditableTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/AuditableTest.php
+++ b/tests/Unit/AuditableTest.php
@@ -978,9 +978,16 @@ class AuditableTest extends AuditingTestCase
{
$model = factory(Article::class)->create();
+ // Key depen... | Don't cast id to string in every case, check the key type of the eloquent model | owen-it_laravel-auditing | train | php |
09bb8fea48d184073746e1c5bbd41be9a02fd441 | diff --git a/lib/service/util.js b/lib/service/util.js
index <HASH>..<HASH> 100644
--- a/lib/service/util.js
+++ b/lib/service/util.js
@@ -6,7 +6,6 @@ var wsParser = require('ws-parser');
var CRLF = Buffer.from('\r\n');
var TYPE_RE = /(request|response)-length:/i;
-var noop = function() {};
var frameIndex = 100000... | feat: extract websocket frames from saz file | avwo_whistle | train | js |
6dbd54888d29b2746f31e5d0ce076b6002fa7e96 | diff --git a/tests/test_process.py b/tests/test_process.py
index <HASH>..<HASH> 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -345,7 +345,8 @@ def test_diet_complains_if_passed_filename_is_not_file():
def test_diet_creates_a_backup_file_if_backup_is_enabled(config_copy):
- filename = join(TE... | Speed up tests
Avoid running external compression tools because they are slow except on
one tests to make sure it works. | samastur_pyimagediet | train | py |
c875432f6585e4ab246320c4fd9f307f0ad7cdc3 | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -569,6 +569,16 @@ class BasicTest(object):
result = self.repo.ls(self.main_branch, '/a', directory=True)
correct = [{'type':'f'}]
self.assertEqual(normalize_ls(result), normalize_ls(correct))
+
+ def test_ls1... | add two `ls` test cases which show a fault in HgRepo
HgRepo.ls appears to have trouble with the `directory` flag. In at least the
case where the desired directory is one dir deep, it lists the contents of
the directory rather than returning [{'type': 'd'}]
GitRepo and SvnRepo pass this test case. | ScottDuckworth_python-anyvcs | train | py |
3d6d873f1abe7233b37cb3b6fa0f788b77249cb9 | diff --git a/treeherder/etl/job_loader.py b/treeherder/etl/job_loader.py
index <HASH>..<HASH> 100644
--- a/treeherder/etl/job_loader.py
+++ b/treeherder/etl/job_loader.py
@@ -66,6 +66,10 @@ class JobLoader:
newrelic.agent.add_custom_parameter("project", project)
repository = Reposito... | Do not process tasks that are associated to an 'onhold' repository
This will prevent raising MissingPushException which causes celery tasks to be retried | mozilla_treeherder | train | py |
d29ba4fe7ef8be0a88c17a675f18e04bef75acf8 | diff --git a/basher.go b/basher.go
index <HASH>..<HASH> 100644
--- a/basher.go
+++ b/basher.go
@@ -85,7 +85,9 @@ func ApplicationWithPath(
}
for _, script := range scripts {
- bash.Source(script, loader)
+ if err := bash.Source(script, loader); err != nil {
+ log.Fatal(err)
+ }
}
if copyEnv {
bash.Cop... | fix: error when unable to source script | progrium_go-basher | train | go |
f2d16cfcafe0f1617092c9c50300b4f6e01a736d | diff --git a/luigi/parameter.py b/luigi/parameter.py
index <HASH>..<HASH> 100644
--- a/luigi/parameter.py
+++ b/luigi/parameter.py
@@ -299,9 +299,6 @@ class Parameter(object):
else:
return self.parse(x)
- def serialize_to_input(self, x):
- return self.serialize(x)
-
def parser_des... | parameter.py: Remove Parameter.serialize_to_input
I couldn't find any place it was referenced from. Not even from anywhere
in Spotify's internal code base. | spotify_luigi | train | py |
80cf31dd48d872200e22199d04862fd95a5c6ca1 | diff --git a/openprocurement_client/tests/tests.py b/openprocurement_client/tests/tests.py
index <HASH>..<HASH> 100644
--- a/openprocurement_client/tests/tests.py
+++ b/openprocurement_client/tests/tests.py
@@ -379,6 +379,7 @@ class UserTestCase(unittest.TestCase):
setup_routing(self.app, routs=['tender_patch_... | check 'data' key in response | openprocurement_openprocurement.client.python | train | py |
05b2f6edff66dbc2f1eca275480ae5581e6bdc5d | diff --git a/lib/search_engine.py b/lib/search_engine.py
index <HASH>..<HASH> 100644
--- a/lib/search_engine.py
+++ b/lib/search_engine.py
@@ -1822,8 +1822,6 @@ def get_nearest_terms_in_bibxxx(p, f, n_below, n_above):
## determine browse field:
if not f and string.find(p, ":") > 0: # does 'p' contain ':'?
... | Do not remove quotes from the search pattern when getting nearest
terms and the number of hits in phrase indexes, fixing browsing
problems for author names such as O'Shea. | inveniosoftware_invenio-records | train | py |
36ee3d34545274338551199324141c9408919526 | diff --git a/lib/format_data.js b/lib/format_data.js
index <HASH>..<HASH> 100644
--- a/lib/format_data.js
+++ b/lib/format_data.js
@@ -73,8 +73,8 @@ HipChatFormatter.prototype.formatData = function(data) {
HipChatFormatter.prototype.formatRecepient = function(recepient) {
var robot_name = env.HUBOT_HIPCHAT_JID.sp... | Use a different domain for HipChat Server | StackStorm_hubot-stackstorm | train | js |
d8c0b16d7ec5cffe17ad14e2197ce5aa91268e2c | diff --git a/lib/timeline-window.js b/lib/timeline-window.js
index <HASH>..<HASH> 100644
--- a/lib/timeline-window.js
+++ b/lib/timeline-window.js
@@ -234,7 +234,7 @@ TimelineWindow.prototype.paginate = function(direction, size, makeRequest,
// remove some events from the other end, if necessary
var e... | Make timeline-window _unpaginate public and remove _ | matrix-org_matrix-js-sdk | train | js |
2961f7063a8a2427ba16224301e6be143d6f3fa1 | diff --git a/lib/device_curator.js b/lib/device_curator.js
index <HASH>..<HASH> 100644
--- a/lib/device_curator.js
+++ b/lib/device_curator.js
@@ -870,6 +870,15 @@ function device(useMockDevice) {
.then(defered.resolve, defered.reject);
return defered.promise;
};
+
+ this.deviceTemporarilyClosed = false;
+ thi... | Started adding functionality to allow users to temporarily disconnect and
then re-connect to a device. This will enable users to more easily
disconnect from their device in Kipling to switch to a new program and
then come back to the device in Kipling. | chrisJohn404_ljswitchboard-ljm_device_curator | train | js |
d2e750cc744a81398f56d1efd8840e38dac21a15 | diff --git a/test/test_site.rb b/test/test_site.rb
index <HASH>..<HASH> 100644
--- a/test/test_site.rb
+++ b/test/test_site.rb
@@ -240,7 +240,6 @@ class TestSite < Test::Unit::TestCase
assert File.exist?(dest_dir('.svn'))
assert File.exist?(dest_dir('.svn/HEAD'))
end
-
end
conte... | removed extraneous whitespace in test_site.rb | jekyll_jekyll | train | rb |
ac5b01ba6e0575b507ab7d17c8c2f51d41824422 | diff --git a/src/Foundation/Fetcher.php b/src/Foundation/Fetcher.php
index <HASH>..<HASH> 100644
--- a/src/Foundation/Fetcher.php
+++ b/src/Foundation/Fetcher.php
@@ -3,6 +3,7 @@
namespace Vinala\Kernel\Foundation;
use Vinala\Kernel\Router\Routes;
+use Vinala\Kernel\Events\Event;
/**
* this class help the frame... | fetch user events from app/events | vinala_kernel | train | php |
b566b0ee13fb4ee6470c5763b5dcd5fabd046821 | diff --git a/test/unit/plugins/providers/docker/driver_test.rb b/test/unit/plugins/providers/docker/driver_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/plugins/providers/docker/driver_test.rb
+++ b/test/unit/plugins/providers/docker/driver_test.rb
@@ -389,7 +389,7 @@ describe VagrantPlugins::DockerProvider::Driv... | rmi docker provider tests: May also be in use by a stopped container | hashicorp_vagrant | train | rb |
d5c7f81837456b90a66a03f62ace46f395553f34 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -14,14 +14,14 @@ from setuptools import setup, find_packages
tests_require = [
'blinker>=1.1',
'celery',
- 'Django>=1.2,<1.5',
+ 'Django>=1.2,<1.4',
'django-celery',
'django-nose',
'Flask>=0.8',... | setup.py require Django < <I> and sentry >= <I> | elastic_apm-agent-python | train | py |
fb6a313924a238abfa99d481ecdf2c4a13caee77 | diff --git a/Log/file.php b/Log/file.php
index <HASH>..<HASH> 100644
--- a/Log/file.php
+++ b/Log/file.php
@@ -1,6 +1,6 @@
<?php
// +-----------------------------------------------------------------------+
-// | Copyright (c) 2002 Richard Heyes |
+// | Copyright (c) 2002-2003 Ric... | * Update copyright year to <I>. | pear_Log | train | php |
c8b50e62c214ada0074d356f2130fa95d0dbd85f | diff --git a/lib/nodefs-handler.js b/lib/nodefs-handler.js
index <HASH>..<HASH> 100644
--- a/lib/nodefs-handler.js
+++ b/lib/nodefs-handler.js
@@ -398,8 +398,8 @@ _handleDir(dir, stats, initialAdd, depth, target, wh, callback) {
directory = sysPath.join(directory, '');
if (!wh.hasGlob) {
- throttler = ... | Fuck readdir throttling. | paulmillr_chokidar | train | js |
23642a6ae4a1641e7a888acec5ae6b228cd87282 | diff --git a/azurerm/resource_arm_mssql_elasticpool.go b/azurerm/resource_arm_mssql_elasticpool.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_mssql_elasticpool.go
+++ b/azurerm/resource_arm_mssql_elasticpool.go
@@ -60,7 +60,7 @@ func resourceArmMsSqlElasticPool() *schema.Resource {
"BC_Gen4",
... | Update azurerm/resource_arm_mssql_elasticpool.go | terraform-providers_terraform-provider-azurerm | train | go |
3b6bb4664f102e4c852fe830e4de45a8d0587f41 | diff --git a/activesupport/test/memoizable_test.rb b/activesupport/test/memoizable_test.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/memoizable_test.rb
+++ b/activesupport/test/memoizable_test.rb
@@ -124,16 +124,6 @@ class MemoizableTest < ActiveSupport::TestCase
assert_equal 1, @person.age_calls
end... | Forget about old memoize immutable behavior | rails_rails | train | rb |
a434e27368eeb5b87d41459d76712c2fd1e9a027 | diff --git a/commands/themebuider.js b/commands/themebuider.js
index <HASH>..<HASH> 100644
--- a/commands/themebuider.js
+++ b/commands/themebuider.js
@@ -127,11 +127,15 @@ const installThemeBuilder = async version => {
const getDevExtremeVersion = () => {
const lockFileName = path.join(process.cwd(), 'package-... | Return version detection with node_modules (#<I>) | DevExpress_devextreme-cli | train | js |
380c434dd73254ae1c1d60e098f01cf133a68f8c | diff --git a/bin/pastebin.js b/bin/pastebin.js
index <HASH>..<HASH> 100644
--- a/bin/pastebin.js
+++ b/bin/pastebin.js
@@ -1,7 +1,7 @@
var _ = require('underscore'),
fs = require('fs'),
xml2js = require('xml2js'),
- Q = require('Q'),
+ Q = require('q'),
method = require('../lib/methods'),
con... | Fixed Q library require having wrong casing
On case insensitive systems, an error was generated because module 'Q' could
not be found. Changed Q to lowercase | j3lte_pastebin-js | train | js,js |
aa6075737bfd565f092c8cdff953a74dad704251 | diff --git a/org.openbel.framework.api/src/main/java/org/openbel/framework/api/KAMStoreImpl.java b/org.openbel.framework.api/src/main/java/org/openbel/framework/api/KAMStoreImpl.java
index <HASH>..<HASH> 100644
--- a/org.openbel.framework.api/src/main/java/org/openbel/framework/api/KAMStoreImpl.java
+++ b/org.openbel.f... | do not include null refs when finding by uuid | OpenBEL_openbel-framework | train | java |
800cd7408d621f4f22f187b5bcc75b41f4b0ace1 | diff --git a/tests/phpunit/unit/Library/BoltLibraryTest.php b/tests/phpunit/unit/Library/BoltLibraryTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/unit/Library/BoltLibraryTest.php
+++ b/tests/phpunit/unit/Library/BoltLibraryTest.php
@@ -1,7 +1,6 @@
<?php
namespace Bolt\Tests\Library;
-use Bolt\Exception\L... | [Tests] Remove clean for LLE | bolt_bolt | train | php |
44dc57275afbf702082b460a6b462684a7a90be0 | diff --git a/contrib/externs/angular-1.3-q_templated.js b/contrib/externs/angular-1.3-q_templated.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/angular-1.3-q_templated.js
+++ b/contrib/externs/angular-1.3-q_templated.js
@@ -35,7 +35,7 @@ angular.$q;
/**
* @constructor
* @template T
- * @extends {IThenable.<... | Fix a couple of incorrect externs.
-------------
Created by MOE: <URL> | google_closure-compiler | train | js,js |
df8676946b3acc4f9bfddba43ac0322b132cdcaf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ setup(
package_dir = {"":"src"},
scripts = ["src/db-migrate"],
- #install_requires = ["mysql==1.2.2"], #TODO: install mysql as dependency
+ install_requires = ["mysql==1.2.2"],
author... | Declared mysql-python <I> as a dependency. | guilhermechapiewski_simple-db-migrate | train | py |
fd4161e2feacc89dae9fa08850acca423774495d | diff --git a/doc/source/generate_doc.py b/doc/source/generate_doc.py
index <HASH>..<HASH> 100644
--- a/doc/source/generate_doc.py
+++ b/doc/source/generate_doc.py
@@ -54,7 +54,8 @@ def import_submodules(package, recursive=True):
if isinstance(package, str):
package = importlib.import_module(package)
... | DOC: add onerror to walk_packages in generate_doc | odlgroup_odl | train | py |
13aa7638002afede3a83009410aedd51a0e276b2 | diff --git a/tripleohelper/ssh.py b/tripleohelper/ssh.py
index <HASH>..<HASH> 100644
--- a/tripleohelper/ssh.py
+++ b/tripleohelper/ssh.py
@@ -112,6 +112,7 @@ class SshClient(object):
self.description = '[%s@%s]' % (self._user,
self._hostname)
+ excepti... | SshClient: Re-raise the exception from paramiko
Re-raise the latest exception from paramiko instead of a generic
SSHException to be able to filter on different cases
(SSHAuthenticationError for example) in the calling code.
Change-Id: Ica1d<I>fa5a2c<I>b<I>cc5aa<I>da<I>bbaa<I> | redhat-openstack_python-tripleo-helper | train | py |
63410491b724c4f2404153a640a53e2bfbb44178 | diff --git a/cmd/telegraf/telegraf.go b/cmd/telegraf/telegraf.go
index <HASH>..<HASH> 100644
--- a/cmd/telegraf/telegraf.go
+++ b/cmd/telegraf/telegraf.go
@@ -32,7 +32,7 @@ var fPidfile = flag.String("pidfile", "", "file to write our pid to")
var fInputFilters = flag.String("input-filter", "",
"filter the inputs to ... | Fix typo, should be input instead of output. | influxdata_telegraf | train | go |
3263e5f091bbfac345581379bd8dbd9a04f39adc | diff --git a/pipenv/cli.py b/pipenv/cli.py
index <HASH>..<HASH> 100644
--- a/pipenv/cli.py
+++ b/pipenv/cli.py
@@ -64,7 +64,9 @@ def do_where(virtualenv=False, bare=True):
if not virtualenv:
location = project.pipfile_location
- if not bare:
+ if not location:
+ click.echo('No P... | Better output for where command when no Pipfile
Presently when there is no Pipfile inside a directory, running
`pip --where` gives
`Pipfile found at None. Considering this to be the project home.`.
This seems ambiguous and I've changed it to
```
$ pipenv --where
No Pipfile present at project home. Consider running `pi... | pypa_pipenv | train | py |
03cb5dcf4ffecd6563cb44961f802a02319ef364 | diff --git a/src/CoandaCMS/Coanda/Core/Attributes/Types/Image.php b/src/CoandaCMS/Coanda/Core/Attributes/Types/Image.php
index <HASH>..<HASH> 100644
--- a/src/CoandaCMS/Coanda/Core/Attributes/Types/Image.php
+++ b/src/CoandaCMS/Coanda/Core/Attributes/Types/Image.php
@@ -72,6 +72,14 @@ class Image extends AttributeType ... | Bugfix - only try to fetch media if we have an id. | CoandaCMS_coanda-core | train | php |
b18c6eab6f1afa273bb1506b25d4c6a6b0d68293 | diff --git a/graphdb/src/test/java/com/orientechnologies/orient/graph/gremlin/TestLoadGraph.java b/graphdb/src/test/java/com/orientechnologies/orient/graph/gremlin/TestLoadGraph.java
index <HASH>..<HASH> 100644
--- a/graphdb/src/test/java/com/orientechnologies/orient/graph/gremlin/TestLoadGraph.java
+++ b/graphdb/src/t... | Update path of OrientBatchGraph after BP refactoring | orientechnologies_orientdb | train | java |
4556d58449cd0ec9c7322caca279e0021b0ea9ab | diff --git a/beprof/curve.py b/beprof/curve.py
index <HASH>..<HASH> 100644
--- a/beprof/curve.py
+++ b/beprof/curve.py
@@ -109,17 +109,17 @@ class Curve(np.ndarray):
:param fixp: fixed point one of the points in new domain
:return: new Curve object with domain specified by step and fixp parameters
... | Changed a small fragment to more Python-like
According to your comment, now it is
a, b = (np.min(self.x), np.max(self.x))
instead of this C-like section[X] calls | DataMedSci_beprof | train | py |
e90e1c5d9a11af17e61417cec81cd7c35dd64f40 | diff --git a/all.go b/all.go
index <HASH>..<HASH> 100644
--- a/all.go
+++ b/all.go
@@ -16,6 +16,11 @@ func (n *Node) AllByIndex(fieldName string, to interface{}) error {
}
typ := reflect.Indirect(ref).Type().Elem()
+
+ if typ.Kind() == reflect.Ptr {
+ typ = typ.Elem()
+ }
+
newElem := reflect.New(typ)
info... | Add support for slice of pointers in All | asdine_storm | train | go,go |
74e60e1d960823db469a146143eee4a75a169f63 | diff --git a/test/test_validation_with_errors.rb b/test/test_validation_with_errors.rb
index <HASH>..<HASH> 100644
--- a/test/test_validation_with_errors.rb
+++ b/test/test_validation_with_errors.rb
@@ -12,11 +12,11 @@ describe "validation errors" do
assert_equal(errors.size, test_case["errors"].size, "Expected ... | Put arguments to assert_equal in correct order | inglesp_json_validation | train | rb |
a7d3bcf6a6431c5748c2ef08ab978bb6f98b8a15 | diff --git a/peri/comp/ilms.py b/peri/comp/ilms.py
index <HASH>..<HASH> 100644
--- a/peri/comp/ilms.py
+++ b/peri/comp/ilms.py
@@ -813,8 +813,8 @@ class BarnesXYLegPolyZ(BarnesPoly):
def _setup_barnes_params(self):
barnes_params = []
barnes_values = []
- for i in range(npts[0]):
- ... | npts -> self.npts typo in ilms | peri-source_peri | train | py |
0170a173a1d6a1699b4a897e78fdd17dd3395636 | diff --git a/bcbio/pipeline/run_info.py b/bcbio/pipeline/run_info.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/run_info.py
+++ b/bcbio/pipeline/run_info.py
@@ -17,6 +17,7 @@ from bcbio.log import logger
from bcbio.distributed import objectstore
from bcbio.illumina import flowcell
from bcbio.pipeline import al... | Allow jointcalling to work with single samples without batches for gVCF output. Thanks to Mick Watson | bcbio_bcbio-nextgen | train | py |
1888516c880e6ef51b16a15888b200a1e6752ecc | diff --git a/examples/with-co.js b/examples/with-co.js
index <HASH>..<HASH> 100644
--- a/examples/with-co.js
+++ b/examples/with-co.js
@@ -10,11 +10,6 @@
var co = require('co');
var prompt = require('../index');
-function catched(err) {
- console.log('error:', err);
- prompt.end();
-}
-
co(function * prompting()... | update examples, there`s no way to throw to .catch | tunnckoCore_prompt-promise | train | js,js |
9bf0f1da53a1f8876723094f6df8b81785a12dc7 | diff --git a/src/scout_apm/core/__init__.py b/src/scout_apm/core/__init__.py
index <HASH>..<HASH> 100644
--- a/src/scout_apm/core/__init__.py
+++ b/src/scout_apm/core/__init__.py
@@ -64,7 +64,7 @@ def shutdown():
def apm_callback(queue_size):
if scout_config.value("shutdown_message_enabled"):
- ... | Ignore print line with new flake type | scoutapp_scout_apm_python | train | py |
62d12c4358a1912af2df7e670a9638f6b4273b18 | diff --git a/pandas/tools/pivot.py b/pandas/tools/pivot.py
index <HASH>..<HASH> 100644
--- a/pandas/tools/pivot.py
+++ b/pandas/tools/pivot.py
@@ -128,7 +128,10 @@ def _add_margins(table, data, values, rows=None, cols=None, aggfunc=np.mean):
grand_margin = {}
for k, v in data[values].iteritems():
try... | BUG: passing a string to aggfunc like 'mean' won't break _add_margins, GH #<I> | pandas-dev_pandas | train | py |
faef449d9482d027cea6c76f6d27418392c65251 | diff --git a/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/OrderedChildResourcesTestCase.java b/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/OrderedChildResourcesTestCase.java
index <HASH>..<HASH> 100644
--- a/testsuite/domain/src/test/java/org/jboss/as/test/integration/doma... | Change FD reference to FD_ALL. | wildfly_wildfly | train | java |
edfdf80c3e512c55c3cfc7dc08d3f149c3e84063 | diff --git a/config/bootstrap.php b/config/bootstrap.php
index <HASH>..<HASH> 100644
--- a/config/bootstrap.php
+++ b/config/bootstrap.php
@@ -7,14 +7,12 @@ use WyriHaximus\TwigView\Event;
EventManager::instance()->attach(new Event\ExtensionsListener());
EventManager::instance()->attach(new Event\TokenParsersListener... | Enabling the panel again :<I>: | WyriHaximus_TwigView | train | php |
0c979b479ce8b5d0b8d3262b5ff94bc3356774b1 | diff --git a/src/js/sortable-table.js b/src/js/sortable-table.js
index <HASH>..<HASH> 100644
--- a/src/js/sortable-table.js
+++ b/src/js/sortable-table.js
@@ -133,7 +133,7 @@
});
$(document).on('keyup.sui.sortableTable.data-api', '[data-toggle=sort]', function(e) {
- if (e.keyCode == 13 || e.keyCode == 32) {... | Added comment to hint what keys the used keycodes represent | visionappscz_bootstrap-ui | train | js |
05e89e1208995336baf126f8c3c379467b0d7937 | diff --git a/pysra/site.py b/pysra/site.py
index <HASH>..<HASH> 100644
--- a/pysra/site.py
+++ b/pysra/site.py
@@ -936,7 +936,7 @@ class Profile(collections.abc.Container):
"""
layers = []
- for row in df.itertuples(index=False):
+ for _, row in df.iterrows():
layers.appen... | Changed back to iterrows(). | arkottke_pysra | train | py |
459e343cf2ab0cfb5f6309f4f0e0adbe304f2be0 | diff --git a/lib/config/dependencies.js b/lib/config/dependencies.js
index <HASH>..<HASH> 100644
--- a/lib/config/dependencies.js
+++ b/lib/config/dependencies.js
@@ -3,14 +3,10 @@
const { execSync: exec } = require('child_process');
const { error, print, strong } = require('../utils/cnsl');
const { resolve } = requ... | only use yarn if yarn.lock file exists | popeindustries_buddy | train | js |
5b57db074f894b88afffea7fa012de0a1efccb3e | diff --git a/lib/puppet/pops/types/types.rb b/lib/puppet/pops/types/types.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/pops/types/types.rb
+++ b/lib/puppet/pops/types/types.rb
@@ -1480,7 +1480,7 @@ class PStructType < PAnyType
include Enumerable
def initialize(elements)
- @elements = elements.sort.freeze
... | (maint) Remove sort of Struct members
This commit removes the existing sort of the Struct members since there
is no reason to sort them. The order is irrelevant when assignability is
computed. It is however relevant to retain the order when a Struct is
used to describe named parameters of a function and the unnamed
pa... | puppetlabs_puppet | train | rb |
fc0d421884f8e6c99bbb195f31bea8492f1e2e04 | diff --git a/aws/internal/service/glue/waiter/waiter.go b/aws/internal/service/glue/waiter/waiter.go
index <HASH>..<HASH> 100644
--- a/aws/internal/service/glue/waiter/waiter.go
+++ b/aws/internal/service/glue/waiter/waiter.go
@@ -14,8 +14,8 @@ const (
SchemaAvailableTimeout = 2 * time.Minute
SchemaDeleteTim... | Adjust default Glue timeouts to be aligned with documentation of the resource. | terraform-providers_terraform-provider-aws | train | go |
c2680b04dd83941af50413241440ef29a623224c | diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js
index <HASH>..<HASH> 100644
--- a/src/project/ProjectManager.js
+++ b/src/project/ProjectManager.js
@@ -1840,7 +1840,7 @@ define(function (require, exports, module) {
}
// Directory contents removed
- if (r... | fix check for added and removed files in fs change event handler | adobe_brackets | train | js |
d983768165a2c3cb15c92a561b79c4386c38dc6a | diff --git a/code/GridFieldOrderableRows.php b/code/GridFieldOrderableRows.php
index <HASH>..<HASH> 100755
--- a/code/GridFieldOrderableRows.php
+++ b/code/GridFieldOrderableRows.php
@@ -278,9 +278,11 @@ class GridFieldOrderableRows extends RequestHandler implements
if($list instanceof ManyManyList) {
$extra = ... | fixed many many ordering so that other many many lists with the same relation aren't affected | symbiote_silverstripe-gridfieldextensions | train | php |
7288dfc620230ca117cda353f5bf7ae45453b4bd | diff --git a/src/Psalm/Internal/InternalTaintSinkMap.php b/src/Psalm/Internal/InternalTaintSinkMap.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/InternalTaintSinkMap.php
+++ b/src/Psalm/Internal/InternalTaintSinkMap.php
@@ -8,6 +8,7 @@ return [
'file_put_contents' => [['shell']],
'fopen' => [['shell']],
'... | Fix #<I> - unserialize is a taint sink | vimeo_psalm | train | php |
c5e0990189cd4a6ac2683474ca7331fbe17f6891 | diff --git a/src/Core/TypedCollectionTrait.php b/src/Core/TypedCollectionTrait.php
index <HASH>..<HASH> 100644
--- a/src/Core/TypedCollectionTrait.php
+++ b/src/Core/TypedCollectionTrait.php
@@ -29,7 +29,7 @@ trait TypedCollectionTrait
$type = static::getType();
if (class_exists($type) || interface_... | + Strict type check in TypedCollection is added | RunnMe_Core | train | php |
3a15b9323ff09e2b5092398bef7f3dd39b076caa | diff --git a/src/python/pants/backend/core/tasks/list_goals.py b/src/python/pants/backend/core/tasks/list_goals.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/core/tasks/list_goals.py
+++ b/src/python/pants/backend/core/tasks/list_goals.py
@@ -25,8 +25,10 @@ class ListGoals(ConsoleTask):
undocumen... | Make goal listing use only the first sentence of the description.
Now that the description can be inferred from a task docstring,
this is pertinent.
Testing Done:
Manual testing before and after. Ran the list_goals tests.
Bugs closed: <I>
Reviewed at <URL> | pantsbuild_pants | train | py |
ac508291621eaaca811fdcb56d923f4c037f2806 | diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js
index <HASH>..<HASH> 100644
--- a/src/bootstrap-table.js
+++ b/src/bootstrap-table.js
@@ -3112,7 +3112,9 @@ class BootstrapTable {
resetSearch (text) {
const $search = Utils.getSearchInput(this)
- $search.val(text || '')
+ const textToUse = te... | Reset also the searchText value | wenzhixin_bootstrap-table | train | js |
cf2afe85a25313f0e458c41b9a89fa6843c56ba5 | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -109,7 +109,7 @@ if platform.system() == 'Darwin':
setup(
name='neuroglancer',
- version='2.16',
+ version='2.17',
description='Python data backend for neuroglancer, a WebGL-based... | chore: bump python package version to <I> | google_neuroglancer | train | py |
92d4a6bab41e18d542788926779dcd628d08b216 | diff --git a/tests/test_serializer.py b/tests/test_serializer.py
index <HASH>..<HASH> 100644
--- a/tests/test_serializer.py
+++ b/tests/test_serializer.py
@@ -26,7 +26,8 @@ class SerializerTest(unittest.TestCase) :
{u"distinct":[
(dedupe.core.frozendict(OrderedDict(((u'bar',
... | test for reading and writing tuples to json | dedupeio_dedupe | train | py |
c443bacc9890ea0ba0ac0ecd6a6a8b958f52970d | diff --git a/go/vt/vtctl/reparentutil/emergency_reparenter.go b/go/vt/vtctl/reparentutil/emergency_reparenter.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtctl/reparentutil/emergency_reparenter.go
+++ b/go/vt/vtctl/reparentutil/emergency_reparenter.go
@@ -449,7 +449,7 @@ func (erp *EmergencyReparenter) reparentReplicas(... | feat: fix the bug by not using the parent context when creating a context for the RPCs to run | vitessio_vitess | train | go |
47455adc8d88293ae570022c61722cb07da73bf0 | diff --git a/src/Filter/Expression.php b/src/Filter/Expression.php
index <HASH>..<HASH> 100644
--- a/src/Filter/Expression.php
+++ b/src/Filter/Expression.php
@@ -58,6 +58,8 @@ class Expression
case '$ne':
$isMatch = $value !== $this->operand;
break;
+ default:
... | Added default clause to switch block in Expression. | alexanderduring_php-ember-db | train | php |
ce762577cbd55b7431607a3031cd4a9a1460248f | diff --git a/internal/common/lexer_test.go b/internal/common/lexer_test.go
index <HASH>..<HASH> 100644
--- a/internal/common/lexer_test.go
+++ b/internal/common/lexer_test.go
@@ -18,10 +18,11 @@ var consumeTests = []consumeTestCase{{
# Comment line 1
# Comment line 2
+,,,,,, # Commas are insignificant
type Hello {... | lexer.Consume(): Add test for insignificant comma | graph-gophers_graphql-go | train | go |
34ba813a738abef18da4123b5675b739de662f0f | diff --git a/worker.go b/worker.go
index <HASH>..<HASH> 100644
--- a/worker.go
+++ b/worker.go
@@ -95,7 +95,7 @@ type WorkerConfig struct {
WorkerCount int
PollInterval time.Duration
StopTimeout time.Duration
- ReportError func(error, *Job) // TODO: pass in a stack trace for context
+ ReportError fu... | Remove unnecessary TODOs for stack traces | cupcake_gokiq | train | go |
906771ba16c6e62bd27756d39cef86e82a16abf8 | diff --git a/features.go b/features.go
index <HASH>..<HASH> 100644
--- a/features.go
+++ b/features.go
@@ -29,4 +29,8 @@ var localFeatures = lnwire.NewFeatureVector([]lnwire.Feature{
Name: "sphinx-payload",
Flag: lnwire.RequiredFlag,
},
+ {
+ Name: "htlc-dust-accounting",
+ Flag: lnwire.RequiredFlag,
+ },
}) | features: add temporary feature for proper HTLC dust accounting | lightningnetwork_lnd | train | go |
962fe34c4f35bbc56aa3baf9317ac158e8069460 | diff --git a/lib/ps_utilities/connection.rb b/lib/ps_utilities/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/ps_utilities/connection.rb
+++ b/lib/ps_utilities/connection.rb
@@ -40,7 +40,6 @@ module PsUtilities
def authenticate
@credentials[:access_token] = get_token()
@options[:headers].merge!(... | removed extraneous pp commands | LAS-IT_ps_utilities | train | rb |
40ce91a6bc1307e4a706fd266693a64799dfa77b | diff --git a/session_security/static/session_security/script.js b/session_security/static/session_security/script.js
index <HASH>..<HASH> 100644
--- a/session_security/static/session_security/script.js
+++ b/session_security/static/session_security/script.js
@@ -1,6 +1,6 @@
// Simple function that adds a number of sec... | Corrections in javascript docstrings | yourlabs_django-session-security | train | js |
30be4a2d2476cdc3c2e0c01826c79478f7cc35bc | diff --git a/vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/pool/ConnectionPool.java b/vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/pool/ConnectionPool.java
index <HASH>..<HASH> 100644
--- a/vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/pool/ConnectionPool.java
+++ b/vertx-sql-client/src/main... | fix polling null from the available pooled connections | reactiverse_reactive-pg-client | train | java |
d9873914bfaa2b6a0fe14a32200c8bb2c4ee1020 | diff --git a/UWG/UWG.py b/UWG/UWG.py
index <HASH>..<HASH> 100644
--- a/UWG/UWG.py
+++ b/UWG/UWG.py
@@ -73,7 +73,7 @@ class UWG(object):
cpv = 1846.1 #
b = 9.4 # Coefficients derived by Louis (1979)
cm = 7.4 #
- colburn = math.pow((0.713/0.621), (2/3)) # (Pr/Sc)^(... | integer division mistake, change to float | ladybug-tools_uwg | train | py |
56d9eefac18632aa583b8c1dd5744ef7cc6807e1 | diff --git a/aws/data_source_aws_rds_cluster.go b/aws/data_source_aws_rds_cluster.go
index <HASH>..<HASH> 100644
--- a/aws/data_source_aws_rds_cluster.go
+++ b/aws/data_source_aws_rds_cluster.go
@@ -58,6 +58,12 @@ func dataSourceAwsRdsCluster() *schema.Resource {
Computed: true,
},
+ "enabled_cloudwatch_lo... | data-source/aws_rds_cluster: Prevent panic when CloudWatch logs are enabled | terraform-providers_terraform-provider-aws | train | go |
282143d7df90188a78147a38714f4ecda3b1a0ec | diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -209,6 +209,8 @@ def use_cluster(cluster_name, nodes, ipformat=None, start=True):
CCM_CLUSTER.set_configuration_options({'start_n... | test: Another UDF config option introduced in C* <I> | datastax_python-driver | train | py |
9f0bbbed30f2fd4e00b7cf5ea5df26ed23bb475c | diff --git a/Kwc/Basic/LinkTag/News/Admin.php b/Kwc/Basic/LinkTag/News/Admin.php
index <HASH>..<HASH> 100644
--- a/Kwc/Basic/LinkTag/News/Admin.php
+++ b/Kwc/Basic/LinkTag/News/Admin.php
@@ -33,9 +33,7 @@ class Kwc_Basic_LinkTag_News_Admin extends Kwc_Basic_LinkTag_Abstract_Admin
$c = Kwf_Component... | improvement for getComponentsDependingOnRow-fix on linkTag_News | koala-framework_koala-framework | train | php |
7af8efcfb917329810aee150bae454f1bdea1e64 | diff --git a/main_test.go b/main_test.go
index <HASH>..<HASH> 100644
--- a/main_test.go
+++ b/main_test.go
@@ -1092,6 +1092,7 @@ var _ = Describe("Router Integration", func() {
routesUri := fmt.Sprintf("http://%s:%s@%s:%d/routes", config.Status.User, config.Status.Pass, localIP, statusPort)
Eventually(func() ... | Verify app is running before proceeding in test
- the appRegistered call is not sufficient to guarantee that an app is
running
[#<I>] | cloudfoundry_gorouter | train | go |
ac57d6f0ecd78d8ebf6c57b6c37a95945d368127 | diff --git a/datalab/utils/commands/_utils.py b/datalab/utils/commands/_utils.py
index <HASH>..<HASH> 100644
--- a/datalab/utils/commands/_utils.py
+++ b/datalab/utils/commands/_utils.py
@@ -38,6 +38,8 @@ import datalab.data
import datalab.bigquery
import datalab.storage
import datalab.utils
+import google.datalab.b... | Making old chart magic forward compatible with google.datalab (#<I>)
* Fixing old call to Datasets that wasn't using context.
* Making old chart magic forward compatible with google.datalab. | googledatalab_pydatalab | train | py |
88c0436fa1f21fceea95f8b4c192419dd9bdeaa1 | diff --git a/horizon/forms/fields.py b/horizon/forms/fields.py
index <HASH>..<HASH> 100644
--- a/horizon/forms/fields.py
+++ b/horizon/forms/fields.py
@@ -37,7 +37,7 @@ class DynamicSelectWidget(widgets.Select):
try:
if self.add_item_link_args:
return urlresolvers.reverse(self.add... | Fix DynamicSelectWidget.get_add_item_url() method.
Do not wrap self.add_item_link_args in an additional list because it
makes impossible to pass more than one arg (i.e. tuple or list of
args) to url resolver.
Change-Id: Idf6d5d1f<I>c<I>f1de<I>a<I>e0f1abbae5ee<I>
Closes-Bug: #<I> | openstack_horizon | train | py |
43829a7d5850957582c6075dbb4a7a17a75e4d5a | diff --git a/tests/build/test_build_request.py b/tests/build/test_build_request.py
index <HASH>..<HASH> 100644
--- a/tests/build/test_build_request.py
+++ b/tests/build/test_build_request.py
@@ -688,7 +688,7 @@ class TestBuildRequest(object):
def test_with_sendmail_plugin(self):
bm = BuildManager(INPUTS_P... | Fix setting openshift version in sendmail plugin test on Python 3 | projectatomic_osbs-client | train | py |
771d78d5d07511ff573805c57a36b123c41dde4c | diff --git a/misuzu/app.py b/misuzu/app.py
index <HASH>..<HASH> 100644
--- a/misuzu/app.py
+++ b/misuzu/app.py
@@ -1,5 +1,7 @@
import asyncio
import logging
+import signal
+from functools import partial
from .router import Router, Param
from .protocol import HttpProtocol
from .test_client import TestClient
@@ -41,... | signal supported, but it seems out of work. | Riparo_nougat | train | py |
24cc4afff65361aa441682c735a0f6d83b70858b | diff --git a/jmetal-core/src/main/java/org/uma/jmetal/core/Algorithm.java b/jmetal-core/src/main/java/org/uma/jmetal/core/Algorithm.java
index <HASH>..<HASH> 100755
--- a/jmetal-core/src/main/java/org/uma/jmetal/core/Algorithm.java
+++ b/jmetal-core/src/main/java/org/uma/jmetal/core/Algorithm.java
@@ -44,9 +44,6 @@ pub... | Ready to convert jmetal.core.Algorithm into an interface | jMetal_jMetal | train | java |
699aca0b67553b1b72dfc6c98a50ce8081c67372 | diff --git a/src/main/java/org/jpmml/sparkml/ClassificationModelConverter.java b/src/main/java/org/jpmml/sparkml/ClassificationModelConverter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jpmml/sparkml/ClassificationModelConverter.java
+++ b/src/main/java/org/jpmml/sparkml/ClassificationModelConverter.java
@... | Fixed the data type of the prediction output field | jpmml_jpmml-sparkml | train | java |
f2cfbaa66d60a2df1a126ba286058329a788367e | diff --git a/src/main/java/org/mariadb/jdbc/internal/util/Utils.java b/src/main/java/org/mariadb/jdbc/internal/util/Utils.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/internal/util/Utils.java
+++ b/src/main/java/org/mariadb/jdbc/internal/util/Utils.java
@@ -133,7 +133,7 @@ public class Utils {
... | Fix - setConfiguration not being called on classes that extend ConfigurableSocketFactory | MariaDB_mariadb-connector-j | train | java |
e0e1f3eeb24cc4d5555cb5ff45a9f6894c283df8 | diff --git a/concrete/src/Entity/Calendar/CalendarEventOccurrence.php b/concrete/src/Entity/Calendar/CalendarEventOccurrence.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Entity/Calendar/CalendarEventOccurrence.php
+++ b/concrete/src/Entity/Calendar/CalendarEventOccurrence.php
@@ -2,6 +2,7 @@
namespace Concrete\C... | Update CalendarEventOccurrence.php
determine dayDuration dynamically in order to make it work properly on DST changing days. | concrete5_concrete5 | train | php |
338713fc7302532902e21fe06240bb0a6b5aa867 | diff --git a/lib/reporters/junit/index.js b/lib/reporters/junit/index.js
index <HASH>..<HASH> 100644
--- a/lib/reporters/junit/index.js
+++ b/lib/reporters/junit/index.js
@@ -20,7 +20,6 @@ JunitReporter = function (newman, reporterOptions) {
root,
testSuitesExecutionTime = 0,
exec... | Removed not needed variable (PR feedback) | postmanlabs_newman | train | js |
98e406657164b053bb045eaaa2a11cc23f2e965f | diff --git a/src/Command/InfectionCommand.php b/src/Command/InfectionCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/InfectionCommand.php
+++ b/src/Command/InfectionCommand.php
@@ -241,10 +241,10 @@ final class InfectionCommand extends BaseCommand
if (!$constraintChecker->hasTestRunPassedConstraint... | Fix: Indentation (#<I>) | infection_infection | train | php |
8a5be79ed2a672e57168a9d10a4bbf2c8583c213 | diff --git a/src/controllers/BaseNode.js b/src/controllers/BaseNode.js
index <HASH>..<HASH> 100644
--- a/src/controllers/BaseNode.js
+++ b/src/controllers/BaseNode.js
@@ -271,7 +271,7 @@ class BaseNode {
case 'lte':
return actualValue <= cValue;
case 'starts_with':
- ... | fix(get-entities): Check if property exists before seeing if it starts with something
Fixes #<I> | zachowj_node-red-contrib-home-assistant-websocket | train | js |
3a7add4dce18dc532b7f22652a037cc6156a59b0 | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100644
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -107,13 +107,16 @@ class peekable(object):
def __iter__(self):
return self
- def __nonzero__(self):
+ def __bool__(self):
try:
... | Support __bool__ and __nonzero__ | erikrose_more-itertools | train | py |
43ab8a95149c2e5f2e675a6c393d6c35ed9889c0 | diff --git a/src/test/java/org/elasticsearch/river/twitter/test/Twitter4JThreadFilter.java b/src/test/java/org/elasticsearch/river/twitter/test/Twitter4JThreadFilter.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/elasticsearch/river/twitter/test/Twitter4JThreadFilter.java
+++ b/src/test/java/org/elasticsearch... | [test] test does not close properly
`RiverClusterService` `updateTask` method seems to take some time.
For now, let's hide this thread in the thread filter.
(cherry picked from commit <I>fccd0)
(cherry picked from commit <I>c6b<I>) | elastic_elasticsearch-river-twitter | train | java |
d5ee332de78b4ff267a7314840ced02f0b8b737a | diff --git a/lib/suite.js b/lib/suite.js
index <HASH>..<HASH> 100644
--- a/lib/suite.js
+++ b/lib/suite.js
@@ -253,7 +253,7 @@ Suite.prototype.total = function(){
*
* @param {Function} fn
* @return {Suite}
- * @api public
+ * @api private
*/
Suite.prototype.eachTest = function(fn){
@@ -263,4 +263,3 @@ Suite.... | make Suite#eachTest() private | mochajs_mocha | train | js |
d371c3e35e5fbd3b5b71cd3187e6d12979bf5ee2 | diff --git a/system/HTTP/URI.php b/system/HTTP/URI.php
index <HASH>..<HASH> 100644
--- a/system/HTTP/URI.php
+++ b/system/HTTP/URI.php
@@ -466,7 +466,7 @@ class URI
throw new \InvalidArgumentException('Request URI segment is our of range.');
}
- return $this->segments[$number];
+ return $this->segments[$numb... | fixed `getSegment`
fixed issue with returning error which the segment is not the one been checked. instead returns just empty | codeigniter4_CodeIgniter4 | train | php |
d3a5cd90cc51eec222dff3d7b19154301e59cad4 | diff --git a/lib/statistrano/deployment/base.rb b/lib/statistrano/deployment/base.rb
index <HASH>..<HASH> 100644
--- a/lib/statistrano/deployment/base.rb
+++ b/lib/statistrano/deployment/base.rb
@@ -93,7 +93,7 @@ module Statistrano
# @return [Void]
def rsync_to_remote remote_path
LOG.msg "S... | move rsync options to a method (easier to override) | mailchimp_statistrano | train | rb |
70c24b273f674afe3850e9efb868d29b6aa97c59 | diff --git a/src/models/StripePaymentForm.php b/src/models/StripePaymentForm.php
index <HASH>..<HASH> 100644
--- a/src/models/StripePaymentForm.php
+++ b/src/models/StripePaymentForm.php
@@ -2,7 +2,7 @@
namespace craft\commerce\stripe\models;
-use craft\commerce\models\payments\BasePaymentForm;
+use craft\commerce... | Well, they are, actually. So stupid. | craftcms_commerce-stripe | train | php |
dea7e4f6404b3746141f64310dbcd627a458c3c2 | diff --git a/Qt.py b/Qt.py
index <HASH>..<HASH> 100644
--- a/Qt.py
+++ b/Qt.py
@@ -874,3 +874,7 @@ del(_QtWidgets)
del(_bindings)
del(_binding)
del(_found_binding)
+
+# Enable command-line interface
+if __name__ == "__main__":
+ _cli(sys.argv[1:])
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a... | Re-enable command-line interface. | mottosso_Qt.py | train | py,py |
6e6cb8f56c6840034a1f711d28907cbc7e5fa81f | diff --git a/lib/puppet/type/notify.rb b/lib/puppet/type/notify.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/type/notify.rb
+++ b/lib/puppet/type/notify.rb
@@ -13,7 +13,7 @@ module Puppet
when :true:
log(self.should)
else
- Puppet::info(self.should)
+ Puppet... | Messages will now be at current loglevel, regardless of whether the object path is displayed.
git-svn-id: <URL> | puppetlabs_puppet | train | rb |
f5a3f9630fe369b922dde75fb9eaf1e7a71ad0f9 | diff --git a/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php b/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php
index <HASH>..<HASH> 100644
--- a/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php
+++ b/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php
@@ -174,8 +174,10 @@ class DispatcherImpl implements IDispatcher
... | fix for throwing an exception inside an aspect | marcelog_Ding | train | php |
5b1fcb1d706717e6f5da543a0118914a78097de2 | diff --git a/collision.go b/collision.go
index <HASH>..<HASH> 100644
--- a/collision.go
+++ b/collision.go
@@ -16,6 +16,16 @@ type SpaceComponent struct {
Height float32
}
+// Center positions the space component according to its center instead of its
+// top-left point (this avoids doing the same math each time... | Adding a convenience method to center a SpaceComponent on a point | EngoEngine_engo | train | go |
4db26c659d9b35159f6f115320c0d56153a307d4 | diff --git a/phylopandas/seqio/read.py b/phylopandas/seqio/read.py
index <HASH>..<HASH> 100644
--- a/phylopandas/seqio/read.py
+++ b/phylopandas/seqio/read.py
@@ -164,7 +164,11 @@ def read_blast_xml(filename, **kwargs):
'title': [],
'length': [],
'e_value': [],
- 'seque... | read more information from blast xml file | Zsailer_phylopandas | train | py |
aa3541727eceae2abe2d6bb07a579ff584282750 | diff --git a/openfisca_core/taxbenefitsystems.py b/openfisca_core/taxbenefitsystems.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/taxbenefitsystems.py
+++ b/openfisca_core/taxbenefitsystems.py
@@ -8,6 +8,8 @@ from os import path
from imp import find_module, load_module
import importlib
import logging
+import i... | Introduce tax_benefit_system.get_package_metadata | openfisca_openfisca-core | train | py |
b4c1588d9759f5e46e629088a51492806cfd7518 | diff --git a/lib/proxy/mobproxy.js b/lib/proxy/mobproxy.js
index <HASH>..<HASH> 100644
--- a/lib/proxy/mobproxy.js
+++ b/lib/proxy/mobproxy.js
@@ -180,9 +180,11 @@ Proxy.prototype.saveHar = function(filename, data, cb) {
for (var i = 0; i < theHar.log.pages.length; i++) {
theHar.log.pages[i].comment = data.... | catching har without timings for pages that times out, part 1 | sitespeedio_browsertime | train | js |
e72cf20c323b4167862ec03abf5bf4814726bc9a | diff --git a/spec/support/example_server/servlet.rb b/spec/support/example_server/servlet.rb
index <HASH>..<HASH> 100644
--- a/spec/support/example_server/servlet.rb
+++ b/spec/support/example_server/servlet.rb
@@ -7,12 +7,12 @@ class ExampleServer
res.body = 'Not Found'
end
+ def self.handlers
+ ... | Fix example server servlet multiple re-defining of handlers getter | httprb_http | train | rb |
ae077d0f8c3a57d30bbc3828925381e24e13d8e2 | diff --git a/lib/cadmus/page.rb b/lib/cadmus/page.rb
index <HASH>..<HASH> 100644
--- a/lib/cadmus/page.rb
+++ b/lib/cadmus/page.rb
@@ -13,7 +13,7 @@ module Cadmus
belongs_to :parent, :polymorphic => true
validates_presence_of name_field
- validates_uniqueness_of slug_field, :w... | it's :scope, not :within | gively_cadmus | train | rb |
3205dab29e0b9d04d1771d88c6d240a67eaa7ee7 | diff --git a/sizedwaitgroup.go b/sizedwaitgroup.go
index <HASH>..<HASH> 100644
--- a/sizedwaitgroup.go
+++ b/sizedwaitgroup.go
@@ -46,15 +46,15 @@ func New(limit int) SizedWaitGroup {
//
// See sync.WaitGroup documentation for more information.
func (s *SizedWaitGroup) Add() {
- s.wg.Add(1)
s.current <- true
+ s.w... | sizedwaitgroup: notify the wg after having blocked. | remeh_sizedwaitgroup | train | go |
1ddbe3735f46ba3961e458c489b4c3c0f62ced0f | diff --git a/lib/Thelia/Handler/ExportHandler.php b/lib/Thelia/Handler/ExportHandler.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Handler/ExportHandler.php
+++ b/lib/Thelia/Handler/ExportHandler.php
@@ -179,9 +179,13 @@ class ExportHandler
$rangeDate['end'] = \DateTime::createFromFormat(
... | Fix export with no date (#<I>) | thelia_core | train | php |
2c168da0cbde3b021b17d5b9a74ace444d2770e3 | diff --git a/validator/webapp.py b/validator/webapp.py
index <HASH>..<HASH> 100644
--- a/validator/webapp.py
+++ b/validator/webapp.py
@@ -192,7 +192,8 @@ def test_webapp(err, webapp, current_valid_keys, required=True):
err.get_resource("listed")):
err.error(
err_i... | Better summary for app manifests that don't list the market (bug <I>) | mozilla_amo-validator | train | py |
b87b684b36cf5adbe4dca208aed0c69c44fc44c4 | diff --git a/xarray/backends/api.py b/xarray/backends/api.py
index <HASH>..<HASH> 100644
--- a/xarray/backends/api.py
+++ b/xarray/backends/api.py
@@ -806,7 +806,7 @@ def save_mfdataset(datasets, paths, mode='w', format=None, groups=None,
for obj in datasets:
if not isinstance(obj, Dataset):
... | Fix spelling -- change recieved to received (#<I>) | pydata_xarray | train | py,py |
d87f045a69fbe025bda01320da500f367e0a17a8 | diff --git a/webhooks.go b/webhooks.go
index <HASH>..<HASH> 100644
--- a/webhooks.go
+++ b/webhooks.go
@@ -13,6 +13,7 @@ var formDecoder *schema.Decoder
func init() {
formDecoder = schema.NewDecoder()
formDecoder.SetAliasTag("form")
+ formDecoder.IgnoreUnknownKeys(true)
}
func DecodeWebhook(data url.Values, ou... | Form decoder: ignore unknown keys
The twilio API adds new fields frequently, which isn't a breaking change. However, the decoder currently throws an error if it encounters a key in the data that doesn't match a key in the struct. This change insructs the decoder to ignore unknown keys. | sfreiberg_gotwilio | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.