hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
4191ef3ebfb1f8a5e4697c05f82aa0da1e9648c1 | diff --git a/api-v2.go b/api-v2.go
index <HASH>..<HASH> 100644
--- a/api-v2.go
+++ b/api-v2.go
@@ -25,6 +25,7 @@ import (
"path/filepath"
"runtime"
"sort"
+ "strconv"
"strings"
"time"
)
@@ -289,7 +290,7 @@ var maxParts = int64(10000)
// maxPartSize - unexported right now
var maxPartSize int64 = 1024 * 1024... | Rename MethodUnexpectedEOF to UnexpectedShortRead | minio_minio-go | train |
d7d0569ac364922e22e2c263fdda47706c26971b | diff --git a/lib/trello/action.rb b/lib/trello/action.rb
index <HASH>..<HASH> 100644
--- a/lib/trello/action.rb
+++ b/lib/trello/action.rb
@@ -26,7 +26,7 @@ module Trello
def search(query, opts={})
response = client.get("/search/", { query: query }.merge(opts))
- JSON.parse(response).except("op... | Use parse_json util method in search method | jeremytregunna_ruby-trello | train |
c9d7c0f1c7a34a81bd00444867a5b02a22440dd5 | diff --git a/client/test/order.js b/client/test/order.js
index <HASH>..<HASH> 100644
--- a/client/test/order.js
+++ b/client/test/order.js
@@ -29,7 +29,7 @@ const orderSuite = window.orderSuite = (getData, getTestData) => () => {
// Let's try ordering by a different field.
it('can order results by a field other t... | Fix tests to match <I> server | rethinkdb_horizon | train |
d3fb962f60d3c6f8ecbe336c307036f9ebf32031 | diff --git a/src/Resources/Response.php b/src/Resources/Response.php
index <HASH>..<HASH> 100644
--- a/src/Resources/Response.php
+++ b/src/Resources/Response.php
@@ -4,7 +4,7 @@ use Closure;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Response as IlluminateResponse;
-... | Update Facile response class name. | orchestral_resources | train |
0c5c55d519f7321a056c5359c8636fd4c934444d | diff --git a/metrique/server/drivers/basesql.py b/metrique/server/drivers/basesql.py
index <HASH>..<HASH> 100644
--- a/metrique/server/drivers/basesql.py
+++ b/metrique/server/drivers/basesql.py
@@ -153,6 +153,7 @@ def _extract_func(cube, **kwargs):
raise ValueError("row_limit must be a number")
sql_whe... | add basesql groupby; fix last_known_warehouse_mtime | kejbaly2_metrique | train |
a3b1e3ec141483a17e140c274a6e1bc82d054129 | diff --git a/src/Table/Column/ForeignUser.php b/src/Table/Column/ForeignUser.php
index <HASH>..<HASH> 100644
--- a/src/Table/Column/ForeignUser.php
+++ b/src/Table/Column/ForeignUser.php
@@ -102,7 +102,7 @@ class ForeignUser extends BaseColumn implements Foreign, DeleteConstrainable {
* @inheritDoc
*/
public fu... | ForeignUser should return , not false, if user does not exist | iron-bound-designs_IronBound-DB | train |
7030b5802e67a8442df9a2bd866c48c871fccd29 | diff --git a/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py b/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py
index <HASH>..<HASH> 100644
--- a/gremlin-python/src/main/jython/gremlin_python/structure/io/graphbinaryV1.py
+++ b/gremlin-python/src/main/jython/gremli... | Added property/path to python graphbinary | apache_tinkerpop | train |
fc53ea7de8100a5385cb091e854b40686da97180 | diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/CodeArea.java b/richtextfx/src/main/java/org/fxmisc/richtext/CodeArea.java
index <HASH>..<HASH> 100644
--- a/richtextfx/src/main/java/org/fxmisc/richtext/CodeArea.java
+++ b/richtextfx/src/main/java/org/fxmisc/richtext/CodeArea.java
@@ -29,6 +29,8 @@ public clas... | Forget undo history in constructors taking content | FXMisc_RichTextFX | train |
4413dd7362f73ce4c9e7216fd3c9f6cd92a64a47 | diff --git a/drools-core/src/test/java/org/drools/examples/manners/ReteooMannersTest.java b/drools-core/src/test/java/org/drools/examples/manners/ReteooMannersTest.java
index <HASH>..<HASH> 100644
--- a/drools-core/src/test/java/org/drools/examples/manners/ReteooMannersTest.java
+++ b/drools-core/src/test/java/org/droo... | -Left in the comments that help with debugging.
git-svn-id: <URL> | kiegroup_drools | train |
06c06493d58bdadefe03e6538eefc1d010bf488f | diff --git a/ags_publishing_tools/api.py b/ags_publishing_tools/api.py
index <HASH>..<HASH> 100644
--- a/ags_publishing_tools/api.py
+++ b/ags_publishing_tools/api.py
@@ -47,7 +47,7 @@ class Api:
else:
request = urllib2.Request(url)
request.get_method = lambda: method
- res... | Encodes post params
BPFG-<I> | lobsteropteryx_slap | train |
d967ec74d3527ba23f08a752d725865c6139cb98 | diff --git a/django_uwsgi/views.py b/django_uwsgi/views.py
index <HASH>..<HASH> 100644
--- a/django_uwsgi/views.py
+++ b/django_uwsgi/views.py
@@ -17,7 +17,7 @@ class UwsgiStatus(TemplateView):
'''
uWSGI Status View
'''
- if apps.is_installed('wagtail.wagtailadmin'):
+ if apps.is_installed('wagtail... | wagtail.wagtailadmin > wagtail.admin | unbit_django-uwsgi | train |
e995989765b3388bdecd1c9b0cbeea717f0023ec | diff --git a/lib/tabula/writers.rb b/lib/tabula/writers.rb
index <HASH>..<HASH> 100644
--- a/lib/tabula/writers.rb
+++ b/lib/tabula/writers.rb
@@ -16,7 +16,7 @@ module Tabula
def Writers.TSV(lines, output=$stdout)
tsv_string = lines.each { |l|
- output.write(l.map(&:text).join("\t") + '\n')
+ ... | minor bugfix: use doublequotes on \n in TSV writer
so it comes out as a line return, not as a literal slash n | tabulapdf_tabula-extractor | train |
3531f361b68aa61b53754449327a739b1f035cd6 | diff --git a/niworkflows/viz/utils.py b/niworkflows/viz/utils.py
index <HASH>..<HASH> 100644
--- a/niworkflows/viz/utils.py
+++ b/niworkflows/viz/utils.py
@@ -548,11 +548,10 @@ def plot_melodic_components(melodic_dir, in_file, tr=None,
gs = GridSpec(n_rows * 2, 9,
width_ratios=[1, 1, 1, 4, 0.001... | re-order if conditional | poldracklab_niworkflows | train |
ec71830c7aab6f5fdc3f461db1e906adeb7f3c0b | diff --git a/lib/hmac/strategies/query.rb b/lib/hmac/strategies/query.rb
index <HASH>..<HASH> 100644
--- a/lib/hmac/strategies/query.rb
+++ b/lib/hmac/strategies/query.rb
@@ -15,12 +15,19 @@ module Warden
# @return [Bool] true if all required authentication information is available in the request
# @s... | refactored valid?, extracted a check for the signature in the params so that the check can be changed withouth overwriting all of valid? | Asquera_warden-hmac-authentication | train |
39dc7741766563069bb42a79015e3843331a91d2 | diff --git a/ceph_deploy/hosts/debian/install.py b/ceph_deploy/hosts/debian/install.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/hosts/debian/install.py
+++ b/ceph_deploy/hosts/debian/install.py
@@ -3,11 +3,17 @@ from urlparse import urlparse
from ceph_deploy.lib import remoto
from ceph_deploy.util import pkg_man... | [RM-<I>] debian: only install requested packages
Refs: #<I> | ceph_ceph-deploy | train |
bddcb143b162644957a8ab0f62aa4864a1732ea0 | diff --git a/cas-server-3.4.2/cas-server-core/src/main/java/org/jasig/cas/web/view/Saml10FailureResponseView.java b/cas-server-3.4.2/cas-server-core/src/main/java/org/jasig/cas/web/view/Saml10FailureResponseView.java
index <HASH>..<HASH> 100644
--- a/cas-server-3.4.2/cas-server-core/src/main/java/org/jasig/cas/web/view... | CAS-<I>
Ensure service parameter is not null, which would be the case when TARGET
parameter is not supplied. | apereo_cas | train |
d71ff3b6c2de280600934f9c234a9f631ee4a790 | diff --git a/src/faker/date.js b/src/faker/date.js
index <HASH>..<HASH> 100644
--- a/src/faker/date.js
+++ b/src/faker/date.js
@@ -1,4 +1,7 @@
export function between(from, to) {
+ from = getDateObject(from);
+ to = getDateObject(to);
+
const fromMilli = Date.parse(from);
const toMilli = Date.parse(to);
con... | Wrapping dates with getDateObject so it can use strings and date objects. Added tests to check that it is working. | mrstebo_fakergem | train |
69995658431836e13d2f9a1a63d99816c2af3b66 | diff --git a/api/pool.go b/api/pool.go
index <HASH>..<HASH> 100644
--- a/api/pool.go
+++ b/api/pool.go
@@ -111,6 +111,13 @@ func addPoolHandler(w http.ResponseWriter, r *http.Request, t auth.Token) error
return err
}
+// title: remove pool
+// path: /pools/{name}
+// method: DELETE
+// responses:
+// 200: Pool ... | api/pools: add comments to describe pool remove | tsuru_tsuru | train |
867b536ed4558cf6eb61aee0dcba70283bafa1e2 | diff --git a/lib/constants/formats.js b/lib/constants/formats.js
index <HASH>..<HASH> 100644
--- a/lib/constants/formats.js
+++ b/lib/constants/formats.js
@@ -4,9 +4,35 @@
* @description Exports different types of formatting for {@link Date#format}.
*/
+import Super from '../Super';
import Str from '../String';
... | constants.formats: helper constants moved to the module. | dwaynejs_dwayne | train |
896dedfd374200b7db49596766be0e2f4384c7bd | diff --git a/lib/jazzy/assets/css/jazzy.css.scss b/lib/jazzy/assets/css/jazzy.css.scss
index <HASH>..<HASH> 100644
--- a/lib/jazzy/assets/css/jazzy.css.scss
+++ b/lib/jazzy/assets/css/jazzy.css.scss
@@ -311,7 +311,7 @@ header {
padding-left: 3px;
margin-left: 15px;
}
- .has_default_implementation {
+ .de... | Declaration note instead of generated mark for protocol extension members | realm_jazzy | train |
47ce7ad302c42fb1c68feac94e596c4941435469 | diff --git a/storage/metric/leveldb.go b/storage/metric/leveldb.go
index <HASH>..<HASH> 100644
--- a/storage/metric/leveldb.go
+++ b/storage/metric/leveldb.go
@@ -540,7 +540,6 @@ func (l *LevelDBMetricPersistence) AppendSamples(samples model.Samples) (err err
var (
fingerprintToSamples = groupByFingerprint(samples... | Extract appending from goroutine. | prometheus_prometheus | train |
1e5163d2411c744c4738b3ef3aa774e95b7238e3 | diff --git a/command/agent/command.go b/command/agent/command.go
index <HASH>..<HASH> 100644
--- a/command/agent/command.go
+++ b/command/agent/command.go
@@ -1167,13 +1167,14 @@ WAIT:
// Agent is already shutdown!
return 0
}
- c.Ui.Output(fmt.Sprintf("Caught signal: %v", sig))
- // Skip SIGPIPE signals
+ // ... | Supress signal logging on SIGPIPE. Should address #<I>
When consul-template is communicating with consul and the job is done, consul thread receives SIGPIPE.
This cause the logs to be filled "Caught signal: broken pipe" and they does not bring any usefull info with them.
Skipping those. | hashicorp_consul | train |
ffb7dd7bdd4ea48335099acdf8fdc39e4afc2eaa | diff --git a/spec/models/model_spec.rb b/spec/models/model_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/model_spec.rb
+++ b/spec/models/model_spec.rb
@@ -540,5 +540,26 @@ describe Volt::Model do
expect(count).to eq(1)
end
+
+ it 'should query twice and return twice' do
+ store._items << {... | Add failing spec for issue with model loading. | voltrb_volt | train |
6872ab8c3cf075a25cff60d668052042041b4bcb | diff --git a/bugwarrior/db.py b/bugwarrior/db.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/db.py
+++ b/bugwarrior/db.py
@@ -359,7 +359,7 @@ def synchronize(issue_generator, conf, main_section, dry_run=False):
log.info("Adding %i tasks", len(issue_updates['new']))
for issue in issue_updates['new']:
... | Fix some problems with unicode
Because of the import
from __future__ import unicode_literals
We can pass all the arguments as unicode and let the logging library
take care of the encoding. | ralphbean_bugwarrior | train |
aa443831256b0fb018082a54c7fe89314c346812 | diff --git a/src/ClientManager.php b/src/ClientManager.php
index <HASH>..<HASH> 100644
--- a/src/ClientManager.php
+++ b/src/ClientManager.php
@@ -3,6 +3,7 @@
namespace ElfSundae\BearyChat\Laravel;
use Closure;
+use Illuminate\Support\Arr;
use ElfSundae\BearyChat\Client;
class ClientManager
@@ -15,6 +16,27 @@ c... | Move getting config to ServiceProvider | ElfSundae_laravel-bearychat | train |
c27ef26fcef3cf64e6f6533a54ed5a4c025ce556 | diff --git a/usbiss/__init__.py b/usbiss/__init__.py
index <HASH>..<HASH> 100644
--- a/usbiss/__init__.py
+++ b/usbiss/__init__.py
@@ -25,9 +25,8 @@ def iss_spi_divisor(sck):
class USBISS(object):
- def __init__(self, port, mode, **kwargs):
- self.mode = mode
- self.dummy_bytes = kwargs.get('dummy... | Changed constructor arguments, expose mode for SPI applications and more
documentation | DancingQuanta_pyusbiss | train |
b4cc71e3a41afa38e237ff16294a0fe4389cc0b6 | diff --git a/Eloquent/Builder.php b/Eloquent/Builder.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Builder.php
+++ b/Eloquent/Builder.php
@@ -1,6 +1,7 @@
<?php namespace Illuminate\Database\Eloquent;
use Closure;
+use Illuminate\Pagination\Paginator;
use Illuminate\Database\Query\Expression;
use Illuminate\Datab... | First pass at simpler Eloquent pagination. | illuminate_database | train |
a6994d3f74805b10e0c0f51bd62e00cfb0ca905b | diff --git a/examples/gen_rt_integrity_check.py b/examples/gen_rt_integrity_check.py
index <HASH>..<HASH> 100755
--- a/examples/gen_rt_integrity_check.py
+++ b/examples/gen_rt_integrity_check.py
@@ -65,7 +65,7 @@ end for;
supertype_body_tmpl = Template('''
select one one_${To}_Instance related by ${From}_Instance... | example: fixed minor typo in runtime consistency check example | xtuml_pyxtuml | train |
f0b95277926775d0052b981ff475bb229b9d1c0c | diff --git a/test/fixtures/multi-server.js b/test/fixtures/multi-server.js
index <HASH>..<HASH> 100644
--- a/test/fixtures/multi-server.js
+++ b/test/fixtures/multi-server.js
@@ -15,15 +15,15 @@ var server3 = net.createServer(function (socket) {
});
server1.addListener('error', function (err) {
- process.exit(1);
... | [test] Make exit codes more specific
When an uncaught exception is thrown, `node ` exits with `1`. Make it
clear that exits are cause by listening errors. | nodejitsu_haibu-carapace | train |
5de13f7083c88438e943f5020e37f899901ed95c | diff --git a/src/test/java/org/boon/tests/SortTest.java b/src/test/java/org/boon/tests/SortTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/boon/tests/SortTest.java
+++ b/src/test/java/org/boon/tests/SortTest.java
@@ -50,8 +50,8 @@ public class SortTest {
public void setUp() throws Exception {
... | SortTest fails on Norwegian locale
This is because "aa" is interpreted as "å", which should come after "z".
Fixes #<I> | boonproject_boon | train |
d11dd20bf3537a2d8237b75c89fa20ae284fefd3 | diff --git a/builtin/providers/test/resource_test.go b/builtin/providers/test/resource_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/test/resource_test.go
+++ b/builtin/providers/test/resource_test.go
@@ -6,6 +6,7 @@ import (
"strings"
"testing"
+ "github.com/hashicorp/terraform/addrs"
"github.com... | builtin/providers/test: use new API for root module address
terraform.RootModulePath is no longer present, but
addrs.RootModuleInstance is equivalent to it. | hashicorp_terraform | train |
d6c9dd5e82ace42a33711d1cbae4dcf1f1881b85 | diff --git a/Bundle/WidgetMapBundle/Entity/WidgetMap.php b/Bundle/WidgetMapBundle/Entity/WidgetMap.php
index <HASH>..<HASH> 100644
--- a/Bundle/WidgetMapBundle/Entity/WidgetMap.php
+++ b/Bundle/WidgetMapBundle/Entity/WidgetMap.php
@@ -249,7 +249,17 @@ class WidgetMap
foreach ($childs as $_child) {
... | when getting widgetmap children, check for substitutes | Victoire_victoire | train |
f107b981202adc515d80f584a887371399b2b927 | diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -968,6 +968,15 @@ class Exchange(object):
return None
@staticmethod
+ def rfc2616(self, timestamp=None):
+ if timest... | exchange.py restore rfc<I> | ccxt_ccxt | train |
aa7a25706641a45e639787129e4b617aee075994 | diff --git a/lib/basic_app/core/hash.rb b/lib/basic_app/core/hash.rb
index <HASH>..<HASH> 100644
--- a/lib/basic_app/core/hash.rb
+++ b/lib/basic_app/core/hash.rb
@@ -1,7 +1,13 @@
class Hash
- # sorted yaml suitable for configuration files
- def to_conf( opts = {} )
+ # YAML suitable for configuration files
+ #
... | Hash.to_conf now does insertion order YAML on <I>
On Ruby <I>, to_conf still outputs sorted YAML. Insertion order
is prefered and comes free with Ruby <I> | robertwahler_repo_manager | train |
3224b4cd21433b06be767582504795f40f5c43b7 | diff --git a/lib/feathers-mongo-collections.js b/lib/feathers-mongo-collections.js
index <HASH>..<HASH> 100644
--- a/lib/feathers-mongo-collections.js
+++ b/lib/feathers-mongo-collections.js
@@ -40,6 +40,8 @@ module.exports = function(db) {
delete options.create;
// Remove the dbName from the collection n... | Return an _id and name. | marshallswain_feathers-mongo-collections | train |
30fd32f8eb0ef0ccbc53cd54d33e025477dbc15b | diff --git a/pyimagediet/diet.py b/pyimagediet/diet.py
index <HASH>..<HASH> 100644
--- a/pyimagediet/diet.py
+++ b/pyimagediet/diet.py
@@ -68,10 +68,10 @@ def check_configuration(config):
# Check all sections are there and contain dicts
for section in sections:
if section not in config:
- ... | Python <I> .format needs numbered placeholders | samastur_pyimagediet | train |
57982167ea1e29ba6825eb5c315e3af0c6ed48cb | diff --git a/CHANGELOG b/CHANGELOG
index <HASH>..<HASH> 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -28,6 +28,7 @@ Version 1.1.8 work in progress
- Enh #2299: Added CAssetManager.newFileMode and newDirMode (Qiang)
- Enh #2325: Added $option parameter to CDbCommand::select() to support special SELECT syntax (Qiang)
- E... | (Fixes issue <I>) MessageCommand now accepts overwrite option determining if merge result will overwrite existing file | yiisoft_yii | train |
36157bbecc0c9d42fb95f6ae1a3ea2a523917b82 | diff --git a/Tests/IntegrationTests/contentModule.js b/Tests/IntegrationTests/contentModule.js
index <HASH>..<HASH> 100644
--- a/Tests/IntegrationTests/contentModule.js
+++ b/Tests/IntegrationTests/contentModule.js
@@ -303,7 +303,7 @@ test('Can create a new page', async t => {
.switchToMainWindow();
});
-te... | Remove .only (they have no effect) | neos_neos-ui | train |
9ce804713095b618f25a892902d050b856096bc2 | diff --git a/util/multi_dict.py b/util/multi_dict.py
index <HASH>..<HASH> 100644
--- a/util/multi_dict.py
+++ b/util/multi_dict.py
@@ -1,5 +1,4 @@
import numpy as np
-import scipy.stats
import util.math.sort
import util.io.object
@@ -9,8 +8,11 @@ logger = util.logging.logger
def _isdict(d):
- from blist im... | MAINT: util.multi_dict: imports of 'blist' and 'scipy' not global anymore -> moved where needed | jor-_util | train |
a9937a9485fb61af6f6e625346f3b506d4cb4154 | diff --git a/lib/podoff.rb b/lib/podoff.rb
index <HASH>..<HASH> 100644
--- a/lib/podoff.rb
+++ b/lib/podoff.rb
@@ -435,62 +435,6 @@ module Podoff
r ? r.to_i : nil
end
-# def parent
-#
-# r = @attributes[:parent]
-# r ? r[0..-2].strip : nil
-# end
-#
-# def kids
-#
-# r = @attribute... | remove commented out, unused, code | jmettraux_podoff | train |
c2141a2105a085428e375ee20d7bc0bd85c70555 | diff --git a/ReText/editor.py b/ReText/editor.py
index <HASH>..<HASH> 100644
--- a/ReText/editor.py
+++ b/ReText/editor.py
@@ -139,8 +139,8 @@ class ReTextEdit(QTextEdit):
self.setFont(globalSettings.editorFont)
metrics = self.fontMetrics()
self.marginx = (int(self.document().documentMargin())
- + metrics.wi... | Replace QFontMetrics::width with QFontMetrics::horizontalAdvance
Which is its new name since Qt <I>. | retext-project_retext | train |
513f218a75b3b95e5cd8fde333bc6a1217972c2c | diff --git a/lib/helper/WebDriverIO.js b/lib/helper/WebDriverIO.js
index <HASH>..<HASH> 100644
--- a/lib/helper/WebDriverIO.js
+++ b/lib/helper/WebDriverIO.js
@@ -779,7 +779,8 @@ class WebDriverIO extends Helper {
*/
seeNumberOfVisibleElements(selector, num) {
return this.browser.isVisible(withStrictLocator... | Fix on seeNumberOfVisibleElements to avoid undefined array.length (#<I>)
Just remembered that isVisible returns true or false if can't find multiple elements.
With this fix it will indeed return 0 if no elements found and 1 if only 1 element found. | Codeception_CodeceptJS | train |
0d3ea9f1fa630ce985c01eff6dd700c1e0d7bc08 | diff --git a/examples/retry.js b/examples/retry.js
index <HASH>..<HASH> 100644
--- a/examples/retry.js
+++ b/examples/retry.js
@@ -24,16 +24,16 @@ var SplunkLogger = require("../index").Logger;
/**
* Only the token property is required.
*
- * Here we've set maxRetries to 5,
+ * Here we've set maxRetries to 10,
*... | Change retry example to retry <I> times | splunk_splunk-javascript-logging | train |
391b76af9ac2ccf7b06f223928f991695b3c2cd3 | diff --git a/harpoon/ship/runner.py b/harpoon/ship/runner.py
index <HASH>..<HASH> 100644
--- a/harpoon/ship/runner.py
+++ b/harpoon/ship/runner.py
@@ -93,6 +93,8 @@ class Runner(object):
def wait_for_deps(self, conf, images):
"""Wait for all our dependencies"""
from harpoon.option_spec.image_objs... | Making a new context for exec commands
So we can avoid Hijack errors | delfick_harpoon | train |
b123a132ef6f035187fae51c6b64fca0d5f8de1d | diff --git a/lib/squib/graphics/cairo_context_wrapper.rb b/lib/squib/graphics/cairo_context_wrapper.rb
index <HASH>..<HASH> 100644
--- a/lib/squib/graphics/cairo_context_wrapper.rb
+++ b/lib/squib/graphics/cairo_context_wrapper.rb
@@ -22,7 +22,7 @@ module Squib
:show_pango_layout, :rounded_rectangle, :set_line... | Better debugging to fix this travis issue | andymeneely_squib | train |
5c979f415aa1b047398ee8820d5ba932d1d5a6ce | diff --git a/dirutility/__init__.py b/dirutility/__init__.py
index <HASH>..<HASH> 100644
--- a/dirutility/__init__.py
+++ b/dirutility/__init__.py
@@ -1,9 +1,10 @@
from dirutility.move import FlattenTree, CreateTree, move_files_to_folders
from dirutility.walk import DirPaths, DirTree
from dirutility.view import desk... | ADD Permissions class to dirutility __all__ declaration | mrstephenneal_dirutility | train |
c1e0ea24561412b6bf9a706dbc725befeff1adfa | diff --git a/cyipopt/scipy_interface.py b/cyipopt/scipy_interface.py
index <HASH>..<HASH> 100644
--- a/cyipopt/scipy_interface.py
+++ b/cyipopt/scipy_interface.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
cyipopt: Python wrapper for the Ipopt optimization package, written in Cython.
diff --g... | Remove shebang lines from “cyipopt” package modules
These files have no script-like content at all, so the shebangs were
unambiguously not useful. | matthias-k_cyipopt | train |
5f04aae415e803a51c5a9c625dd2c75c54167924 | diff --git a/dbt/adapters/redshift.py b/dbt/adapters/redshift.py
index <HASH>..<HASH> 100644
--- a/dbt/adapters/redshift.py
+++ b/dbt/adapters/redshift.py
@@ -60,7 +60,9 @@ class RedshiftAdapter(PostgresAdapter):
connection = cls.get_connection(profile, model_name)
- cls.commit(connection)
+... | fix for commit/transaction error (#<I>)
Tried to commit transaction on connection "{model}", but it does not have one open! | fishtown-analytics_dbt | train |
604e4ce0cb14b8d96306f9e862203772c7619520 | diff --git a/lib/socket.js b/lib/socket.js
index <HASH>..<HASH> 100644
--- a/lib/socket.js
+++ b/lib/socket.js
@@ -560,6 +560,7 @@ Socket.prototype.onClose = function (reason, desc) {
setTimeout(function() {
self.writeBuffer = [];
self.callbackBuffer = [];
+ self.prevBufferLen = 0;
}, 0);
... | Don't lose packets writen during upgrade after a re-open
After a close, reset the prevBufferLen along with the buffers,
so a drain event after upgrade won't remove any packets that have been
queued up during upgrading. | socketio_engine.io-client | train |
84bfe8b35ddd51d1b0efaf20a56aa118c288a86e | diff --git a/src/Ui/DataProvider/Customers.php b/src/Ui/DataProvider/Customers.php
index <HASH>..<HASH> 100644
--- a/src/Ui/DataProvider/Customers.php
+++ b/src/Ui/DataProvider/Customers.php
@@ -11,7 +11,7 @@ use Magento\Framework\App\RequestInterface;
use Magento\Framework\UrlInterface;
use Magento\Framework\View\El... | MOBI-<I> - Refactoring for Repo interfaces | praxigento_mobi_mod_downline | train |
f1b04d6ad535735855145aeb7459e10f671abc5c | diff --git a/handlers/jobs.js b/handlers/jobs.js
index <HASH>..<HASH> 100644
--- a/handlers/jobs.js
+++ b/handlers/jobs.js
@@ -378,7 +378,7 @@ function submitJob (job, callback) {
parameters: job.parameters ? job.parameters : {},
notifications: [
{
- url: config.url ... | Fix job callbacks to work with configurable apiPrefix. | OpenNeuroOrg_openneuro | train |
d9fa1d172d165367f1a233c70fe409af62f1444e | diff --git a/examples/events.js b/examples/events.js
index <HASH>..<HASH> 100644
--- a/examples/events.js
+++ b/examples/events.js
@@ -1,5 +1,6 @@
import $ from 'jquery'
-import React, { Component, PropTypes } from 'react'
+import React, { Component } from 'react'
+import { PropTypes } from 'prop-types'
import ReactD... | chore: Update obsolete use of React PropTypes. | livingdocsIO_editable.js | train |
f9c0076cae98133406bfc04d87dcff5f3658b0f7 | diff --git a/src/main/kernel-specs.js b/src/main/kernel-specs.js
index <HASH>..<HASH> 100644
--- a/src/main/kernel-specs.js
+++ b/src/main/kernel-specs.js
@@ -1,3 +1,11 @@
+import { ipcMain as ipc } from 'electron';
+
+const KERNEL_SPECS = {};
+
export default function saveKernelspecs(kernelSpecs) {
- global.KERNEL_S... | chore(kernels): Use async ipc calls | nteract_nteract | train |
447798ab0853fd164599feab154505ffc1f37e2a | diff --git a/py/pysparkling/context.py b/py/pysparkling/context.py
index <HASH>..<HASH> 100644
--- a/py/pysparkling/context.py
+++ b/py/pysparkling/context.py
@@ -81,7 +81,7 @@ class H2OContext(object):
# explicitly check if we run on databricks cloud since there we must add the jar to the parent of context ... | [SW-<I>][PySparkling] Fix classloding of sparkling water JAR in Databricks | h2oai_sparkling-water | train |
7b51e0ad562f9514f7327effa93d00e48fdb4e6f | diff --git a/ph-schematron/src/main/java/com/helger/schematron/pure/validation/xpath/PSXPathValidationHandlerSVRL.java b/ph-schematron/src/main/java/com/helger/schematron/pure/validation/xpath/PSXPathValidationHandlerSVRL.java
index <HASH>..<HASH> 100644
--- a/ph-schematron/src/main/java/com/helger/schematron/pure/vali... | Fixing missing role; #<I> | phax_ph-schematron | train |
570b67e7028720ef9a605db84118858592906068 | diff --git a/lib/request_log_analyzer/file_format/oink.rb b/lib/request_log_analyzer/file_format/oink.rb
index <HASH>..<HASH> 100644
--- a/lib/request_log_analyzer/file_format/oink.rb
+++ b/lib/request_log_analyzer/file_format/oink.rb
@@ -85,7 +85,7 @@ class RequestLogAnalyzer::FileFormat::Oink < RequestLogAnalyzer::Fi... | Fixed oink instance counter spec. Strings really weren't supposed to be downcased. | wvanbergen_request-log-analyzer | train |
f788d493aa0eadfaa46eec891919221a2275ac97 | diff --git a/test/enumerated_field_test.rb b/test/enumerated_field_test.rb
index <HASH>..<HASH> 100644
--- a/test/enumerated_field_test.rb
+++ b/test/enumerated_field_test.rb
@@ -1,43 +1,5 @@
require File.dirname(__FILE__) + '/test_helper'
-class Apple
- include EnumeratedField
-
- attr_accessor :color, :kind
-
... | Changed Apple to be an ActiveRecord model. Moved models to test_helper. Loading fixtures. | sportngin_enumerated_field | train |
b58ab3703276286dd64f56c6020f19e57093828f | diff --git a/star.py b/star.py
index <HASH>..<HASH> 100644
--- a/star.py
+++ b/star.py
@@ -40,7 +40,7 @@ def lightcurve(filename, min_obs=25, min_period=0.2, max_period=32.,
data = numpy.ma.masked_array(data=numpy.loadtxt(filename), mask=None)
while True: # Iteratively process and find models of the data
... | Removing assertion debugging and possibly fixing bug | astroswego_plotypus | train |
5f0fa5388ea3b5d9111c7fe8273bad654a8fe088 | diff --git a/lib/poolparty/core/hash.rb b/lib/poolparty/core/hash.rb
index <HASH>..<HASH> 100644
--- a/lib/poolparty/core/hash.rb
+++ b/lib/poolparty/core/hash.rb
@@ -13,8 +13,15 @@ class Hash
end
end
- def value_at(*indecies)
- indecies.collect {|i| self[i] }
+ # extracted from activesupport
+ # Retu... | call fork_and_put on initialization of stats_monitor to ensure that the chain of communication is begun.
Update butterfly submodule | auser_poolparty | train |
8dd9481fe5618bf95feb0831dce6dbc51506be8e | diff --git a/includes/class-bitbucket-api.php b/includes/class-bitbucket-api.php
index <HASH>..<HASH> 100644
--- a/includes/class-bitbucket-api.php
+++ b/includes/class-bitbucket-api.php
@@ -77,7 +77,7 @@ class GitHub_Updater_Bitbucket_API extends GitHub_Updater {
$allowed_codes = array( 200, 404 );
if ( is_wp_... | strict checking seems to fail on some environments even if the returned code is ok | afragen_github-updater | train |
32ce1f6c1bd8b4c4103b6bd101b9db516d4d807e | diff --git a/salt/utils/master.py b/salt/utils/master.py
index <HASH>..<HASH> 100644
--- a/salt/utils/master.py
+++ b/salt/utils/master.py
@@ -72,17 +72,7 @@ class MasterPillarUtil(object):
use_cached_pillar=True,
grains_fallback=True,
pillar_fallback=True,
- ... | salt/utils/master.py: remove env support | saltstack_salt | train |
8662a0630ab0fba7e3232b620c324ec1961fa341 | diff --git a/src/feat/agents/integrity/api.py b/src/feat/agents/integrity/api.py
index <HASH>..<HASH> 100644
--- a/src/feat/agents/integrity/api.py
+++ b/src/feat/agents/integrity/api.py
@@ -2,7 +2,7 @@ import operator
from feat.agents.integrity import integrity_agent
from feat.common import defer
-from feat.databa... | Expose a gateway action of integrity agent to delete a configured
replication. | f3at_feat | train |
63c660b29ce3fc9af7ac9683658c6e6e60cc8168 | diff --git a/core/src/main/java/io/grpc/ManagedChannelBuilder.java b/core/src/main/java/io/grpc/ManagedChannelBuilder.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/grpc/ManagedChannelBuilder.java
+++ b/core/src/main/java/io/grpc/ManagedChannelBuilder.java
@@ -200,10 +200,13 @@ public abstract class Manag... | core: make enableFullStreamDecompression non-abstract | grpc_grpc-java | train |
18aa053fc931786c03abdac2fe18978cc7ee8f03 | diff --git a/src/main/java/com/google/cloud/genomics/dataflow/readers/ReadReader.java b/src/main/java/com/google/cloud/genomics/dataflow/readers/ReadReader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/google/cloud/genomics/dataflow/readers/ReadReader.java
+++ b/src/main/java/com/google/cloud/genomics/datafl... | Added logging to readreader | googlegenomics_dataflow-java | train |
ac184c8f52414239c0775793ca2222e2bd1942be | diff --git a/client_test.go b/client_test.go
index <HASH>..<HASH> 100644
--- a/client_test.go
+++ b/client_test.go
@@ -234,18 +234,15 @@ func TestTwoClientsArbitraryPorts(t *testing.T) {
}
func TestAddDropManyTorrents(t *testing.T) {
- cl, _ := NewClient(&TestingConfig)
+ cl, err := NewClient(&TestingConfig)
+ requ... | Tidy up a test that fails with the wrong reasons | anacrolix_torrent | train |
314ccebbbb9f72063e1fe77a29f891de618b21f7 | diff --git a/php/class-wp-cli.php b/php/class-wp-cli.php
index <HASH>..<HASH> 100644
--- a/php/class-wp-cli.php
+++ b/php/class-wp-cli.php
@@ -249,16 +249,12 @@ class WP_CLI {
*/
public static function add_command( $name, $callable, $args = array() ) {
$valid = false;
- if ( is_object( $callable ) && ( $callab... | Use `is_callable()` in `WP_CLI:add_command()`
This is much better than rolling our own equivalent logic | wp-cli_extension-command | train |
813639722d5d583d6921047a41309641d261aeae | diff --git a/restcomm/restcomm.dao/src/main/java/org/restcomm/connect/dao/entities/ConferenceDetailRecord.java b/restcomm/restcomm.dao/src/main/java/org/restcomm/connect/dao/entities/ConferenceDetailRecord.java
index <HASH>..<HASH> 100644
--- a/restcomm/restcomm.dao/src/main/java/org/restcomm/connect/dao/entities/Confe... | removed final and override toString for conference cdr | RestComm_Restcomm-Connect | train |
30e9f8dce97c6b1afdff72b5a32b175e1f237048 | diff --git a/provider/lxd/testing_test.go b/provider/lxd/testing_test.go
index <HASH>..<HASH> 100644
--- a/provider/lxd/testing_test.go
+++ b/provider/lxd/testing_test.go
@@ -204,7 +204,6 @@ func (s *BaseSuiteUnpatched) setConfig(c *gc.C, cfg *config.Config) {
}
func (s *BaseSuiteUnpatched) NewConfig(c *gc.C, updat... | Drop a superfluous line. | juju_juju | train |
2060811d888e9277f2483a2b8d77ad8654515ec6 | diff --git a/lib/Providers/Qr/EndroidQrCodeProvider.php b/lib/Providers/Qr/EndroidQrCodeProvider.php
index <HASH>..<HASH> 100755
--- a/lib/Providers/Qr/EndroidQrCodeProvider.php
+++ b/lib/Providers/Qr/EndroidQrCodeProvider.php
@@ -10,6 +10,8 @@ class EndroidQrCodeProvider implements IQRCodeProvider
public $color;
... | Add logo option to Endroid's provider
closes #<I> | RobThree_TwoFactorAuth | train |
ffbf84d2e2375ff722277df7e0ea9db049d2abda | diff --git a/src/edeposit/amqp/storage/storage_handler.py b/src/edeposit/amqp/storage/storage_handler.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/storage/storage_handler.py
+++ b/src/edeposit/amqp/storage/storage_handler.py
@@ -72,18 +72,21 @@ def _put_into_indexes(pub):
"""
no_of_used_indexes = 0
... | Small improvements lookup is now in one query to DB. Fixed bugs. | edeposit_edeposit.amqp.storage | train |
97083ab3200da353e6770f54ec15da8f8c8a9095 | diff --git a/src/test/java/integration/CollectionMethodsTest.java b/src/test/java/integration/CollectionMethodsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/integration/CollectionMethodsTest.java
+++ b/src/test/java/integration/CollectionMethodsTest.java
@@ -163,4 +163,11 @@ public class CollectionMethodsTe... | add test: can find elements by multiple selectors | selenide_selenide | train |
72603243f8bda0b51799bf41ce7fcedd3b0d5e2f | diff --git a/www/gatsby-config.js b/www/gatsby-config.js
index <HASH>..<HASH> 100644
--- a/www/gatsby-config.js
+++ b/www/gatsby-config.js
@@ -4,6 +4,8 @@ module.exports = {
description: `Technical documentation for the Paragon Design System.`,
author: `@edx`,
},
+ // Match the location of the site on git... | docs: fix path prefixing for github deployment (#<I>) | edx_paragon | train |
34471a33efb26ea4de822913c3c6b4be6918f507 | diff --git a/undertow/src/main/java/org/wildfly/extension/undertow/security/jaspi/JASPICSecureResponseHandler.java b/undertow/src/main/java/org/wildfly/extension/undertow/security/jaspi/JASPICSecureResponseHandler.java
index <HASH>..<HASH> 100644
--- a/undertow/src/main/java/org/wildfly/extension/undertow/security/jasp... | Move code into the if block where its needed.
Minor cleanup/perf thing I noticed when reviewing <URL> | wildfly_wildfly | train |
a4069e7897f18e3e00128121e5fe085ad780ba03 | diff --git a/lib/cli/common.rb b/lib/cli/common.rb
index <HASH>..<HASH> 100644
--- a/lib/cli/common.rb
+++ b/lib/cli/common.rb
@@ -11,7 +11,6 @@
# subcomponent's license, as noted in the LICENSE file.
#++
-require 'open-uri'
require 'cli/base'
require 'cli/config'
diff --git a/lib/uaa/token_issuer.rb b/lib/uaa/... | work around CFID-<I>, location header changed by CF
Change-Id: I<I>bd<I>a6dc<I>b3e9a<I>a<I>f6c<I>d | cloudfoundry_cf-uaa-lib | train |
787d6c1b54851bd9a82025c7b9a270a94d112bc4 | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index <HASH>..<HASH> 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -19,6 +19,9 @@ Changelog
* Star coordinates can now be offered for any epoch, not just J2000.
`#166 <https://github.com/skyfielders/python-skyfield/issues/166>`_
+* You can now create a time object gi... | Allow time objects to be constructed from UT1
Fixes #<I>. | skyfielders_python-skyfield | train |
eddc691fc9e8ced74a33d3c4cbd568c2728fe6f1 | diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go
index <HASH>..<HASH> 100644
--- a/bridge/gitter/gitter.go
+++ b/bridge/gitter/gitter.go
@@ -52,11 +52,14 @@ func (b *Bgitter) Disconnect() error {
}
func (b *Bgitter) JoinChannel(channel string) error {
- room := channel
- roomID := b.getRoomID(room)
- ... | Join rooms not already joined by the bot (gitter). See #<I> | 42wim_matterbridge | train |
61c36dbfb10a347c4f739ac5fe9a973a84047130 | diff --git a/band/band_eu863_870.go b/band/band_eu863_870.go
index <HASH>..<HASH> 100644
--- a/band/band_eu863_870.go
+++ b/band/band_eu863_870.go
@@ -73,9 +73,9 @@ func newEU863Band(repeatedCompatible bool) (Band, error) {
6: {Modulation: LoRaModulation, SpreadFactor: 7, Bandwidth: 250, uplink: true, downlink: t... | Update CodingRate strings to match lgw2_cr_enum2str.
While the Regional Parameters specify CR 2/3, the HAL enum to string
function returns CR 2/3 as 4/6, causing a mismatch error.
In the future this should be improved by changing the type from string
to enum so that these can be aliassed. | brocaar_lorawan | train |
4752ac2aad0379b781037b985ba4904f2f36a1c1 | diff --git a/lib/gatling.rb b/lib/gatling.rb
index <HASH>..<HASH> 100644
--- a/lib/gatling.rb
+++ b/lib/gatling.rb
@@ -49,7 +49,7 @@ module Gatling
comparison = nil
while !match && try < max_no_tries
actual_image = Gatling::ImageFromElement.new(actual_element, expected_reference_filename)
- ... | Don't overwrite candidate image w/ diff image + fix the incorrect argument for Gatling::Comparison.new inside compare_until_match method | gabrielrotbart_gatling | train |
b5669a8ab6177ca2acc6511b6ce9dfdf22062373 | diff --git a/src/Store/Store.php b/src/Store/Store.php
index <HASH>..<HASH> 100644
--- a/src/Store/Store.php
+++ b/src/Store/Store.php
@@ -91,6 +91,16 @@ class Store
}
/**
+ * Returns the available type keys from the MetadataFactory
+ *
+ * @return array
+ */
+ public function getTypes()... | Add method to Store to get all available types | as3io_modlr | train |
05a5da620ee41adb7d8c83b412d804fecff20a5f | diff --git a/levels.go b/levels.go
index <HASH>..<HASH> 100644
--- a/levels.go
+++ b/levels.go
@@ -32,7 +32,6 @@ import (
"github.com/dgraph-io/badger/v2/pb"
"github.com/dgraph-io/badger/v2/table"
"github.com/dgraph-io/badger/v2/y"
- "github.com/dgraph-io/ristretto/z"
"github.com/pkg/errors"
)
@@ -701,10 +70... | Don't call z.NumAllocBytes directly for now. | dgraph-io_badger | train |
0eeeb764391490585f690c8b424d9ce2d43e6a9b | diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java
index <HASH>..<HASH> 100755
--- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java
+++ b/codec-http/src/main/java/io/netty/han... | Fix handling of FullHttpResponse when respond to HEAD in HttpServerCodec
Motivation:
cb<I>f<I>e7ada2d<I>ca<I>ed<I> introduced special handling of response to HEAD requests. Due a bug we failed to handle FullHttpResponse correctly.
Modifications:
Correctly handle FullHttpResponse for HEAD requests.
Result:
Works a... | netty_netty | train |
a9c1e799f26508974e78699431985569284e9604 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ setup(
description='2gis library for Python',
long_description=__doc__,
packages=find_packages(),
- requires=('requests',),
+ requires=('requests'),
classifiers=(
'Development ... | Awesome bug that breaks `python setup.py sdist upload` command | svartalf_python-2gis | train |
16580b58e57fb9bd2b6659a9f4b7bf7d7c20409d | diff --git a/changelog.html b/changelog.html
index <HASH>..<HASH> 100644
--- a/changelog.html
+++ b/changelog.html
@@ -60,7 +60,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
- <li class=>
+ <li class=bug>
+ Fi... | [FIXED JENKINS-<I>] persistence problem in View$PropertyList | jenkinsci_jenkins | train |
7a40a32ecbb3b22ca35587ab8919da0960351a2d | diff --git a/Access/Response.php b/Access/Response.php
index <HASH>..<HASH> 100644
--- a/Access/Response.php
+++ b/Access/Response.php
@@ -15,6 +15,7 @@ class Response
* Create a new response.
*
* @param string|null $message
+ * @return void
*/
public function __construct($message = n... | Add missing return docblocks (#<I>) | illuminate_auth | train |
3ff71a70a58600a845fed0a1ba8184d32a5aaae1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-from distutils.core import setup
+from setuptools import setup, find_packages
setup(name='django-locksmith',
version='0.6.0', | Converted setup.py from distutils to setuptools. | sunlightlabs_django-locksmith | train |
66000d879ee338b718238196541ec227798b7354 | diff --git a/src/com/google/javascript/jscomp/LinkedFlowScope.java b/src/com/google/javascript/jscomp/LinkedFlowScope.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/LinkedFlowScope.java
+++ b/src/com/google/javascript/jscomp/LinkedFlowScope.java
@@ -555,9 +555,14 @@ class LinkedFlowScope implem... | Make sure to remove block-scoped names in LinkedFlowScope.JoinOp
-------------
Created by MOE: <URL> | google_closure-compiler | train |
b321a19cd6f8d2f80ca5b469b95d89e41c27be2a | diff --git a/src/main/java/org/eobjects/analyzer/beans/valuedist/ValueCountListImpl.java b/src/main/java/org/eobjects/analyzer/beans/valuedist/ValueCountListImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/eobjects/analyzer/beans/valuedist/ValueCountListImpl.java
+++ b/src/main/java/org/eobjects/analyzer/b... | Minor improvement to JdbcDatastore, catching any exception when attempting to detect if driver is installed | datacleaner_AnalyzerBeans | train |
a6d9bff834e171f935917140c5c951aaeb2eb860 | diff --git a/stagemonitor-core/src/main/java/org/stagemonitor/core/configuration/Configuration.java b/stagemonitor-core/src/main/java/org/stagemonitor/core/configuration/Configuration.java
index <HASH>..<HASH> 100644
--- a/stagemonitor-core/src/main/java/org/stagemonitor/core/configuration/Configuration.java
+++ b/stag... | Consider each password correct if set to empty string
This makes the password brute force warning only appear
if the password is actually set | stagemonitor_stagemonitor | train |
dd8ae347c760217ee4caf32f33385e9853b854b8 | diff --git a/text.go b/text.go
index <HASH>..<HASH> 100644
--- a/text.go
+++ b/text.go
@@ -17,6 +17,16 @@ const (
AlignRight
)
+// CharacterSide shows which side of a character is
+// clicked
+type CharacterSide int
+
+const (
+ CSLeft CharacterSide = iota
+ CSRight
+ CSUnknown
+)
+
type Text struct {
font *Fon... | Adding methods for detecting where in the string of a text object it is
that the user clicked. | 4ydx_gltext | train |
91548f76bef02801ab3c4ad86a8c6363155e1a00 | diff --git a/code/MSSQLDatabase.php b/code/MSSQLDatabase.php
index <HASH>..<HASH> 100644
--- a/code/MSSQLDatabase.php
+++ b/code/MSSQLDatabase.php
@@ -1236,7 +1236,7 @@ class MSSQLDatabase extends SS_Database {
// just use the function directly in the order by instead of the alias
$selects = $query->getSelect... | Checking for underscore in SortColumn just to be sure | silverstripe_silverstripe-mssql | train |
4cbbae8aae07e8fd529f826ed238a0687eb7d8c8 | diff --git a/PhpUnit/AbstractContainerBuilderTestCase.php b/PhpUnit/AbstractContainerBuilderTestCase.php
index <HASH>..<HASH> 100644
--- a/PhpUnit/AbstractContainerBuilderTestCase.php
+++ b/PhpUnit/AbstractContainerBuilderTestCase.php
@@ -87,6 +87,20 @@ abstract class AbstractContainerBuilderTestCase extends \PHPUnit_F... | add assertContainerBuilderNotHasService to test that a service is not defined | SymfonyTest_SymfonyDependencyInjectionTest | train |
bc81a0a9f2b2a0960948892e4d5d34008af5d74b | diff --git a/src/qtism/cli/Cli.php b/src/qtism/cli/Cli.php
index <HASH>..<HASH> 100644
--- a/src/qtism/cli/Cli.php
+++ b/src/qtism/cli/Cli.php
@@ -252,6 +252,6 @@ abstract class Cli
protected function isVerbose()
{
$arguments = $this->getArguments();
- return $this->arguments['verbose'];
+ ... | -d flag in qtisdk render binary to embed (or not) rendering in a doc. | oat-sa_qti-sdk | train |
f9e07770bd9b5142de517b05a85ffbb42d1895da | diff --git a/property.go b/property.go
index <HASH>..<HASH> 100644
--- a/property.go
+++ b/property.go
@@ -122,7 +122,6 @@ func toPropertyDescriptor(value Value) (descriptor _property) {
}
if objectDescriptor.hasProperty("writable") {
- descriptor.value = UndefinedValue() // FIXME Is this the right place for ... | [[Value]] should NOT be set to Undefined if missing | robertkrimen_otto | train |
644e7098f63c1787d9b0af46b939541aed07356f | diff --git a/structr-ui/src/main/resources/structr/css/main.css b/structr-ui/src/main/resources/structr/css/main.css
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/css/main.css
+++ b/structr-ui/src/main/resources/structr/css/main.css
@@ -4484,12 +4484,11 @@ div.attr-mapping td.transform {
}
... | UI Improvements in the XML import dialogue | structr_structr | train |
a382f538278015738637d2e92694d8cbaf702a07 | diff --git a/tests/test_config.py b/tests/test_config.py
index <HASH>..<HASH> 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -3,6 +3,7 @@ from tempfile import NamedTemporaryFile, gettempdir
import pytest
from uwsgiconf.config import Section, Configuration
+from uwsgiconf.presets.nice import Section... | Added ArgsFormatter (repesent options as command line args). | idlesign_uwsgiconf | train |
f21f6658ddf12c7c47af33e41e2717f7ab49f550 | diff --git a/lib/airbrake-ruby/config.rb b/lib/airbrake-ruby/config.rb
index <HASH>..<HASH> 100644
--- a/lib/airbrake-ruby/config.rb
+++ b/lib/airbrake-ruby/config.rb
@@ -96,9 +96,9 @@ module Airbrake
self.blacklist_keys = []
self.whitelist_keys = []
- self.root_directory = (
+ self.root_direc... | resolve symlinked roots since that is what is shown in backtraces | airbrake_airbrake-ruby | train |
ba2efa90ea2d40ac6415e95eaecfe8cbadd3871c | diff --git a/glue/segmentdb/segmentdb_utils.py b/glue/segmentdb/segmentdb_utils.py
index <HASH>..<HASH> 100644
--- a/glue/segmentdb/segmentdb_utils.py
+++ b/glue/segmentdb/segmentdb_utils.py
@@ -33,6 +33,10 @@ def get_all_files_in_range(dirname, starttime, endtime):
ret = []
+ # Maybe the user just want... | Allow the segment-url to be a file or a directory | gwastro_pycbc-glue | train |
89d1ab3518789966f4c8b73a959eb9f0c9f5175c | diff --git a/Module.php b/Module.php
index <HASH>..<HASH> 100644
--- a/Module.php
+++ b/Module.php
@@ -20,10 +20,10 @@ class Module
*
* @return void
*/
- public function init()
+ public function init($e)
{
- $events = StaticEventManager::getInstance();
- $events->attach('Zend... | Upate for ZF2 api changes | EvanDotPro_EdpSuperluminal | train |
51d6de498d3b245d515254465ad38b2d06fd0fa9 | diff --git a/grok.go b/grok.go
index <HASH>..<HASH> 100644
--- a/grok.go
+++ b/grok.go
@@ -113,6 +113,24 @@ func (g *Grok) Parse(pattern string, text string) (map[string]string, error) {
return captures, nil
}
+// ParseToMultiMap works just like Parse, except that it allows to map multiple values to the same captu... | added g.ParseToMultiMap | vjeantet_grok | train |
7b4f6ad241a2d01229e038dfc0d2548638f7f273 | diff --git a/lib/sensu/server.rb b/lib/sensu/server.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/server.rb
+++ b/lib/sensu/server.rb
@@ -108,23 +108,14 @@ module Sensu
if check['type'] == 'metric'
handle_event(event)
else
- if check['status'] == 0
- ... | [occurrence-and-issued] setup_results, a little refactoring | sensu_sensu | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.