hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
194e079f44279cf89a029c6e0a7fa949bb934970 | diff --git a/changelog.md b/changelog.md
index <HASH>..<HASH> 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3,6 +3,7 @@
## 3.0.0 - 2017-07-25
* Bump up to superbalist/php-pubsub-google-cloud ^5.0 which allows for background daemon support
+* Add new background_batching and background_daemon options to Google Clo... | add new background_batching and background_daemon options to google cloud adapter | Superbalist_laravel-pubsub | train |
fd214053d4dfda28cf385765a1376c15a36747a7 | diff --git a/gen.go b/gen.go
index <HASH>..<HASH> 100644
--- a/gen.go
+++ b/gen.go
@@ -99,9 +99,9 @@ func (g Gen) WithShrinker(shrinker Shrinker) Gen {
}
}
-// Map creates a derived generators by mapping all generatored values with a given function.
+// Map creates a derived generator by mapping all generatored va... | Made Map keep shrinker if mapping a -> a | leanovate_gopter | train |
3e7bf99662cd7df238d742b809f24b754f63a740 | diff --git a/src/CarbonPHP.php b/src/CarbonPHP.php
index <HASH>..<HASH> 100644
--- a/src/CarbonPHP.php
+++ b/src/CarbonPHP.php
@@ -390,7 +390,7 @@ class CarbonPHP
}
################## VALIDATE URL / URI ##################
- if (!self::$cli || !isset(self::$server_ip) || (false !=... | Major bug affecting ip resolution logic switch
WIP -
test rest for ASC, ORDERBY... custom callback logic
Use self::column consts rather than string names in rest
Document rest. | RichardTMiles_CarbonPHP | train |
8c1aadd3ba41f799766e980c70ab5be9acf8e84a | diff --git a/yg/lockfile/test/test_lockfile.py b/yg/lockfile/test/test_lockfile.py
index <HASH>..<HASH> 100644
--- a/yg/lockfile/test/test_lockfile.py
+++ b/yg/lockfile/test/test_lockfile.py
@@ -31,11 +31,10 @@ def test_FileLock_basic():
assert l2.is_locked()
l2.release()
+
def lines(stream):
"""
- ... | Clean up syntax and update docstring | yougov_yg.lockfile | train |
9c9165860ff658f526304f0e875933eb23dbf1e7 | diff --git a/src/main/java/org/nnsoft/guice/rocoto/configuration/readers/PropertiesReader.java b/src/main/java/org/nnsoft/guice/rocoto/configuration/readers/PropertiesReader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/nnsoft/guice/rocoto/configuration/readers/PropertiesReader.java
+++ b/src/main/java/org/n... | don't like anymore quilify static method with class | 99soft_rocoto | train |
cc2a5d52a4ad188d93aeb2d51d5c19c7661e098d | diff --git a/hugofs/filter_fs.go b/hugofs/filter_fs.go
index <HASH>..<HASH> 100644
--- a/hugofs/filter_fs.go
+++ b/hugofs/filter_fs.go
@@ -153,7 +153,8 @@ func (fs *FilterFs) LstatIfPossible(name string) (os.FileInfo, bool, error) {
return decorateFileInfo(fi, fs, fs.getOpener(name), "", "", nil), false, nil
}
-... | Pass directory name to filters in LstatIfPossible in the same way as Readdir | gohugoio_hugo | train |
34ccbe38a3acaca03712f3e1eaa3787cd48e7388 | diff --git a/lib/workers/pr/index.js b/lib/workers/pr/index.js
index <HASH>..<HASH> 100644
--- a/lib/workers/pr/index.js
+++ b/lib/workers/pr/index.js
@@ -148,6 +148,19 @@ async function ensurePr(prConfig) {
config.hasReleaseNotes = config.upgrades.some(upg => upg.hasReleaseNotes);
config.hasCommits = config.upgr... | fix: de-dupe release notes in each PR | renovatebot_renovate | train |
e9c48a073de13257189a0dcb3e7b5f7620380629 | diff --git a/scot/eegtopo/topoplot.py b/scot/eegtopo/topoplot.py
index <HASH>..<HASH> 100644
--- a/scot/eegtopo/topoplot.py
+++ b/scot/eegtopo/topoplot.py
@@ -146,7 +146,7 @@ class Topoplot(object):
extent=(offset[0]-self.interprange, offset[0]+self.interprange,
... | Set electrode alpha to <I> (still nicely visible, but the map is now better visible) | scot-dev_scot | train |
05e36db12e4e004cc53214d0fd2ef3d57baa991a | diff --git a/bika/lims/exportimport/instruments/sysmex/xt/i4000.py b/bika/lims/exportimport/instruments/sysmex/xt/i4000.py
index <HASH>..<HASH> 100644
--- a/bika/lims/exportimport/instruments/sysmex/xt/i4000.py
+++ b/bika/lims/exportimport/instruments/sysmex/xt/i4000.py
@@ -33,7 +33,21 @@ def Import(context, request):
... | Use mappings instead of conditional assignments when computing override, status and sample variables values | senaite_senaite.core | train |
b534056debd3b1f5a6c0df58dad7cfc34634dbd3 | diff --git a/lib/chef/mixin/shell_out.rb b/lib/chef/mixin/shell_out.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/mixin/shell_out.rb
+++ b/lib/chef/mixin/shell_out.rb
@@ -33,12 +33,14 @@ class Chef
# we use 'en_US.UTF-8' by default because we parse localized strings in English as an API and
# generally mu... | Marshall.dump can't dump an IO
which can be an argument to shell_out which means that we have to
manually dup things before mutating. | chef_chef | train |
1a0ad9696f438df37d56ecbaa9ccf5167c7f9921 | diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -932,6 +932,20 @@ class Config
$passed = true;
foreach ($this->data['contenttypes'] as $key => $ct) {
+
+ // Make sure that there are no hyphens in the contenttype name, a... | move the check only to the contenttypename | bolt_bolt | train |
4d6bafae7ece327ccccc8f2e42ffef1eed061096 | diff --git a/kafka/consumer.py b/kafka/consumer.py
index <HASH>..<HASH> 100644
--- a/kafka/consumer.py
+++ b/kafka/consumer.py
@@ -33,10 +33,10 @@ class FetchContext(object):
self.consumer = consumer
self.block = block
- if block and not timeout:
- timeout = FETCH_DEFAULT_BLOCK_TIM... | Allow None timeout in FetchContext even if block is False | dpkp_kafka-python | train |
cbd1e006a75fbe49ce17a63329881acd67b1d329 | 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
@@ -1,3 +1,6 @@
+require "rubygems"
+require "bundler/setup"
+
require "celluloid/rspec"
require "celluloid/supervision" | put back bundler into spec_helper | celluloid_celluloid | train |
f365678505c70b58fcd9ae44899a28c6baf103e0 | diff --git a/lib/mk_time/consts.rb b/lib/mk_time/consts.rb
index <HASH>..<HASH> 100644
--- a/lib/mk_time/consts.rb
+++ b/lib/mk_time/consts.rb
@@ -178,7 +178,8 @@ module MkTime
["20170101", 0.6],
["20170126", 0.5],
["20170330", 0.4],
- ["2... | UPD: Added a new DUT1 adjustment to constants. | komasaru_mk_time | train |
121d0ff52da55c0644b8a94cb5699769888861d8 | diff --git a/pkg/network/node/iptables.go b/pkg/network/node/iptables.go
index <HASH>..<HASH> 100644
--- a/pkg/network/node/iptables.go
+++ b/pkg/network/node/iptables.go
@@ -164,7 +164,8 @@ func (n *NodeIPTables) getNodeIPTablesChains() []Chain {
srcChain: "FORWARD",
srcRule: []string{"-i", Tun0, "!", "-o", T... | Fix initialization of iptables under networkpolicy plugin | openshift_origin | train |
a6dd52a74a8c1378479d2bdc89de43a45e0e326c | diff --git a/go/internal/flag/flag.go b/go/internal/flag/flag.go
index <HASH>..<HASH> 100644
--- a/go/internal/flag/flag.go
+++ b/go/internal/flag/flag.go
@@ -69,7 +69,7 @@ func Parse(fs *flag.FlagSet) {
// filterTestFlags returns two slices: the second one has just the flags for `go test` and the first one contains... | Fix regression caused by pflag-vreplication PR (#<I>) | vitessio_vitess | train |
e4d33f1066ca0a2c66b3d5765535ff3fc7379e8f | diff --git a/cmd/influx/main.go b/cmd/influx/main.go
index <HASH>..<HASH> 100644
--- a/cmd/influx/main.go
+++ b/cmd/influx/main.go
@@ -31,10 +31,14 @@ const maxTCPConnections = 10
var (
version = "dev"
commit = "none"
- date = time.Now().UTC().Format(time.RFC3339)
+ date = ""
)
func main() {
+ if len(da... | fix: don't overwrite build date set via ldflags | influxdata_influxdb | train |
bb903023a27d4f6ef9998efb28f9d027133a81b7 | diff --git a/src/InsertOnDuplicateKey.php b/src/InsertOnDuplicateKey.php
index <HASH>..<HASH> 100644
--- a/src/InsertOnDuplicateKey.php
+++ b/src/InsertOnDuplicateKey.php
@@ -31,8 +31,6 @@ trait InsertOnDuplicateKey
$data = [$data];
}
- static::checkPrimaryKeyExists($data);
-
$sq... | Fixes #4. Remove primary key check. The onus is on the user to have primary key. | yadakhov_insert-on-duplicate-key | train |
ef0b7f8826ef77e43a6120667a7dca667be3ee77 | diff --git a/lib/snmp.js b/lib/snmp.js
index <HASH>..<HASH> 100644
--- a/lib/snmp.js
+++ b/lib/snmp.js
@@ -246,7 +246,7 @@ function parse(buf) {
// Slice off the sequence header.
hdr = asn1ber.typeAndLength(buf);
assert.equal(asn1ber.types.Sequence, hdr.type);
- bvb = buf.slice(hdr.hea... | Fixed the error slice buffer, which was spammed valueRaw | calmh_node-snmp-native | train |
021726218ea62d296eaf1fe9b4dde1e671465f1e | diff --git a/tools/gen_classes.py b/tools/gen_classes.py
index <HASH>..<HASH> 100755
--- a/tools/gen_classes.py
+++ b/tools/gen_classes.py
@@ -265,7 +265,7 @@ BASE_CLASS = '''
import json
import dateutil.parser
-from zenpy.lib.util import json_encode_for_printing
+from zenpy.lib.util import json_encode_for_printing... | Ensure to_dict() always returns Python objects.
Raised in #<I> | facetoe_zenpy | train |
bce366cf38110fc7de59e3b38b73206920c66d3e | diff --git a/TYPO3.Flow/Documentation/conf.py b/TYPO3.Flow/Documentation/conf.py
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Documentation/conf.py
+++ b/TYPO3.Flow/Documentation/conf.py
@@ -59,9 +59,9 @@ author = u'Neos Team and Contributors'
# built documents.
#
# The short X.Y version.
-version = 'dev-master'
+ve... | TASK: Update Documentation/conf.py for <I> branch | neos_flow-development-collection | train |
919cd7df026bad4df11d47d0d16e51467a19fae1 | diff --git a/library/CM/Log/Formatter/Text.php b/library/CM/Log/Formatter/Text.php
index <HASH>..<HASH> 100644
--- a/library/CM/Log/Formatter/Text.php
+++ b/library/CM/Log/Formatter/Text.php
@@ -21,18 +21,20 @@ class CM_Log_Formatter_Text extends CM_Log_Formatter_Abstract {
]);
}
if (null... | Only include the referer in logs if available | cargomedia_cm | train |
c11427fef5b03018c9b4823b35fb9dfe541f339d | diff --git a/pkg/volume/util/operationexecutor/operation_generator.go b/pkg/volume/util/operationexecutor/operation_generator.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/util/operationexecutor/operation_generator.go
+++ b/pkg/volume/util/operationexecutor/operation_generator.go
@@ -20,6 +20,7 @@ import (
"context... | Call NodeUnstage after NodeStage timeout
When NodeStage times out and does not prepare destination device and user
deletes corresponding pod, the driver may continue staging the volume in
background. Kubernetes must call NodeUnstage to "cancel" this operation.
Therefore TearDownDevice should be called even when the t... | kubernetes_kubernetes | train |
746f7fdff21981ec60c7150604aecd7bc24ee345 | diff --git a/lib/model/generic_folder.rb b/lib/model/generic_folder.rb
index <HASH>..<HASH> 100644
--- a/lib/model/generic_folder.rb
+++ b/lib/model/generic_folder.rb
@@ -305,22 +305,22 @@ module Viewpoint
# @param [String,nil] exclude_str A string to exclude from matches against the subject. This is optional.
... | fix #search_by_subject hash ordering for <I> ruby | WinRb_Viewpoint | train |
73396432b6969d7ea94c93f0af78e7bd058bc23d | diff --git a/src/FormBlueprint.php b/src/FormBlueprint.php
index <HASH>..<HASH> 100644
--- a/src/FormBlueprint.php
+++ b/src/FormBlueprint.php
@@ -46,6 +46,11 @@ class FormBlueprint implements FormBlueprintInterface
protected $successMessage;
/**
+ * @var string
+ */
+ protected $submitButtonLabe... | Add ability to change the submit button label in the from blueprint | andyvenus_form | train |
dfd1b3864800db7241668ff2f56aa43ec6968678 | diff --git a/tlv/stream.go b/tlv/stream.go
index <HASH>..<HASH> 100644
--- a/tlv/stream.go
+++ b/tlv/stream.go
@@ -6,12 +6,18 @@ import (
"io"
"io/ioutil"
"math"
+
+ "github.com/lightningnetwork/lnd/lnwire"
)
// ErrStreamNotCanonical signals that a decoded stream does not contain records
// sorting by monoto... | tlv: fix panic with large length
This commit fixes a panic where a large length in a record could
cause the DVarBytes function to fail to allocate a byte slice. | lightningnetwork_lnd | train |
02a365ef58c4a012dd49096f0bc8fa7cb0251605 | diff --git a/lib/wavefile.rb b/lib/wavefile.rb
index <HASH>..<HASH> 100644
--- a/lib/wavefile.rb
+++ b/lib/wavefile.rb
@@ -5,7 +5,7 @@ require 'wavefile/reader'
require 'wavefile/writer'
module WaveFile
- VERSION = "0.4.0a"
+ VERSION = "0.4.0alpha"
WAVEFILE_FORMAT_CODE = "WAVE"
FORMAT_CHUNK_BYTE_LENGTH = ... | Changing version number to be more explicit | jstrait_wavefile | train |
1d8d4c021ccbef4ee7e63d69c90fecf62a0c3f8d | diff --git a/tests/test_serving.py b/tests/test_serving.py
index <HASH>..<HASH> 100644
--- a/tests/test_serving.py
+++ b/tests/test_serving.py
@@ -210,8 +210,9 @@ def test_reloader_nested_broken_imports(tmpdir, dev_server):
def test_windows_get_args_for_reloading(monkeypatch, tmpdir):
+ test_py_exe = 'C:\\Users... | Issue <I> correcting failing flake8 style check | pallets_werkzeug | train |
757c74f9593514144db146e1742b190b59b3aabb | diff --git a/configure.py b/configure.py
index <HASH>..<HASH> 100755
--- a/configure.py
+++ b/configure.py
@@ -27,7 +27,7 @@ sys.path.insert(0, 'misc')
import ninja_syntax
parser = OptionParser()
-platforms = ['linux', 'freebsd', 'mingw', 'windows']
+platforms = ['linux', 'freebsd', 'mingw']
profilers = ['gmon', '... | configure.py: windows updates
- Drop unused 'windows' platform
- Make 'mingw' platform actually work on mingw-on-Windows. | ninja-build_ninja | train |
dd91fc33308fdc29c75e49fff33193446ba6eedf | diff --git a/js/coinbase.js b/js/coinbase.js
index <HASH>..<HASH> 100644
--- a/js/coinbase.js
+++ b/js/coinbase.js
@@ -30,7 +30,7 @@ module.exports = class coinbase extends Exchange {
'fetchCurrencies': true,
'fetchDepositAddress': false,
'fetchMarkets': false,
- ... | Move to fetchMySells and fetchMyBuys | ccxt_ccxt | train |
dc1a5369d0c804bc79c92a09b1d1c906f9a02457 | diff --git a/src/Database/Query.php b/src/Database/Query.php
index <HASH>..<HASH> 100644
--- a/src/Database/Query.php
+++ b/src/Database/Query.php
@@ -235,6 +235,7 @@ class Query
*/
public function __construct(Connection $connection)
{
+ $this->connection = $connection;
$this->whereClaus... | Fix 'Call to a member function select() on null' error | Corviz_framework | train |
22b01ffe07b128d2e7d325df846006d1fb7ee4df | diff --git a/src/main/java/io/muserver/Http1Connection.java b/src/main/java/io/muserver/Http1Connection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/muserver/Http1Connection.java
+++ b/src/main/java/io/muserver/Http1Connection.java
@@ -43,6 +43,13 @@ class Http1Connection extends SimpleChannelInboundHandler<... | Turned of async auto-read for http1 connections, and removed frame logger from http2 connections | 3redronin_mu-server | train |
1fe92c543be90131e1afec25b856f9d61fe1450b | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -44,7 +44,7 @@ module.exports = function(grunt) {
files: ['jquery.jgrowl.js', 'less/*'],
tasks: ['jshint', 'less', 'cssmin', 'uglify'],
options: {
- spawn: false,
+ ... | still have trailing comma
found the line of "span"property still have trailing comma | stanlemon_jGrowl | train |
08cfba4116edcf02558ed8f0f49821ff2e76e25e | diff --git a/src/main/java/org/dasein/cloud/aws/compute/AutoScaling.java b/src/main/java/org/dasein/cloud/aws/compute/AutoScaling.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/aws/compute/AutoScaling.java
+++ b/src/main/java/org/dasein/cloud/aws/compute/AutoScaling.java
@@ -276,6 +276,29 @@ publ... | add support to forcefully remove auto scaling group
Closes #<I> | dasein-cloud_dasein-cloud-aws | train |
64cc65c32fbc894400b3f00643c4fa92bf15eb08 | diff --git a/build/eq.js b/build/eq.js
index <HASH>..<HASH> 100644
--- a/build/eq.js
+++ b/build/eq.js
@@ -124,10 +124,10 @@
k,
length,
callback,
+ eqResizeEvent,
proto = Object.getPrototypeOf(eqjs),
widths = proto.widths,
- points = proto.points,
- eqRe... | Added Event to polyfill list
And updated everything to CustomEvent | Snugug_eq.js | train |
0c0be3918fed7293d21a506954f41e346e779d25 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,7 @@ def read(filename):
test_deps = ['pytest']
install_deps = [
'click',
+ 'monotonic',
'twisted',
'six',
]
diff --git a/sllurp/lock.py b/sllurp/lock.py
index <HASH>..<HASH> 100644
--- a/sllurp/... | monotonic time from a library
per the good point in #<I> | ransford_sllurp | train |
5b50d610d4f1288347392fac4a6eaaed78d1bc41 | diff --git a/airflow/models/dagrun.py b/airflow/models/dagrun.py
index <HASH>..<HASH> 100644
--- a/airflow/models/dagrun.py
+++ b/airflow/models/dagrun.py
@@ -161,7 +161,8 @@ class DagRun(Base, LoggingMixin):
self.start_date = start_date
self.external_trigger = external_trigger
self.conf = co... | Validate DagRun state is valid on assignment (#<I>) | apache_airflow | train |
9725869e8faf236efb2362f3f969050816361eae | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100644
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -1980,7 +1980,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt
*/
protected function resolveChildRouteBindingQuery($childType, $value, $fi... | [9.x] Extract child route model relationship name into a method (#<I>)
* Extract child route model relationship name
* Fix style
* Update Model.php | illuminate_database | train |
7a1efb695dd721b050f52263daaa6d5e7dbd3d4d | diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php
index <HASH>..<HASH> 100644
--- a/blocks/moodleblock.class.php
+++ b/blocks/moodleblock.class.php
@@ -155,26 +155,26 @@ class MoodleBlock {
$title = $this->str->show;
}
- $movebuttons .= '<a style="margin-right: 10px... | fixed the problem that people trying to move blocks accidentally deleted them. | moodle_moodle | train |
3ca43f22aaae5737d1391fa36406e3443ab5bc60 | diff --git a/public/js/controller.js b/public/js/controller.js
index <HASH>..<HASH> 100644
--- a/public/js/controller.js
+++ b/public/js/controller.js
@@ -1,13 +1,3 @@
-//
-// Define Mast components, collections, models, etc.
-/////////////////////////////////////////////////////
-//
-
-
-
-
-////////////////////////... | Removed superfluous comment in controller.js | balderdashy_mast | train |
45195d7bb8b6ea732b15a9e4e98a92b93c443dc2 | diff --git a/request.go b/request.go
index <HASH>..<HASH> 100644
--- a/request.go
+++ b/request.go
@@ -97,7 +97,7 @@ func (r *Request) WithQuery(key string, value interface{}) *Request {
return r
}
-// WithQueryObject sets query parameters of request URL.
+// WithQueryObject adds multiple query parameters to reque... | Don't overwrite previous query in WithQueryObject | gavv_httpexpect | train |
c8f6e552e414ed1ac81abd2e7d372b2afebaf6c2 | diff --git a/conductor/src/main/java/com/bluelinelabs/conductor/Controller.java b/conductor/src/main/java/com/bluelinelabs/conductor/Controller.java
index <HASH>..<HASH> 100644
--- a/conductor/src/main/java/com/bluelinelabs/conductor/Controller.java
+++ b/conductor/src/main/java/com/bluelinelabs/conductor/Controller.ja... | Require setting an id in getChildRouter. Fixes #<I> | bluelinelabs_Conductor | train |
1dbf1b4d61e07979e103e746500612adcecd3969 | diff --git a/lib/discordrb/commands/command_bot.rb b/lib/discordrb/commands/command_bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/commands/command_bot.rb
+++ b/lib/discordrb/commands/command_bot.rb
@@ -128,8 +128,10 @@ module Discordrb::Commands
parameters = command.attributes[:parameters]
... | Changed unnecessary double if statement
Changed unnecessary double if statement into single if statement | meew0_discordrb | train |
c5bc325f243029782d214a159b9cc79a9c7529cd | diff --git a/library/src/se/emilsjolander/stickylistheaders/StickyListHeadersListView.java b/library/src/se/emilsjolander/stickylistheaders/StickyListHeadersListView.java
index <HASH>..<HASH> 100644
--- a/library/src/se/emilsjolander/stickylistheaders/StickyListHeadersListView.java
+++ b/library/src/se/emilsjolander/st... | Fixed #<I>
If the header supplies illegal layout params we must fix them. Match
parent becomes wrap content. Because the standard layout params of a
framelayout are match parent this bug occurred. | emilsjolander_StickyListHeaders | train |
a36d2d30330566348f78224ab9b2e72ca28fd442 | diff --git a/ezp/Persistence/Content/Location.php b/ezp/Persistence/Content/Location.php
index <HASH>..<HASH> 100644
--- a/ezp/Persistence/Content/Location.php
+++ b/ezp/Persistence/Content/Location.php
@@ -134,7 +134,6 @@ class Location extends ValueObject
*
* Valid values are found at {@link Location::SOR... | Add properties for #<I>: Sort Field and Sort Order in content types | ezsystems_ezpublish-kernel | train |
b877c137a977d3a54073d90506eb7adbd5288707 | diff --git a/dirutility/backup.py b/dirutility/backup.py
index <HASH>..<HASH> 100644
--- a/dirutility/backup.py
+++ b/dirutility/backup.py
@@ -1,21 +1,25 @@
# Copies an entire folder and its contents into a zip file whose filename increments.
import os
+import shutil
from zipfile import ZipFile
from tqdm import tqd... | Added docstrings and optimized imports | mrstephenneal_dirutility | train |
a6278b2eb36408706b8729d5e54560de573b78a9 | diff --git a/app/selectors/prepare.js b/app/selectors/prepare.js
index <HASH>..<HASH> 100644
--- a/app/selectors/prepare.js
+++ b/app/selectors/prepare.js
@@ -4,12 +4,34 @@ import {
getLastNodeId,
getLastPinId,
getLastLinkId,
+ getLastPatchId,
+ getLastFolderId,
getPatchByNodeId,
getPatchByPinId,
ge... | feat(selectors): add selector to get last folder id and selectors that prepare data to be addedd into state (addPatch & addFolder) | xodio_xod | train |
e9699d2a8d95c29148d582f770bfa5f3bbc77068 | diff --git a/src/middlewares/query_parser.js b/src/middlewares/query_parser.js
index <HASH>..<HASH> 100644
--- a/src/middlewares/query_parser.js
+++ b/src/middlewares/query_parser.js
@@ -10,6 +10,11 @@ fs.readdirSync(path.join(__dirname, 'query')).forEach(file => {
parsers['$' + file.replace('.js', '')] = require(cu... | [Issue #<I>] Map odata/sequelize comparators (#<I>) | mozilla-sensorweb_sensorthings | train |
a82086be8de300b3dd00ae16dbdab69421c549ef | diff --git a/lib/magic_lamp.rb b/lib/magic_lamp.rb
index <HASH>..<HASH> 100644
--- a/lib/magic_lamp.rb
+++ b/lib/magic_lamp.rb
@@ -1,5 +1,16 @@
module MagicLamp
+ MAGIC_LAMP = "magic_lamp"
+ DEFAULT_PATH = ["spec", MAGIC_LAMP]
+ TMP_PATH = ["tmp", MAGIC_LAMP]
+
class << self
+ attr_writer :path
+
+ def pat... | moved #path to magic lamp from fixture creator | crismali_magic_lamp | train |
45f81dbc0fac9358725f42a3fd8c55f3d96a9f2e | diff --git a/api/tests/opentrons/conftest.py b/api/tests/opentrons/conftest.py
index <HASH>..<HASH> 100755
--- a/api/tests/opentrons/conftest.py
+++ b/api/tests/opentrons/conftest.py
@@ -341,18 +341,21 @@ async def hardware(request, loop, virtual_smoothie_env):
yield hw_sim
finally:
hw_sim.set_co... | fix(api): add ThreadManager.cleanup() calls in test fixtures (#<I>) | Opentrons_opentrons | train |
7290f9cb0371bbc52fba69503c475956bafb3981 | diff --git a/template.rb b/template.rb
index <HASH>..<HASH> 100644
--- a/template.rb
+++ b/template.rb
@@ -1,3 +1,3 @@
-require File.join(File.dirname(__FILE__), 'lib/maguro')
+require_relative('lib/maguro')
Maguro.base_template(self)
\ No newline at end of file | Switch back to require_relative, since it works on my machine now. | Bottega8_maguro | train |
44cfb31ff0bfbfc821b08fcb9bac916b6343a914 | diff --git a/src/Saft/Sparql/Query.php b/src/Saft/Sparql/Query.php
index <HASH>..<HASH> 100644
--- a/src/Saft/Sparql/Query.php
+++ b/src/Saft/Sparql/Query.php
@@ -49,6 +49,57 @@ class Query
* @var int
*/
protected $limit = null;
+
+ /**
+ * List of widely used namespaces.
+ *
+ * @v... | Replace EasyRdf's RdfNamespace::namespaces call with our own list | SaftIng_Saft | train |
54234219d1fe18413faffb6e6578607d9e7c2816 | diff --git a/core/Requirements.php b/core/Requirements.php
index <HASH>..<HASH> 100644
--- a/core/Requirements.php
+++ b/core/Requirements.php
@@ -358,7 +358,11 @@ class Requirements {
*/
protected static function process_i18n_javascript() {
// ensure to include the i18n base library
- if(!isset(self::$javascr... | BUGFIX Only include i<I>n.js if javascript files are included - and to be safe, include the required prototype.js along with the library
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9 | silverstripe_silverstripe-framework | train |
9650d10f6258da7860f5f231c64656d8924bb004 | diff --git a/test/plugin/test_out_copy.rb b/test/plugin/test_out_copy.rb
index <HASH>..<HASH> 100644
--- a/test/plugin/test_out_copy.rb
+++ b/test/plugin/test_out_copy.rb
@@ -108,7 +108,19 @@ class CopyOutputTest < Test::Unit::TestCase
def create_event_test_driver(is_deep_copy = false)
deep_copy_config = %[
-... | fix test not to raise ConfigError for missing store sections | fluent_fluentd | train |
933934d19773f70a8b3346897aabeb203b1b12de | diff --git a/servlet/jetty/src/main/java/com/kumuluz/ee/jetty/JettyServletServer.java b/servlet/jetty/src/main/java/com/kumuluz/ee/jetty/JettyServletServer.java
index <HASH>..<HASH> 100644
--- a/servlet/jetty/src/main/java/com/kumuluz/ee/jetty/JettyServletServer.java
+++ b/servlet/jetty/src/main/java/com/kumuluz/ee/jet... | Ignore warning about irrelevant purge on shutdown | kumuluz_kumuluzee | train |
2534575eca60fa3d4fcc4aae9f2b4df7aeca153b | diff --git a/hiyapyco/__init__.py b/hiyapyco/__init__.py
index <HASH>..<HASH> 100644
--- a/hiyapyco/__init__.py
+++ b/hiyapyco/__init__.py
@@ -29,8 +29,6 @@ from jinja2 import Environment, Undefined, DebugUndefined, StrictUndefined, Temp
from . import odyldo
-logging.basicConfig()
-
__all__ = [
'load',
... | option to provide a custom logger | zerwes_hiyapyco | train |
82b7886a51bbd1fddc85ef1e559772f49973e278 | diff --git a/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/AbstractRunMojo.java b/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/AbstractRunMojo.java
index <HASH>..<HASH> 100644
--- a/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/AbstractRunMojo.jav... | Feature request: adding support for custom solr config #<I> | Alfresco_alfresco-sdk | train |
ee0fd3f3e3e72ceb61ef5850cd28305a09422f9c | diff --git a/src/main/java/uk/co/real_logic/agrona/concurrent/AbstractConcurrentArrayQueue.java b/src/main/java/uk/co/real_logic/agrona/concurrent/AbstractConcurrentArrayQueue.java
index <HASH>..<HASH> 100644
--- a/src/main/java/uk/co/real_logic/agrona/concurrent/AbstractConcurrentArrayQueue.java
+++ b/src/main/java/uk... | Add a further padding parent class to the chain to enforce location of
padding between head and immutable queue fields (mask/capacity/buffer) | real-logic_agrona | train |
a9ace2cde9033ccedcc2419eda4fa3aa349f2895 | diff --git a/foliant/backends/mkdocs.py b/foliant/backends/mkdocs.py
index <HASH>..<HASH> 100644
--- a/foliant/backends/mkdocs.py
+++ b/foliant/backends/mkdocs.py
@@ -9,7 +9,7 @@ from foliant.backends.base import BaseBackend
class Backend(BaseBackend):
- targets = ('site', 'mkdocs')
+ targets = ('site', ... | Add `ghp` command. | foliant-docs_foliantcontrib.mkdocs | train |
3500689cc57195d644b6358572bdb44237cf1f0d | diff --git a/arviz/tests/conftest.py b/arviz/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/arviz/tests/conftest.py
+++ b/arviz/tests/conftest.py
@@ -3,11 +3,17 @@
import os
import logging
import pytest
-
+import numpy as np
_log = logging.getLogger(__name__)
+@pytest.fixture(autouse=True)
+def random_se... | Set Numpy Random Seed in one place for tests (#<I>)
* Set Numpy Random Seed in one place for tests
set numpy random seed in conftest.py and removed it from other test files.
closes #<I>
* add random seed function under pytest fixture
* fix import error
* add missing docstring for the random seed generat... | arviz-devs_arviz | train |
e5d2cb3011f8dd7978fafc87cb1f8f832e8b1c9e | diff --git a/IPTools.py b/IPTools.py
index <HASH>..<HASH> 100644
--- a/IPTools.py
+++ b/IPTools.py
@@ -18,6 +18,9 @@ __date__ = '$Date: 04-06-23 12:24 $'[7:-2]
import threading, socket, sys, operator
+import logging
+log = logging.getLogger( 'IP Tools' )
+
class PortScanner( object ):
def __init__( self ... | Added port scanning support from \bin tools. | jaraco_jaraco.util | train |
b8a11c08ebe91d07cdd083581c256472c6fb1984 | diff --git a/pyblish_lite/window.py b/pyblish_lite/window.py
index <HASH>..<HASH> 100644
--- a/pyblish_lite/window.py
+++ b/pyblish_lite/window.py
@@ -40,11 +40,12 @@ Todo:
"""
from functools import partial
+import os
from . import delegate, model, settings, util, view
from .awesome import tags as awesome
-fr... | Fix pyblish/pyblish-lite#<I>
Limit scaling adjustment to Qt5 and Windows since only tested in Windows | pyblish_pyblish-lite | train |
b3e192e7ac01f0d8c94215b77798f683dcd2b76d | diff --git a/toml/decoder.py b/toml/decoder.py
index <HASH>..<HASH> 100644
--- a/toml/decoder.py
+++ b/toml/decoder.py
@@ -420,8 +420,6 @@ def _load_date(val):
def _load_unicode_escapes(v, hexbytes, prefix):
- hexchars = ['0', '1', '2', '3', '4', '5', '6', '7',
- '8', '9', 'a', 'b', 'c', 'd', 'e'... | Why is this hex decoding so complicated? | uiri_toml | train |
4b7b19ef8b8478874dbe721f774667a25749e39c | diff --git a/Traits/BumbleUserTrait.php b/Traits/BumbleUserTrait.php
index <HASH>..<HASH> 100644
--- a/Traits/BumbleUserTrait.php
+++ b/Traits/BumbleUserTrait.php
@@ -4,39 +4,6 @@ use Monarkee\Bumble\Support\Facades\Gravatar;
trait BumbleUserTrait {
/**
- * Get the user's full name by concatenating
- * ... | Remove need for full_name and last_name attributes | monarkee_bumble | train |
2d9c6dfae813faa4e8ef800750ff1283b75102eb | diff --git a/plugin/pkg/scheduler/scheduler.go b/plugin/pkg/scheduler/scheduler.go
index <HASH>..<HASH> 100644
--- a/plugin/pkg/scheduler/scheduler.go
+++ b/plugin/pkg/scheduler/scheduler.go
@@ -17,7 +17,6 @@ limitations under the License.
package scheduler
import (
- "fmt"
"time"
"k8s.io/api/core/v1"
@@ -194... | Handle errors more consistently in scheduler | kubernetes_kubernetes | train |
3c5f466e03cadd7e01ee29d00a557e0e3cc64c1e | diff --git a/src/helpers/formatTM.js b/src/helpers/formatTM.js
index <HASH>..<HASH> 100644
--- a/src/helpers/formatTM.js
+++ b/src/helpers/formatTM.js
@@ -15,7 +15,7 @@ export default function formatTM(time, strFormat = 'HH:mm:ss') {
try {
const inputFormat = 'HHmmss.SSS';
const strTime = time.toString().s... | fix: parse time without fractional seconds (#<I>) | cornerstonejs_react-cornerstone-viewport | train |
88bb02963a07c1df4b3409a3652a5da12b24afc7 | diff --git a/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java b/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java
index <HASH>..<HASH> 100644
--- a/merger/src/main/java/com/metamx/druid/merger/coordinator/http/IndexerCoordinatorNode.java
+... | fix compile breakage introduced by scaling strategies | apache_incubator-druid | train |
66d6912edb57b1509d428985f81437244a2e98c2 | diff --git a/pandas/io/excel.py b/pandas/io/excel.py
index <HASH>..<HASH> 100644
--- a/pandas/io/excel.py
+++ b/pandas/io/excel.py
@@ -71,7 +71,7 @@ def read_excel(io, sheetname=0, **kwds):
Parameters
----------
- io : string, file-like object, or xlrd workbook.
+ io : string, file-like object, or xl... | BUG: Work-around openpyxl-<I> NumberFormat removal | pandas-dev_pandas | train |
abc6e3f18168dfc618e7e4eb81a7409eb32736f6 | diff --git a/lib/all-badge-examples.js b/lib/all-badge-examples.js
index <HASH>..<HASH> 100644
--- a/lib/all-badge-examples.js
+++ b/lib/all-badge-examples.js
@@ -1901,7 +1901,7 @@ const allBadgeExamples = [
},
{
title: 'MicroBadger Size',
- previewUri: '/microbadger/image-size/_/httpd.svg... | [microbadger] Handle no DownloadSize (#<I>) | badges_shields | train |
723507f36e1f92d7a8a30d85a97a07a2053d24ca | diff --git a/blocks/version.php b/blocks/version.php
index <HASH>..<HASH> 100644
--- a/blocks/version.php
+++ b/blocks/version.php
@@ -5,4 +5,4 @@
// database (blocks_version) to determine whether upgrades should
// be performed (see db/backup_*.php)
-$blocks_version = 2004042100; // The current version is a date... | Bump because some changes have arrived...:-) | moodle_moodle | train |
79ab1cc3e08dc06eb8f2c66a092d4b82b34e6223 | diff --git a/openquake/hazardlib/gsim/base.py b/openquake/hazardlib/gsim/base.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/gsim/base.py
+++ b/openquake/hazardlib/gsim/base.py
@@ -709,6 +709,7 @@ class GMPE(GroundShakingIntensityModel):
"""
with warnings.catch_warnings():
warni... | Added a comment [skip CI]
Former-commit-id: <I>ac<I>ca<I>c<I>ed3b<I>f9d2b1f<I>bb2c2cd | gem_oq-engine | train |
88e5d7efaa8d6576e21623b1b461d2e1bb00e151 | diff --git a/jruby-maven-plugin/src/main/java/de/saumya/mojo/jruby/AbstractJRubyMojo.java b/jruby-maven-plugin/src/main/java/de/saumya/mojo/jruby/AbstractJRubyMojo.java
index <HASH>..<HASH> 100644
--- a/jruby-maven-plugin/src/main/java/de/saumya/mojo/jruby/AbstractJRubyMojo.java
+++ b/jruby-maven-plugin/src/main/java/d... | skip to install jars via jar-dependencies gem | torquebox_jruby-maven-plugins | train |
30ee6202c455ec1698f4e6b55d5773c65d67821e | diff --git a/lib/bx/align/lav.py b/lib/bx/align/lav.py
index <HASH>..<HASH> 100644
--- a/lib/bx/align/lav.py
+++ b/lib/bx/align/lav.py
@@ -1,7 +1,7 @@
-from align import *
+from bx.align import *
import itertools
-import interval_index_file
+from bx import interval_index_file
class Reader( object ):
"""Itera... | wasn't looking in correct path for support modules | bxlab_bx-python | train |
24f1de44c65c30874912778037fc5cfbcf708b19 | diff --git a/bugwarrior/services/github.py b/bugwarrior/services/github.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/services/github.py
+++ b/bugwarrior/services/github.py
@@ -12,6 +12,10 @@ from bugwarrior.services import IssueService, Issue, ServiceClient
class GithubClient(ServiceClient):
def __init__(self,... | Use requests "sessions".
This should make things marginally faster. When not using sessions, we
have to keep initiating new TCP connections over and over again. Wasted
overhead. | ralphbean_bugwarrior | train |
9c5a6af914155603f26929ae6169d7b556f4b3f2 | diff --git a/lib/couch_model/active_model.rb b/lib/couch_model/active_model.rb
index <HASH>..<HASH> 100644
--- a/lib/couch_model/active_model.rb
+++ b/lib/couch_model/active_model.rb
@@ -35,10 +35,11 @@ module CouchModel
alias destroyed? new?
- alias save_without_dirty save
+ alias save_without_active_mo... | fixed #5 - save a model with failing validations should not be possible anymore | phifty_couchmodel | train |
7c77921842a49fbc034d6af9557dd4933723a1c5 | diff --git a/design/apidsl/media_type.go b/design/apidsl/media_type.go
index <HASH>..<HASH> 100644
--- a/design/apidsl/media_type.go
+++ b/design/apidsl/media_type.go
@@ -379,14 +379,16 @@ func CollectionOf(v interface{}, apidsl ...func()) *design.MediaTypeDefinition {
params["type"] = "collection"
}
id = mime.F... | Fix issue with the combined use of `TypeName` and `CollectionOf`
The name specified by `TypeName` wasn't taken into account correctly
by `CollectionOf` because it was computing the collection type name
prior to the element media type DSL being executed.
Fixing this also required changing how generated media types are
... | goadesign_goa | train |
918fbd6348c7f6b0f5873fc724e869c5de49bd89 | diff --git a/lib/runner.rb b/lib/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/runner.rb
+++ b/lib/runner.rb
@@ -4,7 +4,7 @@ require 'macaddr'
require 'ostruct'
require File.dirname(__FILE__) + '/shared/ssh_tunnel'
-TESTBOT_VERSION = 26
+TESTBOT_VERSION = 27
TIME_BETWEEN_POLLS = 1
TIME_BETWEEN_PINGS = 5
TIME_B... | Trying to fix some reliablity errors with restarting a testbot runner. | joakimk_testbot | train |
81521024ab6b470e8146303be2c03bd8caff5e14 | diff --git a/src/core/options.js b/src/core/options.js
index <HASH>..<HASH> 100644
--- a/src/core/options.js
+++ b/src/core/options.js
@@ -38,7 +38,6 @@ function sanitizeOptions(opts) {
)
.then(function(content) {
if(once) { api.set('content.text', content); }
- console.log(once, api.get('content.te... | Remove console logs... woops. | qTip2_qTip2 | train |
80f958c6b1914735aef61db1d0a045a61fca4eed | diff --git a/tomlkit/container.py b/tomlkit/container.py
index <HASH>..<HASH> 100644
--- a/tomlkit/container.py
+++ b/tomlkit/container.py
@@ -46,7 +46,7 @@ class Container(_CustomDict):
def body(self) -> List[Tuple[Optional[Key], Item]]:
return self._body
- def unwrap(self) -> str:
+ def unwrap(s... | fix: type annotation of unwrap() and datetime parsing (#<I>) | sdispater_tomlkit | train |
f07c7ea792ed1a1b7e0ba7e474200e841de021aa | diff --git a/tests/unit/modules/rpm_test.py b/tests/unit/modules/rpm_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/rpm_test.py
+++ b/tests/unit/modules/rpm_test.py
@@ -95,6 +95,28 @@ class RpmTestCase(TestCase):
self.assertDictEqual(rpm.owner('/usr/bin/python', '/usr/bin/vim'),
... | Add lowpkg tests for version comparison | saltstack_salt | train |
5c7f93c40c3750e16b91a94fe35ac0521eeeb2ea | diff --git a/source/setup/de/lang.php b/source/setup/de/lang.php
index <HASH>..<HASH> 100644
--- a/source/setup/de/lang.php
+++ b/source/setup/de/lang.php
@@ -125,6 +125,7 @@ $aLang = array(
'BUTTON_PROCEED_INSTALL' => 'Setup beginnen',
'STEP_2_TITLE' => 'Lize... | ESDEV-<I> Add checkbox in setup if want to send information | OXID-eSales_oxideshop_ce | train |
11a9b317a369a9e8e0db46d085d8dbe81b10e619 | diff --git a/cmd/gateway/nas/gateway-nas.go b/cmd/gateway/nas/gateway-nas.go
index <HASH>..<HASH> 100644
--- a/cmd/gateway/nas/gateway-nas.go
+++ b/cmd/gateway/nas/gateway-nas.go
@@ -117,7 +117,7 @@ func (g *NAS) Production() bool {
}
// IsListenBucketSupported returns whether listen bucket notification is applicab... | Disable ListenBucket notifications for NAS gateway (#<I>) | minio_minio | train |
8f01efb9e3d8720da769e83532f793adc53144fb | diff --git a/test/src/main/java/org/springframework/security/test/web/servlet/request/SecurityMockMvcRequestPostProcessors.java b/test/src/main/java/org/springframework/security/test/web/servlet/request/SecurityMockMvcRequestPostProcessors.java
index <HASH>..<HASH> 100644
--- a/test/src/main/java/org/springframework/se... | Replace StringUtils class completely
Issue gh-<I>
Closes gh-<I> | spring-projects_spring-security | train |
facc0efcfdb8ec99a9b987c58833e0e97c075d03 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -952,14 +952,16 @@ window.CodeMirror = (function() {
for (var i = 0; i < cache.length; ++i) {
var memo = cache[i];
if (memo.text == line.text && memo.markedSpans == line.m... | Take line classes into account for invalidating measurement caches | codemirror_CodeMirror | train |
dc19aad5348f50728390dd87382524c6cafac3b5 | diff --git a/driver-async/src/test/functional/com/mongodb/async/client/InitialDnsSeedlistDiscoveryTest.java b/driver-async/src/test/functional/com/mongodb/async/client/InitialDnsSeedlistDiscoveryTest.java
index <HASH>..<HASH> 100644
--- a/driver-async/src/test/functional/com/mongodb/async/client/InitialDnsSeedlistDisco... | Re-enable SRV tests for MongoDB >= <I> | mongodb_mongo-java-driver | train |
346500f7c14e6932f5cf2cda2b4e9539943ba964 | diff --git a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/step/JFunkWebElement.java b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/step/JFunkWebElement.java
index <HASH>..<HASH> 100644
--- a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/step/JFunkWebElement.java
+++ b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/step/JFunkW... | changed checking of SELECT-elements to match the behavior of setting
SELECT-elements | mgm-tp_jfunk | train |
c0a0d5d820b172918fb9d6cfc6606ee42a1b338b | diff --git a/harpoon/executor.py b/harpoon/executor.py
index <HASH>..<HASH> 100644
--- a/harpoon/executor.py
+++ b/harpoon/executor.py
@@ -88,10 +88,11 @@ class CliParser(object):
opts = {}
if os.path.exists("./harpoon.yml"):
opts["default"] = "./harpoon.yml"
+ else:
+ o... | --harpoon-config shouldn't be required if we have a default | delfick_harpoon | train |
82a0cd37ef513c9861a37cd3f5560f7bbd000ea3 | diff --git a/average_nucleotide_identity.py b/average_nucleotide_identity.py
index <HASH>..<HASH> 100755
--- a/average_nucleotide_identity.py
+++ b/average_nucleotide_identity.py
@@ -319,13 +319,13 @@ def calculate_anim(infiles, org_lengths):
logger.info("Generating NUCmer command-lines")
# Schedule NUCmer ru... | anim.py: Updated ANIm method to use Job queues; additional changes to average_nucleotide_identity.py script, and anib.py | widdowquinn_pyani | train |
23b4c1e8038164b445982cbd3f05bd32533eae28 | diff --git a/BitSliceIndexing/bsi.go b/BitSliceIndexing/bsi.go
index <HASH>..<HASH> 100644
--- a/BitSliceIndexing/bsi.go
+++ b/BitSliceIndexing/bsi.go
@@ -630,7 +630,7 @@ func (b *BSI) addDigit(foundSet *roaring.Bitmap, i int) {
}
carry := roaring.And(b.bA[i], foundSet)
b.bA[i].Xor(foundSet)
- if carry.GetCardina... | Removing more getCardinality calls. | RoaringBitmap_roaring | train |
073fe8f980df386e9181aabf37c25c72174e199f | diff --git a/course/request_form.php b/course/request_form.php
index <HASH>..<HASH> 100644
--- a/course/request_form.php
+++ b/course/request_form.php
@@ -13,7 +13,7 @@ class course_request_form extends moodleform {
$mform->addElement('htmleditor','summary',get_string("summary"),array('rows'=>'15','cols'=>'5... | oops, forgot to set to PARAM_RAW for summary field which uses htmleditor on last commit. | moodle_moodle | train |
f56e43840875d326eae0d7b171fc8089cee1716d | diff --git a/pymatgen/io/vasp/outputs.py b/pymatgen/io/vasp/outputs.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/vasp/outputs.py
+++ b/pymatgen/io/vasp/outputs.py
@@ -610,7 +610,7 @@ class Vasprun(MSONable):
equation, the unit is in cm-1
"""
hc = 1.23984 * 1e-4 ... | update absorption coefficient
correct the 2*pi constant for optical coefficient | materialsproject_pymatgen | train |
a3ba3a54eb4cf56de55a0f9cd1420f403c93f1af | diff --git a/annis-gui/src/main/java/annis/gui/Helper.java b/annis-gui/src/main/java/annis/gui/Helper.java
index <HASH>..<HASH> 100644
--- a/annis-gui/src/main/java/annis/gui/Helper.java
+++ b/annis-gui/src/main/java/annis/gui/Helper.java
@@ -44,7 +44,9 @@ import org.apache.commons.lang.StringUtils;
public class Helpe... | cache annis web resource for faster access | korpling_ANNIS | train |
93a8f0c39e5082751824b40b51680bcbc16bfce2 | diff --git a/i3ipc/i3ipc.py b/i3ipc/i3ipc.py
index <HASH>..<HASH> 100644
--- a/i3ipc/i3ipc.py
+++ b/i3ipc/i3ipc.py
@@ -364,8 +364,20 @@ class Connection(object):
['i3', '--get-socketpath'],
close_fds=True,
universal_newlines=True).strip()
- excep... | Add support for sway (i3 compatible compostior for Wayland) | acrisci_i3ipc-python | train |
aff4fc74b8589419ff33e5f5098c8ac4e802b65b | diff --git a/src/arcrest/ags/_geodataservice.py b/src/arcrest/ags/_geodataservice.py
index <HASH>..<HASH> 100644
--- a/src/arcrest/ags/_geodataservice.py
+++ b/src/arcrest/ags/_geodataservice.py
@@ -107,6 +107,16 @@ class GeoDataService(BaseAGSServer):
return self._replicas
#------------------------------... | added replicasResource and unRegisterReplica()
added replicasResource and unRegisterReplica() for GeoDataService | Esri_ArcREST | train |
afeb880495dc828d492353b1523db039d50670cd | diff --git a/src/base/ErrorHandlerTrait.php b/src/base/ErrorHandlerTrait.php
index <HASH>..<HASH> 100644
--- a/src/base/ErrorHandlerTrait.php
+++ b/src/base/ErrorHandlerTrait.php
@@ -59,7 +59,7 @@ trait ErrorHandlerTrait {
'get' => $_GET,
'post' => $_POST,
'server' => $_SERVER,
- ... | fixed bug where session variable is not set when using controllers in
cli context. | luyadev_luya | train |
4a89c5ec00da9b10611e6b70e47ba1d426c08a13 | diff --git a/src/server/pps/server/api_server.go b/src/server/pps/server/api_server.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/api_server.go
+++ b/src/server/pps/server/api_server.go
@@ -429,10 +429,10 @@ func (a *apiServer) CreateJob(ctx context.Context, request *ppsclient.CreateJobR
if err != nil {... | Hook in the right k8s constructors for services/RCs | pachyderm_pachyderm | train |
db867ce518aea882ba0312a78c32d030c16e2a9e | diff --git a/e3x.js b/e3x.js
index <HASH>..<HASH> 100644
--- a/e3x.js
+++ b/e3x.js
@@ -164,7 +164,8 @@ exports.self = function(args){
// if still no at, set a new one
if(typeof at != 'number')
{
- at = Math.floor(Date.now()/1000);
+ // use the cached at or set a new one
+ at = ... | always use any existing at as a base so we don't depend on time sync | telehash_e3x-js | train |
c6e892369bbab70020dc8946f78c528996a39521 | diff --git a/lib/undercover/result.rb b/lib/undercover/result.rb
index <HASH>..<HASH> 100644
--- a/lib/undercover/result.rb
+++ b/lib/undercover/result.rb
@@ -12,7 +12,9 @@ module Undercover
end
def coverage_f
- covered = coverage.sum { |ln| ln[1].positive? ? 1 : 0 }
+ covered = coverage.reduce(0)... | fix for ruby <I> - replace sum with reduce | grodowski_imagen_rb | train |
88700c4a5111da9a3ba5496c0a5b9fd0021b9c3f | diff --git a/bumpy.py b/bumpy.py
index <HASH>..<HASH> 100644
--- a/bumpy.py
+++ b/bumpy.py
@@ -202,33 +202,62 @@ class _Generic:
return self
-# Decorators | attributes
-def task(func):
- '''Convert a function into a task.'''
+def _taskify(func):
global TASKS
if not isinstance(func, _Task):
func = _Task(fu... | Add support for arguments in the task decorator | scizzorz_bumpy | train |
7bb06688ae53cbb20f79beb5b882150ad5ce40f3 | diff --git a/tests/test_api.py b/tests/test_api.py
index <HASH>..<HASH> 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -91,7 +91,7 @@ class APITestCase(unittest.TestCase):
with app.test_request_context('/foo'):
resp = api.handle_error(Unauthorized())
self.assertEquals(resp.... | Fix typo in test case
Just a bug I caught while reading through the test code.
Changed `WWW-Autheneticate` to `WWW-Authenticate` | flask-restful_flask-restful | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.