hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
a4f69f32d7bfae0a93396fa624878a6691484d1b | diff --git a/src/ol/render/canvas/replay.js b/src/ol/render/canvas/replay.js
index <HASH>..<HASH> 100644
--- a/src/ol/render/canvas/replay.js
+++ b/src/ol/render/canvas/replay.js
@@ -1205,6 +1205,7 @@ ol.render.canvas.PolygonReplay.prototype.drawFlatCoordinatess_ = function(flatCo
var beginPathInstruction = [ol.rend... | Avoid expensive closePath() when it makes no visual difference | openlayers_openlayers | train |
83e896b3b8829961385db8ffe85a8c67147fe71e | diff --git a/tests/test_parser.py b/tests/test_parser.py
index <HASH>..<HASH> 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -2361,7 +2361,7 @@ def _make_parser_test(LEXER, PARSER):
self.assertEqual(a.line, 1)
self.assertEqual(b.line, 2)
- @unittest.skipIf(PAR... | Prevent test from running with old custom lexer | lark-parser_lark | train |
7880dbc43699ab1b198353efa08613d70260b955 | diff --git a/azurerm/resource_arm_kubernetes_cluster.go b/azurerm/resource_arm_kubernetes_cluster.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_kubernetes_cluster.go
+++ b/azurerm/resource_arm_kubernetes_cluster.go
@@ -112,16 +112,6 @@ func resourceArmKubernetesCluster() *schema.Resource {
ForceNew:... | Storage Profile can only be set to `Managed Disks` | terraform-providers_terraform-provider-azurerm | train |
2debfb1f3455274b0cbcacb24aa5d679f3fd3aa1 | diff --git a/test/spambl_test.py b/test/spambl_test.py
index <HASH>..<HASH> 100644
--- a/test/spambl_test.py
+++ b/test/spambl_test.py
@@ -432,7 +432,8 @@ def get_redirect_urls(urls):
''' Get a sequence of Url objects,
each with .location assigned to the next one
- :param urls: a sequence of url valu... | Make get_redirect_urls add http scheme if necessary
The http_urls function used in BaseUrlTesterTest.setUpData is being removed
and its responsibility of generating url values from hosts is being moved to
get_redirect_urls. | piotr-rusin_spam-lists | train |
4b4da5cf76258746103e5ccea15b1a7c15e5116c | diff --git a/src/main/java/com/cronutils/utils/DateUtils.java b/src/main/java/com/cronutils/utils/DateUtils.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cronutils/utils/DateUtils.java
+++ b/src/main/java/com/cronutils/utils/DateUtils.java
@@ -18,6 +18,7 @@ import java.util.Collections;
import java.util.Lis... | Add private constructor for DateUtils, so that remains just as a utilities class. | jmrozanec_cron-utils | train |
ec1a0d6840c83aaaae976a14a0e53304c2bfa57a | diff --git a/lib/controller.js b/lib/controller.js
index <HASH>..<HASH> 100644
--- a/lib/controller.js
+++ b/lib/controller.js
@@ -315,7 +315,7 @@ Controller.prototype.processRoute = function(urlData, req, res) {
req.parseBodyData(function(fields, files) {
- req.__requestData = {
+ ... | Implemented req.getRequestData()
This is basically the same as the old Controller::getRequestData(),
but now the 'req' param is not required:
req.getRequestData(function(fields, files) {
files.removeAll();
res.json(fields);
}); | derdesign_protos | train |
60c058712520d8e9e9c40ef606ca01bf1c891d1f | diff --git a/duolingo.py b/duolingo.py
index <HASH>..<HASH> 100644
--- a/duolingo.py
+++ b/duolingo.py
@@ -22,7 +22,7 @@ class AlreadyHaveStoreItemException(Exception):
class Duolingo(object):
- def __init__(self, username, password=None):
+ def __init__(self, username, password):
self.username = us... | Passwords are mandatory for all endpoints now, making them a non-optional argument in the API | KartikTalwar_Duolingo | train |
d5af888298163a789424d3fc17fe114d0b8f8d63 | diff --git a/lib/Tmdb/Model/Movie.php b/lib/Tmdb/Model/Movie.php
index <HASH>..<HASH> 100644
--- a/lib/Tmdb/Model/Movie.php
+++ b/lib/Tmdb/Model/Movie.php
@@ -245,6 +245,7 @@ class Movie extends AbstractModel
$this->alternativeTitles = new GenericCollection();
$this->changes = new GenericCollection();... | Init externalIds in Movie model | php-tmdb_api | train |
62d2eaa358953ee57be0a8e06f5bc2c8465e1b43 | diff --git a/guake/notebook.py b/guake/notebook.py
index <HASH>..<HASH> 100644
--- a/guake/notebook.py
+++ b/guake/notebook.py
@@ -87,7 +87,7 @@ class TerminalNotebook(Gtk.Notebook):
# Action box
self.new_page_button = Gtk.Button(
- image=Gtk.Image.new_from_icon_name("tab-new", Gtk.IconSi... | changed new tab icon to be identical to gnome terminal | Guake_guake | train |
c2e8bc2363b381eba98251bf84326dc7b7e2cbd1 | diff --git a/resolwe/flow/signals.py b/resolwe/flow/signals.py
index <HASH>..<HASH> 100644
--- a/resolwe/flow/signals.py
+++ b/resolwe/flow/signals.py
@@ -5,6 +5,7 @@ Signal Handlers
===============
"""
+from django.db import transaction
from django.db.models.signals import post_save, pre_delete
from django.dispa... | Defer manager to the end of the transaction | genialis_resolwe | train |
ca206ece5998e043de3b6ba099ea8050618e7c7d | diff --git a/src/lib/Supra/Package/Cms/Resources/public/dashboard/applications/applications.js b/src/lib/Supra/Package/Cms/Resources/public/dashboard/applications/applications.js
index <HASH>..<HASH> 100644
--- a/src/lib/Supra/Package/Cms/Resources/public/dashboard/applications/applications.js
+++ b/src/lib/Supra/Packa... | do not render back button on first load, closes #<I> | sitesupra_sitesupra | train |
851a84f1d63650615660d02edf9fdceb95fe7eef | diff --git a/myql/contrib/stockscraper/stockretriever.py b/myql/contrib/stockscraper/stockretriever.py
index <HASH>..<HASH> 100644
--- a/myql/contrib/stockscraper/stockretriever.py
+++ b/myql/contrib/stockscraper/stockretriever.py
@@ -43,3 +43,10 @@ def get_index_summary(symbol, items=[],format='json'):
yql = MYQL... | #<I>: tests and get index industry OK | josuebrunel_myql | train |
7c6f2727ed31d199eb6eb0936abc184abd119c1c | diff --git a/taskforce/poll.py b/taskforce/poll.py
index <HASH>..<HASH> 100755
--- a/taskforce/poll.py
+++ b/taskforce/poll.py
@@ -17,7 +17,7 @@
# ________________________________________________________________________
#
-import sys, os, select
+import sys, os, select, errno
PL_SELECT = 0
PL_POLL = 1
@@ -53,9 ... | Translate select.error into IOError for EINTR to be consistent with select.poll() | akfullfo_taskforce | train |
80842da6b8d5ca92978f6eda61cacfbd5b5b662f | diff --git a/test/benchmark.spec.js b/test/benchmark.spec.js
index <HASH>..<HASH> 100644
--- a/test/benchmark.spec.js
+++ b/test/benchmark.spec.js
@@ -1,11 +1,20 @@
-var expect = require('unexpected');
-
describe('benchmark', function () {
- it('expect(42, "to be", 42)', function () {
+ var expect = unexpected.c... | Added benchmark test for to call the callback async | unexpectedjs_unexpected | train |
9de9da31cf977343d057f1bccaf9eb171030b598 | diff --git a/app/lib/staypuft/seeder.rb b/app/lib/staypuft/seeder.rb
index <HASH>..<HASH> 100644
--- a/app/lib/staypuft/seeder.rb
+++ b/app/lib/staypuft/seeder.rb
@@ -342,7 +342,6 @@ module Staypuft
'swift_shared_secret' => swift_shared_secret,
'swift_ringserver_ip' ... | BZ <I>: removed extra cinder_nfs_shares entry from seeder.rb
There was an extra cinder_nfs_shares entry in seeder.rb that overrode
the original value to [], breaking NFS support. | theforeman_staypuft | train |
4f34b67edcb1da33473eff00f171120a967b85c1 | diff --git a/pyrax/exceptions.py b/pyrax/exceptions.py
index <HASH>..<HASH> 100644
--- a/pyrax/exceptions.py
+++ b/pyrax/exceptions.py
@@ -17,6 +17,12 @@
# License for the specific language governing permissions and limitations
# under the License.
+# Since we use the novaclient package, we need to expose its... | Added some novaclient exceptions to the pyrax.exceptions namespace to make it easier to handle them in applications that use pyrax. | pycontribs_pyrax | train |
ab89b13bdc7f1fd15345c381a151e50646bc658d | diff --git a/src/services/qix/index.js b/src/services/qix/index.js
index <HASH>..<HASH> 100644
--- a/src/services/qix/index.js
+++ b/src/services/qix/index.js
@@ -4,6 +4,10 @@ import Schema from './schema';
import RPC from './rpc';
import KeyValueCache from '../../cache';
+function replaceLeadingAndTrailingSlashes(... | Clean up buildUrl logic
Refactored URL build logic to make sure the URL is more likely to be valid.
Fixes #5 | qlik-oss_enigma.js | train |
88c76087c895f58dac74ae0a9235ef89a07320f7 | diff --git a/Gemfile b/Gemfile
index <HASH>..<HASH> 100644
--- a/Gemfile
+++ b/Gemfile
@@ -7,7 +7,7 @@ end
group :test do
gem 'em-http-request', '~> 1.0', :require => 'em-http'
gem 'em-synchrony', '~> 1.0', :require => ['em-synchrony', 'em-synchrony/em-http'], :platforms => :ruby_19
- gem 'excon', '>= 0.14.1'
+... | work around Excon problem with JRuby + SSL | lostisland_faraday | train |
c69e673a0a340e84b83f9da5b0f9444b31280ab5 | diff --git a/codec/codec_test.go b/codec/codec_test.go
index <HASH>..<HASH> 100644
--- a/codec/codec_test.go
+++ b/codec/codec_test.go
@@ -1239,8 +1239,7 @@ func testCodecChan(t *testing.T, h Handle) {
}
-func testCodecRpcOne(t *testing.T, rr Rpc, h Handle, doRequest bool, exitSleepMs time.Duration,
-) (port int) ... | codec: reduce sleep time in tests | ugorji_go | train |
41626330ef877f984a42874117eb15511dd9cafa | diff --git a/lib/spreewald/web_steps.rb b/lib/spreewald/web_steps.rb
index <HASH>..<HASH> 100644
--- a/lib/spreewald/web_steps.rb
+++ b/lib/spreewald/web_steps.rb
@@ -526,5 +526,5 @@ Then /^I should see in this order:?$/ do |text|
lines = lines.collect { |line| line.gsub(/\s+/, ' ')}.collect(&:strip).reject(&:blank?... | make "I should see in this order" work with older Capybaras | makandra_spreewald | train |
d7c3ecd0fb56b06982b59c3a4021775a30a39da9 | diff --git a/pkg/server/sandbox_stop.go b/pkg/server/sandbox_stop.go
index <HASH>..<HASH> 100644
--- a/pkg/server/sandbox_stop.go
+++ b/pkg/server/sandbox_stop.go
@@ -142,18 +142,15 @@ func (c *criService) stopSandboxContainer(ctx context.Context, sandbox sandboxst
return errors.Wrap(err, "failed to kill sandbox con... | RunPodSandbox should block unless client context is canceled
A call to RunPodSandbox should only return timeout if the operation has timed
out because the clients context deadline was exceeded. On client cancelation
it should return gRPC Canceled otherwise it should block until the sandbox has
exited. | containerd_containerd | train |
28a6be456ae049561fec0cbe5fe0ac42ef0b99ce | diff --git a/test/support/assertions.rb b/test/support/assertions.rb
index <HASH>..<HASH> 100644
--- a/test/support/assertions.rb
+++ b/test/support/assertions.rb
@@ -1,3 +1,5 @@
+require 'active_support/test_case'
+
class ActiveSupport::TestCase
def assert_not(assertion)
assert !assertion
diff --git a/test/su... | Require files before monkey patching them. | plataformatec_devise | train |
8bcffba21c1d208517b7098aa8274c0612cd7042 | diff --git a/bugzilla/base.py b/bugzilla/base.py
index <HASH>..<HASH> 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -368,7 +368,7 @@ class BugzillaBase(object):
def getbug(self,id):
'''Return a Bug object with the full complement of bug data
already loaded.'''
- log.debug("getbug... | fix possible traceback when passed a string like "<I>" as bug_id | python-bugzilla_python-bugzilla | train |
f952579464cf298bf9d0df3e5c3d4d74c666b903 | diff --git a/tools/run_tests/run_tests_matrix.py b/tools/run_tests/run_tests_matrix.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_tests_matrix.py
+++ b/tools/run_tests/run_tests_matrix.py
@@ -43,9 +43,6 @@ _OBJC_RUNTESTS_TIMEOUT = 90 * 60
# Number of jobs assigned to each run_tests.py instance
_DEFAULT_INN... | make logs available by run_tests_matrix.py suites | grpc_grpc | train |
e5cfdcd461a3c3c9ac3d476f2adf31d96b276415 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
Mapbox welcomes participation and contributions from everyone.
### main
+- Fixed an issue where `RouteOptions#fromUrl` didn't deserialize the port number. [#1382](https://github.com/mapbox/mapb... | handle custom port number in RouteOptions#fromUrl | mapbox_mapbox-java | train |
a613490682f33146363a4e2d83505e6ed3a9e4f7 | diff --git a/lib/jsduck/renderer.rb b/lib/jsduck/renderer.rb
index <HASH>..<HASH> 100644
--- a/lib/jsduck/renderer.rb
+++ b/lib/jsduck/renderer.rb
@@ -239,8 +239,6 @@ module JsDuck
MetaTagRegistry.instance.signatures.each do |s|
after += "<strong class='#{s[:key]} signature'>#{s[:long]}</strong>" if m[:... | Remove duplicate @private from member signature. | senchalabs_jsduck | train |
a0d7430ca6bd9200fd936bce9511de7cb6b372ea | diff --git a/backoff.py b/backoff.py
index <HASH>..<HASH> 100644
--- a/backoff.py
+++ b/backoff.py
@@ -345,23 +345,10 @@ def _maybe_call(f, *args, **kwargs):
return f(*args, **kwargs) if callable(f) else f
-# Formats a function invocation as a unicode string for logging.
-def _invoc_repr(details):
- f, args... | Don't log retried args and kwargs by default
This behavior, while convenient for debugging in some cases, has the
potential to leak sensitive information. It's not a good default.
The full details of the function invocation are still available in the
on_backoff and on_giveup handlers, so this information can still be... | litl_backoff | train |
4a949c4df960ac037b32b415959c7db24c5f178f | diff --git a/flask_navigation/item.py b/flask_navigation/item.py
index <HASH>..<HASH> 100644
--- a/flask_navigation/item.py
+++ b/flask_navigation/item.py
@@ -58,7 +58,7 @@ class Item(object):
@property
def ident(self):
- return self.endpoint, freeze_dict(self.args)
+ return ItemReference(self... | implement item reference as a named tuple. | tonyseek_flask-navigation | train |
434730bd873743d3bfffba4b836852cb29a5f570 | diff --git a/examples/convnet.py b/examples/convnet.py
index <HASH>..<HASH> 100644
--- a/examples/convnet.py
+++ b/examples/convnet.py
@@ -110,9 +110,9 @@ class maxpool_layer(object):
for i in [0, 1]:
pool_width = self.pool_shape[i]
img_width = inputs.shape[i + 2]
- new_sha... | fixed reshape bug in maxpool layer of convnet example (#<I>) | HIPS_autograd | train |
b982187e04dfaede6a1acda904db91aa90ee3a3a | diff --git a/lib/origen/specs/checkers.rb b/lib/origen/specs/checkers.rb
index <HASH>..<HASH> 100755
--- a/lib/origen/specs/checkers.rb
+++ b/lib/origen/specs/checkers.rb
@@ -93,12 +93,16 @@ module Origen
if Origen.top_level.respond_to? :power_domains
if Origen.top_level.power_domain... | spec formulas now work with clock references. improved specs coverage | Origen-SDK_origen | train |
b3f48a6e94c28f53cf1aa2421c1de93618c0cf4a | diff --git a/spec/rester/client_spec.rb b/spec/rester/client_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rester/client_spec.rb
+++ b/spec/rester/client_spec.rb
@@ -261,8 +261,7 @@ module Rester
end
it 'should return the context back to nil' do
- client.with_context(context) do
- ... | [#<I>] Shorten block | payout_rester | train |
9fc13af66891159b569cacf0d3171e5e61bc0468 | diff --git a/org/postgresql/test/jdbc4/ArrayTest.java b/org/postgresql/test/jdbc4/ArrayTest.java
index <HASH>..<HASH> 100644
--- a/org/postgresql/test/jdbc4/ArrayTest.java
+++ b/org/postgresql/test/jdbc4/ArrayTest.java
@@ -3,7 +3,7 @@
* Copyright (c) 2007-2008, PostgreSQL Global Development Group
*
* IDENTIFICATION
... | Fix an array unit test when running with the V2 protocol. With V2
we must provide the type information because it is not passed to
the server. | pgjdbc_pgjdbc | train |
95d63ab47fe2f0ee19afd583e94323e38b9a10c1 | diff --git a/www/saml2/sp/initSSO.php b/www/saml2/sp/initSSO.php
index <HASH>..<HASH> 100644
--- a/www/saml2/sp/initSSO.php
+++ b/www/saml2/sp/initSSO.php
@@ -137,8 +137,12 @@ try {
$ar->setProtocolBinding(SAML2_Const::BINDING_HTTP_POST);
$ar->setRelayState($_REQUEST['RelayState']);
- $ar->setIsPassive($isPassive... | saml2/sp/initSSO: Fix use of isPassive and ForceAuthn from metadata. | simplesamlphp_saml2 | train |
e4b86591c0ffdc38ea9cd514010c33553eb6dac7 | diff --git a/src/actions/DataTableAction.php b/src/actions/DataTableAction.php
index <HASH>..<HASH> 100644
--- a/src/actions/DataTableAction.php
+++ b/src/actions/DataTableAction.php
@@ -13,6 +13,7 @@ use yii\base\Action;
use yii\base\InvalidConfigException;
use yii\data\ActiveDataProvider;
use yii\db\ActiveQuery;
+... | [add] ability to define toArrayProperties in datatables action | mimicreative_yii2-datatables | train |
102d2527da1e1390cfe2d201bfce7ddd36b2d773 | diff --git a/test/components.spec.js b/test/components.spec.js
index <HASH>..<HASH> 100644
--- a/test/components.spec.js
+++ b/test/components.spec.js
@@ -15,8 +15,11 @@
*/
const ava = require('ava')
+const path = require('path')
const _ = require('lodash')
+const fs = require('fs')
const components = require('.... | components: Test that all files are correctly exported
Change-type: patch | balena-io_landr | train |
d7b1370ca45d742c0961ce98d25ea2c2d3f0f484 | diff --git a/src/util/event.js b/src/util/event.js
index <HASH>..<HASH> 100644
--- a/src/util/event.js
+++ b/src/util/event.js
@@ -6,39 +6,40 @@ import { indexOf } from "./misc"
// Lightweight event framework. on/off also work on DOM nodes,
// registering native DOM handlers.
+const noHandlers = []
+
export let on... | Copy event handler arrays on write
Rather than on read | codemirror_CodeMirror | train |
5c42bbfa2e58a053f4dd1bd450105fa7766e45a8 | diff --git a/grab/base.py b/grab/base.py
index <HASH>..<HASH> 100644
--- a/grab/base.py
+++ b/grab/base.py
@@ -20,6 +20,7 @@ import time
import re
import json
import email
+from datetime import datetime
from .proxylist import ProxyList, parse_proxyline
from .tools.html import find_refresh_url, find_base_url
@@ -... | Add done_time attribute to response object | lorien_grab | train |
ab6d9193ea512ab84e1f7936cf25c5239feb78e3 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -2140,7 +2140,7 @@ window.CodeMirror = (function() {
// hint is null, leave the selection alone as much as possible
var adjustPos = function(pos) {
- if (posLess(pos, change... | Leave selection positions at start of changed range alone | codemirror_CodeMirror | train |
13080e07e2e31a8ec8440a562b69f8e894b6c367 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -7,11 +7,13 @@ module.exports = function (opts) {
function modifyFile(file, cb) {
- //debugger;
if (file.isNull()) return cb(null, file); // pass along
if (file.isStream()) return cb(new Error... | Replacing readFileAsync by readFile. Not sure why I used the sync one in the first place | seamus-oconnor_gulp-jimp | train |
7d1bd351e1197272b8e41f7f3c72d2445e8923e6 | diff --git a/cablemap.core/cablemap/core/models.py b/cablemap.core/cablemap/core/models.py
index <HASH>..<HASH> 100644
--- a/cablemap.core/cablemap/core/models.py
+++ b/cablemap.core/cablemap/core/models.py
@@ -63,6 +63,25 @@ class Cable(object):
>>> cable.created = '2011-07-12 12:12:00'
>>> cable.wl_uris
... | Added more options to the Cable.to_dict method | heuer_cablemap | train |
cceda53ba8e18aff917651909490ed3378050840 | diff --git a/core/typechecker/src/main/java/org/overture/typechecker/assistant/type/ANamedInvariantTypeAssistantTC.java b/core/typechecker/src/main/java/org/overture/typechecker/assistant/type/ANamedInvariantTypeAssistantTC.java
index <HASH>..<HASH> 100644
--- a/core/typechecker/src/main/java/org/overture/typechecker/a... | Some commenting out unused methods. | overturetool_overture | train |
c73f1811026de2a184eed6dffd2e8cb115bce191 | diff --git a/src/main/java/net/kuujo/copycat/state/State.java b/src/main/java/net/kuujo/copycat/state/State.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/kuujo/copycat/state/State.java
+++ b/src/main/java/net/kuujo/copycat/state/State.java
@@ -358,6 +358,9 @@ abstract class State {
if (context.c... | Fix missing async handler invocation. | atomix_atomix | train |
5d5ce619b7b8a7aa03ea0c978b3cadbb20ba8e7d | diff --git a/tests/integration/states/user.py b/tests/integration/states/user.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/user.py
+++ b/tests/integration/states/user.py
@@ -22,6 +22,7 @@ from salttesting.helpers import (
ensure_in_syspath('../../')
# Import salt libs
+import salt.utils
import int... | states.user int tests: disable GECOS for MacOS | saltstack_salt | train |
5ea08cf6a3ccfc9d16cbd6dd1f1a84e7994dc77a | diff --git a/controller/users.go b/controller/users.go
index <HASH>..<HASH> 100644
--- a/controller/users.go
+++ b/controller/users.go
@@ -321,8 +321,8 @@ func (c *UsersController) Update(ctx *app.UpdateUsersContext) error {
if err != nil {
log.Error(ctx, map[string]interface{}{
- "user_name": identity.ID,
- ... | fix panic when user not found (#<I>) | fabric8-services_fabric8-auth | train |
dbf588cbf25aa570c084a2cdf2bf12f16cc7ff14 | diff --git a/numina/array/wavecalib/__main__.py b/numina/array/wavecalib/__main__.py
index <HASH>..<HASH> 100644
--- a/numina/array/wavecalib/__main__.py
+++ b/numina/array/wavecalib/__main__.py
@@ -116,13 +116,19 @@ def collapsed_spectrum(filename, ns1, ns2,
return sp
-def read_wv_master_file(wv_master_file, ... | Make read_wv_master_file more flexible by allowing selection of brightest lines. | guaix-ucm_numina | train |
7e872a9e11df924671042c1dd50215f24a3087eb | diff --git a/wrappers/pyrichdem/richdem/__init__.py b/wrappers/pyrichdem/richdem/__init__.py
index <HASH>..<HASH> 100644
--- a/wrappers/pyrichdem/richdem/__init__.py
+++ b/wrappers/pyrichdem/richdem/__init__.py
@@ -71,6 +71,10 @@ class rdarray(np.ndarray):
rda.setNoData(self.no_data)
return rda
+ def copy... | Copy stuff from returned wrapped rasters | r-barnes_richdem | train |
fb3ae610665fbcbcc0845d47a4f5cb8058e5e4ba | diff --git a/src/SourceRepositoryTypes/GithubRepositoryType.php b/src/SourceRepositoryTypes/GithubRepositoryType.php
index <HASH>..<HASH> 100644
--- a/src/SourceRepositoryTypes/GithubRepositoryType.php
+++ b/src/SourceRepositoryTypes/GithubRepositoryType.php
@@ -57,7 +57,7 @@ class GithubRepositoryType
public fu... | Apply fixes from StyleCI (#<I>) | codedge_laravel-selfupdater | train |
5ac81671e14c2e87a4ef058404604a0cd80c2d3d | diff --git a/lib/kpeg/grammar_renderer.rb b/lib/kpeg/grammar_renderer.rb
index <HASH>..<HASH> 100644
--- a/lib/kpeg/grammar_renderer.rb
+++ b/lib/kpeg/grammar_renderer.rb
@@ -18,7 +18,7 @@ module KPeg
io.print "\n"
end
- @grammar.directives.each do |name, act|
+ @grammar.directives.sort_by {... | Sort directives to reduce commit churn in re-generated output | evanphx_kpeg | train |
fff2214c12c2d1b8c8ba9de0b6368ecf7b5d7a62 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import setup
from setuptools.command.test import test as TestCommand
classifiers = """
-Development Status :: 4 - Beta
+Development Status :: 5 - Production/Stable
Intended Audience :: Science... | changed Development Status to 5 - Production/Stable | IDSIA_sacred | train |
352c714667f83020050aba4186d8e101bd769a76 | diff --git a/src/howler.core.js b/src/howler.core.js
index <HASH>..<HASH> 100644
--- a/src/howler.core.js
+++ b/src/howler.core.js
@@ -654,7 +654,8 @@
};
// Play immediately if ready, or wait for the 'canplaythrough'e vent.
- if (self._state === 'loaded') {
+ var loadedNoReadyState = (... | Check readyState on HTML5 Audio
Unfortunately, IE resets readyState to 0 when each new Howl is created,
which sometimes causes InvalidStateError's to be thrown when no
readyState check is present. | goldfire_howler.js | train |
275fb129f7538ceea2af6de2bbd55d040277122a | diff --git a/src/RecordsTransformer.php b/src/RecordsTransformer.php
index <HASH>..<HASH> 100644
--- a/src/RecordsTransformer.php
+++ b/src/RecordsTransformer.php
@@ -114,7 +114,7 @@ class RecordsTransformer
{
list($relationName, $relationColumnName) = getRelationDetails($columnName);
- if ($meth... | Let the cutom relation column method name be fully camel case | freshbitsweb_laratables | train |
8b8dced47e0136a51a10b1a666ff1e64752ea003 | diff --git a/pkg/fqdn/cache_test.go b/pkg/fqdn/cache_test.go
index <HASH>..<HASH> 100644
--- a/pkg/fqdn/cache_test.go
+++ b/pkg/fqdn/cache_test.go
@@ -161,18 +161,21 @@ func (ds *DNSCacheTestSuite) TestReverseUpdateLookup(c *C) {
var (
now = time.Now()
- size = 1000 // size of array to operate on
+ ... | fqdn: refactor IP generation in DNSCache tests | cilium_cilium | train |
16d6c6020cd169a7e4467683d0c9f3c3ad1afc12 | diff --git a/lib/tmuxinator/assets/template.erb b/lib/tmuxinator/assets/template.erb
index <HASH>..<HASH> 100644
--- a/lib/tmuxinator/assets/template.erb
+++ b/lib/tmuxinator/assets/template.erb
@@ -35,14 +35,20 @@ if [ "$?" -eq 1 ]; then
# Window "<%= window.name %>"
<% unless window.panes? %>
+ <% if w... | Don't run empty pre-tab or pre-window commands | tmuxinator_tmuxinator | train |
1f01776c403cc7a8f04206f1adeb89fc95d260d1 | diff --git a/src/TypedAbstract.php b/src/TypedAbstract.php
index <HASH>..<HASH> 100644
--- a/src/TypedAbstract.php
+++ b/src/TypedAbstract.php
@@ -7,13 +7,6 @@
* @license http://www.apache.org/licenses/LICENSE-2.0.html Apache License, Version 2.0
*/
-if (!function_exists('jsonPrint')) {
- function jsonPrin... | Moved jsonPrint to testing bootstrap. | diskerror_Typed | train |
b5800f2dc54f0c960d80559f207c652d86c3fcac | diff --git a/examples/app/demoapp/build.gradle b/examples/app/demoapp/build.gradle
index <HASH>..<HASH> 100644
--- a/examples/app/demoapp/build.gradle
+++ b/examples/app/demoapp/build.gradle
@@ -62,7 +62,7 @@ dependencies {
annotationProcessor "com.jakewharton:butterknife-compiler:${butterKnifeVersion}"
imp... | updated demo app's recycler adapter to <I> | gotev_android-upload-service | train |
5851fc9a563c2c97098665b6c16802316141e26b | diff --git a/symphony/content/content.blueprintssections.php b/symphony/content/content.blueprintssections.php
index <HASH>..<HASH> 100644
--- a/symphony/content/content.blueprintssections.php
+++ b/symphony/content/content.blueprintssections.php
@@ -69,7 +69,7 @@
);
$this->Form->appendChild($table);
-
+
... | Add Handle input to Section view (gh-<I>) - not functional, with magic to be added | symphonycms_symphony-2 | train |
b1deb3318f3fae4e21860bbd6e6463ef644aea8d | diff --git a/airflow/utils/log/file_processor_handler.py b/airflow/utils/log/file_processor_handler.py
index <HASH>..<HASH> 100644
--- a/airflow/utils/log/file_processor_handler.py
+++ b/airflow/utils/log/file_processor_handler.py
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
... | [AIRFLOW-<I>] Fix race-conditions when creating loggers
If two or more workers start at the same time,
they will execute
the same operations to create output directories
for storing the log
files. It can lead to race-conditions when, for
example, worker A
create the directory right after the non-existance
check done ... | apache_airflow | train |
aed1e68917670a5ab6bf5015478b86b69eca16f5 | diff --git a/demos/hazard/EventBasedPSHA/job.ini b/demos/hazard/EventBasedPSHA/job.ini
index <HASH>..<HASH> 100644
--- a/demos/hazard/EventBasedPSHA/job.ini
+++ b/demos/hazard/EventBasedPSHA/job.ini
@@ -35,7 +35,6 @@ investigation_time = 50.0
intensity_measure_types_and_levels = {"PGA": [0.005, 0.007, 0.0098, 0.0137, ... | Extended pointsource_distance to event_based [skip hazardlib] | gem_oq-engine | train |
6f180c86f6863bcef2a1dfd3d03c45a64b3ea52b | diff --git a/src/Plugin/Field/FieldWidget/StrawberryDefaultWidget.php b/src/Plugin/Field/FieldWidget/StrawberryDefaultWidget.php
index <HASH>..<HASH> 100644
--- a/src/Plugin/Field/FieldWidget/StrawberryDefaultWidget.php
+++ b/src/Plugin/Field/FieldWidget/StrawberryDefaultWidget.php
@@ -11,6 +11,7 @@ namespace Drupal\st... | Core Update <I> removed a trait from parent class in our widget
I wish core updates would not mess with our dependencies. | esmero_strawberryfield | train |
37974deb5f8b93cec9623b366930024a66519a65 | diff --git a/metric_tank/cluster.go b/metric_tank/cluster.go
index <HASH>..<HASH> 100644
--- a/metric_tank/cluster.go
+++ b/metric_tank/cluster.go
@@ -2,7 +2,6 @@ package main
import (
"encoding/json"
- "fmt"
"net/http"
"strconv"
"strings" | fmt not used, so dont include it. | grafana_metrictank | train |
71b73dc1b4c200fbc1b8514f7c2a09f3648ecba5 | diff --git a/rsocket-core/src/main/java/io/rsocket/metadata/WellKnownMimeType.java b/rsocket-core/src/main/java/io/rsocket/metadata/WellKnownMimeType.java
index <HASH>..<HASH> 100644
--- a/rsocket-core/src/main/java/io/rsocket/metadata/WellKnownMimeType.java
+++ b/rsocket-core/src/main/java/io/rsocket/metadata/WellKnow... | Fix IMAGE_GIG naming error (#<I>) | rsocket_rsocket-java | train |
4505258c04fc3fbb6a545104fa8b1bb3098e56f2 | diff --git a/google/gax/config.py b/google/gax/config.py
index <HASH>..<HASH> 100644
--- a/google/gax/config.py
+++ b/google/gax/config.py
@@ -31,7 +31,7 @@
from __future__ import absolute_import
-from . import grpc
+from google.gax import grpc
exc_to_code = grpc.exc_to_code # pylint: disable=invalid-name
di... | Remove relative imports (#<I>) (#<I>) | googleapis_gax-python | train |
61633bc0ccf4944e58fffbe587c51e060d0c685c | diff --git a/app/controllers/sync_management_controller.rb b/app/controllers/sync_management_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/sync_management_controller.rb
+++ b/app/controllers/sync_management_controller.rb
@@ -224,7 +224,7 @@ private
list = []
products.each{|prod|
minor... | sync management - making sync page use major/minor versions that was added | Katello_katello | train |
f2360480f1ba6a7f18534b00a846526748eea562 | diff --git a/src/Event/Events/EventCreatedFromCdbXml.php b/src/Event/Events/EventCreatedFromCdbXml.php
index <HASH>..<HASH> 100644
--- a/src/Event/Events/EventCreatedFromCdbXml.php
+++ b/src/Event/Events/EventCreatedFromCdbXml.php
@@ -1,10 +1,4 @@
<?php
-/**
- * Created by PhpStorm.
- * User: nicolas
- * Date: 07/10/1... | III-<I>: Fixing Event Relations Projector and tests | cultuurnet_udb3-php | train |
391c11a3ac41c6bfdfa44f3ad64bce35c2f72524 | diff --git a/src/GrumPHP/Configuration/GrumPHP.php b/src/GrumPHP/Configuration/GrumPHP.php
index <HASH>..<HASH> 100644
--- a/src/GrumPHP/Configuration/GrumPHP.php
+++ b/src/GrumPHP/Configuration/GrumPHP.php
@@ -7,34 +7,18 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyIn... | Finish GrumPHP refactoring | phpro_grumphp | train |
6f9100242ef3105cab32d70a7b734df0eb5367d2 | diff --git a/core/asset/assettest/fixtures.go b/core/asset/assettest/fixtures.go
index <HASH>..<HASH> 100644
--- a/core/asset/assettest/fixtures.go
+++ b/core/asset/assettest/fixtures.go
@@ -172,8 +172,9 @@ func NewIssueAction(assetAmount bc.AssetAmount, referenceData json.Map) *asset.I
return &asset.IssueAction{
... | core/asset: add MinTime to IssueAction
Adding MinTime allows users to set a minimum issuance time other than
"Now". This is also helpful for testing.
Closes chain/chainprv#<I>.
Reviewers: @jbowens | chain_chain | train |
a6875431727b6442a9efc86d1452de1e9950a80a | diff --git a/autotest/utils_tests.py b/autotest/utils_tests.py
index <HASH>..<HASH> 100644
--- a/autotest/utils_tests.py
+++ b/autotest/utils_tests.py
@@ -665,6 +665,9 @@ def geostat_prior_builder_test():
d2 = np.diag(cov.x)
assert np.array_equiv(d1, d2)
+ cov = pyemu.helpers.geostatistical_prior_builder... | added sparse option to geostat prior builder | jtwhite79_pyemu | train |
62aa66ee82bf8eb04d69eca2b22e584aca352c97 | diff --git a/tests/ManagerTest.php b/tests/ManagerTest.php
index <HASH>..<HASH> 100644
--- a/tests/ManagerTest.php
+++ b/tests/ManagerTest.php
@@ -167,7 +167,7 @@ class ManagerTest extends ImagecacheTestCase
//Create file
mkdir($dir, 0755, true);
- touch($final_file);
+ file_put_conten... | Unit tests fixes for PHP <I> | onigoetz_imagecache | train |
3d2fda1b6fb7e7d194f2985d5bd95f0d8367e830 | diff --git a/includes/classes/AmazonInventoryList.php b/includes/classes/AmazonInventoryList.php
index <HASH>..<HASH> 100644
--- a/includes/classes/AmazonInventoryList.php
+++ b/includes/classes/AmazonInventoryList.php
@@ -246,7 +246,7 @@ class AmazonInventoryList extends AmazonInventoryCore implements Iterator{
... | Fixed: check to see if response details are there | CPIGroup_phpAmazonMWS | train |
2c3a448a090de4cd87a272994699b8b94ff3b6ef | diff --git a/demo/common/assets.js b/demo/common/assets.js
index <HASH>..<HASH> 100644
--- a/demo/common/assets.js
+++ b/demo/common/assets.js
@@ -961,9 +961,6 @@ shakaAssets.testAssets = [
{
name: 'Big Buck Bunny',
manifestUri: 'https://amssamples.streaming.mediaservices.windows.net/622b189f-ec39-43f2-93a... | Re-enable an asset that has come back to life
This asset had failing license servers last time we checked (2 years
ago). It is working now.
Change-Id: I2b<I>ade8a1cda<I>c5f7f6ee<I>c4bd<I> | google_shaka-player | train |
c3e819e8bdd4120034e59ff272e716b26c78f355 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -81,6 +81,10 @@ setup(
scripts=["openquake/engine/bin/oq_create_db",
"openquake/engine/bin/openquake"],
+ package_data={"openquake.engine": [
+ "openquake.cfg", "openquake_worker.cfg",
+ "... | setup.py: files out of the packages must be added with 'package_data' | gem_oq-engine | train |
5e9f0c99c2a8045ccd86e4bb83824f7b55d84267 | diff --git a/lib/rasn1/model.rb b/lib/rasn1/model.rb
index <HASH>..<HASH> 100644
--- a/lib/rasn1/model.rb
+++ b/lib/rasn1/model.rb
@@ -75,9 +75,9 @@ module RASN1
# @see Types::SequenceOf#initialize
# @method set_of(name, type, options)
# @see Types::SetOf#initialize
- %w(sequence_of set_of).... | Model: rewrite generation of .sequence_of and .set_of | sdaubert_rasn1 | train |
37bb7453c3a387c31acd554600e1eb8b04c03f63 | diff --git a/lib/commands.js b/lib/commands.js
index <HASH>..<HASH> 100644
--- a/lib/commands.js
+++ b/lib/commands.js
@@ -1,3 +1,4 @@
+/* eslint-disable no-console */
var assert = require('assert');
var path = require('path');
var jsonDiff = require('json-diff');
@@ -373,6 +374,7 @@ var operations = module.exports.... | Add skip notice. (#<I>)
* Add skip notice.
* Update wording. | mapbox_cfn-config | train |
78003934cf56e41b3c17b1f0d7e693b2aa58eb20 | diff --git a/teamengine-core/src/main/java/com/occamlab/te/CtlEarlReporter.java b/teamengine-core/src/main/java/com/occamlab/te/CtlEarlReporter.java
index <HASH>..<HASH> 100644
--- a/teamengine-core/src/main/java/com/occamlab/te/CtlEarlReporter.java
+++ b/teamengine-core/src/main/java/com/occamlab/te/CtlEarlReporter.ja... | #<I> - ensure that all Conformance classes are reported in EARL# | opengeospatial_teamengine | train |
ba322a0c716a7c50da08ca447ed6150ede3fbdf3 | diff --git a/jenetics/src/main/java/io/jenetics/BitChromosome.java b/jenetics/src/main/java/io/jenetics/BitChromosome.java
index <HASH>..<HASH> 100644
--- a/jenetics/src/main/java/io/jenetics/BitChromosome.java
+++ b/jenetics/src/main/java/io/jenetics/BitChromosome.java
@@ -527,7 +527,11 @@ public class BitChromosome e... | #<I>: Marke 'BitChromosome.of(BitSet)' as deprecated. | jenetics_jenetics | train |
a091bdaf80b65e1d33a99719ed6c40793aedc51f | diff --git a/src/main/java/com/github/dockerjava/api/command/ExecCreateCmd.java b/src/main/java/com/github/dockerjava/api/command/ExecCreateCmd.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/dockerjava/api/command/ExecCreateCmd.java
+++ b/src/main/java/com/github/dockerjava/api/command/ExecCreateCmd.ja... | Add WorkingDir property in containers exec | docker-java_docker-java | train |
a6495af1540cf4cc98b97ffc5377143cedd94a81 | diff --git a/lib/class-wp-json-server.php b/lib/class-wp-json-server.php
index <HASH>..<HASH> 100644
--- a/lib/class-wp-json-server.php
+++ b/lib/class-wp-json-server.php
@@ -451,10 +451,13 @@ class WP_JSON_Server {
* @return true|WP_Error
*/
protected function check_required_parameters( $request ) {
- foreach... | Fix logic in check_required_parameters to handle request from dispatch. | WP-API_WP-API | train |
e4f57307498366425e4433dc7b44ca41f579b9de | diff --git a/lib/pdk/config/json.rb b/lib/pdk/config/json.rb
index <HASH>..<HASH> 100644
--- a/lib/pdk/config/json.rb
+++ b/lib/pdk/config/json.rb
@@ -1,4 +1,4 @@
-require 'pdk/config/namespace'
+require 'pdk'
module PDK
class Config
diff --git a/spec/unit/pdk/config/json_spec.rb b/spec/unit/pdk/config/json_spec.... | (maint) Ensure pdk/config/json works standalone | puppetlabs_pdk | train |
af52cfde21b231c1cd7502cd3718c82448ee1f43 | diff --git a/theanets/activations.py b/theanets/activations.py
index <HASH>..<HASH> 100644
--- a/theanets/activations.py
+++ b/theanets/activations.py
@@ -303,12 +303,5 @@ class Maxout(Activation):
self.params.append(self.intercept)
def __call__(self, x):
- if x.ndim == 1:
- return (x[... | Use dimshuffle to avoid if/else comb. | lmjohns3_theanets | train |
9ff347bf676ed0432497c772b43d224d78d57533 | diff --git a/classes/ZFDebug/Controller/Plugin/Debug.php b/classes/ZFDebug/Controller/Plugin/Debug.php
index <HASH>..<HASH> 100644
--- a/classes/ZFDebug/Controller/Plugin/Debug.php
+++ b/classes/ZFDebug/Controller/Plugin/Debug.php
@@ -215,7 +215,7 @@ class ZFDebug_Controller_Plugin_Debug extends Zend_Controller_Plugin_... | Fix for using ZFDebug with IIS | GemsTracker_gemstracker-library | train |
87c2c2af6150d6e8fa8cfbc017fbfd52e7f8c5c7 | diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v0.20.0.txt
+++ b/doc/source/whatsnew/v0.20.0.txt
@@ -149,6 +149,7 @@ Other enhancements
- ``Series/DataFrame.asfreq()`` have gained a ``fill_value`` parameter, to fill missing values (:... | ENH: .squeeze has gained the axis parameter
closes #<I> | pandas-dev_pandas | train |
126d4aae456ae806e398762b191c1b0f1141e944 | diff --git a/zipline/pipeline/factors/technical.py b/zipline/pipeline/factors/technical.py
index <HASH>..<HASH> 100644
--- a/zipline/pipeline/factors/technical.py
+++ b/zipline/pipeline/factors/technical.py
@@ -598,7 +598,7 @@ class IchimokuKinkoHyo(CustomFactor):
'kijun_sen_length': 26,
'chikou_span_... | BUG: IchimokuKinkoHyo techinical factor has wrong default inputs | quantopian_zipline | train |
269985add6822575f9b8d32500fb71fd2777fd1b | diff --git a/src/Service/Downloader.php b/src/Service/Downloader.php
index <HASH>..<HASH> 100644
--- a/src/Service/Downloader.php
+++ b/src/Service/Downloader.php
@@ -236,7 +236,7 @@ class Downloader
}
// upload remote file
- if (!$entity->getLocal() && $entity->getRemote()) {
+ if (!(... | correct get local file. ignore extension if it is not exists | anime-db_app-bundle | train |
0841d6b36b7b58b080b3d7e51bf741e38b23b330 | diff --git a/salt/config.py b/salt/config.py
index <HASH>..<HASH> 100644
--- a/salt/config.py
+++ b/salt/config.py
@@ -370,8 +370,8 @@ VALID_OPTS = {
# Events matching a tag in this list should never be sent to an event returner.
'event_return_blacklist': list,
- # The file cache for the win_pkg module
-... | new minions just need a source dir for the winrepo | saltstack_salt | train |
dc82456c8453bef46eaeb4ec35ee39c6a70f3cd8 | diff --git a/internal/service/networkfirewall/firewall_policy_test.go b/internal/service/networkfirewall/firewall_policy_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/networkfirewall/firewall_policy_test.go
+++ b/internal/service/networkfirewall/firewall_policy_test.go
@@ -173,6 +173,8 @@ func TestAccNetwo... | Minor additional attribute checks in acceptance tests. | terraform-providers_terraform-provider-aws | train |
c67839bc4199248a91d51714793f086127036dea | diff --git a/examples/nats-bench.go b/examples/nats-bench.go
index <HASH>..<HASH> 100644
--- a/examples/nats-bench.go
+++ b/examples/nats-bench.go
@@ -133,7 +133,10 @@ func runPublisher(startwg, donewg *sync.WaitGroup, opts nats.Options, numMsgs in
args := flag.Args()
subj := args[0]
- msg := make([]byte, message... | Fixed support for -ms 0 | nats-io_go-nats | train |
4412fbc49e234cc4d7cb09c3d893257d6bc8bbce | diff --git a/source/test/test_basic_statemachine.py b/source/test/test_basic_statemachine.py
index <HASH>..<HASH> 100644
--- a/source/test/test_basic_statemachine.py
+++ b/source/test/test_basic_statemachine.py
@@ -95,21 +95,21 @@ def test_create_container_state():
container.add_data_flow(state1.state_id, output_s... | Adapt checks to core modifications
- change expected error types
- remove additional blank line
- add wait times to make tests more robust | DLR-RM_RAFCON | train |
9251a38c9809de2a7101e5be1292eb875357dc8f | diff --git a/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/ArchiveBase.java b/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/ArchiveBase.java
index <HASH>..<HASH> 100644
--- a/impl-base/src/main/java/org/jboss/shrinkwrap/impl/base/ArchiveBase.java
+++ b/impl-base/src/main/java/org/jboss/shrinkwrap/impl... | [SHRINKWRAP-<I>] Archive.move to work for directories | shrinkwrap_shrinkwrap | train |
182d444a651f74088d0b4c8a4c7dec471eee9a17 | diff --git a/src/Local/LocalBuild.php b/src/Local/LocalBuild.php
index <HASH>..<HASH> 100644
--- a/src/Local/LocalBuild.php
+++ b/src/Local/LocalBuild.php
@@ -278,7 +278,7 @@ class LocalBuild
// The build is complete. Move the directory.
$buildDir = substr($tmpBuildDir, 0, strlen($tmpBuildDir) - 4);
... | Only backup the build directory if it is a real dir | platformsh_platformsh-cli | train |
b57bdfc0c3a0bee88c14d2e3b8e681ef957afdfe | diff --git a/worker/peergrouper/publish.go b/worker/peergrouper/publish.go
index <HASH>..<HASH> 100644
--- a/worker/peergrouper/publish.go
+++ b/worker/peergrouper/publish.go
@@ -17,18 +17,14 @@ type apiHostPortsSetter interface {
}
type publisher struct {
- st apiHostPortsSetter
- preferIPv6 bool
+ st apiH... | worker/peergrouper: Remove PreferIPv6 special handling, while keeping some IPv6 tests | juju_juju | train |
d4178c080b6d349738ef993d782a1ce0c71cc7c0 | diff --git a/dvc/fs/gdrive.py b/dvc/fs/gdrive.py
index <HASH>..<HASH> 100644
--- a/dvc/fs/gdrive.py
+++ b/dvc/fs/gdrive.py
@@ -97,7 +97,7 @@ class GDriveFileSystem(FSSpecWrapper): # pylint:disable=abstract-method
@staticmethod
def unstrip_protocol(path):
- return f"gdrive://{path}"
+ return f... | gdrive: don't forget bucket when generating a url | iterative_dvc | train |
0c34552b783b2e14a4ac3c7cac7842c7b90190cc | diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/data.rb
+++ b/lib/discordrb/data.rb
@@ -242,20 +242,20 @@ module Discordrb
# Sets the bot's username.
# @param username [String] The new username.
def username=(username)
- update_server_data(u... | Rename Profile#update_server_data to #update_profile_data (why was it ever the first name anyway?) | meew0_discordrb | train |
1d4fc4d40d85b43390fb2e14b0416546bac7bd9c | diff --git a/tests/test_rationals.py b/tests/test_rationals.py
index <HASH>..<HASH> 100644
--- a/tests/test_rationals.py
+++ b/tests/test_rationals.py
@@ -40,6 +40,19 @@ class RationalsTestCase(unittest.TestCase):
strategies.integers(min_value=2)
)
@settings(max_examples=50)
+ def testConvert(self,... | Also test conversion between bases of Radix values. | mulkieran_justbases | train |
cb05aa11993a2fff790e1391cf206062a8f2a262 | diff --git a/lib/epubmaker/epubcommon.rb b/lib/epubmaker/epubcommon.rb
index <HASH>..<HASH> 100644
--- a/lib/epubmaker/epubcommon.rb
+++ b/lib/epubmaker/epubcommon.rb
@@ -486,15 +486,7 @@ EOT
end
def legacy_cover_and_title_file(loadfile, writefile)
- @title = config['booktitle']
- s = ''
- Fi... | refactor: just copy a file | kmuto_review | train |
9994b6fc64b032691463413ca1ea1aebece194c8 | diff --git a/src/Linna/DI/DIResolver.php b/src/Linna/DI/DIResolver.php
index <HASH>..<HASH> 100644
--- a/src/Linna/DI/DIResolver.php
+++ b/src/Linna/DI/DIResolver.php
@@ -58,35 +58,92 @@ class DIResolver
/**
* Create a map of dependencies for a class
*
+ * Previsus version of function, recursive mo... | Recursion replaced with interaction
buildDependencyTree turned to interactive | linna_framework | train |
38282fe224e63492fce7795bb419c6ea37a9d7d9 | diff --git a/src/Koldy/Validator.php b/src/Koldy/Validator.php
index <HASH>..<HASH> 100644
--- a/src/Koldy/Validator.php
+++ b/src/Koldy/Validator.php
@@ -200,15 +200,45 @@ class Validator
/**
* Validate all
*
+ * @param bool $reValidate
+ *
* @return bool
+ * @throws InvalidDataExcep... | Fix for only() in Validator class | koldy_framework | train |
b172c70ce011959fd895f4b2037f0b1b80e0f6a4 | diff --git a/examples/particles/js/screens/play.js b/examples/particles/js/screens/play.js
index <HASH>..<HASH> 100644
--- a/examples/particles/js/screens/play.js
+++ b/examples/particles/js/screens/play.js
@@ -19,8 +19,8 @@ game.PlayScreen = me.ScreenObject.extend({
game.changeEmitter();
// enable ... | fixed ctrl+c not working on source code textarea | melonjs_melonJS | train |
1d4c536b536bb83dc150cb76d66b22c95642210d | diff --git a/py/conftest.py b/py/conftest.py
index <HASH>..<HASH> 100644
--- a/py/conftest.py
+++ b/py/conftest.py
@@ -60,7 +60,10 @@ def pytest_addoption(parser):
def pytest_ignore_collect(path, config):
- _drivers = set(drivers).difference(config.getoption('drivers') or drivers)
+ drivers_opt = config.geto... | [py] don't run unit tests in functional tests | SeleniumHQ_selenium | train |
f24617c0c81895c3d925b3fd74e46a749913db39 | diff --git a/lib/ghtorrent/ghtorrent.rb b/lib/ghtorrent/ghtorrent.rb
index <HASH>..<HASH> 100644
--- a/lib/ghtorrent/ghtorrent.rb
+++ b/lib/ghtorrent/ghtorrent.rb
@@ -1757,7 +1757,7 @@ module GHTorrent
repository = ensure_repo(user, repo)
if repository.nil?
- warn "Could not find repo #{use... | Only print the commit sha in case of failure | gousiosg_github-mirror | train |
34f07260548c2f77989303ee12357f2d7a6adf79 | diff --git a/test/docs/docs-change-detection.js b/test/docs/docs-change-detection.js
index <HASH>..<HASH> 100644
--- a/test/docs/docs-change-detection.js
+++ b/test/docs/docs-change-detection.js
@@ -13,12 +13,16 @@ describe('Docs change detection', function() {
this.timeout(16000);
describe('', () => {
... | #6 | Integration test fail (Docs change detection) (#7) | adasq_dropbox-v2-api | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.