hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
cdc3aea449698b27d70689dacb7ccb7727869e97 | diff --git a/lib/hmachine/pattern/datetime.rb b/lib/hmachine/pattern/datetime.rb
index <HASH>..<HASH> 100644
--- a/lib/hmachine/pattern/datetime.rb
+++ b/lib/hmachine/pattern/datetime.rb
@@ -18,18 +18,20 @@ module HMachine
# Normalize ISO8601 Dates
def self.date(datestring)
datetime = Date._parse... | Reducing false positives on DateTime | mwunsch_prism | train |
9453422c05cb98e83bd82bc654db9da0101767cf | diff --git a/spec/parser/statement_list_spec.rb b/spec/parser/statement_list_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/parser/statement_list_spec.rb
+++ b/spec/parser/statement_list_spec.rb
@@ -2,7 +2,85 @@ require File.join(File.dirname(__FILE__), '..', 'spec_helper')
describe YARD::Parser::StatementList do
... | Add a bunch of mostly-failing tests for Parser::StatementList. | lsegal_yard | train |
abe46209ccaf909d61f8ccc4452b38d9056a9c65 | diff --git a/lib/ui/FileBrowser.js b/lib/ui/FileBrowser.js
index <HASH>..<HASH> 100644
--- a/lib/ui/FileBrowser.js
+++ b/lib/ui/FileBrowser.js
@@ -29,7 +29,10 @@ FileBrowser.prototype._initHandlers = function () {
var self = this;
self.on('element mousedown', function (el) { self.focus(); });
self.on('file', f... | Fixes escape press in FileBrowser with no panes open | slap-editor_slap | train |
d2c856e1dd79664c1ff05c2decdab97670e39349 | diff --git a/lib/queue.js b/lib/queue.js
index <HASH>..<HASH> 100644
--- a/lib/queue.js
+++ b/lib/queue.js
@@ -21,18 +21,47 @@ function queue (worker, concurrency, rateLimit) {
var workersList = []
var tokens = 0
var interval = null
+ var timer = null
+
+ /**
+ * Enhanced Resumeable Timer That acts as setI... | Updated queue logic
- Fixed token miscalculation on each interval
- Added resumable timer to pause timer after queue is empty
- immediately starting queue only if it was empty before inserting new items | glynnbird_qrate | train |
385530b9677cba9c04e4ae01a9b15770880cc94a | diff --git a/saltapi/netapi/rest_cherrypy/__init__.py b/saltapi/netapi/rest_cherrypy/__init__.py
index <HASH>..<HASH> 100644
--- a/saltapi/netapi/rest_cherrypy/__init__.py
+++ b/saltapi/netapi/rest_cherrypy/__init__.py
@@ -154,7 +154,6 @@ class LowDataAdapter(object):
'''
Pass lowdata to Salt to be ex... | Removed FIXME; this will be a touch tricky and should be a full ticket | saltstack_salt | train |
77b4be945dcbd16a3cd4d70fe36454b3bbf65f5c | diff --git a/scripts/prepublish.js b/scripts/prepublish.js
index <HASH>..<HASH> 100755
--- a/scripts/prepublish.js
+++ b/scripts/prepublish.js
@@ -49,6 +49,7 @@ data.icons.forEach(icon => {
const indexTemplate = fs.readFileSync(indexTemplateFile, "utf8");
const { error, code } = minify(util.format(indexTemplate, icon... | Add error logging to prepublish script | simple-icons_simple-icons | train |
c4913e6f4a4e81ca22a914ae81dbeadc04f21b78 | diff --git a/lntest/node.go b/lntest/node.go
index <HASH>..<HASH> 100644
--- a/lntest/node.go
+++ b/lntest/node.go
@@ -397,6 +397,7 @@ type HarnessNode struct {
WalletKitClient walletrpc.WalletKitClient
Watchtower watchtowerrpc.WatchtowerClient
WatchtowerClient wtclientrpc.WatchtowerClientClient
+ StateCli... | itest: require server being started when creating node
We now require the lnd to be fully started when creating a new node
using newNode. | lightningnetwork_lnd | train |
812def00c9497513f5da4f51c795465b3cacd887 | diff --git a/src/transformers/modeling_transfo_xl.py b/src/transformers/modeling_transfo_xl.py
index <HASH>..<HASH> 100644
--- a/src/transformers/modeling_transfo_xl.py
+++ b/src/transformers/modeling_transfo_xl.py
@@ -1016,11 +1016,14 @@ class TransfoXLLMHeadModel(TransfoXLPreTrainedModel):
return self.cr... | fix use of mems in Transformer-XL (#<I>)
Fixed duplicated memory use in Transformer-XL generation leading to bad predictions and performance. | huggingface_pytorch-pretrained-BERT | train |
fce939ac06484d89c0fdaf6c62b2db4cbcabb97a | diff --git a/andes/variables/dae.py b/andes/variables/dae.py
index <HASH>..<HASH> 100644
--- a/andes/variables/dae.py
+++ b/andes/variables/dae.py
@@ -69,9 +69,11 @@ class DAETimeSeries(object):
self.xy = np.zeros((n_steps, self.dae.m + self.dae.n))
self.z = np.zeros((n_steps, self.dae.o))
-... | Fix an issue related to DAETimeSeries.unpack. | cuihantao_andes | train |
8c8305f8d5f24afb8b636700c633a97e36404d27 | diff --git a/benchmark/worker/benchmark_client.go b/benchmark/worker/benchmark_client.go
index <HASH>..<HASH> 100644
--- a/benchmark/worker/benchmark_client.go
+++ b/benchmark/worker/benchmark_client.go
@@ -123,7 +123,7 @@ func createConns(config *testpb.ClientConfig) ([]*grpc.ClientConn, func(), error
// Check and s... | benchmark: Revert to use old certs. (#<I>) | grpc_grpc-go | train |
fa213cf5599263e1a0aee10ee9df56899d9861c7 | diff --git a/cmd/jujud/agent/machine.go b/cmd/jujud/agent/machine.go
index <HASH>..<HASH> 100644
--- a/cmd/jujud/agent/machine.go
+++ b/cmd/jujud/agent/machine.go
@@ -1060,7 +1060,8 @@ func (a *MachineAgent) startModelWorkers(cfg modelworkermanager.NewModelConfig)
if agentModelUUID == cfg.ModelUUID {
writer = a.c... | Use model owner and name for model logfile name on controller | juju_juju | train |
4194d209649625311e7edfa657473835f60b1a9d | diff --git a/servers/src/main/java/tachyon/worker/block/BlockMetadataManager.java b/servers/src/main/java/tachyon/worker/block/BlockMetadataManager.java
index <HASH>..<HASH> 100644
--- a/servers/src/main/java/tachyon/worker/block/BlockMetadataManager.java
+++ b/servers/src/main/java/tachyon/worker/block/BlockMetadataMa... | Change moveBlockMeta signature to require BlockMeta instead of block Id | Alluxio_alluxio | train |
21c693d48211d118ba5bce9ac77051a1bede089c | diff --git a/rb/lib/selenium/webdriver/common/interactions/pointer_actions.rb b/rb/lib/selenium/webdriver/common/interactions/pointer_actions.rb
index <HASH>..<HASH> 100644
--- a/rb/lib/selenium/webdriver/common/interactions/pointer_actions.rb
+++ b/rb/lib/selenium/webdriver/common/interactions/pointer_actions.rb
@@ -6... | update docs for PointerActions#move_to (#<I>)
`move_to` has been changed to start from the center of the element rather than the top-left corner. | SeleniumHQ_selenium | train |
e6d036aa764923e4a8cb670b98c371896454b871 | diff --git a/bunq/sdk/model/core/bunq_model.py b/bunq/sdk/model/core/bunq_model.py
index <HASH>..<HASH> 100644
--- a/bunq/sdk/model/core/bunq_model.py
+++ b/bunq/sdk/model/core/bunq_model.py
@@ -3,6 +3,7 @@ from __future__ import annotations
import typing
from typing import Dict, List
+from bunq import T
from bunq... | feature/add_internal_notification_filters: BunqModel pagination response is now allowed to accept None if pagination field is missing. | bunq_sdk_python | train |
75696ae7cb97f8f59ff71a4aadf97780a6afc41b | diff --git a/bosh-director/lib/cloud/dummy.rb b/bosh-director/lib/cloud/dummy.rb
index <HASH>..<HASH> 100644
--- a/bosh-director/lib/cloud/dummy.rb
+++ b/bosh-director/lib/cloud/dummy.rb
@@ -51,6 +51,10 @@ module Bosh
cmd = commands.next_create_vm_cmd
+ if cmd.failed?
+ raise Bosh::Clouds::... | Test pending for failed deploys holding on to IP reservations.
[#<I>](<URL>)
[#<I>](<URL>) | cloudfoundry_bosh | train |
6842efd2814507af8dc66323a0534b8541659606 | diff --git a/plan/plan_test.go b/plan/plan_test.go
index <HASH>..<HASH> 100644
--- a/plan/plan_test.go
+++ b/plan/plan_test.go
@@ -670,6 +670,10 @@ func (s *testPlanSuite) TestRefine(c *C) {
best: "Index(t.c_d_e)[[5,5]]->Selection->Projection",
},
{
+ sql: "select a from t where not a",
+ best: "Table(t)... | plan: fix a bug when calculate range (#<I>)
* plan: fix a bug when calculate range | pingcap_tidb | train |
03e058403cac9aef67eb9ca9b1e324982a08389c | diff --git a/src/main/java/com/datasift/client/pylon/PylonSampleRequest.java b/src/main/java/com/datasift/client/pylon/PylonSampleRequest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/datasift/client/pylon/PylonSampleRequest.java
+++ b/src/main/java/com/datasift/client/pylon/PylonSampleRequest.java
@@ -19,7 ... | Fixed issue with multiple constructors not returning current obj | datasift_datasift-java | train |
f479428f1f994521da6b80927ccd16a05090f6ba | diff --git a/src/article/ArticleLoader.js b/src/article/ArticleLoader.js
index <HASH>..<HASH> 100644
--- a/src/article/ArticleLoader.js
+++ b/src/article/ArticleLoader.js
@@ -7,6 +7,15 @@ import JATS from './JATS'
import TextureJATS from './TextureJATS'
export default class ArticleLoader {
+ /**
+ * The ArticleL... | Only comments.
[skip ci] | substance_texture | train |
eab1570046cc050037884638ba9390501663e5e1 | diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -879,6 +879,27 @@ def load_object(fname):
return cPickle.load(gzip.open(fname,"rb"))
+######################
+## Extension system ##
+######################
+
+
+def load_extension(filename):
+ import imp
+ path... | Added load_extension() function and conf.extensions_path
Now, instead of creating one add-on for each new protocol, and launch each
add-on separately, you can put some load_extension() commands in your
~/scapy_startup.py and each time you run Scapy, all your extensions will
be present. | secdev_scapy | train |
c36516d842b104c158b84aebe6530de013acd8f1 | diff --git a/pkg/cmd/server/kubernetes/master.go b/pkg/cmd/server/kubernetes/master.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/server/kubernetes/master.go
+++ b/pkg/cmd/server/kubernetes/master.go
@@ -24,6 +24,7 @@ import (
resourcequotacontroller "k8s.io/kubernetes/pkg/controller/resourcequota"
"k8s.io/kubernete... | fixed origin recycler volume config w/ upstream cli flags | openshift_origin | train |
15a29d4ee7e00cc3c260be9e425de55b52265165 | diff --git a/pipeline/snapcraft/snapcraft_test.go b/pipeline/snapcraft/snapcraft_test.go
index <HASH>..<HASH> 100644
--- a/pipeline/snapcraft/snapcraft_test.go
+++ b/pipeline/snapcraft/snapcraft_test.go
@@ -57,14 +57,7 @@ func TestRunPipe(t *testing.T) {
},
},
}
- for _, plat := range []string{"linuxamd64", "l... | removed duplicated code in snapcraft tests | goreleaser_goreleaser | train |
a40492feebe1dd0bbb0eb2366a2566897aacb428 | diff --git a/src/svg/path/tests/test_paths.py b/src/svg/path/tests/test_paths.py
index <HASH>..<HASH> 100644
--- a/src/svg/path/tests/test_paths.py
+++ b/src/svg/path/tests/test_paths.py
@@ -267,7 +267,7 @@ class CubicBezierTest(unittest.TestCase):
complex(900, 650),
complex(900, 500)
... | Oups, I broke the tests for <I>. | regebro_svg.path | train |
f1656e72ad4f12a41c6d32edc285d071ed360e30 | diff --git a/lib/querify/paginate.rb b/lib/querify/paginate.rb
index <HASH>..<HASH> 100644
--- a/lib/querify/paginate.rb
+++ b/lib/querify/paginate.rb
@@ -41,7 +41,7 @@ module Querify
# Also set pagination counted headers when requested
if ["1", "yes", "true", "on"].include? Querify.params[:page_total_stats]
... | Change .size to .count because you can't call .size on a class | kenaniah_activerecord-querify | train |
543abf8de9924266049276fe1f0dddd024e1cef7 | diff --git a/src/PermCheck.php b/src/PermCheck.php
index <HASH>..<HASH> 100644
--- a/src/PermCheck.php
+++ b/src/PermCheck.php
@@ -116,16 +116,18 @@ class PermCheck
continue;
}
- if (($this->shouldBeExecutable($filename) && $file->isExecutable())
- || (!$this->s... | Undid my last change in code. Had a feeling it was going to be worse, as I found it harder to read despite it being more DRY. | eXistenZNL_PermCheck | train |
c38f3074f48755b07b6b16affa14f591d7e051ba | diff --git a/grpclib/protocol.py b/grpclib/protocol.py
index <HASH>..<HASH> 100644
--- a/grpclib/protocol.py
+++ b/grpclib/protocol.py
@@ -14,7 +14,7 @@ from h2.events import SettingsAcknowledged, ResponseReceived, TrailersReceived
from h2.events import StreamReset, PriorityUpdated
from h2.settings import SettingCode... | Added workaround for h2, when h2 raises StreamIDTooLowError instead of StreamClosedError; fixes #<I> | vmagamedov_grpclib | train |
11a2149746ed1a89e411abf7140fa3c66b6ec046 | diff --git a/csr/csr.go b/csr/csr.go
index <HASH>..<HASH> 100644
--- a/csr/csr.go
+++ b/csr/csr.go
@@ -14,20 +14,24 @@ import (
// maxCNLength is the maximum length allowed for the common name as specified in RFC 5280
const maxCNLength = 64
-// This map is used to detect algorithms in crypto/x509 that
-// are no lo... | Switch from badSignatureAlgorithms to goodSignatureAlgorithms (#<I>)
In ca/certificate-authority.go, we previously had a block list of signature algorithms we will not accept for CSRs. This commit switches to an allowed list of signature algorithms that we will accept. | letsencrypt_boulder | train |
cea6627818849e88ad90c75dda3e14430ef96bc9 | diff --git a/lib/pessimize/pessimizer.rb b/lib/pessimize/pessimizer.rb
index <HASH>..<HASH> 100644
--- a/lib/pessimize/pessimizer.rb
+++ b/lib/pessimize/pessimizer.rb
@@ -26,10 +26,12 @@ module Pessimize
def collect_gems_and_versions
dsl.parse file_manager.gemfile_contents
+ puts "Collected #{collect... | Add puts statements for user feedback when running the shell | joonty_pessimize | train |
dbc85cd1f5258ee21b9e9098cf2a6640654d99a8 | diff --git a/pep381client/__init__.py b/pep381client/__init__.py
index <HASH>..<HASH> 100644
--- a/pep381client/__init__.py
+++ b/pep381client/__init__.py
@@ -99,18 +99,25 @@ class Synchronization:
def synchronize(self):
# check whether another job is already running
- lockfile = os.path.join(sel... | Use sqlite to implement locking instead of lockfiles. | pypa_bandersnatch | train |
b3e6a689eb044307872b119be7b288c815acc669 | diff --git a/src/module-elasticsuite-catalog/Model/Layer/Filter/Attribute.php b/src/module-elasticsuite-catalog/Model/Layer/Filter/Attribute.php
index <HASH>..<HASH> 100644
--- a/src/module-elasticsuite-catalog/Model/Layer/Filter/Attribute.php
+++ b/src/module-elasticsuite-catalog/Model/Layer/Filter/Attribute.php
@@ -2... | fix display swatches attribute with manual sort | Smile-SA_elasticsuite | train |
e8157744a2e711b73422512cdd4a72c494c2d948 | diff --git a/.rubocop.yml b/.rubocop.yml
index <HASH>..<HASH> 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -10,7 +10,7 @@ Metrics/BlockLength:
Metrics/LineLength:
IgnoreCopDirectives: true
- Max: 99
+ Max: 98
Naming/HeredocDelimiterCase:
Enabled: false
diff --git a/lib/art-decomp/bipainter.rb b/lib/art... | RuboCop: work on LineLength | chastell_art-decomp | train |
22b83e8ee5451f01e0608a63d945dd0d8cc8b5e9 | diff --git a/lib/passport-khan/strategy.js b/lib/passport-khan/strategy.js
index <HASH>..<HASH> 100755
--- a/lib/passport-khan/strategy.js
+++ b/lib/passport-khan/strategy.js
@@ -94,17 +94,13 @@ Strategy.prototype.authenticate = function(req, options) {
var oauthToken = req.query.oauth_token
var oauthVerifi... | finish up work on using khan library | jesseditson_passport-khan | train |
f93a421aeec4c64fdb3e64e108f6cf10f39770ba | diff --git a/logsip.go b/logsip.go
index <HASH>..<HASH> 100644
--- a/logsip.go
+++ b/logsip.go
@@ -29,39 +29,33 @@ func (level Level) String() string {
case PanicLevel:
if isatty.IsTerminal(os.Stdout.Fd()) {
return fmt.Sprintf(prettyPrint("{{.Red}}PANIC[%04d]{{.Default}} "), sinceStartTime())
- } else {
- r... | This is much cleaner as the else block was pointless | rdeusser_logsip | train |
6af9070f149f0832630c7ff690111958795eaa08 | diff --git a/src/angular-sails-base.js b/src/angular-sails-base.js
index <HASH>..<HASH> 100644
--- a/src/angular-sails-base.js
+++ b/src/angular-sails-base.js
@@ -19,7 +19,7 @@ var angularSailsBase = angular.module('angularSails.base',
// for more info see: https://www.firebase.com/docs/ordered-data.html
/**
- * An... | initial angular sails base tests | balderdashy_angularSails | train |
ed5d12983e2c536373fe74df7e8a943443ff3a32 | diff --git a/decidim-core/db/seeds.rb b/decidim-core/db/seeds.rb
index <HASH>..<HASH> 100644
--- a/decidim-core/db/seeds.rb
+++ b/decidim-core/db/seeds.rb
@@ -17,8 +17,8 @@ if !Rails.env.production? || ENV["SEED"]
table.tr("_", "/").classify.safe_constantize
end.compact.each(&:reset_column_information)
- smt... | Allow customizing SMTP settings for seed data (#<I>) | decidim_decidim | train |
0b2f1ce244d2c1ceb06ad24777780787cb6eb813 | diff --git a/src/Entity/AccountHolder.php b/src/Entity/AccountHolder.php
index <HASH>..<HASH> 100644
--- a/src/Entity/AccountHolder.php
+++ b/src/Entity/AccountHolder.php
@@ -39,6 +39,8 @@ namespace Wirecard\PaymentSdk\Entity;
*/
class AccountHolder implements MappableEntity
{
+ const SHIPPING = 'shipping_';
+
... | #<I> Add shipping account and address for seamless | wirecard_paymentSDK-php | train |
a1f49bc316463112f13d7f2b7e6babe96b2445fc | diff --git a/core/src/main/java/feign/RequestInterceptor.java b/core/src/main/java/feign/RequestInterceptor.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/feign/RequestInterceptor.java
+++ b/core/src/main/java/feign/RequestInterceptor.java
@@ -15,7 +15,7 @@ package feign;
/**
* Zero or more {@code Reque... | Fixes typo in JDoc (#<I>) | OpenFeign_feign | train |
d52c5a648eb01001869344b9f24def0cd70d9a9f | diff --git a/sos/jupyter/kernel.js b/sos/jupyter/kernel.js
index <HASH>..<HASH> 100644
--- a/sos/jupyter/kernel.js
+++ b/sos/jupyter/kernel.js
@@ -48,7 +48,13 @@ define(['jquery', ], function($) {
if (cells[i].input_prompt_number == '*' && code == cells[i].get_text()) {
// use cell... | Passing default_kernel from frontend to backend and avoid a separate execution of %use with menu bar change | vatlab_SoS | train |
ee3b2c6feebea3ecd43fd5670b10817e200a35c7 | diff --git a/lib/firehose/rack/consumer_app.rb b/lib/firehose/rack/consumer_app.rb
index <HASH>..<HASH> 100644
--- a/lib/firehose/rack/consumer_app.rb
+++ b/lib/firehose/rack/consumer_app.rb
@@ -97,18 +97,20 @@ module Firehose
# this class (or if we even just used a lambda) for every connection.
class Web... | change WS consumer backend to always pingpong and refactor message handling into one method | firehoseio_firehose | train |
867e865f17f73e318c6ec2f381383f2d8dbef8e3 | diff --git a/sb.js b/sb.js
index <HASH>..<HASH> 100644
--- a/sb.js
+++ b/sb.js
@@ -1372,6 +1372,8 @@ sb.ajax = function (params){
sb.objects.infuse(params, this);
+ this.format = this.format || 'text';
+
if(sb.typeOf(params.data) == 'object'){
this.data = sb.objects.serialize(params.data);
}
@@ -164... | url now reports in ajax debugger | surebert_surebert-framework | train |
1d6163f6b28eb1c7cd785911624e2da5dc8434fd | diff --git a/Test/Unit/Section/CustomerData/BoltHintsTest.php b/Test/Unit/Section/CustomerData/BoltHintsTest.php
index <HASH>..<HASH> 100644
--- a/Test/Unit/Section/CustomerData/BoltHintsTest.php
+++ b/Test/Unit/Section/CustomerData/BoltHintsTest.php
@@ -22,8 +22,17 @@ use Bolt\Boltpay\Helper\Cart as CartHelper;
use B... | Use integration test instead of unit test for all methods in class Bolt\Boltpay\Test\Unit\Section\CustomerData\BoltHintsTest (#<I>) | BoltApp_bolt-magento2 | train |
940bd45c45d02af0530e67838d32e35ec7c2f46a | diff --git a/lib/dumper/database/base.rb b/lib/dumper/database/base.rb
index <HASH>..<HASH> 100644
--- a/lib/dumper/database/base.rb
+++ b/lib/dumper/database/base.rb
@@ -31,7 +31,7 @@ module Dumper
end
def finalize
- FileUtils.remove_entry_secure tmpdir if File.exist? tmpdir
+ FileUtils.r... | tmpdir could be nil. logger is now singleton, so that loglevel is shared between including classes. | dumperhq_dumper | train |
a5b30bc3ba16b21c89f32398ead211a645bcd9d5 | diff --git a/ghost/admin/controllers/posts.js b/ghost/admin/controllers/posts.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/controllers/posts.js
+++ b/ghost/admin/controllers/posts.js
@@ -1,5 +1,25 @@
import PaginationControllerMixin from 'ghost/mixins/pagination-controller';
+function publishedAtCompare(item1, i... | Small performance tweak for Posts ordering.
* Move publishedAtCompare to standalone function in closure scope
(allows better browser optimizations).
* Avoid getting the same field (published_at) more than once. | TryGhost_Ghost | train |
1c3aac312760dc500a3e5df5a30656a37e866311 | diff --git a/lib/html/proofer.rb b/lib/html/proofer.rb
index <HASH>..<HASH> 100644
--- a/lib/html/proofer.rb
+++ b/lib/html/proofer.rb
@@ -188,7 +188,7 @@ module HTML
body_doc = Nokogiri::HTML(response.body)
# user-content is a special addition by GitHub.
if URI.parse(href).host.match(/... | Check GitHub for @ids too | gjtorikian_html-proofer | train |
6c4d61062cda7fe3aaea3d556b229803327783d3 | diff --git a/metrics-servlets/src/main/java/com/codahale/metrics/servlets/AdminServlet.java b/metrics-servlets/src/main/java/com/codahale/metrics/servlets/AdminServlet.java
index <HASH>..<HASH> 100755
--- a/metrics-servlets/src/main/java/com/codahale/metrics/servlets/AdminServlet.java
+++ b/metrics-servlets/src/main/ja... | Make AdminServlet param names constants.
Helps prevent typos and give compile checking when explicily configuring
these param names (e.g. embedding outside of dropwizard). | dropwizard_metrics | train |
371a42d25ecfff581fd34444b462a4cf37de5b29 | diff --git a/tests/testfunctions.py b/tests/testfunctions.py
index <HASH>..<HASH> 100644
--- a/tests/testfunctions.py
+++ b/tests/testfunctions.py
@@ -242,4 +242,7 @@ def _format_as_bytestring(value):
with both Python2 and Python3.
"""
- return "".join("{:02x}".format(byte) for byte in bytearray(value... | added condition to not attempt to encode a bytearray twice | sjwood_pydvdid | train |
fcce0c591ca7baa0f2d1d628bad44977353f281b | diff --git a/Entity/Stat.php b/Entity/Stat.php
index <HASH>..<HASH> 100644
--- a/Entity/Stat.php
+++ b/Entity/Stat.php
@@ -80,15 +80,6 @@ class Stat
const TYPE_LIMITS = 'limited';
/**
- * Indicates that this contact will be sent to the client at a later time (by file or scheduling).
- *
- * Cont... | Remove the "queued" status, as it is never used. | TheDMSGroup_mautic-contact-client | train |
fcf8123b9de7f938b8c0672497007adfd8c893e6 | diff --git a/lib/http/request.rb b/lib/http/request.rb
index <HASH>..<HASH> 100644
--- a/lib/http/request.rb
+++ b/lib/http/request.rb
@@ -33,7 +33,7 @@ module Http
# Stream the request to a socket
def stream(socket)
- request_header = "#{method.to_s.upcase} #{uri.path} HTTP/#{version}#{CRLF}"
+ r... | Make request_headers an array
before request headers was a string and we were just building them
up as we went along, now it's an array of the headers we actually
want. I think this is cleaner | httprb_http | train |
b2878a0a010f5ed93580c3df3bb658f19a181cc8 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -9,7 +9,8 @@ var pg = require('pg'),
var DEFAULTS = {
statementTimeout: '0', // the node-postgres default is no timeout
- poolSize : 20
+ poolSize : 20,
+ ssl: false
}
// Do not try to parse a postgres DATE to a j... | Allow overriding SSL that by default is disabled | reaktor_pg-using-bluebird | train |
6a1c7b70746d1713410c8b4115a61b96bc414ff0 | diff --git a/src/main/java/com/cronutils/model/time/ExecutionTime.java b/src/main/java/com/cronutils/model/time/ExecutionTime.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cronutils/model/time/ExecutionTime.java
+++ b/src/main/java/com/cronutils/model/time/ExecutionTime.java
@@ -303,7 +303,7 @@ public class ... | fixed issue <I> - reverse error pattern of fix-day-of-year-pattern-next-execution-date-on-start-dates-with-day-of-month-greater-than-day-of-month-of-first-expected-day | jmrozanec_cron-utils | train |
8b7e1456368921a8e7cebde1eebf02832dd8e5b5 | diff --git a/server/sonar-server-common/src/main/java/org/sonar/server/issue/workflow/IssueWorkflow.java b/server/sonar-server-common/src/main/java/org/sonar/server/issue/workflow/IssueWorkflow.java
index <HASH>..<HASH> 100644
--- a/server/sonar-server-common/src/main/java/org/sonar/server/issue/workflow/IssueWorkflow.... | SONAR-<I> unset closeDate when reopening Closed issues | SonarSource_sonarqube | train |
a2c1acf97c8c7b8a00cdd26fc35de25d6844fe4a | diff --git a/lib/topology_lib_ip/library.py b/lib/topology_lib_ip/library.py
index <HASH>..<HASH> 100644
--- a/lib/topology_lib_ip/library.py
+++ b/lib/topology_lib_ip/library.py
@@ -160,5 +160,6 @@ def ping(enode, count, destination):
__all__ = [
'interface',
'add_route',
+ 'add_6_route',
'ping'
] | fix: dev: Forgot to add to public interface. | HPENetworking_topology_lib_ip | train |
23e4c4b2b969c76ea4fa90aa663b9189dd38a5e5 | diff --git a/pyfolio/round_trips.py b/pyfolio/round_trips.py
index <HASH>..<HASH> 100644
--- a/pyfolio/round_trips.py
+++ b/pyfolio/round_trips.py
@@ -67,18 +67,18 @@ DURATION_STATS = OrderedDict(
def agg_all_long_short(round_trips, col, stats_dict):
- stats_all = round_trips.assign(ones=1)\
- .groupby('... | STY Use paranetheses for method chaining. | quantopian_pyfolio | train |
c2d7f5f86272419ca92b1d9124afe90509325ace | diff --git a/lib/plotpanel.py b/lib/plotpanel.py
index <HASH>..<HASH> 100644
--- a/lib/plotpanel.py
+++ b/lib/plotpanel.py
@@ -62,12 +62,12 @@ class PlotPanel(BasePanel):
For more features, see PlotFrame, which embeds a PlotPanel
and also provides, a Menu, StatusBar, and Printing support.
"""
- def __... | don't bother with margins parameter | newville_wxmplot | train |
fafc526ee481dab514538606d04eebb4bcbe64ce | diff --git a/src/support/shutdown/database.js b/src/support/shutdown/database.js
index <HASH>..<HASH> 100644
--- a/src/support/shutdown/database.js
+++ b/src/support/shutdown/database.js
@@ -2,7 +2,8 @@
var debug = require('debug')('waigo-shutdown-database'),
- waigo = global.waigo;
+ waigo = global.waigo,
+ _ ... | further bugfix in db shutdown script | waigo_waigo | train |
eb1f4c8bb8b8dc16d4398e58aa8d5f27f4e20c7f | diff --git a/test/org/opencms/jsp/util/TestCmsStringTemplateResolver.java b/test/org/opencms/jsp/util/TestCmsStringTemplateResolver.java
index <HASH>..<HASH> 100644
--- a/test/org/opencms/jsp/util/TestCmsStringTemplateResolver.java
+++ b/test/org/opencms/jsp/util/TestCmsStringTemplateResolver.java
@@ -68,6 +68,7 @@ pub... | Improved test case to no longer use locale dependent date formats. | alkacon_opencms-core | train |
5b25b42b987a1adba6fb69814ee3aca916ac6199 | diff --git a/src/main/java/org/jbake/parser/AsciidoctorEngine.java b/src/main/java/org/jbake/parser/AsciidoctorEngine.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jbake/parser/AsciidoctorEngine.java
+++ b/src/main/java/org/jbake/parser/AsciidoctorEngine.java
@@ -37,6 +37,11 @@ public class AsciidoctorEngine... | Make sure bundled rendering engines fail loading if a dependent class is not found | jbake-org_jbake | train |
50034f43240846e4cc8b8836029de544fcfaaee9 | diff --git a/VERSION b/VERSION
index <HASH>..<HASH> 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.2.0
+0.3.0
diff --git a/curation_concerns-models/lib/curation_concerns/models/version.rb b/curation_concerns-models/lib/curation_concerns/models/version.rb
index <HASH>..<HASH> 100644
--- a/curation_concerns-models/lib... | Preparing for <I> release | samvera_hyrax | train |
5a06e43657b5f0d8e1e5850b80b1a68e618aea19 | diff --git a/raven/handlers/logbook.py b/raven/handlers/logbook.py
index <HASH>..<HASH> 100644
--- a/raven/handlers/logbook.py
+++ b/raven/handlers/logbook.py
@@ -10,6 +10,7 @@ from __future__ import absolute_import
import logbook
import sys
+import traceback
class SentryHandler(logbook.Handler):
@@ -21,20 +22... | Improve logging and logbook handlers to follow the rest of raven's standards | elastic_apm-agent-python | train |
e60a28f460ce46f24290e653b3179ce63241dea3 | diff --git a/tests/Discovery/DiscoveryManagerImplTest.php b/tests/Discovery/DiscoveryManagerImplTest.php
index <HASH>..<HASH> 100644
--- a/tests/Discovery/DiscoveryManagerImplTest.php
+++ b/tests/Discovery/DiscoveryManagerImplTest.php
@@ -15,7 +15,6 @@ use PHPUnit_Framework_Assert;
use PHPUnit_Framework_MockObject_Moc... | Removed use of the removed NoQueryMatchesException | puli_manager | train |
cdb42130f376cfb34478ce2c3741a531c590a782 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -50,7 +50,7 @@ module.exports = class MochaWrapper extends Mocha {
runner.emit('pass', { title, slow: () => 100, duration })
} else if (/^# fail/.test(line)) {
const title = line.... | Added titlePath field to when emitting failed test | fabiosantoscode_mochallel | train |
fa23c0546f6fbfea2f6de6568899cf0044b74b72 | diff --git a/telluric/georaster.py b/telluric/georaster.py
index <HASH>..<HASH> 100644
--- a/telluric/georaster.py
+++ b/telluric/georaster.py
@@ -251,7 +251,10 @@ def _prepare_rasters(
all_band_names = IndexedSet(first.band_names)
projected_rasters = []
for raster in rasters:
- projected_raster =... | Add try/ except ValueError in _prepare_other_raster call, to catch some corner case exceptions raised by GeoRaster2.crop | satellogic_telluric | train |
eceda56d080dae9efccf268833f3c9aec6710238 | diff --git a/inspektr-audit/src/main/java/com/github/inspektr/audit/spi/support/ReturnValueAsStringResourceResolver.java b/inspektr-audit/src/main/java/com/github/inspektr/audit/spi/support/ReturnValueAsStringResourceResolver.java
index <HASH>..<HASH> 100644
--- a/inspektr-audit/src/main/java/com/github/inspektr/audit/... | Issue 8
updated resolveFrom method to use toString for Exceptions if the Exception returns null for the getMessage method | dima767_inspektr | train |
500513375e8ab755916613106674c31d7e613419 | diff --git a/tests/unit/utils/event_test.py b/tests/unit/utils/event_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/utils/event_test.py
+++ b/tests/unit/utils/event_test.py
@@ -25,6 +25,7 @@ ensure_in_syspath('../../')
# Import salt libs
import integration
+from salt.master import clean_proc
from salt.utils ... | Use salt's master `clean_proc` routine.
On Fedora <I>, we hit an issue, at least, similar to #<I>.
While debugging it, I've found that the runtests process keeps eating
memory.
Using `clean_proc` has at least, allowed the runtests to finish without
triggering #<I>. | saltstack_salt | train |
4cc4700fd4346ae9b653099d81b7988b3058ef3c | diff --git a/core/common/src/main/java/alluxio/underfs/BaseUnderFileSystem.java b/core/common/src/main/java/alluxio/underfs/BaseUnderFileSystem.java
index <HASH>..<HASH> 100644
--- a/core/common/src/main/java/alluxio/underfs/BaseUnderFileSystem.java
+++ b/core/common/src/main/java/alluxio/underfs/BaseUnderFileSystem.ja... | [SMALLFIX] Supply the variable name to Preconditions.checkNotNull in BaseUnderFileSystem.java | Alluxio_alluxio | train |
25e1b45e0c5932acac0bc56bab79a49b8630604e | diff --git a/hug/test.py b/hug/test.py
index <HASH>..<HASH> 100644
--- a/hug/test.py
+++ b/hug/test.py
@@ -39,7 +39,7 @@ from types import ModuleType
def call(method, api_or_module, url, body='', headers=None, **params):
"""Simulates a round-trip call against the given API / URL"""
- if type(api_or_module) =... | Add support for passing in name of module | hugapi_hug | train |
d5e00c5f655c995ef2876866685274b9c3934518 | diff --git a/test/test_process_pool_fork.py b/test/test_process_pool_fork.py
index <HASH>..<HASH> 100644
--- a/test/test_process_pool_fork.py
+++ b/test/test_process_pool_fork.py
@@ -136,7 +136,7 @@ class TestProcessPool(unittest.TestCase):
def test_process_pool_multiple_futures(self):
"""Process Pool For... | travis: small test on MAC OSX | noxdafox_pebble | train |
e6b34395c3aaa0c22c3ed556b8fa45257f653bcb | diff --git a/build.js b/build.js
index <HASH>..<HASH> 100644
--- a/build.js
+++ b/build.js
@@ -6,7 +6,7 @@ var fs = require("fs");
var fsp = require("path");
var browserify = require("browserify");
var babelify = require("babelify");
-require('babel-plugin-streamline');
+var streamlinePlugin = require('babel-plugin-... | issue #<I> - fixed build script for babel 6 | Sage_streamlinejs | train |
bb595666ac3bdb5f16fa10663bd8890eb320fcb1 | diff --git a/models/repo.go b/models/repo.go
index <HASH>..<HASH> 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -654,12 +654,7 @@ func MigrateRepository(u *User, opts MigrateRepoOptions) (*Repository, error) {
return repo, UpdateRepository(repo, false)
}
- repo, err = CleanUpMigrateInfo(repo, repoPath)
- i... | Moved UpdateRepository() to CleanUpMigrateInfo() and correctly delete mirror from database | gogs_gogs | train |
e3e32699a0f9c01edb4d1937e5cd861e5571b058 | diff --git a/scrubadub/detectors/sklearn_address.py b/scrubadub/detectors/sklearn_address.py
index <HASH>..<HASH> 100644
--- a/scrubadub/detectors/sklearn_address.py
+++ b/scrubadub/detectors/sklearn_address.py
@@ -170,7 +170,7 @@ class SklearnAddressDetector(BIOTokenSklearnDetector):
@staticmethod
def create... | small tweaks to address punctuation and numeric features | datascopeanalytics_scrubadub | train |
78b6607c11a9aeb810504213cb138965a10793f3 | diff --git a/framework/db/ActiveRelation.php b/framework/db/ActiveRelation.php
index <HASH>..<HASH> 100644
--- a/framework/db/ActiveRelation.php
+++ b/framework/db/ActiveRelation.php
@@ -131,7 +131,7 @@ class ActiveRelation extends ActiveQuery
/**
* Finds the related records and populates them into the primary m... | Fixes doc block in findWith method of ActiveRelation | yiisoft_yii2-bootstrap4 | train |
0c9c5ef0f5912c0d5f36f2a975cf6890fc294662 | diff --git a/login/index.php b/login/index.php
index <HASH>..<HASH> 100644
--- a/login/index.php
+++ b/login/index.php
@@ -172,8 +172,9 @@ if ($frm and isset($frm->username)) { // Login WITH
die;
}
- if ($frm->password == 'changeme') {
- //force the... | MDL-<I> keeping the magic 'changeme' password only for manual auth, it does not make much sense for other types | moodle_moodle | train |
48c6e54e8be287a42c7dcc103cb4acff0e0ba898 | diff --git a/src/share/classes/javax/lang/model/util/ElementScanner6.java b/src/share/classes/javax/lang/model/util/ElementScanner6.java
index <HASH>..<HASH> 100644
--- a/src/share/classes/javax/lang/model/util/ElementScanner6.java
+++ b/src/share/classes/javax/lang/model/util/ElementScanner6.java
@@ -110,6 +110,8 @@ p... | <I>: Fix doclint warnings in javax.lang.model
Reviewed-by: jjg | wmdietl_jsr308-langtools | train |
64237fdae0284e0314cb6184c12f7ec5bdf540fa | diff --git a/datacats/cli/create.py b/datacats/cli/create.py
index <HASH>..<HASH> 100644
--- a/datacats/cli/create.py
+++ b/datacats/cli/create.py
@@ -64,6 +64,9 @@ part of this path will be used as the environment name.
def create_environment(environment_dir, port, ckan_version, create_skin,
site_name, start... | Finish up no-init-db | datacats_datacats | train |
d42dcd4ac46fa513634f2b84a7c33849958e513e | diff --git a/guice-bean-reflect/src/test/java/org/sonatype/guice/bean/reflect/BundleClassSpaceTest.java b/guice-bean-reflect/src/test/java/org/sonatype/guice/bean/reflect/BundleClassSpaceTest.java
index <HASH>..<HASH> 100644
--- a/guice-bean-reflect/src/test/java/org/sonatype/guice/bean/reflect/BundleClassSpaceTest.jav... | Place test bundle cache under the outputDirectory | sonatype_sisu | train |
23e1c9964e5c6eab358bb1a2aa2f50b1a898d438 | diff --git a/lib/active_scaffold/helpers/form_column_helpers.rb b/lib/active_scaffold/helpers/form_column_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/helpers/form_column_helpers.rb
+++ b/lib/active_scaffold/helpers/form_column_helpers.rb
@@ -89,7 +89,8 @@ module ActiveScaffold
def update_col... | use id for render_field only with send_form_on_update_columns, in other case is not used | activescaffold_active_scaffold | train |
df65f51de6ba67138a48185ff2e63077f7fe7ce6 | diff --git a/git/test/test_docs.py b/git/test/test_docs.py
index <HASH>..<HASH> 100644
--- a/git/test/test_docs.py
+++ b/git/test/test_docs.py
@@ -373,8 +373,13 @@ class Tutorials(TestBase):
assert origin == empty_repo.remotes.origin == empty_repo.remotes['origin']
origin.fetch() # as... | Update Remotes section (#<I>)
Update Remotes section
The Remotes section was missing some pretty important info. | gitpython-developers_GitPython | train |
cb77c77b8696e13e8a30912e723dc4a7b4e5998c | diff --git a/tests/helpers/models.py b/tests/helpers/models.py
index <HASH>..<HASH> 100644
--- a/tests/helpers/models.py
+++ b/tests/helpers/models.py
@@ -69,6 +69,13 @@ class VectorModel(BaseModel):
list_str = Column(List(String))
set_str = Column(Set(String))
typed_map_str = Column(TypedMap(String))
+ ... | test engine.load replaces missing fields with set/list #<I> | numberoverzero_bloop | train |
8b6543c824174f6e68e9a17aa1886e6be1d211ed | diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/clinical/qc/SampleQcVariantStats.java b/biodata-models/src/main/java/org/opencb/biodata/models/clinical/qc/SampleQcVariantStats.java
index <HASH>..<HASH> 100644
--- a/biodata-models/src/main/java/org/opencb/biodata/models/clinical/qc/SampleQcVariantSta... | Force github actions rebuild to check previous error | opencb_biodata | train |
809146c0c93c9c32ef25533fc24d22514e914284 | diff --git a/asv/benchmark.py b/asv/benchmark.py
index <HASH>..<HASH> 100644
--- a/asv/benchmark.py
+++ b/asv/benchmark.py
@@ -60,6 +60,7 @@ import time
import tempfile
import struct
import pkgutil
+import contextlib
from importlib import import_module
@@ -896,6 +897,44 @@ def main_run(args):
json.dump... | forkserver: capture import-time stdout/stderr output + add to benchmark output
Instead of printing import-time printouts with 'asv: forkserver'
messages, capture the output and prepend it to benchmark stderr,
somewhat similarly as if the benchmark was run as a separate process.
This will capture printout from all mod... | airspeed-velocity_asv | train |
16cf465575325bf21a94d2a345d8bf4d9d097f11 | diff --git a/Chart.js b/Chart.js
index <HASH>..<HASH> 100644
--- a/Chart.js
+++ b/Chart.js
@@ -91,7 +91,7 @@
// Boolean - whether or not the chart should be responsive and resize when the browser does.
responsive: false,
- // Boolean - whether to maintain the starting aspect ratio or no... | Add a small amount to docs. | chartjs_Chart.js | train |
cbb1a5bf5d69ac851f93f3baf9616104eb4ae91d | diff --git a/bosh_openstack_cpi/lib/cloud/openstack/cloud.rb b/bosh_openstack_cpi/lib/cloud/openstack/cloud.rb
index <HASH>..<HASH> 100644
--- a/bosh_openstack_cpi/lib/cloud/openstack/cloud.rb
+++ b/bosh_openstack_cpi/lib/cloud/openstack/cloud.rb
@@ -305,7 +305,6 @@ module Bosh::OpenStackCloud
# @param [String] se... | [openstack_cpi] Extract security groups comparision logic to its own method | cloudfoundry_bosh | train |
8227129da4d173c514fd86d86834974547f947a9 | diff --git a/merb-core/lib/merb-core/controller/mixins/render.rb b/merb-core/lib/merb-core/controller/mixins/render.rb
index <HASH>..<HASH> 100644
--- a/merb-core/lib/merb-core/controller/mixins/render.rb
+++ b/merb-core/lib/merb-core/controller/mixins/render.rb
@@ -122,7 +122,7 @@ module Merb::RenderMixin
# Rai... | [#<I> state:resolved] Fixes missing space in TemplateNotFound | wycats_merb | train |
6b23f280882c269aae452cc52997e6615ed79162 | diff --git a/src/Contentful.php b/src/Contentful.php
index <HASH>..<HASH> 100644
--- a/src/Contentful.php
+++ b/src/Contentful.php
@@ -104,12 +104,17 @@ class Contentful
}
/**
- * @param string $spaceName
+ * @param string|SpaceInterface $space The space name, or space object.
* @return SpaceI... | allow calls to be made passing in space object | usemarkup_contentful | train |
1ee73f9be6f8009da8a1a11b5a1340d34ac1c026 | diff --git a/app/models/scaptimony/arf_report.rb b/app/models/scaptimony/arf_report.rb
index <HASH>..<HASH> 100644
--- a/app/models/scaptimony/arf_report.rb
+++ b/app/models/scaptimony/arf_report.rb
@@ -8,6 +8,10 @@ module Scaptimony
belongs_to :asset
belongs_to :policy
+ before_destroy { |record|
+ ... | Remove file system content before deleting ArfReport record. | OpenSCAP_scaptimony | train |
9563c8bddcc65cb350e421bbeb378c16da8f88a1 | diff --git a/nats.go b/nats.go
index <HASH>..<HASH> 100644
--- a/nats.go
+++ b/nats.go
@@ -1442,7 +1442,9 @@ func (nc *Conn) flusher() {
}
if bw.Buffered() > 0 {
if err := bw.Flush(); err != nil {
- nc.err = err
+ if nc.err == nil {
+ nc.err = err
+ }
}
}
nc.mu.Unlock() | Set nc.err only if not already set. | nats-io_go-nats | train |
f3f5956841b3795a28665f852f3acd2f7b194380 | diff --git a/docs/is_element_present.rst b/docs/is_element_present.rst
index <HASH>..<HASH> 100644
--- a/docs/is_element_present.rst
+++ b/docs/is_element_present.rst
@@ -7,6 +7,13 @@ It returns if an element with corresponding name is shown on the page.
.. literalinclude:: ../examples/12_is_element_present.py
+*N... | Adds Finds support to is_element_present() (#<I>)
Finds returns a list of WebElements, not a single WebElement, and thus
is_displayed() fails when called upon said list. This commit adds
handling to check if there are any elements in the list, and if so,
determines if they are all visible. | wgnet_webium | train |
e2b0bb4df03dfdbeabd27ac9afd559cc218fcd58 | diff --git a/src/Google/Service/Genomics/OperationMetadata.php b/src/Google/Service/Genomics/OperationMetadata.php
index <HASH>..<HASH> 100644
--- a/src/Google/Service/Genomics/OperationMetadata.php
+++ b/src/Google/Service/Genomics/OperationMetadata.php
@@ -23,6 +23,7 @@ class Google_Service_Genomics_OperationMetadata... | Autogenerated update for genomics version v1 (<I>-<I>-<I>) | googleapis_google-api-php-client-services | train |
55dc98a5f8fde96c91aef0d3237069a331c9a538 | diff --git a/lxd/seccomp/seccomp.go b/lxd/seccomp/seccomp.go
index <HASH>..<HASH> 100644
--- a/lxd/seccomp/seccomp.go
+++ b/lxd/seccomp/seccomp.go
@@ -361,6 +361,7 @@ type Instance interface {
Architecture() int
RootfsPath() string
CurrentIdmap() (*idmap.IdmapSet, error)
+ DiskIdmap() (*idmap.IdmapSet, error)
I... | seccomp: only apply shift when it is needed | lxc_lxd | train |
77a8e6351ce8cfe9c0b9bba00ba513d0dbe44aed | diff --git a/lib/snapshot/builder.rb b/lib/snapshot/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/snapshot/builder.rb
+++ b/lib/snapshot/builder.rb
@@ -28,7 +28,7 @@ module Snapshot
all_lines << line
begin
parse_build_line(line) if line.length > 2
- rescue Exception => ex
... | Updated exception handling to use StandardError | fastlane_fastlane | train |
f26f686f05372f45a80a83677faf337e654edd61 | diff --git a/lib/job.js b/lib/job.js
index <HASH>..<HASH> 100644
--- a/lib/job.js
+++ b/lib/job.js
@@ -45,6 +45,7 @@ Job = function Job(data) {
Job.prototype.submitAll = function(bundle, doneCb, updateCb) {
var self = this;
+ this.status = 'dispatching';
this.requests.forEach(function(request) {
request.... | src({job, request, test}.js): fix progress, status and their tests | Sanji-IO_sanji-puppetmaster | train |
d4c83198789250c8a09bdf891d1efef50c2e02ac | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -62,12 +62,12 @@ def spark():
spark.stop()
-@pytest.fixture
+@pytest.fixture(scope="session")
def spark_context(spark):
return spark.sparkContext
-@pytest.fixture(scope='s... | Explicitly mark spark_context fixture as session-scoped
We also alter some quotes solely for consistency. | mozilla_python_moztelemetry | train |
6d56e6f943ce4e33699c9e95b126b576414b71ae | diff --git a/clients/python/girder_client/__init__.py b/clients/python/girder_client/__init__.py
index <HASH>..<HASH> 100644
--- a/clients/python/girder_client/__init__.py
+++ b/clients/python/girder_client/__init__.py
@@ -151,9 +151,9 @@ class GirderClient(object):
if apiRoot is None:
api... | girder_client: Change default "scheme" to "https" and fix logic setting port
If the "scheme" is not explicitly set, "port" value should be set
based on the current "scheme". | girder_girder | train |
1c67fc6a2dccc4851855a36c263fca330af8ae79 | diff --git a/curdling/services/base.py b/curdling/services/base.py
index <HASH>..<HASH> 100644
--- a/curdling/services/base.py
+++ b/curdling/services/base.py
@@ -87,7 +87,8 @@ class Service(SignalEmitter):
result = self(requester, **sender_data) or {}
self._queue.task_done()
... | More data for debugging exceptions in Service._worker() | clarete_curdling | train |
f4a606510f92dc99b4c4d566782100d937bb14a8 | diff --git a/lib/sorcery/model/adapters/data_mapper.rb b/lib/sorcery/model/adapters/data_mapper.rb
index <HASH>..<HASH> 100644
--- a/lib/sorcery/model/adapters/data_mapper.rb
+++ b/lib/sorcery/model/adapters/data_mapper.rb
@@ -3,10 +3,19 @@ module Sorcery
module Adapters
module DataMapper
def self.... | Move ActivityLogging DM compatibility check to adapter
This is another step to decouple adapters from the rest of the library. In the
future mechanism of checking for compatibility can be extended, so that plugins
may add their own verifications, but right now it's not necessary. | Sorcery_sorcery | train |
83aa4321e3881b40ef55a3c5d103bc2e118ad072 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,6 +9,7 @@ module Builderator
module Util
class << self
def relative_path(*relative)
+ relative = relative.flatten.map { |r| r.to_s }
Pathname.new(__... | Convert pathnames to strings and flatten the array | rapid7_builderator | train |
e6a88699ce41bc787659f4953933cd4dd098d04a | diff --git a/code/DocumentationService.php b/code/DocumentationService.php
index <HASH>..<HASH> 100644
--- a/code/DocumentationService.php
+++ b/code/DocumentationService.php
@@ -249,6 +249,7 @@ class DocumentationService {
* @param bool $major is this a major release
*/
public static function register($module,... | MINOR Throwing exception when path is not found | silverstripe_silverstripe-docsviewer | train |
4c0847cdfaa4bc910ba5f3ad448a598019bba5e1 | diff --git a/src/limenet/Deploy/AdapterInterface.php b/src/limenet/Deploy/AdapterInterface.php
index <HASH>..<HASH> 100644
--- a/src/limenet/Deploy/AdapterInterface.php
+++ b/src/limenet/Deploy/AdapterInterface.php
@@ -20,5 +20,5 @@ interface AdapterInterface
*
* @return bool
*/
- public function r... | no longer pass payload to adapters | limenet_deploy | train |
cfc0290d1a09ed3349518cf63ec2c0be5c2e6493 | diff --git a/concrete/src/Url/Resolver/CanonicalUrlResolver.php b/concrete/src/Url/Resolver/CanonicalUrlResolver.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Url/Resolver/CanonicalUrlResolver.php
+++ b/concrete/src/Url/Resolver/CanonicalUrlResolver.php
@@ -112,6 +112,15 @@ class CanonicalUrlResolver implements Ur... | Add back request based urls to the canonical url resolver
See discussion in #<I>
Former-commit-id: <I>f2ccbeb<I>f8ef1bf<I>b<I>e4ad<I>
Former-commit-id: a<I>c<I>c<I>ca<I>af1cd4ffc0cda6 | concrete5_concrete5 | train |
103edb9c36988c42170a75046eee37407c0c6475 | diff --git a/gson/src/main/java/com/google/gson/Streams.java b/gson/src/main/java/com/google/gson/Streams.java
index <HASH>..<HASH> 100644
--- a/gson/src/main/java/com/google/gson/Streams.java
+++ b/gson/src/main/java/com/google/gson/Streams.java
@@ -17,9 +17,8 @@
package com.google.gson;
import com.google.gson.str... | Don't return null on an unexpected EOF unless the document is empty. This brings us back to compatibility with GSON <I>. | google_gson | train |
e3bd6d4b1d4fd4d7bf36911d4e58c57908dffd41 | diff --git a/bin/convert-blast-xml-to-json.py b/bin/convert-blast-xml-to-json.py
index <HASH>..<HASH> 100755
--- a/bin/convert-blast-xml-to-json.py
+++ b/bin/convert-blast-xml-to-json.py
@@ -3,10 +3,17 @@
from dark.conversion import convertBlastXMLToJSON
+def _convert(xmlfile, outfp):
+ convertBlastXMLToJSON(xm... | Adjust bin/convert-blast-xml-to-json.py so it can take an output file on the command line for running with HTCondor. | acorg_dark-matter | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.