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 |
|---|---|---|---|---|---|
87b056d598a2b1bc4d79d11ed5f7e9a010e8ae96 | diff --git a/lib/charlotte.js b/lib/charlotte.js
index <HASH>..<HASH> 100755
--- a/lib/charlotte.js
+++ b/lib/charlotte.js
@@ -1500,7 +1500,7 @@
}
}),
localVersion = localStorage.getItem(browser.getVersionKey()),
- requestId = url + '_' + Date.now() + Math.random(),
+ ... | encode single quote character when generating requestId | danieldkim_charlotte | train | js |
4b2e3b81ef0c78a89388c56c610219678f26edeb | diff --git a/girder/models/user.py b/girder/models/user.py
index <HASH>..<HASH> 100644
--- a/girder/models/user.py
+++ b/girder/models/user.py
@@ -133,6 +133,9 @@ class User(AccessControlledModel):
existing = self.findOne({})
if existing is None:
doc['admin'] = True
+ # Ensure ... | Ensure that the default site admin can always log in | girder_girder | train | py |
f48a80e1281aeb813d1b0f5bef03f0cffb005968 | diff --git a/src/Rossedman/Teamwork/Project.php b/src/Rossedman/Teamwork/Project.php
index <HASH>..<HASH> 100644
--- a/src/Rossedman/Teamwork/Project.php
+++ b/src/Rossedman/Teamwork/Project.php
@@ -173,5 +173,16 @@ class Project extends AbstractObject {
return $this->client->get("$this->endpoint/$this->id/tas... | Added Emailaddress to Project-Object | rossedman_teamwork | train | php |
e64efbc335cf93310adc0b2b23b439da6742774b | diff --git a/app/assets/javascripts/rscratch/application.js b/app/assets/javascripts/rscratch/application.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/rscratch/application.js
+++ b/app/assets/javascripts/rscratch/application.js
@@ -13,6 +13,8 @@
//= require jquery
//= require jquery_ujs
//= require sm... | Require tree added to make the gem compatible with Rails 4 | avishekjana_rscratch | train | js |
485e17bd4f830dd951b55faaa8f3284efce13c88 | diff --git a/languagetool-server/src/main/java/org/languagetool/server/TextChecker.java b/languagetool-server/src/main/java/org/languagetool/server/TextChecker.java
index <HASH>..<HASH> 100644
--- a/languagetool-server/src/main/java/org/languagetool/server/TextChecker.java
+++ b/languagetool-server/src/main/java/org/la... | track language switch events (as Matomo isn't fully real-time) | languagetool-org_languagetool | train | java |
b7cc251a7fcdf264aefa9bf6dd202de046ad96df | diff --git a/lib/distance.js b/lib/distance.js
index <HASH>..<HASH> 100644
--- a/lib/distance.js
+++ b/lib/distance.js
@@ -58,7 +58,7 @@ var distance = {
if (point1.length !== point2.length) {
result = NaN;
- } else {
+ } else if (point1.length) {
var values = [];
... | get chebyshevDistanceN to return 0 on 0D points | kchapelier_node-mathp | train | js |
8affb86ba95cde8b1374135397292ea1165ef304 | diff --git a/lib/boom/platform.rb b/lib/boom/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/boom/platform.rb
+++ b/lib/boom/platform.rb
@@ -34,7 +34,12 @@ module Boom
#
# Returns a String with the bin
def open_command
- darwin? ? 'open' : 'xdg-open'
+ # There must be a nicer way of... | update platform.rb to do funky opening goodness on windows, like a baws | holman_boom | train | rb |
0afedf684d9b02477434389623b1ab1cccd92b3b | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -3151,13 +3151,19 @@ function reset_password_and_mail($user) {
$data->firstname = fullname($user);
$data->sitename = $site->fullname;
- $data->link = $CFG->wwwroot .'/login/co... | Fixed the link for the confirmation email ... the & was breaking in some
mail ... see also bug <I> for something similar | moodle_moodle | train | php |
0de08ea911d3a754a3fae7fd70ad6b71cb76e852 | diff --git a/src/main/java/org/eu/ingwar/tools/arquillian/extension/deployment/EarGenericBuilder.java b/src/main/java/org/eu/ingwar/tools/arquillian/extension/deployment/EarGenericBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/eu/ingwar/tools/arquillian/extension/deployment/EarGenericBuilder.java
+++ ... | Changed name of default web archive
- From always test.war to random name | ingwarsw_arquillian-suite-extension | train | java |
931a1de96f011b1b46cf36e695284c75facf7542 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -34,17 +34,13 @@ function readFromFileMap(sm, dir) {
function Converter (sm, opts) {
opts = opts || {};
- try {
- if (opts.isFileComment) sm = readFromFileMap(sm, opts.commentFileDir);
- if (opts.hasComment) sm = ... | no longer wrapping the parse phase in try/catch, pushing that responsibility to callers | thlorenz_convert-source-map | train | js |
5ddc652e1ec7e997f4915cdda6e0de1cd0e902c7 | diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/core/MethodInfo.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/core/MethodInfo.java
index <HASH>..<HASH> 100644
--- a/vraptor-core/src/main/java/br/com/caelum/vraptor/core/MethodInfo.java
+++ b/vraptor-core/src/main/java/br/com/caelum/vraptor/core/M... | resettig valued params when controller method is updated | caelum_vraptor4 | train | java |
0589282a3d5386e6a411833250a1eff621bad779 | diff --git a/paperwork_backend/shell.py b/paperwork_backend/shell.py
index <HASH>..<HASH> 100644
--- a/paperwork_backend/shell.py
+++ b/paperwork_backend/shell.py
@@ -448,15 +448,15 @@ def _do_import(filepaths, dsearch, doc, ocr=True, guess_labels=True):
)
for label in labels:
... | paperwork-shell/import/verbose: when guessing labels, can't actually tell the original file path (information is lost) | openpaperwork_paperwork-backend | train | py |
05229f14f02689a5af5287bd913a761c24497dde | diff --git a/sentry_sdk/scope.py b/sentry_sdk/scope.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/scope.py
+++ b/sentry_sdk/scope.py
@@ -241,7 +241,9 @@ class Scope(object):
if self._level is not None:
event["level"] = self._level
- event.setdefault("breadcrumbs", []).extend(self._bread... | fix: Remove breadcrumbs from transaction events (#<I>) | getsentry_sentry-python | train | py |
9b1abb1d78c04200648a2327e2816b14e9ebf703 | diff --git a/tests/core/multiprocess/utils.py b/tests/core/multiprocess/utils.py
index <HASH>..<HASH> 100644
--- a/tests/core/multiprocess/utils.py
+++ b/tests/core/multiprocess/utils.py
@@ -87,7 +87,7 @@ class ResourceIdRegistrationCase(BasicMultiprocessCase):
def test_method(self):
"""Register the resou... | Revert sleep to <I> | gregoil_rotest | train | py |
09cdbc4e1cd0b14b5aa63f67fbb4233b8542a557 | diff --git a/src/ajax.js b/src/ajax.js
index <HASH>..<HASH> 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -7,9 +7,12 @@
$.ajaxJSONP = function(options){
var jsonpString;
jsonpString = 'jsonp' + ++jsonpID;
- window[jsonpString] = options.success;
+ window[jsonpString] = function() {
+ options.s... | * Removed JSON-P memory leak.
* Simpler, shorter and safer JSON-P callback regexp (not everybody uses callback=). | madrobby_zepto | train | js |
ef33cbb5c4a12e1a2d4357e71983f9af10454a06 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,12 @@ from distutils.core import setup
setup(
name = 'cbexchange',
packages = ['cbexchange'],
- version = '1.0.1',
+ version = '1.0.2',
description = 'CBExchange - Coinbase Exchange Python API',
author ... | Added the dependency requirements to the PyPI setup. | agsimeonov_cbexchange | train | py |
78b5d07b6e0b00ee885edc4085b35d87fb92650a | diff --git a/src/widgets/targeter/targeter.js b/src/widgets/targeter/targeter.js
index <HASH>..<HASH> 100644
--- a/src/widgets/targeter/targeter.js
+++ b/src/widgets/targeter/targeter.js
@@ -34,7 +34,7 @@
_variables () {
- this._targetSelector = this.options.target || this.$element.data ( this.options.dat... | Target: added support for widgets-specific targets | svelto_svelto | train | js |
cf31deaa19e8aa39fea15bfedaf7d8870aa96aa6 | diff --git a/sources/scalac/backend/jvm/GenJVM.java b/sources/scalac/backend/jvm/GenJVM.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/backend/jvm/GenJVM.java
+++ b/sources/scalac/backend/jvm/GenJVM.java
@@ -1130,7 +1130,7 @@ class GenJVM {
case ZNOT : case ZOR : case ZAND :
case NEW_ZA... | - oops fix: oarray is really recognised as a pr...
- oops fix: oarray is really recognised as a primitive now | scala_scala | train | java |
8164a4b6063cd4448f5b49fa7465f4e040adbd6e | diff --git a/myfitnesspal/client.py b/myfitnesspal/client.py
index <HASH>..<HASH> 100644
--- a/myfitnesspal/client.py
+++ b/myfitnesspal/client.py
@@ -229,21 +229,21 @@ class Client(MFPBase):
return day
- def get_measurements(self, *args, **kwargs):
+ def get_measurements(self, **kwargs):
do... | #<I> Renamed method that retrieves measurement IDs
Changed the name of the method to _get_measurement_ids, as another
method will be created called _get_measurements to pull out the actual
data. Removed unnecessary *args from get_measurements. | coddingtonbear_python-myfitnesspal | train | py |
42df1851c7119fcd91f9b1e7262cceeeedfdcc30 | diff --git a/meter.go b/meter.go
index <HASH>..<HASH> 100644
--- a/meter.go
+++ b/meter.go
@@ -60,11 +60,10 @@ func (m *Meter) Snapshot() Snapshot {
// Reset sets accumulator, total and rate to zero and last update to current time.
func (m *Meter) Reset() {
globalSweeper.snapshotMu.Lock()
- defer globalSweeper.snap... | reduce reset critical section
1. The last update is when we last saw activity. We don't need to update it when
we reset the meter.
2. Defer isn't _quite_ as fast as it could be. | libp2p_go-flow-metrics | train | go |
b34ad18838dae5f6fd55417499b683c1e823fed1 | diff --git a/esridump/dumper.py b/esridump/dumper.py
index <HASH>..<HASH> 100644
--- a/esridump/dumper.py
+++ b/esridump/dumper.py
@@ -36,9 +36,13 @@ class EsriDumper(object):
return self._layer_url + url if url else self._layer_url
def _build_query_args(self, query_args=None):
- complete_args = ... | have extra args overwrite default args instead of the other way around | openaddresses_pyesridump | train | py |
d3737b3081eb533093cdb3608b10609a47574ecd | diff --git a/tests/source/core/datastore/types/directory/MDirectoryDatastoreTest.php b/tests/source/core/datastore/types/directory/MDirectoryDatastoreTest.php
index <HASH>..<HASH> 100644
--- a/tests/source/core/datastore/types/directory/MDirectoryDatastoreTest.php
+++ b/tests/source/core/datastore/types/directory/MDire... | assert second and third instead first and second | sebastianmonzel_webfiles-framework-php | train | php |
277399fa7e1b4598f5f1a68a4f535ff98cf2d0c2 | diff --git a/src/Commands/HttpServerCommand.php b/src/Commands/HttpServerCommand.php
index <HASH>..<HASH> 100644
--- a/src/Commands/HttpServerCommand.php
+++ b/src/Commands/HttpServerCommand.php
@@ -286,7 +286,8 @@ class HttpServerCommand extends Command
return false;
}
- [$masterPid, $ma... | fix pids in isRunning | swooletw_laravel-swoole | train | php |
e50e56ca779d2de6d6fe484a8889e3aaf4b0ea62 | diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb
index <HASH>..<HASH> 100755
--- a/lib/puppet/type/exec.rb
+++ b/lib/puppet/type/exec.rb
@@ -161,7 +161,10 @@ module Puppet
use this then any error output is not currently captured. This
is because of a bug within Ruby. If you are using P... | (Docs) Point out that setting "user" in an exec does not automatically set $HOME
Users were sometimes expecting this to happen, so we should point out that it
doesn't. | puppetlabs_puppet | train | rb |
dadac00c1984416c00c4d5a9ec6f8cd0e0bdb561 | diff --git a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
index <HASH>..<HASH> 100644
--- a/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
+++ b/src/Forms/GridField/GridFieldDetailForm_ItemRequest.php
@@ -46,7 +46,7 @@ class GridFieldDetailFo... | Added array declaration to `GridFieldDetailForm_ItemRequest::$formActions` | silverstripe_silverstripe-framework | train | php |
1e0742129dcce72f88f462b02e8f7970341f9d93 | diff --git a/test/Knp/Snappy/PdfTest.php b/test/Knp/Snappy/PdfTest.php
index <HASH>..<HASH> 100644
--- a/test/Knp/Snappy/PdfTest.php
+++ b/test/Knp/Snappy/PdfTest.php
@@ -111,9 +111,9 @@ class PdfTest extends TestCase
$method->setAccessible(true);
$method->invoke($pdf, 'test', $pdf->getDefaultExtensio... | Use assertFileExists and assertFileNotExists | KnpLabs_snappy | train | php |
06ac7810528ffb6feed3083cd0a9258b5fce5bba | diff --git a/src/Message/AbstractRequest.php b/src/Message/AbstractRequest.php
index <HASH>..<HASH> 100644
--- a/src/Message/AbstractRequest.php
+++ b/src/Message/AbstractRequest.php
@@ -297,7 +297,7 @@ abstract class AbstractRequest extends BaseAbstractRequest
public function getServiceFeeAmount()
{
- ... | mirror set service fee amount with get. Tests to follow | digitickets_omnipay-gocardlessv2 | train | php |
b292b84886782231a63b901aeddda904cde508f2 | diff --git a/porespy/__vis__.py b/porespy/__vis__.py
index <HASH>..<HASH> 100644
--- a/porespy/__vis__.py
+++ b/porespy/__vis__.py
@@ -22,3 +22,13 @@ class Visualizations(object):
im = im*depth
im = sp.amax(im, axis=0)
return im
+
+ @staticmethod
+ def xray(im, direction='X'):
+ ... | Added xray view to Visualization | PMEAL_porespy | train | py |
990865929b372dba9393b0ba8e4967288594b59b | diff --git a/conn.go b/conn.go
index <HASH>..<HASH> 100644
--- a/conn.go
+++ b/conn.go
@@ -724,7 +724,7 @@ func (c *Conn) prepareStatement(ctx context.Context, stmt string, tracer Tracer)
// TODO(zariel): tidy this up, simplify handling of frame parsing so its not duplicated
// everytime we need to parse a frame.... | conn: dont try to trace if we dont have tracer | gocql_gocql | train | go |
7094964fe00e0b221e7db29f5980da8bc9166b30 | diff --git a/staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go b/staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go
+++ b/staging/src/k8s.io/apiserver/pkg/server/filter... | Add missing termination metrics to priority-and-fairness handler | kubernetes_kubernetes | train | go |
4a1ae3cd4a12cfdebdcc089a90b8bb7756511cfb | diff --git a/client/executor/exec.go b/client/executor/exec.go
index <HASH>..<HASH> 100644
--- a/client/executor/exec.go
+++ b/client/executor/exec.go
@@ -17,7 +17,7 @@
// However, drivers that provide their own isolation should not use executors.
// For example, using an executor to start QEMU means that the QEMU ca... | Tweak phrasing to be clearer *why* that's not what we want | hashicorp_nomad | train | go |
d2bce6b9eed4e8d8efdf19b4ba11743e4eedfce1 | diff --git a/src/Data/FailedLogin.php b/src/Data/FailedLogin.php
index <HASH>..<HASH> 100644
--- a/src/Data/FailedLogin.php
+++ b/src/Data/FailedLogin.php
@@ -59,7 +59,7 @@ final class FailedLogin implements LogDataInterface {
*/
public function level() {
- isset( $this->attempts ) or $this->attempts = $this->c... | FailedLogin check attempts are set in on place only
Props @tfrommen | inpsyde_Wonolog | train | php |
39cb29ac546e42e48decf189ba29a2e757f09501 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ from setuptools import setup
setup(
name='msrest',
- version='0.4.7',
+ version='0.4.8rc1',
author='Microsoft Corporation',
packages=['msrest'],
url=("https://github.com/Azure/msrest... | Change setup to <I>rc1 | Azure_msrest-for-python | train | py |
46152c1fe63c0ee3f2f6bf75618d8300be02fe1c | diff --git a/lib/puppet/util/metric.rb b/lib/puppet/util/metric.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/metric.rb
+++ b/lib/puppet/util/metric.rb
@@ -155,4 +155,6 @@ class Puppet::Util::Metric
end
end
+Puppet::Metric = Puppet::Util::Metric
+
# $Id$ | Fixing the Metric class old clients can still refer to the Puppet::Metric class.
git-svn-id: <URL> | puppetlabs_puppet | train | rb |
d6842a02dd340fbabf1e24eb1ed7fb7f018d41ec | diff --git a/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotPredicates.java b/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotPredicates.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotPredicates.java
+++ b/src/frontend/org/voltdb/sysprocs/saverestore/SnapshotPredi... | ENG-<I>: Fix an iteration error that forgot to increment the index in
SnapshotPredicates. | VoltDB_voltdb | train | java |
37f1199de25f754b37753b05903a6e9a709abc0d | diff --git a/src/java/voldemort/server/scheduler/slop/RepairJob.java b/src/java/voldemort/server/scheduler/slop/RepairJob.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/server/scheduler/slop/RepairJob.java
+++ b/src/java/voldemort/server/scheduler/slop/RepairJob.java
@@ -55,7 +55,7 @@ public class RepairJob ... | Made deleteOnly = true as default in RepairJob | voldemort_voldemort | train | java |
bbd1e147603eef0b861eafdfd1db51042fac6433 | diff --git a/tornado_json/api_doc_gen.py b/tornado_json/api_doc_gen.py
index <HASH>..<HASH> 100644
--- a/tornado_json/api_doc_gen.py
+++ b/tornado_json/api_doc_gen.py
@@ -63,6 +63,17 @@ def _get_tuple_from_route(route):
return pattern, handler_class
+def _write_docs_to_file(documentation):
+ # Documentation... | Add _write_docs_to_file | hfaran_Tornado-JSON | train | py |
87bab1fd7c05d5ce9f0fc3563203136cfba8812e | diff --git a/Config/config.php b/Config/config.php
index <HASH>..<HASH> 100644
--- a/Config/config.php
+++ b/Config/config.php
@@ -138,6 +138,7 @@ return [
'event_dispatcher',
'doctrine.orm.entity_manager',
'mautic.helper.ip_lookup',
+ 'm... | Add logger interface to source ingestion. | TheDMSGroup_mautic-contact-source | train | php,php |
9e746c1bd20afa823cbc1138868b65cfb3f9fb1a | diff --git a/http.go b/http.go
index <HASH>..<HASH> 100644
--- a/http.go
+++ b/http.go
@@ -442,6 +442,10 @@ func (c *Client) Do(req *http.Request, v interface{}) (*http.Response, error) {
var resBuf bytes.Buffer
resTee := io.TeeReader(res.Body, &resBuf)
+ // add the body back to the response so
+ // subsequent ca... | adds response body back for re-use after Do is called | go-chef_chef | train | go |
0d0589a205a68d54b250398fd0e0415d8a03e6c8 | diff --git a/lazy_relay.js b/lazy_relay.js
index <HASH>..<HASH> 100644
--- a/lazy_relay.js
+++ b/lazy_relay.js
@@ -679,6 +679,11 @@ LazyRelayOutReq.prototype.emitError =
function emitError(err) {
var self = this;
+ // ObjectPool weird free() issue; bail early
+ if (!self.channel) {
+ return;
+ }... | lazy_relay: defend against method after free().
There is a production edge case where we try to send an
error to a LazyRelayOutReq after we have freed it.
I'm not sure what the cause it but this shorting will make
the issue go away. | uber_tchannel-node | train | js |
4e1fcfe3d6937a5c2cc74747f4d256d2443dc1e2 | diff --git a/lib/resque/log_formatters/verbose_formatter.rb b/lib/resque/log_formatters/verbose_formatter.rb
index <HASH>..<HASH> 100644
--- a/lib/resque/log_formatters/verbose_formatter.rb
+++ b/lib/resque/log_formatters/verbose_formatter.rb
@@ -1,7 +1,7 @@
module Resque
class VerboseFormatter
def call(server... | fix log formatters not appending a new line | resque_resque | train | rb,rb |
9765b701f28c8eb235fa128653545945a9c6b928 | diff --git a/discord/activity.py b/discord/activity.py
index <HASH>..<HASH> 100644
--- a/discord/activity.py
+++ b/discord/activity.py
@@ -28,6 +28,7 @@ import datetime
from .enums import ActivityType, try_enum
from .colour import Colour
+from .utils import _get_as_snowflake
__all__ = ['Activity', 'Streaming', '... | Change Activity.application_id from `str` to `int`. | Rapptz_discord.py | train | py |
886b6056749e56c36482abec23078a696b66e3da | diff --git a/util/field.js b/util/field.js
index <HASH>..<HASH> 100644
--- a/util/field.js
+++ b/util/field.js
@@ -43,6 +43,8 @@ export const RESERVED = [
* @description Constructs a new field
*/
export const Field = DefineMap.extend('Field', {
+ seal: false
+}, {
/**
* @prototype
*/ | FIX: make field objects extensible | roemhildtg_spectre-canjs | train | js |
25c4311e284dd8fea16192f229c89472e6dca545 | diff --git a/lib/subprocess/version.rb b/lib/subprocess/version.rb
index <HASH>..<HASH> 100644
--- a/lib/subprocess/version.rb
+++ b/lib/subprocess/version.rb
@@ -1,3 +1,3 @@
module Subprocess
- VERSION = '1.0.0'
+ VERSION = '1.1.0'
end | Version <I>
This version includes a potentially backwards incompatible change: when
passing Subprocess a file descriptor, it will now make a private copy
using #dup, meaning the file descriptor you pass will not be closed by
Subprocess. | stripe_subprocess | train | rb |
7e41d436fe343103b67d7078c08c3ec444ea0aa7 | diff --git a/lib/puppet/type/pfile.rb b/lib/puppet/type/pfile.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/type/pfile.rb
+++ b/lib/puppet/type/pfile.rb
@@ -209,10 +209,12 @@ module Puppet
# Autorequire any parent directories.
autorequire(:file) do
- unless self[:path]
- ... | Turning a failure into an error when, for some reason, pfiles do not have paths set.
git-svn-id: <URL> | puppetlabs_puppet | train | rb |
f7cb1688c7923d581d82b7af35bf3ded3e2a28e7 | diff --git a/lib/classes/login.class.php b/lib/classes/login.class.php
index <HASH>..<HASH> 100644
--- a/lib/classes/login.class.php
+++ b/lib/classes/login.class.php
@@ -74,7 +74,7 @@ class login
if (phrasea::guest_allowed())
{
- $inviteBox = '<a class="link" rel="external" href="/prod/index.php?nolog... | Change redirection from index.php to / | alchemy-fr_Phraseanet | train | php |
470b2e395b09488eef892087b07ff857b32d9cb5 | diff --git a/lib/data_mapper/adapters/data_objects_adapter.rb b/lib/data_mapper/adapters/data_objects_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/adapters/data_objects_adapter.rb
+++ b/lib/data_mapper/adapters/data_objects_adapter.rb
@@ -276,6 +276,12 @@ module DataMapper
WHERE #{model.key... | Added #create_store and #drop_store to AbstractAdapter | datamapper_dm-core | train | rb |
6c45008c5a79eae53df03f25aac37d37174ec85f | diff --git a/src/catalog.js b/src/catalog.js
index <HASH>..<HASH> 100644
--- a/src/catalog.js
+++ b/src/catalog.js
@@ -177,7 +177,9 @@ module.exports = class Catalog {
const stat = File.statSync(pathname);
if (stat.isDirectory()) {
- const files = File.readdirSync(pathname);
+ let files = File.rea... | Ignore dot files inside fixture folders | assaf_node-replay | train | js |
ae57ba8f8ec4cc95efa7be9b5d3ea2f4b73c9adb | diff --git a/plugin/oapmc.js b/plugin/oapmc.js
index <HASH>..<HASH> 100644
--- a/plugin/oapmc.js
+++ b/plugin/oapmc.js
@@ -440,6 +440,8 @@ function _addMetadata(pkg,mainArticleName,uri,ldpm,opts,callback){
opts = {};
}
+ console.log(uri);
+
request(uri,
function(error,response,body){
if(error)... | storing dateCreated on oapmc to identify newer versions | sballesteros_dcat | train | js |
dde385b5d87454f64eb245d8a57ff9b59fe14435 | diff --git a/src/geo/map/legends/legends.js b/src/geo/map/legends/legends.js
index <HASH>..<HASH> 100644
--- a/src/geo/map/legends/legends.js
+++ b/src/geo/map/legends/legends.js
@@ -25,6 +25,10 @@ var LEGENDS_METADATA = {
modelClass: CustomLegendModel,
definitionAttrs: [ { 'items': 'categories' }, 'html' ]
... | HOTFIX: html legends. | CartoDB_carto.js | train | js |
f5fc832b6e786bbcd7dfe98b1ec04b8b8d1935ae | diff --git a/graph/graph.go b/graph/graph.go
index <HASH>..<HASH> 100644
--- a/graph/graph.go
+++ b/graph/graph.go
@@ -182,7 +182,7 @@ func (graph *Graph) restore() error {
if graph.driver.Exists(id) {
img, err := graph.loadImage(id)
if err != nil {
- return err
+ return fmt.Errorf("could not restore i... | graph: enhance err message on failed image restore | moby_moby | train | go |
fb87816cc48c9dae96fc88ce0f3b21a4dec0dce0 | diff --git a/databasetools/sql.py b/databasetools/sql.py
index <HASH>..<HASH> 100644
--- a/databasetools/sql.py
+++ b/databasetools/sql.py
@@ -39,6 +39,13 @@ class MySQLTools:
self.cnx = None
self.connect(config)
+ def __enter__(self):
+ return self
+
+ def __exit__(self, exc_type, exc_... | Added __enter__ and __exit__ methods to MySQLTools to allow for content management of the database connection | mrstephenneal_databasetools | train | py |
efd8ae791e43e5bf6f1e7eb4334dca5ecebcc467 | diff --git a/holoviews/ipython/widgets.py b/holoviews/ipython/widgets.py
index <HASH>..<HASH> 100644
--- a/holoviews/ipython/widgets.py
+++ b/holoviews/ipython/widgets.py
@@ -547,6 +547,7 @@ class SelectionWidget(ScrubberWidget):
init_dim_vals = []
for idx, dim in enumerate(self.mock_obj.key_dimension... | Fixed bug in widgets for dimension subsets | pyviz_holoviews | train | py |
cef85c5cfe6c30a65243266772de0c25514314b3 | diff --git a/src/com/esotericsoftware/kryo/io/UnsafeMemoryOutput.java b/src/com/esotericsoftware/kryo/io/UnsafeMemoryOutput.java
index <HASH>..<HASH> 100644
--- a/src/com/esotericsoftware/kryo/io/UnsafeMemoryOutput.java
+++ b/src/com/esotericsoftware/kryo/io/UnsafeMemoryOutput.java
@@ -40,9 +40,8 @@ public final class ... | Do not invoke updateBufferAddress from a default constructor, because a buffer is not set yet. | EsotericSoftware_kryo | train | java |
497f612a5a811ad72240dfae40958f559a43064a | diff --git a/lib/jquery.event.drag-2.2.js b/lib/jquery.event.drag-2.2.js
index <HASH>..<HASH> 100644
--- a/lib/jquery.event.drag-2.2.js
+++ b/lib/jquery.event.drag-2.2.js
@@ -178,7 +178,7 @@ drag = $special.drag = {
case !dd.dragging && 'touchmove':
event.preventDefault();
case !dd.dragging && 'mousemove'... | Re-saved the SlickGrid with UTF-8 | coatue-oss_slickgrid2 | train | js |
c702722568f936ba7310931abb2a7d11dcdc434d | diff --git a/source/Application/Model/Category.php b/source/Application/Model/Category.php
index <HASH>..<HASH> 100644
--- a/source/Application/Model/Category.php
+++ b/source/Application/Model/Category.php
@@ -926,7 +926,6 @@ class Category extends \oxI18n implements \oxIUrl
$iTreeSize = $sOldParentRigh... | ESDEV-<I> Remove outdated comments | OXID-eSales_oxideshop_ce | train | php |
1d001fc4640fc42b3bb1a34eafe492d62f55c17b | diff --git a/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java b/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java
index <HASH>..<HASH> 100644
--- a/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java
+++ b/logback-classic/src/main/java/ch/qos/log... | fix typo: mdcPropertyMap != null should have been mdcPropertyMap == null | tony19_logback-android | train | java |
c182a478b8423d9a92eeabd496bb205723f54c72 | diff --git a/src/main/java/dtest/base/TestActor.java b/src/main/java/dtest/base/TestActor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/dtest/base/TestActor.java
+++ b/src/main/java/dtest/base/TestActor.java
@@ -1592,7 +1592,7 @@ public class TestActor extends Observable implements ITestActor {
String a... | fix(TestActor): don't exclude properties with null values when logging action arguments | mcdcorp_opentest | train | java |
e53f76ffeacf869d51295eaa08e253857cf1b6d0 | diff --git a/lib/scoped_search/query_builder.rb b/lib/scoped_search/query_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/scoped_search/query_builder.rb
+++ b/lib/scoped_search/query_builder.rb
@@ -229,7 +229,8 @@ module ScopedSearch
if field.relation && definition.reflection_by_name(field.definition.klass, f... | Abide "has_many ..., primary_key" overrides in relation searches. | wvanbergen_scoped_search | train | rb |
718fa2f39139074b9ad4faff0ede6715ba70d483 | diff --git a/src/WidgetBase.php b/src/WidgetBase.php
index <HASH>..<HASH> 100644
--- a/src/WidgetBase.php
+++ b/src/WidgetBase.php
@@ -42,17 +42,13 @@ abstract class WidgetBase extends Component implements WidgetInterface
public function __construct(Array $options = [])
{
$this->setOptions($options);... | remove method "onConstruct" from WidgetInterface | phalcon-ext_widgets | train | php,php |
4e690f5568b450b27d0f54691e406219d5567832 | diff --git a/twython/twython.py b/twython/twython.py
index <HASH>..<HASH> 100644
--- a/twython/twython.py
+++ b/twython/twython.py
@@ -176,7 +176,7 @@ class Twython(object):
# Then open and load that shiiit, yo. TODO: check HTTP method and junk, handle errors/authentication
if fn['method'] == 'POST':
- res... | Parameters now can be of any type.
The patch by Eugene (<I>d0f<I>ec) is nice, because you don't have to
manually encode() the parameters yourself. But it sucks a little,
because all your parameter values must be unicodes now.
Proposed patch encodes unicodes to utf-8 and allows the olde strs and
longs (I love to use l... | ryanmcgrath_twython | train | py |
42a720b437e66845d566965cd15fc2ca083cc583 | diff --git a/Kwf_js/Connection.js b/Kwf_js/Connection.js
index <HASH>..<HASH> 100644
--- a/Kwf_js/Connection.js
+++ b/Kwf_js/Connection.js
@@ -1,3 +1,6 @@
+Ext.fly(window).on('beforeunload', function() {
+ Kwf.Connection.isLeavingPage = true;
+});
Kwf.Connection = Ext.extend(Ext.data.Connection, {
_progressDat... | when user leaves page all xhr requests are stopped. Don't show errors in that case | koala-framework_koala-framework | train | js |
f47ae339826538bcc0b73aebb83b71e25d0b73f0 | diff --git a/src/ce/java/com/couchbase/lite/CouchbaseLite.java b/src/ce/java/com/couchbase/lite/CouchbaseLite.java
index <HASH>..<HASH> 100644
--- a/src/ce/java/com/couchbase/lite/CouchbaseLite.java
+++ b/src/ce/java/com/couchbase/lite/CouchbaseLite.java
@@ -17,12 +17,17 @@ package com.couchbase.lite;
import android... | Fix a missing getExecutionService() method in CouchbaseLite for Java
Added skeleton getExecutionService() method to CouchbaseLite class for Java. | couchbase_couchbase-lite-java | train | java |
b7faeec16016ce6ac39fdee3f41259ba0183e532 | diff --git a/spec/integration/rails/rails_spec.rb b/spec/integration/rails/rails_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/rails/rails_spec.rb
+++ b/spec/integration/rails/rails_spec.rb
@@ -306,7 +306,7 @@ RSpec.describe "Rails integration specs" do
wait_for_a_request_with_body(/"errors"/)
... | integration/rails/rails: status_code -> statusCode
Airbrake Ruby <I>.rc<I> uses this format (again). | airbrake_airbrake | train | rb |
69c3e468663633e72e51ceef9a34dd4f4eb15e21 | diff --git a/lib/ssh.js b/lib/ssh.js
index <HASH>..<HASH> 100644
--- a/lib/ssh.js
+++ b/lib/ssh.js
@@ -5119,7 +5119,16 @@ function KEXDH_REPLY(self, e) { // Server
var signer = crypto.createSign(signAlgo);
var signature;
signer.update(outstate.exchangeHash);
- signature = signer.sign(privateKey);
+ signature... | SSH2Stream: catch and emit data signing errors | mscdex_ssh2-streams | train | js |
4efb25d04839d70e8c9b59b8e831996848e27bce | diff --git a/lib/https.js b/lib/https.js
index <HASH>..<HASH> 100644
--- a/lib/https.js
+++ b/lib/https.js
@@ -14,6 +14,18 @@ var connect = require('connect')
, https = require('https');
/**
+ * Expose `HTTPSServer`.
+ */
+
+exports = module.exports = HTTPSServer;
+
+/**
+ * Server proto.
+ */
+
+var app = HTTPSS... | refactored https.js | expressjs_express | train | js |
e4dcaea3871fab900a8bc5f5d0703327d46c05a6 | diff --git a/api/src/main/java/org/commonjava/indy/model/galley/CacheOnlyLocation.java b/api/src/main/java/org/commonjava/indy/model/galley/CacheOnlyLocation.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/org/commonjava/indy/model/galley/CacheOnlyLocation.java
+++ b/api/src/main/java/org/commonjava/indy/model... | fixing logic for CacheOnlyLocation.allowsStoring() | Commonjava_indy | train | java |
522d84c8779a68adb91e5eac9cd23a50684a5f5f | diff --git a/drivers/python/setup.py b/drivers/python/setup.py
index <HASH>..<HASH> 100644
--- a/drivers/python/setup.py
+++ b/drivers/python/setup.py
@@ -2,6 +2,7 @@
from setuptools import setup, Extension
from distutils.command.build_ext import build_ext
+from distutils.errors import DistutilsPlatformError, CComp... | Fixed slow backend warning in Python driver. | rethinkdb_rethinkdb | train | py |
9077b42f8873caf21afec1558e673d1c1fa49ed6 | diff --git a/src/figdice/View.php b/src/figdice/View.php
index <HASH>..<HASH> 100644
--- a/src/figdice/View.php
+++ b/src/figdice/View.php
@@ -542,6 +542,10 @@ class View {
break;
}
}
+
+ // Remove the fig xmlns directive from the list of attributes of the opening root tag
+ // (as it should not b... | resolves figdice/figdice#<I> | figdice_figdice | train | php,php |
4fdf21b959eecbf700d7e132444066fc96e1c313 | diff --git a/lib/saorin/test.rb b/lib/saorin/test.rb
index <HASH>..<HASH> 100644
--- a/lib/saorin/test.rb
+++ b/lib/saorin/test.rb
@@ -61,7 +61,7 @@ module Saorin
end
def shutdown_test_server
- Process.kill :INT, @pid
+ Process.kill :TERM, @pid
end
def create_test_client(options = {}) | send TERM on test server shutdown | mashiro_saorin | train | rb |
91054f07cb780539d0cbf4c0e5a715d7747c7766 | diff --git a/tests/test_MySQLdb_capabilities.py b/tests/test_MySQLdb_capabilities.py
index <HASH>..<HASH> 100644
--- a/tests/test_MySQLdb_capabilities.py
+++ b/tests/test_MySQLdb_capabilities.py
@@ -116,12 +116,12 @@ class test_MySQLdb(capabilities.DatabaseTest):
c.execute("SELECT id, AsWKB(border) FROM te... | Replaced assertGreater with assertNotEqual so that the code runs with Python <I> too. | PyMySQL_mysqlclient-python | train | py |
3053c66253fe5cf1e9f788590b71dc8e6560ca66 | diff --git a/lib/ardes/resources_controller.rb b/lib/ardes/resources_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/ardes/resources_controller.rb
+++ b/lib/ardes/resources_controller.rb
@@ -685,7 +685,11 @@ module Ardes#:nodoc:
spec = resource_specification_map[segment]
spec = returning(spec.... | Raise ResourceMismatch if the spec raises an error, probably caused by invalid url | ianwhite_resources_controller | train | rb |
b43a59cb5c785fb3787b7dab216f6c6567fd2a35 | diff --git a/common-core-open/src/main/java/com/bbn/bue/common/io/OffsetIndices.java b/common-core-open/src/main/java/com/bbn/bue/common/io/OffsetIndices.java
index <HASH>..<HASH> 100644
--- a/common-core-open/src/main/java/com/bbn/bue/common/io/OffsetIndices.java
+++ b/common-core-open/src/main/java/com/bbn/bue/common... | OffsetIndices.forMap should require only a Map as an argument, not ImmutableMap | BBN-E_bue-common-open | train | java |
f67295f89847da3d0a9c9b3d9e71d77a2e531d2a | diff --git a/app/lib/webpack/bex/plugin.bex-packager.js b/app/lib/webpack/bex/plugin.bex-packager.js
index <HASH>..<HASH> 100644
--- a/app/lib/webpack/bex/plugin.bex-packager.js
+++ b/app/lib/webpack/bex/plugin.bex-packager.js
@@ -35,7 +35,7 @@ class BexPackager {
}
findAndReplaceInSection(manifestData.... | fix(bex): Fix paths on build #<I>
New file structure didn't alter the production build. | quasarframework_quasar | train | js |
c8b3ad7c4694c217368d30ab7e5237ec803a48d9 | diff --git a/local/qedatabase/db/upgrade.php b/local/qedatabase/db/upgrade.php
index <HASH>..<HASH> 100755
--- a/local/qedatabase/db/upgrade.php
+++ b/local/qedatabase/db/upgrade.php
@@ -53,4 +53,17 @@ function xmldb_local_qedatabase_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2008000703, 'local', ... | MDL-<I> quiz_attempts.sumgrades should be nullable. #<I> | moodle_moodle | train | php,php |
88699a2ea3f06f258ed644f7acb9836df5e24249 | diff --git a/xiaomi_gateway/__init__.py b/xiaomi_gateway/__init__.py
index <HASH>..<HASH> 100644
--- a/xiaomi_gateway/__init__.py
+++ b/xiaomi_gateway/__init__.py
@@ -269,7 +269,7 @@ class XiaomiGateway:
'switch': ['plug',
'ctrl_neutral1', 'ctrl_neutral1.aq1', 'switch_b1lacn02',
... | Add new button model switch_b1nacn<I> (#<I>) | Danielhiversen_PyXiaomiGateway | train | py |
24142a8514d503c42034d50af2798566be552788 | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -79,6 +79,10 @@ func main() {
Value: "criu",
Usage: "path to the criu binary used for checkpoint and restore",
},
+ cli.BoolFlag{
+ Name: "systemd-cgroup",
+ Usage: "enable systemd cgroup support, expects cgroupsP... | Add a flag to enable systemd cgroups support in runc | opencontainers_runc | train | go |
78f27420f5154194db8d36ddfe1ed2b1df98dd1c | diff --git a/prow/crier/reporters/gcs/reporter.go b/prow/crier/reporters/gcs/reporter.go
index <HASH>..<HASH> 100644
--- a/prow/crier/reporters/gcs/reporter.go
+++ b/prow/crier/reporters/gcs/reporter.go
@@ -44,7 +44,7 @@ type gcsReporter struct {
}
func (gr *gcsReporter) Report(log *logrus.Entry, pj *prowv1.ProwJob... | Increase GCS reporter timeout <I>-<I>s. | kubernetes_test-infra | train | go |
9fa73f316ea2981a68ec2d6c22173458da656897 | diff --git a/apiserver/watcher.go b/apiserver/watcher.go
index <HASH>..<HASH> 100644
--- a/apiserver/watcher.go
+++ b/apiserver/watcher.go
@@ -186,7 +186,7 @@ func (aw *SrvAllWatcher) translateApplication(info multiwatcher.EntityInfo) para
// correctly interpret the unknown status from the unit status. If the unit
... | Pass unset downstream
We need to pass unset downstream in order for pylibjuju to know the
difference between if someone has set the application status vs if to
derive it from the unit status. | juju_juju | train | go |
69bd3546792ba8faffaab9a2ade45183254dedf3 | diff --git a/libs/Paulus.php b/libs/Paulus.php
index <HASH>..<HASH> 100644
--- a/libs/Paulus.php
+++ b/libs/Paulus.php
@@ -68,6 +68,24 @@ class Paulus {
// Function to setup our Paulus exception handler
private function setup_exception_handler() {
+ // Setup our classes default exception handler, in case anythin... | Created a new fallback for exception handling | Rican7_Paulus | train | php |
a5157531f3811f3ff48f15355bbc29b23a0b607b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,16 +24,15 @@ if sys.platform == "darwin":
setup_helper.install_custom_make_tarball()
-longdesc = """
-This is a library for making SSH2 connections (client or server).
-Emphasis is on using SSH2 as an alternative ... | Use README for long description like other projects | paramiko_paramiko | train | py |
f786c00bb335dd32f35b3d3f426b5ad552de5208 | diff --git a/steam/steamid.py b/steam/steamid.py
index <HASH>..<HASH> 100644
--- a/steam/steamid.py
+++ b/steam/steamid.py
@@ -3,18 +3,21 @@ from steam.enums.base import SteamIntEnum
from steam.enums import EType, EUniverse
class ETypeChar(SteamIntEnum):
- I = EType.Invalid
- U = EType.Individual
- M = EType.... | fix steamid steam3 char bug | ValvePython_steam | train | py |
3c3f85295cdfe012ba8f994964f51fa485a76404 | diff --git a/test/e2e/framework/volume_util.go b/test/e2e/framework/volume_util.go
index <HASH>..<HASH> 100644
--- a/test/e2e/framework/volume_util.go
+++ b/test/e2e/framework/volume_util.go
@@ -479,7 +479,7 @@ func TestVolumeClient(client clientset.Interface, config VolumeTestConfig, fsGro
if fsType != "" {
By(... | Improve output of fsType check for failure case in volumes test | kubernetes_kubernetes | train | go |
89bf52630d623a5f822d61b0b436565f58a68370 | diff --git a/irc/schedule.py b/irc/schedule.py
index <HASH>..<HASH> 100644
--- a/irc/schedule.py
+++ b/irc/schedule.py
@@ -38,7 +38,7 @@ class DelayedCommand(datetime.datetime):
a datetime or timestamp. If `at` is a timestamp, it will be
interpreted as a naive local timestamp.
"""
- if... | Allow float as timestamps in DelayedCommand.at_time() | jaraco_irc | train | py |
65d1b62dfe46cd5cfd80d8b1aafd633575c72ee6 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -250,7 +250,7 @@ class DataFrame(NDFrame):
""" Two-dimensional size-mutable, potentially heterogeneous tabular data
structure with labeled axes (rows and columns). Arit... | DOC: add missing period to DataFrame docstring (#<I>) | pandas-dev_pandas | train | py |
1bd0154a858f6c3f3911e661c8e3ba129fd463a6 | diff --git a/src/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer.php b/src/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer.php
index <HASH>..<HASH> 100644
--- a/src/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer.php
+++ b/src/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer.php
@@ -69,11 +69,11 @@ final cla... | Fix cs (#<I>) | Symplify_CodingStandard | train | php |
838698f2096af08a11789d7bb608352d22aa37b6 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -361,4 +361,15 @@ async.parallel(loadFixtures(csvFixtures), function (err) {
t.end();
});
});
+
+ test('should add a \\ to escape \\" when doubleQuotes is set to \\"', function(t){
+ js... | failing test case for #<I> | zemirco_json2csv | train | js |
f87eecebf43bc9a80b3b233ffd5901cda6d9fd82 | diff --git a/core/src/main/java/org/jdeferred/impl/AbstractPromise.java b/core/src/main/java/org/jdeferred/impl/AbstractPromise.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/jdeferred/impl/AbstractPromise.java
+++ b/core/src/main/java/org/jdeferred/impl/AbstractPromise.java
@@ -109,10 +109,6 @@ public a... | put notifyAll in triggerAlways | jdeferred_jdeferred | train | java |
3a1c6d1f822faa3dd3e18b7dda60c75fb3bff8e9 | diff --git a/keanu-project/src/test/java/io/improbable/keanu/tensor/dbl/Nd4jDoubleTensorTest.java b/keanu-project/src/test/java/io/improbable/keanu/tensor/dbl/Nd4jDoubleTensorTest.java
index <HASH>..<HASH> 100644
--- a/keanu-project/src/test/java/io/improbable/keanu/tensor/dbl/Nd4jDoubleTensorTest.java
+++ b/keanu-proj... | use `Double.isNaN` to clarify that NaN is a special case: it's different to doing x == NaN, because this is always false (even NaN != NaN) | improbable-research_keanu | train | java |
215885f3a1ca016c81a363be0ce30b237150a7b5 | diff --git a/version.py b/version.py
index <HASH>..<HASH> 100644
--- a/version.py
+++ b/version.py
@@ -1 +1 @@
-__version__ = (0, 2, 1)
+__version__ = (0, 3, 0) | bumping version for delorean | myusuf3_delorean | train | py |
79aa4d16fed024ecc76209c4b6d02f8a1f4dabef | diff --git a/dustmaps/std_paths.py b/dustmaps/std_paths.py
index <HASH>..<HASH> 100644
--- a/dustmaps/std_paths.py
+++ b/dustmaps/std_paths.py
@@ -25,19 +25,31 @@ from __future__ import print_function, division
import os
from .config import config
+
script_dir = os.path.dirname(os.path.realpath(__file__))
data_di... | In config, expand ~ to user's home directory, and expand relative paths. | gregreen_dustmaps | train | py |
7e115c792e1cbc96897fd3d74b924dcb2eddb4e5 | diff --git a/src/Repository.php b/src/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Repository.php
+++ b/src/Repository.php
@@ -24,6 +24,7 @@ class Repository extends IlluminateRepository
try {
$this->loadConfigurationFiles($hint, $namespace);
+ $this->loadConfigurationFiles(base_path() . '/config/pac... | Loads configuration overrides from config/packages | morrislaptop_LaravelFivePackageBridges | train | php |
39fbdb96efa580c5e93e4baee90b71e41b8494ec | diff --git a/test/integration/channel.js b/test/integration/channel.js
index <HASH>..<HASH> 100644
--- a/test/integration/channel.js
+++ b/test/integration/channel.js
@@ -34,6 +34,7 @@ function waitForChannel (channel) {
describe('Channel', function () {
configure(this)
+ this.retries(3)
let initiator
le... | Configure mocha to retry failed tests | aeternity_aepp-sdk-js | train | js |
9508dfd02e50adf68d7bb4608ccf2fbe2c33a08d | diff --git a/strategies/kubernetes.js b/strategies/kubernetes.js
index <HASH>..<HASH> 100644
--- a/strategies/kubernetes.js
+++ b/strategies/kubernetes.js
@@ -555,9 +555,10 @@ const engine = {
* @returns {*}
*/
redeployService (options, cb) {
+ let contentType = options.params.mode;
lib... | Update to redeployService(), kubernetes driver | soajs_soajs.core.drivers | train | js |
ae115310d12771ea178580ae0d286f20617216bf | diff --git a/memorious/helpers/rule.py b/memorious/helpers/rule.py
index <HASH>..<HASH> 100644
--- a/memorious/helpers/rule.py
+++ b/memorious/helpers/rule.py
@@ -1,6 +1,6 @@
import re
from urllib.parse import urlparse
-from celestial import normalize_mimetype
+from pantomime import normalize_mimetype
from memorio... | Celestial is now called pantomime | alephdata_memorious | train | py,py |
45cdb14d3a7c07ab323157d8441d7612cfaf0b85 | diff --git a/lib/install.js b/lib/install.js
index <HASH>..<HASH> 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -39,10 +39,8 @@ function install (gyp, argv, callback) {
// Determine which node dev files version we are installing
- var versionStr = argv[0] || gyp.opts.target
- if (!versionStr) {
- retu... | install: install the current node version when none is specified | CodeJockey_node-ninja | train | js |
38d96dad301d5cecf5d24d64ba96a54fcf10a04e | diff --git a/app/Http/Controllers/AdminTreesController.php b/app/Http/Controllers/AdminTreesController.php
index <HASH>..<HASH> 100644
--- a/app/Http/Controllers/AdminTreesController.php
+++ b/app/Http/Controllers/AdminTreesController.php
@@ -1593,6 +1593,8 @@ class AdminTreesController extends AbstractBaseController
... | Redirect to wrong tree after synchronising | fisharebest_webtrees | train | php |
eae692d539259cb6229b8bb2683f5a0f5eef8742 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -27,9 +27,7 @@ highlight_language = 'javascript'
source_suffix = '.rst'
# Prolog
-rst_prolog = ('.. note:: This is the documentation for the |release| version of'
- ' CasperJS. Find docs for 1.... | removed docs warning about documentation version | casperjs_casperjs | train | py |
7196657341d9b259c6ea394931df5400032bb4a8 | diff --git a/lib/grammar.js b/lib/grammar.js
index <HASH>..<HASH> 100644
--- a/lib/grammar.js
+++ b/lib/grammar.js
@@ -262,7 +262,7 @@ var grammar = module.exports = {
},
{ //a=rid:1 send max-width=1280;max-height=720;max-fps=30;depend=0
push: 'rids',
- reg: /^rid:([\d\w]+) (\w+)(?: ([\S| ]*))/,
+... | Fix a=rid grammar (params is optional) | clux_sdp-transform | train | js |
8ac62310e4669c096d0b14e74a48efe839b9649a | diff --git a/core/search_test.go b/core/search_test.go
index <HASH>..<HASH> 100644
--- a/core/search_test.go
+++ b/core/search_test.go
@@ -24,7 +24,8 @@ func TestSearchRequest(t *testing.T) {
"wildcard": map[string]string{"actor": "a*"},
},
}
- out, err := SearchRequest("github", "", nil, qry)
+ var args map[s... | Update search tests to match new SearchRequest interface | mattbaird_elastigo | 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.