hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
7d60a1b9d61d6904139ef0e35735ac807b26d075 | diff --git a/git_code_debt/util/iter.py b/git_code_debt/util/iter.py
index <HASH>..<HASH> 100644
--- a/git_code_debt/util/iter.py
+++ b/git_code_debt/util/iter.py
@@ -10,7 +10,7 @@ def chunk_iter(iterable, n):
For example you can do
for a, b in chunk_iter([1, 2, 3, 4, 5, 6], 2):
- print('{0} {1}'.for... | pyupgrade a comment | asottile_git-code-debt | train |
30ac4b0d17f88bbed0084064e0e4b95251192137 | diff --git a/repobee_plug/exthooks.py b/repobee_plug/exthooks.py
index <HASH>..<HASH> 100644
--- a/repobee_plug/exthooks.py
+++ b/repobee_plug/exthooks.py
@@ -26,6 +26,20 @@ class CloneHook:
"""Hook functions related to cloning repos."""
@hookspec
+ def clone_task(self) -> Task:
+ """Create a task... | [feat] Add clone_task hook, fix #<I> | repobee_repobee-plug | train |
e07b09e0811cec501f782eefb449941671ce733d | diff --git a/mongoctl/mongoctl.py b/mongoctl/mongoctl.py
index <HASH>..<HASH> 100644
--- a/mongoctl/mongoctl.py
+++ b/mongoctl/mongoctl.py
@@ -1674,7 +1674,11 @@ def mongo_exe_version(mongo_exe):
vers_spew = execute_command([mongo_exe, "--version"])
vers_grep = re.search(re_expr, vers_spew)
f... | Skip mongo-exes that cannot match version regex | mongolab_mongoctl | train |
e8d9208049391afb42cdcd8023531cb094df4d66 | diff --git a/activerecord/lib/active_record/tasks/mysql_database_tasks.rb b/activerecord/lib/active_record/tasks/mysql_database_tasks.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/tasks/mysql_database_tasks.rb
+++ b/activerecord/lib/active_record/tasks/mysql_database_tasks.rb
@@ -28,7 +28,7 @@ mod... | Let purge succeed when MySQL database is missing
This allows `db:purge` to be re-run if it drops the database but fails
to recreate it. The PostgreSQL and SQLite adapters already work this
way. | rails_rails | train |
a5b960c017284c9ca4c947b720189a65173c4424 | diff --git a/openxc/tools/dashboard.py b/openxc/tools/dashboard.py
index <HASH>..<HASH> 100644
--- a/openxc/tools/dashboard.py
+++ b/openxc/tools/dashboard.py
@@ -88,7 +88,7 @@ class DataPoint(object):
message_count_color)
if width >= 115:
- window.addstr(row, 95, "Freq. (Hz):... | Add a bigger gap between dashboard columns. | openxc_openxc-python | train |
d7af9882f4d690ff6324f7ec3527eb0e5bcb2a35 | diff --git a/lib/vagrant/ssh.rb b/lib/vagrant/ssh.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/ssh.rb
+++ b/lib/vagrant/ssh.rb
@@ -149,8 +149,12 @@ module Vagrant
# the actual `exec!` implementation, except that this
# implementation also reports `:exit_status` to the block if given.
def exec!(... | Allow SSH commands to ignore exit status | hashicorp_vagrant | train |
eb9f1b5393d5b4c6cb3da1d9c593fc4230f5fc6b | diff --git a/bcbio/variation/cortex.py b/bcbio/variation/cortex.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/cortex.py
+++ b/bcbio/variation/cortex.py
@@ -97,7 +97,7 @@ def _remap_cortex_out(cortex_out, region, out_file):
parts = line.split("\t")
return parts[6] == "PASS"
contig, start, _... | Remove coordinate adjustment for 0-based BED region inputs to cortex_var | bcbio_bcbio-nextgen | train |
a5ce39346d20a21651935e9b6e048575fc992b55 | diff --git a/state/logs.go b/state/logs.go
index <HASH>..<HASH> 100644
--- a/state/logs.go
+++ b/state/logs.go
@@ -63,13 +63,35 @@ func InitDbLogs(session *mgo.Session) error {
return nil
}
+// TODO(ericsnow) Tracking by timestamp can result in some messages
+// not getting sent. The most problematic case is where... | Add doc comments to lastSentDoc. | juju_juju | train |
4f8470cf474d098e21db4085e1083e85f9900095 | diff --git a/core-bundle/src/Resources/contao/library/Contao/Model.php b/core-bundle/src/Resources/contao/library/Contao/Model.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/Model.php
+++ b/core-bundle/src/Resources/contao/library/Contao/Model.php
@@ -600,18 +600,11 @@ abstract cl... | [Core] Return an empty model collection instead of `null` (see #<I>) | contao_contao | train |
30e73c78342c8397efc90d0c9dfbd9f1a7aebf8c | diff --git a/command/build_scripts.py b/command/build_scripts.py
index <HASH>..<HASH> 100644
--- a/command/build_scripts.py
+++ b/command/build_scripts.py
@@ -111,7 +111,8 @@ class build_scripts (Command):
if f:
f.close()
else:
- f.close()
+ ... | Patch #<I>. Don't attempt to call None.close() in dry-run mode. | pypa_setuptools | train |
0ba5625aaeb7219f1772cb3ccddbe1f7ec4476ae | diff --git a/res/tests/axelitus/Base/TestsNumeric.php b/res/tests/axelitus/Base/TestsNumeric.php
index <HASH>..<HASH> 100644
--- a/res/tests/axelitus/Base/TestsNumeric.php
+++ b/res/tests/axelitus/Base/TestsNumeric.php
@@ -14,6 +14,9 @@ namespace axelitus\Base;
class TestsNumeric extends TestCase
{
+ /**
+ *... | Added and fixed docblocks. | axelitus_php-base | train |
9a2b5e0b4f28aac950934d6e1c9fa1aee3574f5b | diff --git a/config-dist.php b/config-dist.php
index <HASH>..<HASH> 100644
--- a/config-dist.php
+++ b/config-dist.php
@@ -456,6 +456,12 @@ $CFG->admin = 'admin';
// To ensure they are never used even when available:
// $CFG->svgicons = false;
//
+// Some administration options allow setting the path to executa... | MDL-<I> Add config option to prevent changes to configexecutable settings | moodle_moodle | train |
60d453a1e8fe65e411c6ad0555c41cef91691cb9 | diff --git a/assets/js/wysiwyg/redactor.js b/assets/js/wysiwyg/redactor.js
index <HASH>..<HASH> 100644
--- a/assets/js/wysiwyg/redactor.js
+++ b/assets/js/wysiwyg/redactor.js
@@ -76,8 +76,8 @@ define(function(require) {
// Enable file uploads
if (allow_uploads) {
config = _.defaults(config, {
- uploadImage... | Fixing the name of the meta token | BKWLD_decoy | train |
4731e74d4802888756a57e0010acd586ddee9e60 | diff --git a/assets/samples/sample_broadcast_receiver.rb b/assets/samples/sample_broadcast_receiver.rb
index <HASH>..<HASH> 100644
--- a/assets/samples/sample_broadcast_receiver.rb
+++ b/assets/samples/sample_broadcast_receiver.rb
@@ -1,6 +1,9 @@
-require 'ruboto'
+require 'ruboto/broadcast_receiver'
# will get call... | Update sample to match new ruboto split | ruboto_ruboto | train |
9368075c81355afa7c3b10aef7c8c9b4cc264f20 | diff --git a/features/creating_a_new_project.feature b/features/creating_a_new_project.feature
index <HASH>..<HASH> 100644
--- a/features/creating_a_new_project.feature
+++ b/features/creating_a_new_project.feature
@@ -5,8 +5,8 @@ Feature: Creating a New Project
Scenario: Set up your project and verify that you ca... | Creating a new project reads more concisely | RiverGlide_CukeSalad | train |
767ce7c30ab9fec6e3a0bbe5108b3160b1ebdf27 | diff --git a/modules/googlemap/placehierarchy.php b/modules/googlemap/placehierarchy.php
index <HASH>..<HASH> 100644
--- a/modules/googlemap/placehierarchy.php
+++ b/modules/googlemap/placehierarchy.php
@@ -157,8 +157,11 @@ function create_map() {
WT_DB::prepare("SELECT pl_place, pl_id, pl_lati, pl_long, pl_zoom, sv... | Minor Adjustment for Style when Google Street View is enabled | fisharebest_webtrees | train |
214817ed1765a1df5727d295e05120fc68b4b6d1 | diff --git a/p2p/switch.go b/p2p/switch.go
index <HASH>..<HASH> 100644
--- a/p2p/switch.go
+++ b/p2p/switch.go
@@ -547,7 +547,9 @@ func (sw *Switch) addPeer(pc peerConn) error {
// All good. Start peer
if sw.IsRunning() {
- sw.startInitPeer(peer)
+ if err = sw.startInitPeer(peer); err != nil {
+ return err
+ ... | do not add peer to switch if it fails to start | tendermint_tendermint | train |
ed088741fab2772325283cbf003ce2feeccc4490 | diff --git a/concrete/src/Service/Configuration/HTTP/NginxGenerator.php b/concrete/src/Service/Configuration/HTTP/NginxGenerator.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Service/Configuration/HTTP/NginxGenerator.php
+++ b/concrete/src/Service/Configuration/HTTP/NginxGenerator.php
@@ -2,9 +2,9 @@
namespace Co... | Faster nginx rewrite rule (#<I>)
* Faster nginx rewrite rule
* Wrap variables with brackets | concrete5_concrete5 | train |
6ac2563ffc676826231423e666e363fb4a583136 | diff --git a/test/main-tests/test.js b/test/main-tests/test.js
index <HASH>..<HASH> 100644
--- a/test/main-tests/test.js
+++ b/test/main-tests/test.js
@@ -200,49 +200,40 @@ describe('EslintValidationFilter', function() {
});
it('throws when `throwOnError` is set and result severity is >= 2', function() {
- r... | Use "chai-as-promised" in tests | ember-cli_broccoli-lint-eslint | train |
8312d59d24c774a207caaede8d0eb499900e2845 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,12 +4,12 @@ var validator = require('is-my-json-valid/require');
var validate = validator('./schema.json');
module.exports = function (data, cb) {
- if (!data) {
- return false;
+ var valid = false;... | better tests and better handle of undefined data | ahmadnassri_node-har-validator | train |
b21e41a4cc14b05e3fa214b07bc10d6df92873b3 | diff --git a/alignak/macroresolver.py b/alignak/macroresolver.py
index <HASH>..<HASH> 100644
--- a/alignak/macroresolver.py
+++ b/alignak/macroresolver.py
@@ -216,10 +216,12 @@ class MacroResolver(Borg):
else:
return unicode(value)
except AttributeError:
- # Raise a war... | Remove unresolved macro warning log | Alignak-monitoring_alignak | train |
a1ff701d8f30eb4bee7b12a9657c5533dbde0391 | diff --git a/validationframework-core/src/main/java/com/github/validationframework/base/rule/string/StringRegexRule.java b/validationframework-core/src/main/java/com/github/validationframework/base/rule/string/StringRegexRule.java
index <HASH>..<HASH> 100644
--- a/validationframework-core/src/main/java/com/github/valid... | Fixed NPE in StringRegexRule when data is null | padrig64_ValidationFramework | train |
420dc32bf0e61df9b1bd55e5436ece5749c243f6 | diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js
index <HASH>..<HASH> 100644
--- a/components/lib/calendar/Calendar.js
+++ b/components/lib/calendar/Calendar.js
@@ -975,7 +975,13 @@ export const Calendar = React.memo(React.forwardRef((props, ref) => {
// previous (check fi... | Fix #<I>: Calendar min/max corrected (#<I>) | primefaces_primereact | train |
b1533604da5cc9cc68462d141afccfdded27ccf8 | diff --git a/models/classes/resources/ResourceWatcher.php b/models/classes/resources/ResourceWatcher.php
index <HASH>..<HASH> 100644
--- a/models/classes/resources/ResourceWatcher.php
+++ b/models/classes/resources/ResourceWatcher.php
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
*... | fix: goes with async events for indexing only advanced search is enabled | oat-sa_tao-core | train |
d2a11708f4e32ef1ecaa46d170ee37381c7788eb | diff --git a/code/libraries/koowa/libraries/database/table/abstract.php b/code/libraries/koowa/libraries/database/table/abstract.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/libraries/database/table/abstract.php
+++ b/code/libraries/koowa/libraries/database/table/abstract.php
@@ -541,7 +541,9 @@ abstract ... | re #<I>: Set the identity column for all multiple select modes | timble_kodekit | train |
263b542824d4a0fa04400a232c92200ae1eae898 | diff --git a/gulp-tasks/styles.js b/gulp-tasks/styles.js
index <HASH>..<HASH> 100644
--- a/gulp-tasks/styles.js
+++ b/gulp-tasks/styles.js
@@ -27,7 +27,7 @@ function swallowError(error) {
global.gulp.task('sass-form-build', ['sass-form'], function(){
var src = [
- global.buildFolder + "main.css"
+ global.buildFo... | Fixed css dist build issue. | space10-community_conversational-form | train |
d5ee4fdb51ae246a3c6e66f095b938322f0a6251 | diff --git a/addon/components/ember-remodal.js b/addon/components/ember-remodal.js
index <HASH>..<HASH> 100644
--- a/addon/components/ember-remodal.js
+++ b/addon/components/ember-remodal.js
@@ -9,6 +9,7 @@ const {
RSVP: { Promise },
run: { next, scheduleOnce },
sendEvent,
+ warn,
Component
} = Ember;
@... | Added a warning for when "close" is called on a modal that hasn't been initialized | sethbrasile_ember-remodal | train |
838b67afc8877d2c2e742cdd3724134d1e87f902 | diff --git a/js/btcmarkets.js b/js/btcmarkets.js
index <HASH>..<HASH> 100644
--- a/js/btcmarkets.js
+++ b/js/btcmarkets.js
@@ -598,24 +598,20 @@ module.exports = class btcmarkets extends Exchange {
} else {
side = 'sell';
}
+ const marketId = this.safeString (trade, 'marketId');
+ ... | [btcmarkets] v3 api - refacting market symbol lookup | ccxt_ccxt | train |
4a9a39804a68cabf976e36127f2cf0b21b37f8e6 | diff --git a/parsl/app/futures.py b/parsl/app/futures.py
index <HASH>..<HASH> 100644
--- a/parsl/app/futures.py
+++ b/parsl/app/futures.py
@@ -63,7 +63,6 @@ class DataFuture(Future):
else:
raise ValueError("DataFuture must be initialized with a str or File")
self.parent = fut
- sel... | Remove unused _exception member (#<I>) | Parsl_parsl | train |
d6e57068be08291c1c421fb62fe77eb14f6e5e1a | diff --git a/lib/virtualbox/hard_drive.rb b/lib/virtualbox/hard_drive.rb
index <HASH>..<HASH> 100644
--- a/lib/virtualbox/hard_drive.rb
+++ b/lib/virtualbox/hard_drive.rb
@@ -117,6 +117,11 @@ module VirtualBox
bytes_to_megabytes(read_attribute(:physical_size))
end
+ # Get an array of machines attached ... | HardDrive#machines returns an array of machines attached to the drive [closes GH-<I>] | mitchellh_virtualbox | train |
f28133a6f7308abe947429274181e8a77b02f5e8 | diff --git a/doc/api.md b/doc/api.md
index <HASH>..<HASH> 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -132,7 +132,7 @@
* api\_bits\_url\_by\_id = 'https://cid-{user_id}.users.storage.live.com/items/{folder_id}/{filename}'
- * api\_bits\_url\_by\_path = 'https://cid-{user_id}.users.storage.live.com/users/0x{... | api: fix special-case uploads to the root path | mk-fg_python-onedrive | train |
c68a36c26efb5b0c8c12e64384d4a667a65bbf59 | diff --git a/openprovider/models.py b/openprovider/models.py
index <HASH>..<HASH> 100644
--- a/openprovider/models.py
+++ b/openprovider/models.py
@@ -379,7 +379,29 @@ class SSLOrder(Model):
certificate
rootCertificate
"""
- pass
+
+ @property
+ def validation_details(self):
+ details = [... | Add DV validation details to SSLOrder | AntagonistHQ_openprovider.py | train |
6acaed69b9699cfff970950dbe32c137f50fabbf | diff --git a/citrination_client/util/tests/test_credentials.py b/citrination_client/util/tests/test_credentials.py
index <HASH>..<HASH> 100644
--- a/citrination_client/util/tests/test_credentials.py
+++ b/citrination_client/util/tests/test_credentials.py
@@ -4,6 +4,21 @@ from citrination_client.base.errors import Citri... | Prevent creds test from destroying env vars | CitrineInformatics_python-citrination-client | train |
634fa90a0df46168fa64bf0a19251b93ecebf989 | diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/autoconfig/TraceEnvironmentPostProcessor.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/autoconfig/TraceEnvironmentPostProcessor.java
index <HASH>..<HASH> 100644
--- a/spring-cloud-sleuth-core/src/main/j... | Display overriden service name in logs (addition to #<I>) (#<I>)
Use `spring.zipkin.service.name` if present. | spring-cloud_spring-cloud-sleuth | train |
8c4e9a5540e468e92829be32de41545eab7a8cba | diff --git a/flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogKeyedStateBackend.java b/flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogKeyedStateBackend.java
index <HASH>..<HASH> 100644
--- a/flink-state-b... | [FLINK-<I>][state] Remove checkpoint abortion notification of notify backend
The notification currently causes an exception and adds complexity.
It's also not necessary, unlikely to be delivered (because of the
difference in checkpoint/materialization intervals) and unlikely to be
utilized (it will arrive only after t... | apache_flink | train |
c44d819547ad4a278c98712128f228cde2267832 | diff --git a/acorn-to-esprima.js b/acorn-to-esprima.js
index <HASH>..<HASH> 100644
--- a/acorn-to-esprima.js
+++ b/acorn-to-esprima.js
@@ -175,7 +175,7 @@ function convertTemplateType(tokens) {
var astTransformVisitor = {
noScope: true,
exit: function (node, parent) {
- if (t.isSpreadProperty(node)) {
+ if... | port babel-eslint path-based introspection, fixup tests | jscs-dev_babel-jscs | train |
db9553315cb99e66f5eae44d46ad5dd0c921c01a | diff --git a/spyder/plugins/help.py b/spyder/plugins/help.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/help.py
+++ b/spyder/plugins/help.py
@@ -834,9 +834,12 @@ class Help(SpyderPluginWidget):
def save_history(self):
"""Save history to a text file in user home directory"""
- open(self.L... | Help: Catch possible errors when writing its history to disk | spyder-ide_spyder | train |
1b19ad9b59adcb63bb6f2be1edada53fe0675027 | diff --git a/lib/active_admin/filters/resource_extension.rb b/lib/active_admin/filters/resource_extension.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/filters/resource_extension.rb
+++ b/lib/active_admin/filters/resource_extension.rb
@@ -98,9 +98,9 @@ module ActiveAdmin
# Returns a default set of filt... | Only use association reflections for filters
Edge Case:
Model.reflections typically only returns association reflections.
However, there is a case where it may return other reflections. For
instance, if a model uses the `compose_of` macro, the attribute for
which `composed_of` is called shows up as a reflection, desp... | activeadmin_activeadmin | train |
6a21379c05af049072be205b1c997ca8632f4529 | diff --git a/jnrbase/iso_8601.py b/jnrbase/iso_8601.py
index <HASH>..<HASH> 100644
--- a/jnrbase/iso_8601.py
+++ b/jnrbase/iso_8601.py
@@ -33,7 +33,7 @@ class UTC(datetime.tzinfo):
def __repr__(self):
return '%s()' % (self.__class__.__name__)
- # pylint: disable-msg=W0613
+ # pylint: disable=unuse... | [Tr] Update pylint directives | JNRowe_jnrbase | train |
3abafe54da620261c9dbf07878eb9a5978d21ce2 | diff --git a/api/src/main/java/io/minio/Digest.java b/api/src/main/java/io/minio/Digest.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/io/minio/Digest.java
+++ b/api/src/main/java/io/minio/Digest.java
@@ -56,7 +56,7 @@ public class Digest {
sha256Digest.update((byte[]) data, 0, len);
} else {
... | fix SSE-KMS to handle context properly (#<I>) | minio_minio-java | train |
535a124e474f8b0728b7a32415a4ed2fecf92109 | diff --git a/lib/unread/acts_as_readable.rb b/lib/unread/acts_as_readable.rb
index <HASH>..<HASH> 100644
--- a/lib/unread/acts_as_readable.rb
+++ b/lib/unread/acts_as_readable.rb
@@ -115,7 +115,7 @@ module Unread
if oldest_timestamp
# Delete markers OLDER than this timestamp and move the globa... | Fixed "cleanup" method: Added missing scope to not delete read_marks from other readables | ledermann_unread | train |
edd7107a37afe14b75d9dd467b0511b876b59a95 | diff --git a/lib/plugins/load-plugin.js b/lib/plugins/load-plugin.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/load-plugin.js
+++ b/lib/plugins/load-plugin.js
@@ -420,7 +420,7 @@ var initReq = function(req, res, isServer) {
var fullUrl = getValue(req, pluginOpts.FULL_URL_HEADER);
oReq.url = oReq.fullUrl = ful... | req.url => req.originalUrl | avwo_whistle | train |
b5655dd516c34adbe01ea77692e7b5db44e8253f | diff --git a/jmock/src/java/org/jmock/C.java b/jmock/src/java/org/jmock/C.java
index <HASH>..<HASH> 100644
--- a/jmock/src/java/org/jmock/C.java
+++ b/jmock/src/java/org/jmock/C.java
@@ -1,12 +1,23 @@
/* Copyright (c) 2000-2003, jMock.org. See LICENSE.txt */
package org.jmock;
-import org.jmock.constraint.*;
-impor... | Fixed some coding convention violations detected by PMD | jmock-developers_jmock-library | train |
ee300ba7ae9fae4defa902a8ff2426d206a00a99 | diff --git a/internal/pkg/zebra/zapi.go b/internal/pkg/zebra/zapi.go
index <HASH>..<HASH> 100644
--- a/internal/pkg/zebra/zapi.go
+++ b/internal/pkg/zebra/zapi.go
@@ -1377,7 +1377,7 @@ func NewClient(network, address string, typ RouteType, version uint8, software s
// Start receive loop only when the first message ... | zebra: close the incoming channel
In general the writer should close the channel, thus we can close the channel here directly.
If zebra has disconnected the `closeChannel` method will in most cases not even close the channel
because no more messages can be received on it. | osrg_gobgp | train |
66a36539b3585f782a1c6793f0653293f9d9e8e5 | diff --git a/tests/testall.py b/tests/testall.py
index <HASH>..<HASH> 100644
--- a/tests/testall.py
+++ b/tests/testall.py
@@ -19,12 +19,6 @@ class TestConstructor(unittest.TestCase):
self.assertEquals(self.ina._shunt_ohms, 0.1)
self.assertEquals(self.ina._max_expected_amps, 0.4)
- @patch('Adafru... | Fix unit tests so they pass in Travis CI | chrisb2_pi_ina219 | train |
b1b6fc84a932a4ee2376715310aae0986955bb0b | diff --git a/lib/redis/connection/memory.rb b/lib/redis/connection/memory.rb
index <HASH>..<HASH> 100644
--- a/lib/redis/connection/memory.rb
+++ b/lib/redis/connection/memory.rb
@@ -611,8 +611,9 @@ class Redis
def hincrby(key, field, increment)
data_type_check(key, Hash)
+ field = field.to_s
... | fixing field type coersion for hincrby | guilleiguaran_fakeredis | train |
712ddb1942d24e0b1421bb746286bd0a511ca136 | diff --git a/feature_any_number.go b/feature_any_number.go
index <HASH>..<HASH> 100644
--- a/feature_any_number.go
+++ b/feature_any_number.go
@@ -1,8 +1,6 @@
package jsoniter
-import (
- "unsafe"
-)
+import "unsafe"
type numberLazyAny struct {
baseAny
diff --git a/feature_iter_int.go b/feature_iter_int.go
inde... | fix negative number to uint | json-iterator_go | train |
6d560f03fe5df9e03f8f0c1035cf5a2fc7604426 | diff --git a/parser/parser.go b/parser/parser.go
index <HASH>..<HASH> 100644
--- a/parser/parser.go
+++ b/parser/parser.go
@@ -1450,7 +1450,8 @@ func (p *parser) declClause() *ast.DeclClause {
ds.Opts = append(ds.Opts, p.word())
}
for !p.newLine && !stopToken(p.tok) && !p.peekRedir() {
- if p.asPos > 0 && valid... | parser: fix crash if weird tokens follow a declare
We were calling getAssign() without checking if we had a literal, which
was causing an index out of bounds crash. | mvdan_sh | train |
0e54238559098c8c960193d4416b16ad7590c156 | diff --git a/logger.go b/logger.go
index <HASH>..<HASH> 100644
--- a/logger.go
+++ b/logger.go
@@ -52,7 +52,7 @@ type BeeLogger struct {
// LogRecord represents a log record and contains the timestamp when the record
// was created, an increasing id, level and the actual formatted log line.
type LogRecord struct {
-... | Included leading zeros for the log record ID | beego_bee | train |
676fdfa955b1ef51bff649cc3d2cc88b80f84455 | diff --git a/geomdl/Abstract.py b/geomdl/Abstract.py
index <HASH>..<HASH> 100644
--- a/geomdl/Abstract.py
+++ b/geomdl/Abstract.py
@@ -212,7 +212,7 @@ class Curve(object):
if self._bounding_box is None or len(self._bounding_box) == 0:
self._eval_bbox()
- return self._bounding_box
+ ... | Fixed a bug which causes issues when we try to reset bounding box | orbingol_NURBS-Python | train |
9b6a190e6d46b11b4565322626c702caecff9d8b | diff --git a/module/__init__.py b/module/__init__.py
index <HASH>..<HASH> 100644
--- a/module/__init__.py
+++ b/module/__init__.py
@@ -452,7 +452,7 @@ class List(Protobj):
def to_atoms(self):
""" A helper for converting a List of chars to an array of atoms """
- return struct.unpack("=" + "I" * (... | atoms are always little endian
It seems that atom values are always little endian. In principle this
should be specified somewhere, but I could only find a mention of something
related here:
<URL> | tych0_xcffib | train |
e8a6af1c518bdb150c3172cb0565f54fb972bd66 | diff --git a/src/org/dita/dost/reader/GenListModuleReader.java b/src/org/dita/dost/reader/GenListModuleReader.java
index <HASH>..<HASH> 100644
--- a/src/org/dita/dost/reader/GenListModuleReader.java
+++ b/src/org/dita/dost/reader/GenListModuleReader.java
@@ -1539,6 +1539,8 @@ public class GenListModuleReader extends Ab... | Keydef with no href causes hard failure - ID: <I> | dita-ot_dita-ot | train |
0c590c0dd82af9f95c6d5b6d45bc00294639fae1 | 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
@@ -2,10 +2,7 @@ require 'rubygems'
require 'pathname'
DIR = Pathname.new(__FILE__ + '../..').expand_path.dirname
-LOAD_PATH = DIR.join('lib').to_s
-$LOAD_PATH.unshift(LOAD_PATH) un... | Remove more unnecessary LOAD_PATH fiddling | Empact_roxml | train |
c9c4c8f0f320b4161ee390b40014deb1d6d6d99b | diff --git a/http-client/src/main/java/io/micronaut/http/client/DefaultHttpClient.java b/http-client/src/main/java/io/micronaut/http/client/DefaultHttpClient.java
index <HASH>..<HASH> 100644
--- a/http-client/src/main/java/io/micronaut/http/client/DefaultHttpClient.java
+++ b/http-client/src/main/java/io/micronaut/http... | Remove ReadTimeoutHandler from pipeline for websocket | micronaut-projects_micronaut-core | train |
5feef9753d0c4a3d7652032acb4f766091ed675a | diff --git a/closure/goog/async/nexttick.js b/closure/goog/async/nexttick.js
index <HASH>..<HASH> 100644
--- a/closure/goog/async/nexttick.js
+++ b/closure/goog/async/nexttick.js
@@ -82,7 +82,7 @@ goog.async.nextTick.getSetImmediateEmulator_ = function() {
var iframe = document.createElement('iframe');
if... | Use document.documentElement instead of document.body to place the iframe used for MessageChannel emulation in Firefox because document.body may not yet exist.
-------------
Created by MOE: <URL> | google_closure-library | train |
bb998d1738f6d0c722892b68b43cbefc23c6ec9d | diff --git a/lib/Doctrine/ORM/Mapping/Driver/AbstractFileDriver.php b/lib/Doctrine/ORM/Mapping/Driver/AbstractFileDriver.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Mapping/Driver/AbstractFileDriver.php
+++ b/lib/Doctrine/ORM/Mapping/Driver/AbstractFileDriver.php
@@ -61,6 +61,23 @@ abstract class AbstractFil... | Emulating feature that has to be moved to Doctrine\Common | doctrine_orm | train |
e5dff007e59bc6b8e28e021dbde46ea03207b8f2 | diff --git a/src/rich_text_editor/model/RichTextEditor.js b/src/rich_text_editor/model/RichTextEditor.js
index <HASH>..<HASH> 100644
--- a/src/rich_text_editor/model/RichTextEditor.js
+++ b/src/rich_text_editor/model/RichTextEditor.js
@@ -238,8 +238,11 @@ export default class RichTextEditor {
}
__onKeydown(even... | Avoid inserting default line breaks in RTE with insertOrderedList/insertUnorderedList commands. Fixes #<I> | artf_grapesjs | train |
4fdbffdf47c11c188b6ff248bc6e84053bde5543 | diff --git a/src/main/java/com/github/ansell/csvsum/CSVSummariser.java b/src/main/java/com/github/ansell/csvsum/CSVSummariser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/ansell/csvsum/CSVSummariser.java
+++ b/src/main/java/com/github/ansell/csvsum/CSVSummariser.java
@@ -130,7 +130,8 @@ public final ... | type possiblePrimaryKey as boolean in schema | ansell_csvsum | train |
67cc861d60b7231bfcd932ef62aa6dbd619277ee | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
setup(name='perseuspy',
version='0.1',
@@ -7,7 +7,7 @@ setup(name='perseuspy',
author='Jan Rudolph',
a... | recursively add packages to installation | cox-labs_perseuspy | train |
87132ed1553654b90cad96ecf2c9a7a55fa80d05 | diff --git a/openquake/commonlib/calc.py b/openquake/commonlib/calc.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/calc.py
+++ b/openquake/commonlib/calc.py
@@ -640,8 +640,12 @@ class RuptureGetter(object):
self.dstore.open() # if needed
oq = self.dstore['oqparam']
grp_trt = self.d... | Used grp_id in the ruptures [skip hazardlib] | gem_oq-engine | train |
6cba187182ced0f16375cff3be7da21365660592 | diff --git a/pyscrypt/__init__.py b/pyscrypt/__init__.py
index <HASH>..<HASH> 100644
--- a/pyscrypt/__init__.py
+++ b/pyscrypt/__init__.py
@@ -35,6 +35,6 @@
from pyscrypt.file import InvalidScryptFileFormat, ScryptFile
from pyscrypt.hash import hash
-VERSION = [1, 2, 0]
+VERSION = [1, 2, 1]
__all__ = ['hash', 'I... | Updated version for pypi. | ricmoo_pyscrypt | train |
79146ab03817cc080ecc72b9992492628d803a6d | diff --git a/src/info/litecoin.js b/src/info/litecoin.js
index <HASH>..<HASH> 100644
--- a/src/info/litecoin.js
+++ b/src/info/litecoin.js
@@ -18,7 +18,7 @@ export const litecoinInfo: AbcCurrencyInfo = {
// Configuration options:
defaultSettings: {
- forks: ['litecoincash'],
+ forks: [],
network: {
... | Update litecoin.js
removed "litecoincash" until we actually add it to the plugin. | EdgeApp_edge-currency-bitcoin | train |
6bf12510d98b5a619e234105914a38f42967ed6b | diff --git a/lib/assemble.js b/lib/assemble.js
index <HASH>..<HASH> 100644
--- a/lib/assemble.js
+++ b/lib/assemble.js
@@ -746,11 +746,11 @@ Assemble.prototype.template = function(type, plural, options) {
file.type = type;
// Dispatch routes
- this._router.dispatch(file, function (err) {
- i... | Using dispatchSync
Using dispatchSync to ensure the routes are complete before returning. | assemble_assemble | train |
2cbb0050da173b137c30bb814b0c5969e17df283 | diff --git a/library/src/pivotal-ui-react/tabs/large_tabs.js b/library/src/pivotal-ui-react/tabs/large_tabs.js
index <HASH>..<HASH> 100644
--- a/library/src/pivotal-ui-react/tabs/large_tabs.js
+++ b/library/src/pivotal-ui-react/tabs/large_tabs.js
@@ -10,7 +10,7 @@ const types = React.PropTypes;
class LargeTabs extends... | chore(Tabs): Fix propType validation for activeKey | pivotal-cf_pivotal-ui | train |
fe4904a3a315c23bff12c9315efe37bad2ea3f52 | diff --git a/record_test.go b/record_test.go
index <HASH>..<HASH> 100644
--- a/record_test.go
+++ b/record_test.go
@@ -619,13 +619,11 @@ func TestRecordFieldFixedDefaultValue(t *testing.T) {
func TestRecordFieldLongDefaultValue(t *testing.T) {
t.Run("success", func(t *testing.T) {
codec, err := NewCodec(`{"type":... | skipped test case added #<I>, #<I> | linkedin_goavro | train |
7a33d6de23e0594915efff64269122dc599e395b | diff --git a/src/react/src/routes/SprkInputDocs/SprkSelectionInputDocs/SprkSelectionInputDocs.js b/src/react/src/routes/SprkInputDocs/SprkSelectionInputDocs/SprkSelectionInputDocs.js
index <HASH>..<HASH> 100644
--- a/src/react/src/routes/SprkInputDocs/SprkSelectionInputDocs/SprkSelectionInputDocs.js
+++ b/src/react/src... | remove defaultvalue from select choices as it needs to be on the select itself | sparkdesignsystem_spark-design-system | train |
3099fdd5c4350d602d0417bccd66a3caf8c2f607 | diff --git a/gwpy/io/nds2.py b/gwpy/io/nds2.py
index <HASH>..<HASH> 100644
--- a/gwpy/io/nds2.py
+++ b/gwpy/io/nds2.py
@@ -423,8 +423,6 @@ def find_channels(channels, connection=None, host=None, port=None,
elif sample_rate is None:
sample_rate = tuple()
- online = Nds2ChannelType.ONLINE.value
-
... | gwpy.io: removed unnecessary variable | gwpy_gwpy | train |
b082d6739a6d75dd96792dd52997a42a9cd2b2e4 | diff --git a/Gopkg.lock b/Gopkg.lock
index <HASH>..<HASH> 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -166,8 +166,8 @@
[[projects]]
name = "gocv.io/x/gocv"
packages = ["."]
- revision = "65d6ebdd323af342cc48ac0d146ef7ad16b33fbc"
- version = "v0.9.0"
+ revision = "ab6d932219faf43e531eea89ef3496cdb67aa734"
+ v... | opencv: update to latest version of GoCV | hybridgroup_gobot | train |
4a1e076a69320538833ab56e99c7f680e2d0c96c | diff --git a/lib/lumber/lumber.rb b/lib/lumber/lumber.rb
index <HASH>..<HASH> 100644
--- a/lib/lumber/lumber.rb
+++ b/lib/lumber/lumber.rb
@@ -63,6 +63,10 @@ module Lumber
self.register_inheritance_handler()
end
+ def self.find_or_create_logger(fullname)
+ Log4r::Logger[fullname] || Log4r::Logger.new(full... | fix to allow overriding specific logger levels in yml | wr0ngway_lumber | train |
b559d4c2509f1ec1b83bd061dfcab3079d6d44b2 | diff --git a/angr/simos.py b/angr/simos.py
index <HASH>..<HASH> 100644
--- a/angr/simos.py
+++ b/angr/simos.py
@@ -965,7 +965,7 @@ class SimWindows(SimOS):
exc_state.mem[exc_state.regs._esp + 8].uint32_t = context
# let's go let's go!
- successors.add_successor(exc_state, self._exception_hand... | Use correct guard for adding exception successors | angr_angr | train |
5b3194a76cf64935c138fcfcea67ba4a3903b0f0 | diff --git a/dragnet/model_training.py b/dragnet/model_training.py
index <HASH>..<HASH> 100644
--- a/dragnet/model_training.py
+++ b/dragnet/model_training.py
@@ -76,7 +76,7 @@ class DragnetModelTrainer(object):
elif training_or_test == 'test':
data_for_features = data.test_data
else:
- ... | Added code to train a model start to finish | dragnet-org_dragnet | train |
d6d4e8b26aaaa3bb09601e2fcc154ed3eb8c3e94 | diff --git a/lib/gollum/frontend/templates/editor.mustache b/lib/gollum/frontend/templates/editor.mustache
index <HASH>..<HASH> 100644
--- a/lib/gollum/frontend/templates/editor.mustache
+++ b/lib/gollum/frontend/templates/editor.mustache
@@ -1,15 +1,20 @@
<div id="gollum-editor">
+{{#is_create_page}}
<form name="gol... | Getting edit/create flows working, changing flag names | gollum_gollum-lib | train |
c2592017e081ac5c9d44bd9fcc12fcb87f151e4c | diff --git a/lxd/storage/drivers/driver_cephfs.go b/lxd/storage/drivers/driver_cephfs.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_cephfs.go
+++ b/lxd/storage/drivers/driver_cephfs.go
@@ -140,7 +140,12 @@ func (d *cephfs) Create() error {
}
// Mount the pool.
- uri := fmt.Sprintf("%s:6789:/", s... | lxd/storage/ceph: Support port in URL | lxc_lxd | train |
3cf26ede2ccf742c367090fda8fdab9adec2db40 | diff --git a/src/main/java/net/jodah/failsafe/ExecutionResult.java b/src/main/java/net/jodah/failsafe/ExecutionResult.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/jodah/failsafe/ExecutionResult.java
+++ b/src/main/java/net/jodah/failsafe/ExecutionResult.java
@@ -103,7 +103,9 @@ public class ExecutionResult ... | ExecutionResult should avoid unnecessary object allocations | jhalterman_failsafe | train |
4fe41aabbaa4e018ea4e0ae5e42e53859ac65f58 | diff --git a/src/Channel/Dispatcher/BroadcastingDispatcher.php b/src/Channel/Dispatcher/BroadcastingDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/Channel/Dispatcher/BroadcastingDispatcher.php
+++ b/src/Channel/Dispatcher/BroadcastingDispatcher.php
@@ -17,7 +17,7 @@ class BroadcastingDispatcher implements Message... | broadcasting with empty message handlers | SimplyCodedSoftware_integration-messaging | train |
e9afabf2cf780fde9c3545fb284f2c1c325f532f | diff --git a/persistence/jdbc/src/test/java/org/infinispan/persistence/jdbc/binary/JdbcBinaryStoreTest.java b/persistence/jdbc/src/test/java/org/infinispan/persistence/jdbc/binary/JdbcBinaryStoreTest.java
index <HASH>..<HASH> 100644
--- a/persistence/jdbc/src/test/java/org/infinispan/persistence/jdbc/binary/JdbcBinaryS... | ISPN-<I> Re-add the JdbcBinaryStore size test
Make sure immortal and mortal keys can end up in the same bucket. | infinispan_infinispan | train |
a035555b861864f3fa68cc942f57a1f49822b125 | diff --git a/src/main/java/net/wouterdanes/docker/provider/RemoteApiBasedDockerProvider.java b/src/main/java/net/wouterdanes/docker/provider/RemoteApiBasedDockerProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/wouterdanes/docker/provider/RemoteApiBasedDockerProvider.java
+++ b/src/main/java/net/wouterd... | Now use StopContainer instead of KillContainer.
This will allow for graceful shutdowns. | wouterd_docker-maven-plugin | train |
ba0d8f7b78a2c9459347f96cc753e1fd77bb8797 | diff --git a/state/backups/package_test.go b/state/backups/package_test.go
index <HASH>..<HASH> 100644
--- a/state/backups/package_test.go
+++ b/state/backups/package_test.go
@@ -6,9 +6,13 @@ package backups_test
import (
stdtesting "testing"
+ "github.com/juju/utils/os"
+
"github.com/juju/juju/testing"
)
fu... | Don't run state or state/backup tests on non-Ubuntu machines. | juju_juju | train |
79f770d614f4b15698e3574da0c9021a928c53ef | diff --git a/lib/api_hammer/faraday/request_logger.rb b/lib/api_hammer/faraday/request_logger.rb
index <HASH>..<HASH> 100644
--- a/lib/api_hammer/faraday/request_logger.rb
+++ b/lib/api_hammer/faraday/request_logger.rb
@@ -122,8 +122,8 @@ module ApiHammer
body_info = [['request', filtered_request_body, req... | no need to check if filtered_body now | notEthan_api_hammer | train |
8bba02a4b0bd2a91eba59af161d43f339f784508 | diff --git a/docs/src/modules/components/AppLayoutDocs.js b/docs/src/modules/components/AppLayoutDocs.js
index <HASH>..<HASH> 100644
--- a/docs/src/modules/components/AppLayoutDocs.js
+++ b/docs/src/modules/components/AppLayoutDocs.js
@@ -14,6 +14,9 @@ import AdManager from 'docs/src/modules/components/AdManager';
imp... | [docs] Fix layout regression (#<I>) | mui-org_material-ui | train |
3e143e9a025f619f2b6e6c7bc266b6e63028ba29 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@
## 0.30.0 (06/04/2015)
### New features
-
+* [#1767](https://github.com/bbatsov/rubocop/pull/1767): Do not register offenses on non-enumerable select/find_all by `Performance/Detect`. ([@palkan... | [Fix #<I>] Do not register offenses on non-enumerable select/find_all | rubocop-hq_rubocop | train |
13c302d8af64c8003be37706eebdec1aeaa72e1b | diff --git a/java/tests/com/google/template/soy/PerInputOutputFilesTest.java b/java/tests/com/google/template/soy/PerInputOutputFilesTest.java
index <HASH>..<HASH> 100644
--- a/java/tests/com/google/template/soy/PerInputOutputFilesTest.java
+++ b/java/tests/com/google/template/soy/PerInputOutputFilesTest.java
@@ -20,20... | Fix flaky //third_party/java_src/soy/opensource:verify_open_source_build_test
The error was that an args4j OptionalHandler wasn't registered for java.nio.file.Path. This OptionHandler gets registered at <URL>([]- After: 0 failues ([]
GITHUB_BREAKING_CHANGES=none
-------------
Created by MOE: <URL> | google_closure-templates | train |
8719514d2891fca74c05bef5e6a62d6aea37f07a | diff --git a/util.py b/util.py
index <HASH>..<HASH> 100644
--- a/util.py
+++ b/util.py
@@ -287,7 +287,8 @@ def get_real_user(config_dict):
return username
# Returns the config dict
-def parse_args(config_dict=shutit_global.config_dict):
+def parse_args():
+ config_dict = shutit_global.config_dict
config_dict['ho... | No need for this to be an argument | ianmiell_shutit | train |
bd76ac85db2f3236c14c159cda741e7fd8011f19 | diff --git a/clientv3/integration/network_partition_test.go b/clientv3/integration/network_partition_test.go
index <HASH>..<HASH> 100644
--- a/clientv3/integration/network_partition_test.go
+++ b/clientv3/integration/network_partition_test.go
@@ -19,7 +19,6 @@ package integration
import (
"context"
"errors"
- "str... | clientv3/integration: move isServerCtxTimeout to server_shutdown_test.go
Tests with cluster_proxy tags were failing, since isServerCtxTimeout
was defined with "+build !cluster_proxy". | etcd-io_etcd | train |
d682c705858e23f28af74e16a6d00dc68feba35d | diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/base.rb
+++ b/lib/sinatra/base.rb
@@ -1654,14 +1654,10 @@ module Sinatra
# Special case handling.
#
- if segment = segments.pop
- if segment.match(/\[\^\\\./)
- p... | refactor Base.compile: modified the handling of special cases | sinatra_sinatra | train |
1426f663195c73126edec2a120336f338a936d31 | diff --git a/sos/report/plugins/networkmanager.py b/sos/report/plugins/networkmanager.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/networkmanager.py
+++ b/sos/report/plugins/networkmanager.py
@@ -43,7 +43,8 @@ class NetworkManager(Plugin, RedHatPlugin, UbuntuPlugin):
"general" # >= 0.9.9
... | [networkmanager] catch states when nmcli status fails
Catch situations when nmcli is not installed or returns nonzero;
status['output'] is then empty.
Resolves: #<I> | sosreport_sos | train |
f21d80947c69b914f95d194d958676780eccee08 | diff --git a/admin/index.php b/admin/index.php
index <HASH>..<HASH> 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -432,11 +432,11 @@
$userdata .= '<div class="adminlink"><a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/uploaduser.php?sesskey='.$USER->sesskey.'">'.
get_string('uploadusers').'</a... | Fix up the admin listing a bit | moodle_moodle | train |
c34d20e5e8a77c53807f02c2dd152dfe3fa3239d | diff --git a/pipe.go b/pipe.go
index <HASH>..<HASH> 100644
--- a/pipe.go
+++ b/pipe.go
@@ -263,7 +263,6 @@ func (pipe *Pipe) Interact() (int, error) {
pipe.sendEOF()
}()
var exitCode int
- pongWait := 60 * time.Second
pipe.conn.SetReadDeadline(time.Now().Add(pongWait))
pipe.conn.SetPongHandler(func(string) e... | removed pongWait redefinition | eldarion-gondor_piper | train |
c5fc889182c77b2f4b0c49c91c2d8b94a8cdcf90 | diff --git a/bitbucket/bitbucket.py b/bitbucket/bitbucket.py
index <HASH>..<HASH> 100644
--- a/bitbucket/bitbucket.py
+++ b/bitbucket/bitbucket.py
@@ -27,6 +27,8 @@ URLS = {
'GET_USER_PRIVILEGES': 'user/privileges',
# Search repo
# 'SEARCH_REPO': 'repositories/?name=%(search)s',
+ # Get Repo
+ 'GET... | added get_repo() method to get the repo | Sheeprider_BitBucket-api | train |
6e8f4668a768bf2ef12a61925ec4d9aa1b272bf1 | diff --git a/girder/models/item.py b/girder/models/item.py
index <HASH>..<HASH> 100644
--- a/girder/models/item.py
+++ b/girder/models/item.py
@@ -296,7 +296,8 @@ class Item(Model):
filteredCursor = itertools.ifilter(hasAccess, cursor)
for result in itertools.islice(filteredCursor, offset, endIndex):
... | More flexibility on removeKeys when filtering models | girder_girder | train |
fb70f29b8ce532f061685a17d120486e47b215ba | diff --git a/src/foremast/utils/tasks.py b/src/foremast/utils/tasks.py
index <HASH>..<HASH> 100644
--- a/src/foremast/utils/tasks.py
+++ b/src/foremast/utils/tasks.py
@@ -39,7 +39,7 @@ def post_task(task_data, task_uri='/tasks'):
AssertionError: Error response from Spinnaker.
"""
- url = '{}/{}'.form... | fix: Strip leading slash
In some scenarios the generated path ends up being //path, instead of
/path. | foremast_foremast | train |
aeda5a0f04404f742a78cdb145ff0b0948278180 | diff --git a/py/vtdb/grpc_vtgate_client.py b/py/vtdb/grpc_vtgate_client.py
index <HASH>..<HASH> 100644
--- a/py/vtdb/grpc_vtgate_client.py
+++ b/py/vtdb/grpc_vtgate_client.py
@@ -43,10 +43,8 @@ class GRPCVTGateConnection(vtgate_client.VTGateClient):
"""
def __init__(self, addr, timeout):
- self.addr = addr
-... | Removing a couple uses of vtgatev2.py gorpc python client.
And a couple more details. | vitessio_vitess | train |
91ef1b4418d533f32dcc285f1ba3dfcc76b57481 | diff --git a/packages/soya-next-scripts/scripts/start.js b/packages/soya-next-scripts/scripts/start.js
index <HASH>..<HASH> 100644
--- a/packages/soya-next-scripts/scripts/start.js
+++ b/packages/soya-next-scripts/scripts/start.js
@@ -62,6 +62,7 @@ app.prepare()
defaultLocale: config.defaultLocale,
siteLo... | Add whoami routing path
The whoami routing path will help us to identify machine/process on which soya-next app is running. It can also be used to identify what version is being deployed. | traveloka_soya-next | train |
046e15d57059fa097cccaa4946f79f9984584d94 | diff --git a/structr-ui/src/main/java/org/structr/web/function/UnarchiveFunction.java b/structr-ui/src/main/java/org/structr/web/function/UnarchiveFunction.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/web/function/UnarchiveFunction.java
+++ b/structr-ui/src/main/java/org/structr/web/funct... | Enhancement: Create folder with same name as archive file if no parent folder is given. | structr_structr | train |
452e0181621c404eca52d6cb449361aca173989e | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -137,6 +137,8 @@ func NewClient(options ...ConfigOption) (*Client, error) {
appName: uc.options.appName,
instanceId: uc.options.instanceId,
refreshInterval: uc.options.refreshInterval,
+ storage:... | Add support for customizing the HttpClient and Storage. | Unleash_unleash-client-go | train |
fd15bfc65d8c8e31275440d40edb73f3533f2f2b | diff --git a/src/Psalm/Internal/Analyzer/Statements/ReturnAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/ReturnAnalyzer.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Analyzer/Statements/ReturnAnalyzer.php
+++ b/src/Psalm/Internal/Analyzer/Statements/ReturnAnalyzer.php
@@ -129,7 +129,9 @@ class ReturnA... | Infer Return Types for Arrow Functions #<I> (#<I>)
* Infer Return Types for Arrow Functions #<I>
- Made a small patch to check for closure or arrow
function when attempting to infer the functions
params
- Added new isExprClosureLike to start to consolidate
all checks on closure/arrow fns | vimeo_psalm | train |
5e4320cd08510b52c19fbbe4ddfece720982b263 | diff --git a/wamp/wamp.go b/wamp/wamp.go
index <HASH>..<HASH> 100644
--- a/wamp/wamp.go
+++ b/wamp/wamp.go
@@ -301,8 +301,8 @@ type PublishMsg struct {
TopicURI string
Event interface{}
ExcludeMe bool
- ExcludeList []interface{}
- EligibleList []interface{}
+ ExcludeList []string
+ EligibleList []... | ExcludeList and EligibleList -> []string | gngeorgiev_gowamp | train |
9c6a32e3b097ed52a23d6686404c35d0bc312fae | diff --git a/src/Parser.php b/src/Parser.php
index <HASH>..<HASH> 100644
--- a/src/Parser.php
+++ b/src/Parser.php
@@ -385,7 +385,7 @@ class Parser implements ParserInterface
if (isset($this->replies[$command])) {
$parsed['code'] = $this->replies[$command];
} else {
- ... | Set code to used command if it isn't RFC standard | phergie_phergie-irc-parser | train |
d16450c30cc318b8374bc8ad56c27341fdddf26a | diff --git a/entry_types/scrolled/package/src/contentElements/inlineAudio/InlineAudio.js b/entry_types/scrolled/package/src/contentElements/inlineAudio/InlineAudio.js
index <HASH>..<HASH> 100644
--- a/entry_types/scrolled/package/src/contentElements/inlineAudio/InlineAudio.js
+++ b/entry_types/scrolled/package/src/cont... | Make controls inset except for audio without poster
Fix text tracks position accordingly.
REDMINE-<I> | codevise_pageflow | train |
46c8d3d24b355c407ad5297d4683d9ec6da4f4af | diff --git a/core/src/main/java/com/google/common/truth/IterableSubject.java b/core/src/main/java/com/google/common/truth/IterableSubject.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/common/truth/IterableSubject.java
+++ b/core/src/main/java/com/google/common/truth/IterableSubject.java
@@ -657,6... | Override, deprecate, and check for non-Iterable elements in IterableSubject.isNoneOf() and isNotIn(). They are almost certainly not what people want.
RELNOTES=throw UOE from IterableSubject.isNoneOf() and isNotIn()
-------------
Created by MOE: <URL> | google_truth | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.