hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
ce8cc73859b70c20a256e4e41bde6fafbddf7dc1
diff --git a/src/feat/database/conflicts.py b/src/feat/database/conflicts.py index <HASH>..<HASH> 100644 --- a/src/feat/database/conflicts.py +++ b/src/feat/database/conflicts.py @@ -427,7 +427,8 @@ def cleanup_logs(connection, rconnection): in_conflict, raw_doc = yield _check_conflict(connection, owner_id) ...
One more fix for the cleanup_logs() call for a removed document.
f3at_feat
train
py
92219c2841caf40aeeda2d9e476a364b567dd46a
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -181,23 +181,28 @@ */ Fireproof.prototype.auth = function(authToken, onComplete, onCancel) { - var promise = pinkySwear(); + var promise = pinkySwear(), + self = this; - this._ref.auth(authToken, funct...
Under certain rare conditions auth can fail without a nextTick wrapper
casetext_fireproof
train
js
467ba83a976390ad374bcd2879e19ad89dd39a40
diff --git a/pmxbot/core.py b/pmxbot/core.py index <HASH>..<HASH> 100644 --- a/pmxbot/core.py +++ b/pmxbot/core.py @@ -253,8 +253,7 @@ class LoggingCommandBot(irc.bot.SingleServerIRCBot): if isinstance(period, str): period = tempora.parse_timedelta(period) log.info("Setting keepalive for %s", period) - pinge...
Re-use functionality now in irc lib
yougov_pmxbot
train
py
bcda0e57e260d46f4b7dce44fc9ca9e35cb7544c
diff --git a/rootpy/tree/treeobject.py b/rootpy/tree/treeobject.py index <HASH>..<HASH> 100644 --- a/rootpy/tree/treeobject.py +++ b/rootpy/tree/treeobject.py @@ -26,8 +26,6 @@ def mix_classes(cls, mixins): class TreeObject(object): - __slots__ = 'tree', 'name', 'prefix' - def __init__(self, tree, name, pr...
don't use __slots__
rootpy_rootpy
train
py
644e89da71c5c13a2ad4ab2b98c62d2664286fad
diff --git a/rehive/api/client.py b/rehive/api/client.py index <HASH>..<HASH> 100644 --- a/rehive/api/client.py +++ b/rehive/api/client.py @@ -46,6 +46,9 @@ class Client: def delete(self, path, data, **kwargs): return self._request('delete', path, **kwargs) + def options(self, path, **kwargs): + ...
Added OPTIONS support to resources
rehive_rehive-python
train
py,py
b09de5beb457baeb933a60e204c21b5166a4aaa3
diff --git a/common/utilities/DateUtil.php b/common/utilities/DateUtil.php index <HASH>..<HASH> 100755 --- a/common/utilities/DateUtil.php +++ b/common/utilities/DateUtil.php @@ -56,7 +56,17 @@ class DateUtil { $date = preg_split( "/ /", $date ); - return $date[0]; + return $date[ 0 ]; + } + + /** + * @ret...
Added function to get time from db datetime.
cmsgears_module-core
train
php
bf72b4518b4cb86c656815517d6b2cb4edc744c4
diff --git a/zipline/data/bundles/core.py b/zipline/data/bundles/core.py index <HASH>..<HASH> 100644 --- a/zipline/data/bundles/core.py +++ b/zipline/data/bundles/core.py @@ -6,6 +6,7 @@ import warnings from contextlib2 import ExitStack import click +from logbook import Logger import pandas as pd from trading_cal...
DOC: [WIP] Improvements on logging
quantopian_zipline
train
py
2275177a55400c1c23fa415e7516b9760893e14a
diff --git a/src/cursor/index.js b/src/cursor/index.js index <HASH>..<HASH> 100644 --- a/src/cursor/index.js +++ b/src/cursor/index.js @@ -50,8 +50,10 @@ export default class Cursor extends React.Component { } render() { + const tabIndex = this.state.positionY === -1 ? 0 : -1; + return ( - <div onK...
Manage tab indices Once a component has been active in a Cursor, the Cursor no longer received focus. This is the nature of composite widgets: the shell is only used as a means of getting the `first` focus.
juanca_react-aria-components
train
js,js
0fa03d265100e345cf2bc9e25aa5323eee3d3cd5
diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -13,7 +13,7 @@ module Jekyll end end - MATCHER = /(?<param>\w+)=(?:"(?<dvar>[^"\\]*(?:\\.[^"\\]*)*)"|'(?<svar>[^'\\]*(?:\\.[^'\\]*)...
stupid Ruby <I> doesn't support named groups
jekyll_jekyll
train
rb
d0cb3647bbdbd1c6f19b13a7163beceaed0603c4
diff --git a/qgmap/__init__.py b/qgmap/__init__.py index <HASH>..<HASH> 100755 --- a/qgmap/__init__.py +++ b/qgmap/__init__.py @@ -173,7 +173,7 @@ class QGoogleMap(QtWebKit.QWebView) : def deleteMarker(self, key) : return self.runScript( "gmap_deleteMarker(" - "key={!r}, " + "key={!r} " "); " ....
Syntax error when running deleteMarker I'm using your code in a project and I found that error when trying to delete a Marker from the map. Thank you for sharing this project.
vokimon_python-qgmap
train
py
4e8be09d5646cb7fc538d36628c63d2b7247a5c7
diff --git a/tests/job_unittest.py b/tests/job_unittest.py index <HASH>..<HASH> 100644 --- a/tests/job_unittest.py +++ b/tests/job_unittest.py @@ -53,8 +53,10 @@ class JobTestCase(unittest.TestCase): def setUp(self): client = kvs.get_client() - # delete managed job id info so we can predict the j...
Fix to job_unitest to leave the kvs in a more consistent state
gem_oq-engine
train
py
e248e84ccdc52f5be69a581042ecdeb21b966eca
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/templates/integration/check/{check_name}/setup.py b/datadog_checks_dev/datadog_checks/dev/tooling/templates/integration/check/{check_name}/setup.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/templates/integration/check/{chec...
Bump datadog-checks-base version in new integration template (#<I>)
DataDog_integrations-core
train
py
6f8b5950a85c79ed33c1d00a35a1def2efc7bff5
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1 +1,8 @@ from factories import post_factory, post +import os +import sys + + +root = os.path.join(os.path.dirname(__file__)) +package = os.path.join(root, '..') +sys.path.insert(0, os.pat...
Make the tests run just via py.test
kalasjocke_hyp
train
py
35e84f12f3d4e3df39a611519f7ed732dc568728
diff --git a/lib/util/stylesheet.js b/lib/util/stylesheet.js index <HASH>..<HASH> 100644 --- a/lib/util/stylesheet.js +++ b/lib/util/stylesheet.js @@ -99,7 +99,7 @@ const astHelpers = { node.init && node.init.callee && node.init.callee.object && - node.init.callee.object.name === 'StyleSheet' ...
Added support of other style sheet providers (eg EStyleSheet)
Intellicode_eslint-plugin-react-native
train
js
c952b763dd54535d9f9d3c5ae702ec2a6ecf5a59
diff --git a/frosted/api.py b/frosted/api.py index <HASH>..<HASH> 100644 --- a/frosted/api.py +++ b/frosted/api.py @@ -37,7 +37,7 @@ _re_noqa = re.compile(r'((frosted)[:=]\s*noqa)|(#\s*noqa)', re.I) def _noqa_lines(codeString): line_nums = [] - g = tokenize.generate_tokens(StringIO(codeString).readline) # ...
Cast code before testing for noqa lines
timothycrosley_deprecated.frosted
train
py
fa9b663026e5b660e12ae05cee9c2f71a7ebcc62
diff --git a/tests/ui/fake_screen_tests.js b/tests/ui/fake_screen_tests.js index <HASH>..<HASH> 100644 --- a/tests/ui/fake_screen_tests.js +++ b/tests/ui/fake_screen_tests.js @@ -10,8 +10,7 @@ describe('FakeScreen', !isWin ? function() { screen.$setSize(10, 10); }); it('has initially', function() { - expe...
Fixed eslint violation
testem_testem
train
js
9a9474e678a6547f0ea0e5dcfc61035733d098d0
diff --git a/lib/devices/vacuum.js b/lib/devices/vacuum.js index <HASH>..<HASH> 100644 --- a/lib/devices/vacuum.js +++ b/lib/devices/vacuum.js @@ -74,6 +74,8 @@ module.exports = class extends Vacuum.with( return 'updating'; case 15: return 'docking'; + case 17: + return 'zone-cleaning'; cas...
Vacuum now handled zone-cleaning as cleaning
aholstenson_miio
train
js
8ce1f219014f7a80a8c7d1a8a0f344864b64eee6
diff --git a/Neos.Media/Migrations/Postgresql/Version20200823164701.php b/Neos.Media/Migrations/Postgresql/Version20200823164701.php index <HASH>..<HASH> 100644 --- a/Neos.Media/Migrations/Postgresql/Version20200823164701.php +++ b/Neos.Media/Migrations/Postgresql/Version20200823164701.php @@ -37,7 +37,7 @@ class Versi...
TASK: Fix quotes used in PostgreSQL migration
neos_neos-development-collection
train
php
c7c66bedcba477d145dae01a4e07e0aa9d6cf806
diff --git a/common/shell-local/config.go b/common/shell-local/config.go index <HASH>..<HASH> 100644 --- a/common/shell-local/config.go +++ b/common/shell-local/config.go @@ -86,7 +86,7 @@ func Validate(config *Config) error { // Clean up input if config.Inline != nil && len(config.Inline) == 0 { - config.Inline...
set inline to an empty array, rather than nil
hashicorp_packer
train
go
3cdbbd7595f9064250db2484637d9aa23aa803bd
diff --git a/kazoo.go b/kazoo.go index <HASH>..<HASH> 100644 --- a/kazoo.go +++ b/kazoo.go @@ -232,10 +232,16 @@ func (kz *Kazoo) mkdirRecursive(node string) (err error) { } } - _, err = kz.conn.Create(node, nil, 0, zk.WorldACL(zk.PermAll)) - if err == zk.ErrNodeExists { - err = nil + exists, _, err := kz.conn....
Make the node exist check explicit in mkdirRecursive
wvanbergen_kazoo-go
train
go
18f74a886604b456380bb4f64d32e65b556d7f4a
diff --git a/horizon/dashboards/nova/instances_and_volumes/instances/tables.py b/horizon/dashboards/nova/instances_and_volumes/instances/tables.py index <HASH>..<HASH> 100644 --- a/horizon/dashboards/nova/instances_and_volumes/instances/tables.py +++ b/horizon/dashboards/nova/instances_and_volumes/instances/tables.py @...
Updated wording for instance termination. This better reflects the fact that termination is not an immediate action and may not complete instantly (or ever...) Change-Id: I<I>fd2efcbe8d<I>f<I>ec<I>ff8fbf<I>a<I>dd<I>e
openstack_horizon
train
py
792b15049eea55d58004c5ab60c7adc56f11935a
diff --git a/aeron-client/src/main/java/io/aeron/Aeron.java b/aeron-client/src/main/java/io/aeron/Aeron.java index <HASH>..<HASH> 100644 --- a/aeron-client/src/main/java/io/aeron/Aeron.java +++ b/aeron-client/src/main/java/io/aeron/Aeron.java @@ -133,7 +133,7 @@ public class Aeron implements AutoCloseable ...
[Java] Avoid bridge methods.
real-logic_aeron
train
java
0b22814cdb3ccefee5092684a2e416e36dfd73f9
diff --git a/src/WinkPost.php b/src/WinkPost.php index <HASH>..<HASH> 100644 --- a/src/WinkPost.php +++ b/src/WinkPost.php @@ -170,6 +170,20 @@ class WinkPost extends AbstractWinkModel } /** + * Scope a query to only include posts that have a specific tag (by slug). + * + * @param \Illuminate\Da...
Allow filter posts by tag (slug)
writingink_wink
train
php
c16a2ca2463b34e381b34fed106c32d5053e13a5
diff --git a/minicart.js b/minicart.js index <HASH>..<HASH> 100644 --- a/minicart.js +++ b/minicart.js @@ -745,7 +745,7 @@ PAYPAL.apps = PAYPAL.apps || {}; } // Update the UI - self.UI.subtotalAmount.innerHTML = $.util.formatCurrency(subtotal, currency_code) + ' ' + currency_code; + self.UI.subtot...
Removing currency code from appearing on cart
jeffharrell_minicart
train
js
2d2122d5f4bebcb3a70b469f821f53eea9e7891c
diff --git a/lib/mongo/repl_set_connection.rb b/lib/mongo/repl_set_connection.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/repl_set_connection.rb +++ b/lib/mongo/repl_set_connection.rb @@ -203,7 +203,7 @@ module Mongo end host, port = host.split(':') - [host, port.to_i] + [host, port...
Fix for when port isn't specified on rs nodes (Alex Stupka)
mongodb_mongo-ruby-driver
train
rb
e5821faa40c1840f2158079ba2ad331a659f1b7c
diff --git a/token.go b/token.go index <HASH>..<HASH> 100644 --- a/token.go +++ b/token.go @@ -155,7 +155,7 @@ func (t *tokenMan) retrieveNewToken() { continue } - if token.ExpiresIn >= 0 { + if token.ExpiresIn > 0 { token.ExpiresAt = time.Now().Add(time.Duration(token.ExpiresIn) * time.Millisecond) }...
if token.expires is 0, consider it infinite
apid_apidApigeeSync
train
go
af157c4b9a5c3036e6f67bf10c7ae8cff8e214a7
diff --git a/packages/www/test/02_import-all.js b/packages/www/test/02_import-all.js index <HASH>..<HASH> 100644 --- a/packages/www/test/02_import-all.js +++ b/packages/www/test/02_import-all.js @@ -1 +1,2 @@ +import "../src/public/data/selectors"; import "../src/public/routes";
chore(www): Just bring in `selectors` for coverage purposes. Unused sure, but I'm sure I'll need it eventually...
randytarampi_me
train
js
6c4bd795630468ab6ee3e4d7c60c732efa13a6f8
diff --git a/lib/chef/knife/cook.rb b/lib/chef/knife/cook.rb index <HASH>..<HASH> 100644 --- a/lib/chef/knife/cook.rb +++ b/lib/chef/knife/cook.rb @@ -120,7 +120,7 @@ class Chef logging_arg = "-l debug" if config[:verbosity] > 0 stream_command <<-BASH - chef-solo -c #{chef_path}/solo.rb \ +...
Use sudo by default for now. This will probably break windows support but lets stock Ubuntu work properly.
matschaffer_knife-solo
train
rb
fe83e8a61aaaadeed59eb079a33d62338087f2c6
diff --git a/polyaxon_cli/cli/notebook.py b/polyaxon_cli/cli/notebook.py index <HASH>..<HASH> 100644 --- a/polyaxon_cli/cli/notebook.py +++ b/polyaxon_cli/cli/notebook.py @@ -93,7 +93,7 @@ def start(ctx, file, u): # pylint:disable=redefined-builtin # Check if we need to upload if u: - ctx.invoke(upl...
Fix notebook start command with -u option * async is not supported anymore
polyaxon_polyaxon
train
py
5e9f0147bebf94c2b7b526eb1ce349234903f572
diff --git a/imgaug/augmenters/color.py b/imgaug/augmenters/color.py index <HASH>..<HASH> 100644 --- a/imgaug/augmenters/color.py +++ b/imgaug/augmenters/color.py @@ -150,6 +150,16 @@ class WithColorspace(meta.Augmenter): ) return result + def _augment_segmentation_maps(self, segmaps, random_...
Add dedicated SegMap aug to color augmenters
aleju_imgaug
train
py
4405675687a4b914c9a7cdd9f093767878600237
diff --git a/scripts/build.js b/scripts/build.js index <HASH>..<HASH> 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -124,6 +124,8 @@ function configure() { break; case 'linux': + process.env['GYP_DEFINES'] += ' clang=0'; + if (!process.env['JAVA_HOME']) { if (fs.existsSync('...
set clang=0 on linux
vmolsa_webrtc-native
train
js
c66a392d794a5320de010334e461f6675d701262
diff --git a/lib/utils.js b/lib/utils.js index <HASH>..<HASH> 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -42,5 +42,5 @@ var escape = exports.escape = function(str) { */ exports.text = function(node){ - return interpolate(escape(node.join('\\n').trimLeft())); + return interpolate(escape(node.join('\\n')....
Text introduces newlines to mimic the grammar Fixes the most common use-cases for text
pugjs_then-pug
train
js
80feb7ee318d8f1cb39c3ee78b8a9e0a4b26df35
diff --git a/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBReflector.java b/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBReflector.java index <HASH>..<HASH> 100644 --- a/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/...
Removed superfluous word from error message getter.getDeclaringClass() prints: "class theClassTheErrorOrginatedFrom" Therefore, the word 'class' is repeated & confusing.
aws_aws-sdk-java
train
java
c5d3d3d7d97de0a870bbd7c679465ff260181ae2
diff --git a/app/templates/src/main/java/package/_Application.java b/app/templates/src/main/java/package/_Application.java index <HASH>..<HASH> 100644 --- a/app/templates/src/main/java/package/_Application.java +++ b/app/templates/src/main/java/package/_Application.java @@ -69,7 +69,6 @@ public class Application { ...
Remove setBanner method as it has been deprecated
jhipster_generator-jhipster
train
java,java
fcc0df9353c9ea3315115f8b6fc61e92d84cada5
diff --git a/devices.js b/devices.js index <HASH>..<HASH> 100644 --- a/devices.js +++ b/devices.js @@ -1187,10 +1187,10 @@ const devices = [ ota: ota.tradfri, }, { - zigbeeModel: ['TRADFRI bulb E27 WS clear 806lm'], + zigbeeModel: ['TRADFRI bulb E27 WS clear 806lm', 'TRADFRI bulb E26 WS...
Support for the E<I> version of IKEA LED<I>G9 (#<I>)
Koenkk_zigbee-shepherd-converters
train
js
f49b9f0cb7b4e991bab8f6174d5ffcccdfb9a112
diff --git a/satpy/tests/utils.py b/satpy/tests/utils.py index <HASH>..<HASH> 100644 --- a/satpy/tests/utils.py +++ b/satpy/tests/utils.py @@ -358,7 +358,7 @@ class CustomScheduler(object): def make_fake_scene(content_dict, daskify=False, area=True, - common_attrs=None): + c...
PEP8 fixes Fixed formatting which had become un-PEP8-ified due to function renaming.
pytroll_satpy
train
py
45f21f94d764d7fc976246af082886ba6a8d6716
diff --git a/lib/setup.php b/lib/setup.php index <HASH>..<HASH> 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -59,7 +59,7 @@ if (!isset($CFG->theme)) { $CFG->theme = "standard"; } - require("$CFG->dirroot/theme/$CFG->theme/config.php"); + include("$CFG->dirroot/theme/$CFG->theme/config.php"...
config.php not required ... just in case themes move or something ...
moodle_moodle
train
php
c49b73a7f85857d0f2e6674fe13d230369999a46
diff --git a/manager/globals/constants.py b/manager/globals/constants.py index <HASH>..<HASH> 100644 --- a/manager/globals/constants.py +++ b/manager/globals/constants.py @@ -43,13 +43,13 @@ class Constants(): applicationName = "Manager" """Package Application name: '**Manager**' ( String )""" majorVersion = "2" ...
Raise package version number to <I>.
KelSolaar_Manager
train
py
2baf51e89499315df9d2ad4f3dd0390e84a7170e
diff --git a/src/sports/flightStage.js b/src/sports/flightStage.js index <HASH>..<HASH> 100644 --- a/src/sports/flightStage.js +++ b/src/sports/flightStage.js @@ -70,7 +70,7 @@ module.exports = function(ngin) { return ngin.Standings.create({ flight_stage_id:this.id }).fetch(callback) }, - advancement_s...
FlightStage.advancement_slots -> advancementSlots
sportngin_ngin_client_node
train
js,js
85eca37ca28d12f14b9964ddfb305cf37e8bfe6c
diff --git a/src/Conversions/Jobs/PerformConversionsJob.php b/src/Conversions/Jobs/PerformConversionsJob.php index <HASH>..<HASH> 100644 --- a/src/Conversions/Jobs/PerformConversionsJob.php +++ b/src/Conversions/Jobs/PerformConversionsJob.php @@ -14,6 +14,8 @@ class PerformConversionsJob implements ShouldQueue { ...
Update PerformConversionsJob.php (#<I>) Automatically delete a queued job if the model is missing, e.g. if media is deleted before the job has a chance to process.
spatie_laravel-medialibrary
train
php
545545c86f3545f69b11767ee8fadf23753bb68c
diff --git a/lib/report.js b/lib/report.js index <HASH>..<HASH> 100644 --- a/lib/report.js +++ b/lib/report.js @@ -37,7 +37,7 @@ module.exports = function simpleReport(options) { failed = true; } - return cb(undefined, file); + return cb(null, file); }); if (options.emi...
Use more recognizable callback pattern in "report.js" - Before: "cb(undefined, value)" - Now, more typical: "cb(null, value)"
pandell_gulp-jslint-simple
train
js
a08bd9278ee47f3ddb60c99b3222dd33852f8e68
diff --git a/src/includes/admin/class-papi-admin-meta-box.php b/src/includes/admin/class-papi-admin-meta-box.php index <HASH>..<HASH> 100644 --- a/src/includes/admin/class-papi-admin-meta-box.php +++ b/src/includes/admin/class-papi-admin-meta-box.php @@ -83,6 +83,19 @@ class Papi_Admin_Meta_Box { } /** + * Get m...
Added uniqid to meta box id
wp-papi_papi
train
php
ea2cecbf08961c4477dc067f89235a6b68182969
diff --git a/sdmx/dataset.py b/sdmx/dataset.py index <HASH>..<HASH> 100644 --- a/sdmx/dataset.py +++ b/sdmx/dataset.py @@ -70,6 +70,7 @@ def data_message_reader(parser, fileobj, requests=None, dsd_fileobj=None): def _dsd_reader(self): key_family_uri = self._element.get("keyFamilyURI") ...
Fix: seek to 0 before reading DSD
mwilliamson_sdmx.py
train
py
b6c3083d780ae24764b2dbf1291482e1f54aad0c
diff --git a/tests/basic_test.py b/tests/basic_test.py index <HASH>..<HASH> 100644 --- a/tests/basic_test.py +++ b/tests/basic_test.py @@ -10,4 +10,5 @@ class ATestCase(tests.BaseTestCase): self.assertTrue(self.configuration is not None) def test_configuration_contents(self): + self.assertTrue('k...
added assertion that configuration key was loaded.
steenzout_python-serialization-json
train
py
647de961ee22b05fc7e7a48dab9fca0c2c645eb7
diff --git a/src/main/java/org/agrona/concurrent/UnsafeBuffer.java b/src/main/java/org/agrona/concurrent/UnsafeBuffer.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/agrona/concurrent/UnsafeBuffer.java +++ b/src/main/java/org/agrona/concurrent/UnsafeBuffer.java @@ -277,7 +277,18 @@ public class UnsafeBuffer im...
[Java] Change UnsafeBuffer.setMemory to offset by 1 to get around a JVM issue to encourage it to call memset() as the method is not instrinsified.
real-logic_agrona
train
java
00eadd957f6c716875d774d87070fed3d71a6670
diff --git a/src/EmailReplyParser/Parser/EmailParser.php b/src/EmailReplyParser/Parser/EmailParser.php index <HASH>..<HASH> 100644 --- a/src/EmailReplyParser/Parser/EmailParser.php +++ b/src/EmailReplyParser/Parser/EmailParser.php @@ -18,7 +18,10 @@ use EmailReplyParser\Fragment; */ class EmailParser { - const S...
make SIG_REGEXP forward way more understandable if you need to debug something
willdurand_EmailReplyParser
train
php
603bd9756225d99413ce52e9e0976f4a731ab24e
diff --git a/saltcloud/cli.py b/saltcloud/cli.py index <HASH>..<HASH> 100644 --- a/saltcloud/cli.py +++ b/saltcloud/cli.py @@ -16,6 +16,7 @@ import pprint # Import salt libs import saltcloud.config +import saltcloud.output import salt.config class SaltCloud(object): @@ -148,9 +149,13 @@ class SaltCloud(object):...
hook in the output to the cli
saltstack_salt
train
py
03519a918ebf1dc0bc9dbac2498e0a2230fc409c
diff --git a/rest_framework_gis/fields.py b/rest_framework_gis/fields.py index <HASH>..<HASH> 100644 --- a/rest_framework_gis/fields.py +++ b/rest_framework_gis/fields.py @@ -43,7 +43,6 @@ class GeometryField(Field): except (ValueError, TypeError, GDALException) as e: raise ValidationError(_('Unab...
[qa] Removed double blank line in GeometryField
djangonauts_django-rest-framework-gis
train
py
d85133d8bc90a7ea8f79ade53c36601fa3bc0db5
diff --git a/mill/__init__.py b/mill/__init__.py index <HASH>..<HASH> 100644 --- a/mill/__init__.py +++ b/mill/__init__.py @@ -324,7 +324,7 @@ class Mill: if power_status is None: power_status = heater.power_status operation = 0 if fan_status == heater.fan_status else 4 - payload =...
subdomain (#<I>)
Danielhiversen_pymill
train
py
11f92f9994bb8971aadf4a26b00051471149f833
diff --git a/test/common/process.js b/test/common/process.js index <HASH>..<HASH> 100644 --- a/test/common/process.js +++ b/test/common/process.js @@ -53,6 +53,10 @@ exports.exec = function (command) { if (stderr) { rv.lines = stderr.split('\n'); } + if (/Unhandled rejection/.test(rv.lines[0...
program exec stack straces to stderr in tests modified: test/common/process.js
kixxauth_enginemill
train
js
8d2d58e2daab16d69fd6d597e9d8cf2b99ba66d0
diff --git a/src/shogun2-core/src/main/java/de/terrestris/shogun2/model/Plugin.java b/src/shogun2-core/src/main/java/de/terrestris/shogun2/model/Plugin.java index <HASH>..<HASH> 100644 --- a/src/shogun2-core/src/main/java/de/terrestris/shogun2/model/Plugin.java +++ b/src/shogun2-core/src/main/java/de/terrestris/shogun2...
Repair @Column misconfiguration
terrestris_shogun-core
train
java
adbb7898773abbda87a5cdd1fb9501415c15646f
diff --git a/pkg/web/response_writer.go b/pkg/web/response_writer.go index <HASH>..<HASH> 100644 --- a/pkg/web/response_writer.go +++ b/pkg/web/response_writer.go @@ -21,6 +21,11 @@ import ( "net/http" ) +var ( + _ http.ResponseWriter = &responseWriter{} + _ http.Hijacker = &responseWriter{} +) + // Respons...
pkg/web: detect Hijack() as chain write (#<I>)
grafana_grafana
train
go
dc4afb176e9d29901d048db0ac9b29f48bdf6deb
diff --git a/etrago/cluster/disaggregation.py b/etrago/cluster/disaggregation.py index <HASH>..<HASH> 100644 --- a/etrago/cluster/disaggregation.py +++ b/etrago/cluster/disaggregation.py @@ -331,7 +331,7 @@ class UniformDisaggregation(Disaggregation): for axis in group]) ...
Break vs. continue: small change, huge impact Obviously, when the cluster contains no bus for the current grouping, we can stop handling that grouping, but we should not skip all other groups. That's why we have to use a `continue` here instead of a `break`. Hopefully not only the first, but also the last time that I ...
openego_eTraGo
train
py
d0d74b4e3e7c8826f8c7003007938ef283d4eaa7
diff --git a/checkpoints.go b/checkpoints.go index <HASH>..<HASH> 100644 --- a/checkpoints.go +++ b/checkpoints.go @@ -58,6 +58,7 @@ var checkpointDataMainNet = checkpointData{ {225430, newShaHashFromStr("00000000000001c108384350f74090433e7fcf79a606b8e797f065b130575932")}, {250000, newShaHashFromStr("000000000000...
Add checkpoint at block height <I>.
btcsuite_btcd
train
go
3738f52138e03b953190c801ff44959db782f720
diff --git a/src/protocol/png.js b/src/protocol/png.js index <HASH>..<HASH> 100644 --- a/src/protocol/png.js +++ b/src/protocol/png.js @@ -35,7 +35,7 @@ define(function(require, exports, module) { return Promise(function (resolve, reject) { var xmlHttp = new XMLHttpRequest(); - xmlHtt...
fix(png): add query to disable cache on ajax cors
fex-team_kityminder-core
train
js
d19a400d618e98ed179b35c1c9cca94d8da348fc
diff --git a/lib/puavo/client/model.rb b/lib/puavo/client/model.rb index <HASH>..<HASH> 100644 --- a/lib/puavo/client/model.rb +++ b/lib/puavo/client/model.rb @@ -18,6 +18,10 @@ module Puavo end end + def keys + @data.keys + end + def self.parse(api, data) data.map do ...
Add keys method to Puavo objects
opinsys_puavo-client
train
rb
5b483f6f63001ddcfdc50cf99274b837331864a2
diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index <HASH>..<HASH> 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -15,6 +15,7 @@ class Simulator { const ganache = shelljs.which('ganache-cli-embark'); // const testrpc = shelljs.which('testrpc'); + // const ganache = shelljs...
include old `const ganache =` line in original pos wrt disabled code
embark-framework_embark
train
js
59f661493dc3882cf57a371ec46b1c06559f0794
diff --git a/src/streamlink/plugins/bfmtv.py b/src/streamlink/plugins/bfmtv.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/bfmtv.py +++ b/src/streamlink/plugins/bfmtv.py @@ -14,6 +14,10 @@ class BFMTV(Plugin): r'accountid="(?P<account_id>[0-9]+).*?videoid="(?P<video_id>[0-9]+)"', re.DOTAL...
plugins.bfmtv : fix rmcstory and rmcdecouverte (#<I>)
streamlink_streamlink
train
py
86599d734447e6b0f1802255071c30c4e7ac2dea
diff --git a/tests/base.py b/tests/base.py index <HASH>..<HASH> 100644 --- a/tests/base.py +++ b/tests/base.py @@ -207,7 +207,7 @@ class TestCase(unittest.TestCase, model_importer.ModelImporter): if assetstoreType == 'gridfs': # Name this as '_auto' to prevent conflict with assetstores created ...
Ensure the tests assetstore has a valid name. Modify the auto-generated assetstore name used when the assetstore is gridfs. This allows plugin tests to specify a gridfs assetstore in setUp.
girder_girder
train
py
0282ee62c394315062ddfd8372c6611bec5e7d10
diff --git a/pkg/proxy/proxy.go b/pkg/proxy/proxy.go index <HASH>..<HASH> 100644 --- a/pkg/proxy/proxy.go +++ b/pkg/proxy/proxy.go @@ -482,9 +482,10 @@ func (p *Proxy) CreateOrUpdateRedirect(l4 *policy.L4Filter, id string, source Pr redirect := http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { re...
proxy: Set the TransportProtocol in access log records (#<I>) Closes #<I>
cilium_cilium
train
go
a7dd8f7668659e023b4f56e7fa847a56ccc54595
diff --git a/backtrader/signal.py b/backtrader/signal.py index <HASH>..<HASH> 100644 --- a/backtrader/signal.py +++ b/backtrader/signal.py @@ -21,6 +21,7 @@ from __future__ import (absolute_import, division, print_function, unicode_literals) +import backtrader as bt ( @@ -32,3 +33,7 @@ ...
Add a Signal class to make it easier to subclass and create a signal
backtrader_backtrader
train
py
5e54e507c6b664e0c21fa9ee1d765c3ba38fd782
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -665,11 +665,20 @@ class Exchange(object): return int(time.time() * 1000000) @staticmethod - def iso8601(timestamp): + def i...
Exchange.iso<I> sanitized input
ccxt_ccxt
train
py
34362b08238111564164b8314019a9e420054103
diff --git a/loggers/buildstats.js b/loggers/buildstats.js index <HASH>..<HASH> 100644 --- a/loggers/buildstats.js +++ b/loggers/buildstats.js @@ -54,10 +54,9 @@ function buildstatsStreamFactory(options) { process.stdout.write("build time: " + prettyHrtime(process.hrtime(startTime)) + "\n"); } - - ...
Fixed issue with some warnings and errors not being logged
MiguelCastillo_bit-bundler
train
js
0e8bd8248cc649637b7c392616887c50986427a0
diff --git a/telethon/__init__.py b/telethon/__init__.py index <HASH>..<HASH> 100644 --- a/telethon/__init__.py +++ b/telethon/__init__.py @@ -2,6 +2,7 @@ from .client.telegramclient import TelegramClient from .network import connection from .tl import types, functions, custom from .tl.custom import Button +from .tl...
Fix patched module was never automatically imported Closes #<I>. It has to be imported late in the process of `import telethon` for its side-effects.
LonamiWebs_Telethon
train
py
d46c323fe30acd8500dec4475c2f70ff985164f7
diff --git a/dataproperty/_extractor.py b/dataproperty/_extractor.py index <HASH>..<HASH> 100644 --- a/dataproperty/_extractor.py +++ b/dataproperty/_extractor.py @@ -301,7 +301,7 @@ class DataPropertyExtractor(object): for data in data_list ] - def to_col_dataproperty_list(self): + def to...
Add capability that merging other ColumnDataProperty
thombashi_DataProperty
train
py
110b40d98a29d6a51ae74b924e785926b1d8132b
diff --git a/everest/representers/atom.py b/everest/representers/atom.py index <HASH>..<HASH> 100644 --- a/everest/representers/atom.py +++ b/everest/representers/atom.py @@ -187,7 +187,7 @@ class AtomMappingRegistry(XmlMappingRegistry): xml_ns_map = xml_mp_reg.namespace_map atom_ns_map.update(xml_ns_...
Fixed small problem with XML namespace map.
helixyte_everest
train
py
17c2d15d63e16510d34c14683c311e0db377b536
diff --git a/lib/helpers/list_column_helpers.rb b/lib/helpers/list_column_helpers.rb index <HASH>..<HASH> 100644 --- a/lib/helpers/list_column_helpers.rb +++ b/lib/helpers/list_column_helpers.rb @@ -132,7 +132,11 @@ module ActiveScaffold # ========== def format_inplace_edit_column(record,column) ...
Fix issue with :checkbox and :inplace_edit => true. format_inplace_edit_column was returning "true" and "false" instead of a checkbox input. git-svn-id: <URL>
activescaffold_active_scaffold
train
rb
ed7a1ad5de600ec435727d9a4fa861a8dc8e0a60
diff --git a/bids/config.py b/bids/config.py index <HASH>..<HASH> 100644 --- a/bids/config.py +++ b/bids/config.py @@ -6,7 +6,7 @@ import os from io import open import warnings -from utils import listify +from .utils import listify __all__ = ['set_option', 'set_options', 'get_option']
[fix] precede modules by a dot when importing PyCharm does some unncecessary magic so it works locally with just `from utils import listify`.
bids-standard_pybids
train
py
4072c90c565531aca5cc7991986295065fa6ae0b
diff --git a/source_manager.go b/source_manager.go index <HASH>..<HASH> 100644 --- a/source_manager.go +++ b/source_manager.go @@ -3,7 +3,6 @@ package gps import ( "encoding/json" "fmt" - "go/build" "os" "path/filepath" "strings" @@ -85,7 +84,6 @@ type SourceMgr struct { } rmut sync.RWMutex an Projec...
Remove build.Context entirely from SourceMgr Liberation!
sdboyer_gps
train
go
341138b70a9db1dd7c44446514254b15cb4a86bb
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -99,10 +99,10 @@ moment.fn.prevBusinessDay = function() { return this; }; -moment.fn.monthBusinessDays = function() { +moment.fn.monthBusinessDays = function(partialEndDate) { var me = this.clone(); var day =...
Allow monthBusinessDays to calculate days so far By passing a moment object in as partialEndDate, you can calculate business days in a month up to that date.
kalmecak_moment-business-days
train
js
eea040d74edb0f754e043ef809f18cae9d80bbbc
diff --git a/nodeconductor/billing/views.py b/nodeconductor/billing/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/billing/views.py +++ b/nodeconductor/billing/views.py @@ -100,13 +100,14 @@ class InvoiceViewSet(viewsets.ReadOnlyModelViewSet): # TODO: Move it to createsampleinvoices if not i...
Fix bug in invoice items dummy response(nc-<I>-2)
opennode_waldur-core
train
py
65b86ff9e047371450bf1358f66e081471c789a6
diff --git a/Source/com/drew/imaging/png/PngChunkReader.java b/Source/com/drew/imaging/png/PngChunkReader.java index <HASH>..<HASH> 100644 --- a/Source/com/drew/imaging/png/PngChunkReader.java +++ b/Source/com/drew/imaging/png/PngChunkReader.java @@ -68,13 +68,15 @@ public class PngChunkReader PngChunkTy...
Remove unnecessary exception about multiple instances of chunks we don't want to process. Closes #<I>.
drewnoakes_metadata-extractor
train
java
e328395d2d7d88427cf6c698c926cd063f6564bb
diff --git a/src/Controller.php b/src/Controller.php index <HASH>..<HASH> 100644 --- a/src/Controller.php +++ b/src/Controller.php @@ -310,6 +310,9 @@ abstract class Controller $controller = get_class($controller); } $controller = (string)$controller; + if(substr($controller, 0, 1)...
bug in link generation when starts with inverse slash
manusreload_GLFramework
train
php
fa98219bbf8d1d89af4f456383b886a2f75b2524
diff --git a/lib/paper_trail/has_paper_trail.rb b/lib/paper_trail/has_paper_trail.rb index <HASH>..<HASH> 100644 --- a/lib/paper_trail/has_paper_trail.rb +++ b/lib/paper_trail/has_paper_trail.rb @@ -98,7 +98,7 @@ module PaperTrail end def record_update - if switched_on? && changed_and_we_care? + ...
Some small tweaks in PaperTrail::Model.
paper-trail-gem_paper_trail
train
rb
80651e9773376bce8a7595cf001f2f1cb104bc6d
diff --git a/src/router/Route.es6.js b/src/router/Route.es6.js index <HASH>..<HASH> 100644 --- a/src/router/Route.es6.js +++ b/src/router/Route.es6.js @@ -90,29 +90,17 @@ export default class Route { function getHashString(url) { - const hashPosition = url.indexOf('#'); - - // Strip out anything before the # inclu...
Ng/extract query params from hash (#<I>) * Look for query params in entire url not just before hash * Better matching with regexes * Missing return
addthis_fluxthis
train
js
69dd18bc9fc1e4cbcf3e65f5e04d3b813a478bf8
diff --git a/config/platform.php b/config/platform.php index <HASH>..<HASH> 100644 --- a/config/platform.php +++ b/config/platform.php @@ -1,6 +1,20 @@ <?php return [ + + /* + |-------------------------------------------------------------------------- + | Service Provider + |------------------------...
Add "provider" param to platform config
orchidsoftware_platform
train
php
0de75596db737b303e373da0220379052fd54f48
diff --git a/core-bundle/src/Resources/contao/forms/Form.php b/core-bundle/src/Resources/contao/forms/Form.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/forms/Form.php +++ b/core-bundle/src/Resources/contao/forms/Form.php @@ -555,7 +555,7 @@ class Form extends Hybrid } else { - $this...
[Core] Do not store the IP address upon form submission
contao_contao
train
php
b75e807b5a9a57bcc8fe7e3fdf7d987de4d4c99f
diff --git a/src/Storage/Database/Schema/Table/FieldValue.php b/src/Storage/Database/Schema/Table/FieldValue.php index <HASH>..<HASH> 100644 --- a/src/Storage/Database/Schema/Table/FieldValue.php +++ b/src/Storage/Database/Schema/Table/FieldValue.php @@ -29,7 +29,7 @@ class FieldValue extends BaseTable $this->...
boolean must have a default of zero
bolt_bolt
train
php
2141a67d13d4057f538f7ccd6be6d55faae259fa
diff --git a/langserver/loader_test.go b/langserver/loader_test.go index <HASH>..<HASH> 100644 --- a/langserver/loader_test.go +++ b/langserver/loader_test.go @@ -44,11 +44,9 @@ func TestLoader(t *testing.T) { p, _, err := typecheck(ctx, fset, bctx, bpkg, defaultFindPackageFunc) if err != nil { t.Error(err...
Improving test stability if test failed, do no continue (and `don't panic!`)
sourcegraph_go-langserver
train
go
b851e7978a4217232fc997328c63a97c900bb90d
diff --git a/src/implementations/react/src/playground/sections/GridSection.js b/src/implementations/react/src/playground/sections/GridSection.js index <HASH>..<HASH> 100644 --- a/src/implementations/react/src/playground/sections/GridSection.js +++ b/src/implementations/react/src/playground/sections/GridSection.js @@ -7...
rebase and add change color of text in GridSection
Autodesk_hig
train
js
8728f76d3fb376ad4e819f5ccaf28a9cf7ce597a
diff --git a/lib/github/ldap/domain.rb b/lib/github/ldap/domain.rb index <HASH>..<HASH> 100644 --- a/lib/github/ldap/domain.rb +++ b/lib/github/ldap/domain.rb @@ -120,6 +120,16 @@ module GitHub @connection.search(options) end + + # Provide a meaningful result after a protocol operation (for examp...
Pass through `get_operation_result`. This lets us log bind and search errors and tell users what went wrong.
github_github-ldap
train
rb
dc8de5e882a1257bf7f96a0149a9fe54cf1257d4
diff --git a/spec/lib/chef/knife/sous_cook_spec.rb b/spec/lib/chef/knife/sous_cook_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/chef/knife/sous_cook_spec.rb +++ b/spec/lib/chef/knife/sous_cook_spec.rb @@ -89,6 +89,10 @@ describe Chef::Knife::SousCook do before do Chef::Knife::SoloCook.stub(new: solo_c...
dont stub. use evalulate block to set config
substantial_knife_sous
train
rb
600eeeb71842dd45254e317e84e8be3ad3cb784f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -221,6 +221,11 @@ setup( # The project's main homepage. url='https://github.com/mayeut/pybase64', + project_urls={ + 'Source': 'https://github.com/mayeut/pybase64', + 'Tracker': 'https://github.com...
Add projects_url in setup.py
mayeut_pybase64
train
py
f18550d3577b8b299ffd647a8a473bb7d10c4ed8
diff --git a/lib/util.js b/lib/util.js index <HASH>..<HASH> 100644 --- a/lib/util.js +++ b/lib/util.js @@ -95,6 +95,8 @@ module.exports = { logger.silly('Unable to save sys config', err && err.message ? err.message : err); return q.reject(err); ...
return product if it's there
F5Networks_f5-cloud-libs
train
js
a979a5c618081f0871bbb04d9f480f8d62c7b574
diff --git a/packet.go b/packet.go index <HASH>..<HASH> 100644 --- a/packet.go +++ b/packet.go @@ -4,7 +4,7 @@ import ( "errors" "strconv" - "github.com/dareid/gore/sexp" + "github.com/senseyeio/roger/sexp" ) type Packet struct {
Adjusting for senseyeio changeover
senseyeio_roger
train
go
ea17420a106f25421bcda377a65c40b9bacf4c36
diff --git a/lib/xport/crypt.php b/lib/xport/crypt.php index <HASH>..<HASH> 100644 --- a/lib/xport/crypt.php +++ b/lib/xport/crypt.php @@ -9,5 +9,5 @@ interface XportCryptInterface { } //we use the LSS crypt class as is -lib('crypt'); +ld('crypt'); class XportCrypt extends Crypt implements XportCryptInterface{}
changed lib to ld and added func loading
nullivex_lib-xport
train
php
f3ae5d47e5f2fafdf97712a66d6e9305ff4b049a
diff --git a/salt/modules/pkg_resource.py b/salt/modules/pkg_resource.py index <HASH>..<HASH> 100644 --- a/salt/modules/pkg_resource.py +++ b/salt/modules/pkg_resource.py @@ -96,7 +96,7 @@ def _parse_pkg_meta(path): except AttributeError: continue if arch: - ...
Optimize comparison in _parse_pkg_meta This uses a more efficient method of checking if the package arch for debian packages is one of two different arches. Inspired by a conversation here: <URL>
saltstack_salt
train
py
e16870d4a54a0cab52a7dca71ba2c7216195b2e5
diff --git a/qrencode/__init__.py b/qrencode/__init__.py index <HASH>..<HASH> 100644 --- a/qrencode/__init__.py +++ b/qrencode/__init__.py @@ -48,7 +48,7 @@ def encode(data, version=0, level=QR_ECLEVEL_L, hint=QR_MODE_8, else: version, size, data = _encode(data, version, level, hint, False) - im ...
Call `frombytes` instead of `fromstring` Image.fromstring() was removed in Pillow in version 3, see <URL>
Arachnid_pyqrencode
train
py
a9dcd52811b8b11c95691caf0e4c16cdd6d415ba
diff --git a/lib/builder.js b/lib/builder.js index <HASH>..<HASH> 100644 --- a/lib/builder.js +++ b/lib/builder.js @@ -147,7 +147,7 @@ module.exports = function (options) { var searchArray = []; _u.each(requestQuery.columns, function(column, i){ - var colName = sanitize(self.aSearchColumn...
Use columns[i].name to build WHERE clauses so that columns[i].data can be used for its intended purpose (see <URL>)
jpravetz_node-datatable
train
js
12b34588fea31356c4a635ecf0a7b03cbbc21abc
diff --git a/lib/semvergen/bump.rb b/lib/semvergen/bump.rb index <HASH>..<HASH> 100644 --- a/lib/semvergen/bump.rb +++ b/lib/semvergen/bump.rb @@ -101,11 +101,7 @@ module Semvergen say color("Will add the following to CHANGELOG.md", :underline) say color(diff_change_log) - commit_message = as...
Just fix the git commit message to say the version has bumped.
brendon9x_semvergen
train
rb
6bf9a9e6caa4f8be6d39169c78022361ecc3472c
diff --git a/buffalo/cmd/app_generators.go b/buffalo/cmd/app_generators.go index <HASH>..<HASH> 100644 --- a/buffalo/cmd/app_generators.go +++ b/buffalo/cmd/app_generators.go @@ -52,7 +52,7 @@ func appGoGet() *exec.Cmd { const nREADME = ` # Welcome to Buffalo! -Thank you for chosing Buffalo for your web development...
spelling fix - chosing -> choosing
gobuffalo_buffalo
train
go
6b3020f0829cb3754263f2c00cd16251e2bf29d0
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,7 @@ var Redular = function(options){ dataExpiry: options.dataExpiry || 30, redis: { port: options.redis.port || 6379, - host: options.redishost || '127.0.0.1', + host: options.redis.host |...
Fixed bug in redis host config
pthm_redular
train
js
a31874ed489cbd1ea56f428dc2a50bed2c5d8965
diff --git a/audio/vorbis/vorbis.go b/audio/vorbis/vorbis.go index <HASH>..<HASH> 100644 --- a/audio/vorbis/vorbis.go +++ b/audio/vorbis/vorbis.go @@ -161,8 +161,11 @@ func decode(in audio.ReadSeekCloser) (*decoded, int, int, error) { return nil, 0, 0, err } d := &decoded{ - data: make([]float32, r.Length...
vorbis: Bug fix: Length returned wrong result with monoral source (#<I>)
hajimehoshi_ebiten
train
go
bb7dc462ef81c239da23097fcce1bb5c49a63ae4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ REQUIRES = [ 'django-crispy-forms', 'django-nose', 'django-registration-redux', - 'djangorestframework', + 'djangorestframework < 3.8.0', 'drf-extensions', 'jsonfield', 'pillow'...
Pin DRF to < <I> drf-extensions doesn't support it See: chibisov/drf-extensions#<I>
CTPUG_wafer
train
py
042f20674a67f6582a6d7ef301aa7702641439fb
diff --git a/myql/contrib/table/base.py b/myql/contrib/table/base.py index <HASH>..<HASH> 100644 --- a/myql/contrib/table/base.py +++ b/myql/contrib/table/base.py @@ -2,27 +2,6 @@ from xml.etree import cElementTree as ctree class Base(object): - def addElement(self, elt, tagName=None): - root = self.etre...
#<I> : improving library health by cleaning the base house
josuebrunel_myql
train
py
dfa887542a54358af06c46ebec5b8034854b1adb
diff --git a/custodian/qchem/new_handlers.py b/custodian/qchem/new_handlers.py index <HASH>..<HASH> 100644 --- a/custodian/qchem/new_handlers.py +++ b/custodian/qchem/new_handlers.py @@ -49,7 +49,7 @@ class QChemErrorHandler(ErrorHandler): self.geom_max_cycles = geom_max_cycles self.qcinp = QCInput.fr...
Trying to fix TravisCI problem with handler tests
materialsproject_custodian
train
py
aa0acaec48ccfc8eaf6caee65af0684393eaef92
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -1168,6 +1168,10 @@ def _dmidecode_data(regex_dict): elif salt.utils.which('smbios'): out = __salt__['cmd.run']('smbios') else: + log.info( + 'Th...
Notify the user if dmidecode could not be located
saltstack_salt
train
py
0fc41aed7056e645f1d41a7ef6a00a34344dde38
diff --git a/lib/puppet/provider/package/zypper.rb b/lib/puppet/provider/package/zypper.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/provider/package/zypper.rb +++ b/lib/puppet/provider/package/zypper.rb @@ -3,8 +3,8 @@ Puppet::Type.type(:package).provide :zypper, :parent => :rpm do has_feature :versionable ...
[#<I>] Replace rug with zypper OpenSuSE replaced rug with zypper so our code should too
puppetlabs_puppet
train
rb
e19a352f44553a4bc37959d2b5fed6fbb9914986
diff --git a/source/library/com/restfb/types/User.java b/source/library/com/restfb/types/User.java index <HASH>..<HASH> 100644 --- a/source/library/com/restfb/types/User.java +++ b/source/library/com/restfb/types/User.java @@ -111,6 +111,7 @@ public class User extends NamedFacebookType { /** * Shortened, locale-...
Issue #<I> - missing graph api javadoc tag added
restfb_restfb
train
java
3f7c8ec7cfeefebd67e9aa6ebec1d55568ee665d
diff --git a/io3d/dcmreaddata.py b/io3d/dcmreaddata.py index <HASH>..<HASH> 100644 --- a/io3d/dcmreaddata.py +++ b/io3d/dcmreaddata.py @@ -950,7 +950,7 @@ def sort_list_of_dicts(lst_of_dct, keys, reverse=False, **sort_args): # dcmdir = lst_of_dct[:] dcmdir = lst_of_dct # sorting is based on two values in...
use zero because Nones are not sortable
mjirik_io3d
train
py