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
12571db2d9524d52fe8785c3023221cf1ceb1cae
diff --git a/lib/inherited_resources/base.rb b/lib/inherited_resources/base.rb index <HASH>..<HASH> 100644 --- a/lib/inherited_resources/base.rb +++ b/lib/inherited_resources/base.rb @@ -42,7 +42,8 @@ module InheritedResources def self.inherited(klass) super - klass.helper :all if klass.superclas...
Rails <I> forward compability.
activeadmin_inherited_resources
train
rb
0d1c7394f03b58eb0b67d6ed192b36665d829dcb
diff --git a/dedupe/__init__.py b/dedupe/__init__.py index <HASH>..<HASH> 100644 --- a/dedupe/__init__.py +++ b/dedupe/__init__.py @@ -27,7 +27,9 @@ import backport from api import Pool from api import StaticDedupe, Dedupe from api import StaticRecordLink, RecordLink +from api import StaticGazetteer, Gazetteer from...
added gazetteer to and staticgazetterr to __int__, relates to <URL>
dedupeio_dedupe
train
py
d267b6359ea5fbee3e13a383fdb20b56114a4041
diff --git a/lib/nicorepo.rb b/lib/nicorepo.rb index <HASH>..<HASH> 100644 --- a/lib/nicorepo.rb +++ b/lib/nicorepo.rb @@ -43,14 +43,18 @@ class Nicorepo end def videos(req_num = 3, page_nest_max = 5) - get_logs(req_num, page_nest_max, 'video-upload') + filtered_by('video-upload', req_num, page_nest_max) ...
reactored to filter by any values
upinetree_nicorepo
train
rb
8925adab0856bea14d0c554c6d20e61e3a7417cb
diff --git a/grade/export/grade_export_form.php b/grade/export/grade_export_form.php index <HASH>..<HASH> 100755 --- a/grade/export/grade_export_form.php +++ b/grade/export/grade_export_form.php @@ -54,8 +54,8 @@ class grade_export_form extends moodleform { $mform->addElement('date_time_selector', 'validun...
fix of disabledIf fix :-(
moodle_moodle
train
php
beeb00430b94a546b58581eccc227b42327c931f
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 @@ -12,7 +12,7 @@ SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCo SimpleCov.start do add_filter '/spec/' add_filter '/vendor/bundle/' - minimum_...
Lower coverage threshold for Mongoid builds
sferik_rails_admin
train
rb
7c7dbe95a09f3cfbca5255bc946aa0878a77902c
diff --git a/sciunit/__init__.py b/sciunit/__init__.py index <HASH>..<HASH> 100644 --- a/sciunit/__init__.py +++ b/sciunit/__init__.py @@ -16,6 +16,7 @@ except ImportError: from StringIO import StringIO if sys.version_info.major < 3: FileNotFoundError = OSError + json.JSONDecodeError = ValueError impor...
Added JSONDecodeError definition for Python 2
scidash_sciunit
train
py
2284345d85d43c7e1211ea4344319dac9f05eb3a
diff --git a/library/src/main/java/com/wdullaer/materialdatetimepicker/HapticFeedbackController.java b/library/src/main/java/com/wdullaer/materialdatetimepicker/HapticFeedbackController.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/com/wdullaer/materialdatetimepicker/HapticFeedbackController.java +++ b/l...
Fixes #<I> Increased vibrate duration so it is actually noticeable.
wdullaer_MaterialDateTimePicker
train
java
b7e329fa651f3cc343831259b99fac020570d802
diff --git a/packages/build-tools/tasks/pattern-lab-tasks.js b/packages/build-tools/tasks/pattern-lab-tasks.js index <HASH>..<HASH> 100644 --- a/packages/build-tools/tasks/pattern-lab-tasks.js +++ b/packages/build-tools/tasks/pattern-lab-tasks.js @@ -96,7 +96,7 @@ async function compileWithNoExit() { compileWithNoExit...
fix: fix async / await in PL build config
bolt-design-system_bolt
train
js
7f672b0b68f3e5be52a9263e7cab4d9da6d7d644
diff --git a/lib/knife-solo/bootstraps.rb b/lib/knife-solo/bootstraps.rb index <HASH>..<HASH> 100644 --- a/lib/knife-solo/bootstraps.rb +++ b/lib/knife-solo/bootstraps.rb @@ -84,7 +84,7 @@ module KnifeSolo run_command("sudo apt-get update") # Make sure we have rsync on builds that don't include it by ...
Add -y to apt-get install If rsync was already installed on the remote host, you may receive this: rsync is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and <I> not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to...
matschaffer_knife-solo
train
rb
a813e8c11fbeab15a26ec6ac6309163a64f672cc
diff --git a/yii2fullcalendar.php b/yii2fullcalendar.php index <HASH>..<HASH> 100644 --- a/yii2fullcalendar.php +++ b/yii2fullcalendar.php @@ -119,6 +119,13 @@ class yii2fullcalendar extends elWidget */ public $eventDrop = ""; + + /** + * The javascript function to us as en eventResize callback + ...
Add eventResize callback Added an eventResize callback, allowing the user to add a callback function from the yii2 widget.
philippfrenzel_yii2fullcalendar
train
php
00b12f0b79869bb368b5c041801da2fe85812798
diff --git a/tests/CLI/modules/server_tests.py b/tests/CLI/modules/server_tests.py index <HASH>..<HASH> 100644 --- a/tests/CLI/modules/server_tests.py +++ b/tests/CLI/modules/server_tests.py @@ -805,7 +805,6 @@ class ServerCLITests(testing.TestCase): 'editObject', ...
#<I> Fix tox E<I> too many blank lines
softlayer_softlayer-python
train
py
dc430d2edd953468ec5320a1370066bc1d96022d
diff --git a/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php b/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php index <HASH>..<HASH> 100644 --- a/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGeneratorTest.php +++ b/tests/ProxyManagerTest/ProxyGenerator/AbstractProxyGenerat...
Coverage for cases where an abstract method occurs
Ocramius_ProxyManager
train
php
b98cc7fb15ab2f8d3fa876783774eb16777ff4bb
diff --git a/registry/quilt_server/analytics.py b/registry/quilt_server/analytics.py index <HASH>..<HASH> 100644 --- a/registry/quilt_server/analytics.py +++ b/registry/quilt_server/analytics.py @@ -38,7 +38,12 @@ class NoopConsumer(object): def send(self, endpoint, json_message): pass -mp_token = app.c...
Fix MixPanel logging in teams setups (#<I>) Subtle bug: MixPanel was enabled if the token wasn't set, but not if it was set to None.
quiltdata_quilt
train
py
3238f55236ab48ed12545f560cbf2a4bb985d889
diff --git a/kundera-core/src/main/java/com/impetus/kundera/persistence/EntityManagerFactoryImpl.java b/kundera-core/src/main/java/com/impetus/kundera/persistence/EntityManagerFactoryImpl.java index <HASH>..<HASH> 100644 --- a/kundera-core/src/main/java/com/impetus/kundera/persistence/EntityManagerFactoryImpl.java +++ ...
Fixed issue related to emf. If emf is closed then should not be allowed to create entity manager.
Impetus_Kundera
train
java
9a58708fc0151fff00cea6f76b642a3f087628a2
diff --git a/test/lib/hector/test_connection.rb b/test/lib/hector/test_connection.rb index <HASH>..<HASH> 100644 --- a/test/lib/hector/test_connection.rb +++ b/test/lib/hector/test_connection.rb @@ -17,8 +17,12 @@ module Hector @connection_closed = true end - def get_peername - "\020\002\346\075\1...
Stub address and port instead of get_peername
sstephenson_hector
train
rb
65565c002586df3854f10e669de431fa04233a7f
diff --git a/public/js/garp.front.js b/public/js/garp.front.js index <HASH>..<HASH> 100755 --- a/public/js/garp.front.js +++ b/public/js/garp.front.js @@ -1042,7 +1042,7 @@ $(function(){ padding: '4px', width: '20px', height: '20px', - margin: '-14px 0 0 14px', + margin: '-14px 0 0 -14px', ...
Moved snippet edit link to the left of an element
grrr-amsterdam_garp3
train
js
546e885a8584b5d51b23bac61a6036d4d640a53a
diff --git a/source/rafcon/mvc/controllers/graphical_editor_gaphas.py b/source/rafcon/mvc/controllers/graphical_editor_gaphas.py index <HASH>..<HASH> 100644 --- a/source/rafcon/mvc/controllers/graphical_editor_gaphas.py +++ b/source/rafcon/mvc/controllers/graphical_editor_gaphas.py @@ -213,6 +213,8 @@ class GraphicalEd...
Gaphas: Update outcome name on change Outcome changes are now also observed in gaphas. Therefore, name changes are detected and accordingly handled.
DLR-RM_RAFCON
train
py
6b072c982b3478bed0a87647bd19fea5f1c12108
diff --git a/client/lib/abtest/active-tests.js b/client/lib/abtest/active-tests.js index <HASH>..<HASH> 100644 --- a/client/lib/abtest/active-tests.js +++ b/client/lib/abtest/active-tests.js @@ -127,10 +127,10 @@ export default { allowExistingUsers: true, }, skippableDomainStep: { - datestamp: '20190702', + da...
Disable the skippableDomainStep test Leaves the code in place but sends <I>% of traffic to the control group. Datestamp adjusted so that new users aren't added to either variant and we can just analyse results from within the test period.
Automattic_wp-calypso
train
js
57ceb31beb169d33baae71aec85e3d82e721ca3a
diff --git a/src/Thybag/Auth/SharePointOnlineAuth.php b/src/Thybag/Auth/SharePointOnlineAuth.php index <HASH>..<HASH> 100644 --- a/src/Thybag/Auth/SharePointOnlineAuth.php +++ b/src/Thybag/Auth/SharePointOnlineAuth.php @@ -55,8 +55,8 @@ class SharePointOnlineAuth extends \SoapClient { $response = curl_exec($curl); ...
We both had the fault codes wrong. There are only 5 valid FaultCodes for Soap. Fixed it so it is valid. I believe this is the correct one. <URL>
thybag_PHP-SharePoint-Lists-API
train
php
5b253cb59b0107858b4be74eb4e108b049a93353
diff --git a/aigerbv/test_aigbv.py b/aigerbv/test_aigbv.py index <HASH>..<HASH> 100644 --- a/aigerbv/test_aigbv.py +++ b/aigerbv/test_aigbv.py @@ -25,7 +25,7 @@ def test_AIGBV_seq_compose(): assert circ12.inputs == circ1.inputs | circ2.inputs - {'tmp'} assert circ12.outputs == circ2.outputs - assert circ...
Properly test call of compositions
mvcisback_py-aiger-bv
train
py
d8d613569ad1552cf734c8cac2fd49f1a7d14eb1
diff --git a/js/huobipro.js b/js/huobipro.js index <HASH>..<HASH> 100644 --- a/js/huobipro.js +++ b/js/huobipro.js @@ -794,7 +794,7 @@ module.exports = class huobipro extends Exchange { let requestAmount = ((type === 'market') && (side === 'buy')) ? this.valueToPrecision (symbol, amount) : this.amountToPreci...
fix the huobipro market buy order amount issue
ccxt_ccxt
train
js
0374ef0cde7faf55679594aff8848f002169f843
diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go index <HASH>..<HASH> 100644 --- a/lxd/container_lxc.go +++ b/lxd/container_lxc.go @@ -1777,13 +1777,29 @@ func (c *containerLXC) OnStop(target string) error { // Freezer functions func (c *containerLXC) Freeze() error { + ctxMap := log.Ctx{"name": c.name, + ...
lxd/container_lxc: improve log on container freeze
lxc_lxd
train
go
12fe3827e6d4ec28f68598be4a1649054b2ff065
diff --git a/src/Tippy.js b/src/Tippy.js index <HASH>..<HASH> 100644 --- a/src/Tippy.js +++ b/src/Tippy.js @@ -5,6 +5,7 @@ import { ssrSafeCreateDiv, toDataAttributes, deepPreserveProps, + isBrowser, } from './utils'; import {useMutableBox, useIsomorphicLayoutEffect} from './util-hooks'; import {classNameP...
fix: portal SSR (#<I>)
atomiks_tippy.js-react
train
js
5e4f6cf2b1754d875868e23c09b212cc5842ff8e
diff --git a/backend/local/backend_plan.go b/backend/local/backend_plan.go index <HASH>..<HASH> 100644 --- a/backend/local/backend_plan.go +++ b/backend/local/backend_plan.go @@ -182,7 +182,7 @@ Path: %s const planNoChanges = ` [reset][bold][green]No changes. Infrastructure is up-to-date.[reset][green] -This means ...
backend/local: fix could not to did not to prevent error look
hashicorp_terraform
train
go
ea78c95f8f09e78ed3c804aa04ac9da459f69400
diff --git a/agrona/src/main/java/org/agrona/collections/Int2ObjectHashMap.java b/agrona/src/main/java/org/agrona/collections/Int2ObjectHashMap.java index <HASH>..<HASH> 100644 --- a/agrona/src/main/java/org/agrona/collections/Int2ObjectHashMap.java +++ b/agrona/src/main/java/org/agrona/collections/Int2ObjectHashMap.ja...
[Java] Honor the Java Map hashCode contract for Int2ObjectHashMap take 2.
real-logic_agrona
train
java
a53f9022e4291bc1af897a200777bbdcd0fcc3a7
diff --git a/src/java/azkaban/execapp/FlowRunner.java b/src/java/azkaban/execapp/FlowRunner.java index <HASH>..<HASH> 100644 --- a/src/java/azkaban/execapp/FlowRunner.java +++ b/src/java/azkaban/execapp/FlowRunner.java @@ -694,6 +694,8 @@ public class FlowRunner extends EventHandler implements Runnable { jobOutp...
fix the bug when job finishes the flow not get updated until next job submission
azkaban_azkaban
train
java
2a7224661f54a2368c14c1219b5e95b42083681a
diff --git a/lib/ruote/part/storage_participant.rb b/lib/ruote/part/storage_participant.rb index <HASH>..<HASH> 100644 --- a/lib/ruote/part/storage_participant.rb +++ b/lib/ruote/part/storage_participant.rb @@ -27,6 +27,12 @@ require 'ruote/part/local_participant' module Ruote + # + # A participant that stores t...
a bit of documentation for the StorageParticipant
jmettraux_ruote
train
rb
d91af2278330f1d483000111ad4c0de3caef8841
diff --git a/src/iceqube/storage.py b/src/iceqube/storage.py index <HASH>..<HASH> 100644 --- a/src/iceqube/storage.py +++ b/src/iceqube/storage.py @@ -4,6 +4,7 @@ from contextlib import contextmanager from copy import copy from sqlalchemy import Column, DateTime, Index, Integer, PickleType, String, create_engine, e...
Catch errors from setting pragmas on SQLite DB.
learningequality_iceqube
train
py
e26d0ac399e7daef2958d9e21cf537b1207b68d4
diff --git a/pushbullet_cli/app.py b/pushbullet_cli/app.py index <HASH>..<HASH> 100755 --- a/pushbullet_cli/app.py +++ b/pushbullet_cli/app.py @@ -158,7 +158,8 @@ def push(title, device, channel, filename, link, arg): kwargs['data_type'] = 'url' else: if arg is None: - print("Enter you...
Avoid prompt the user when message is piped Checks if stdin is attached to a tty or being piped
GustavoKatel_pushbullet-cli
train
py
3cbb3098614fc3996d316aa9acdd60f70bec8a7d
diff --git a/pysubs2/ssafile.py b/pysubs2/ssafile.py index <HASH>..<HASH> 100644 --- a/pysubs2/ssafile.py +++ b/pysubs2/ssafile.py @@ -159,7 +159,8 @@ class SSAFile(MutableSequence): # The file might be a pipe and we need to read it twice, # so just buffer everything. text = fp.re...
Autodetect format using only initial part of file
tkarabela_pysubs2
train
py
8fcb384edf2817c3799931fc807680b63c5b5310
diff --git a/addon/adapters/osf-adapter.js b/addon/adapters/osf-adapter.js index <HASH>..<HASH> 100644 --- a/addon/adapters/osf-adapter.js +++ b/addon/adapters/osf-adapter.js @@ -6,7 +6,7 @@ import DS from 'ember-data'; import HasManyQuery from 'ember-data-has-many-query'; import config from 'ember-get-config'; -im...
Update for merge conflicts. [ci skip]
CenterForOpenScience_ember-osf
train
js
5a810081a34da1b0ea81ed9f500aba6bee20401b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ def readme(): configuration = { 'name' : 'umap-learn', - 'version': '0.4.0', + 'version': '0.4.0.rc1', 'description' : 'Uniform Manifold Approximation and Projection', 'long_description' : ...
We have achieved release candidate status. Soon to merge to master.
lmcinnes_umap
train
py
9c5aa29d2cc7a0e01dee3cdd944e7cb518856d72
diff --git a/fuocore/player.py b/fuocore/player.py index <HASH>..<HASH> 100644 --- a/fuocore/player.py +++ b/fuocore/player.py @@ -131,8 +131,7 @@ class Player(object): self.destroy() def play_song(self, url): - if self.state == State.playing: - self.destroy() + self.destroy() ...
fix: cant play after a song was finished.
cosven_feeluown-core
train
py
6bff6439b1960891669485dc978af68dab15af27
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/attribute_methods/read.rb +++ b/activerecord/lib/active_record/attribute_methods/read.rb @@ -76,17 +76,17 @@ module ActiveReco...
Fewer string allocations in attribute method
rails_rails
train
rb
3ece5a584c107b08d0ba085ebdd04d4567785d95
diff --git a/ext_emconf.php b/ext_emconf.php index <HASH>..<HASH> 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [ 'author' => 'Markus Sommer', 'author_email' => 'markussom@posteo.de', 'state' => 'beta', - 'version' => '0.3.3-dev', + 'version' => '0.4.0', ...
[TASK] Update to version <I>
beardcoder_sitemap_generator
train
php
53f676bf2ef2e26885ab0ade3f7c506f5213b748
diff --git a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview/livepreview.js b/lib/gollum/frontend/public/gollum/livepreview/js/livepreview/livepreview.js index <HASH>..<HASH> 100644 --- a/lib/gollum/frontend/public/gollum/livepreview/js/livepreview/livepreview.js +++ b/lib/gollum/frontend/public/gollum/liv...
Do not load data on github.com.
gollum_gollum-lib
train
js
286f120c27caba7bc7f8a9c61308e2e0b0b3a006
diff --git a/src/sos/_version.py b/src/sos/_version.py index <HASH>..<HASH> 100644 --- a/src/sos/_version.py +++ b/src/sos/_version.py @@ -33,7 +33,7 @@ if _py_ver.major == 2 or (_py_ver.major == 3 and (_py_ver.minor, _py_ver.micro) # version of the SoS language __sos_version__ = '1.0' # version of the sos command ...
Release <I>, entering <I>
vatlab_SoS
train
py
0ec6e2139732fec86fc455c60af4125bbf8062eb
diff --git a/libs/commandio.js b/libs/commandio.js index <HASH>..<HASH> 100644 --- a/libs/commandio.js +++ b/libs/commandio.js @@ -117,7 +117,11 @@ module.exports = { // UTILS function getConsoleWidth(){ - var stdSize = process.stdout.getWindowSize(); + try{ + var stdSize = process.stdout.getWindowSize(); + } catc...
Catch exception on getConsoleWidth for no console lunch.
Techniv_node-command-io
train
js,js
a9a39483a49588615cfb037623a05c73a7836ab4
diff --git a/lib/bond.rb b/lib/bond.rb index <HASH>..<HASH> 100644 --- a/lib/bond.rb +++ b/lib/bond.rb @@ -13,16 +13,23 @@ module Bond def complete(options={}, &block) agent.complete(options, &block) + true rescue InvalidMissionError $stderr.puts "Invalid mission given. Mission needs an action and ...
added Bond.reset and boolean responses to complete
cldwalker_bond
train
rb,rb
3cc6b99b5d8c2fdbbf1ec7b412021618ad3cf022
diff --git a/synapse/tests/test_cortex.py b/synapse/tests/test_cortex.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_cortex.py +++ b/synapse/tests/test_cortex.py @@ -50,6 +50,9 @@ class CortexTest(SynTest): self.runrange( core, do_extras=True ) self.runidens( core ) + # Test load an ...
Added a reload test.
vertexproject_synapse
train
py
ac06910c6ba7c1d1f10da32aa7d0fd38e2a56e7d
diff --git a/fastlane/spec/actions_specs/unlock_keychain_spec.rb b/fastlane/spec/actions_specs/unlock_keychain_spec.rb index <HASH>..<HASH> 100644 --- a/fastlane/spec/actions_specs/unlock_keychain_spec.rb +++ b/fastlane/spec/actions_specs/unlock_keychain_spec.rb @@ -1,7 +1,9 @@ describe Fastlane do describe Fastlan...
Don't create in lazy manner keychain files (#<I>)
fastlane_fastlane
train
rb
9d5f54461eeb852a6e5343ba2c2a1a9b98d58097
diff --git a/src/com/google/javascript/jscomp/CollapseProperties.java b/src/com/google/javascript/jscomp/CollapseProperties.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/CollapseProperties.java +++ b/src/com/google/javascript/jscomp/CollapseProperties.java @@ -943,7 +943,7 @@ class CollapsePro...
Remove reference to getChildBefore, getPrevious is preferred. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
d52fbb18f2185d24ba4395ba384ccf9faef506d2
diff --git a/docs/index.js b/docs/index.js index <HASH>..<HASH> 100644 --- a/docs/index.js +++ b/docs/index.js @@ -126,6 +126,9 @@ Docs.getExtension = function(path){ case 'ico': contentType = 'image/' + extension; break; + case 'js': + contentType = 'application/javascript'; + break; default: co...
fixed javascript mime type issue
nathanjsweet_Noodles
train
js
176bf01139a5460dac7dc5959405124ac267a18d
diff --git a/src/lokijs.js b/src/lokijs.js index <HASH>..<HASH> 100644 --- a/src/lokijs.js +++ b/src/lokijs.js @@ -1223,7 +1223,7 @@ var loki = (function () { Collection.prototype.insert = function (doc) { var self = this; - if (this.binaryIndices.length > 0) this.binaryIndicesDirty = true; + if (this.b...
flag rebuild fix when adding/updating/deleting documents flag all indexes as dirty (to be independently lazy rebuilt later)
techfort_LokiJS
train
js
273cc4a05316747c468ae34f032f2f5cebc1f509
diff --git a/spec/notification_spec.rb b/spec/notification_spec.rb index <HASH>..<HASH> 100644 --- a/spec/notification_spec.rb +++ b/spec/notification_spec.rb @@ -267,8 +267,8 @@ describe Bugsnag::Notification do expect(Bugsnag).to have_sent_notification{ |payload| # Truncated body should be no bigger tha...
Tweak this for travis
bugsnag_bugsnag-ruby
train
rb
9669158dde80dba8aa25089c06d0d31d8b99414f
diff --git a/src/Stage.js b/src/Stage.js index <HASH>..<HASH> 100644 --- a/src/Stage.js +++ b/src/Stage.js @@ -53,13 +53,17 @@ function createStageFunction() { }); return canvas; - }; + } + + Stage.propTypes = propTypes; return Stage; -}; +} function createStageClass() { class Stage extends Re...
fixed eslint issues
michalochman_react-pixi-fiber
train
js
6da72a90fcd934fab83e51e2d8cf3629757df868
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ setup( "PyYAML<4.0.0", "pytz>=2018.4", "requests-futures>0.9.0", - "paramiko<2.0.0", + "paramiko<2.5.0", "requests<3.0.0", "retrying", "six>=1....
Upgrade paramiko in kafka-utils.
Yelp_kafka-utils
train
py
cf58ab649938f9cbf34bffd5e3cb6744fb68c3c5
diff --git a/bashplotlib/histogram.py b/bashplotlib/histogram.py index <HASH>..<HASH> 100644 --- a/bashplotlib/histogram.py +++ b/bashplotlib/histogram.py @@ -206,7 +206,7 @@ def plot_hist(f, height=20.0, bincount=None, binwidth=None, pch="o", colour="def summary = "|" + ("observations: %d" % n).center(center)...
relabel sd => std dev
glamp_bashplotlib
train
py
de43f01d65f56ade5895f5fe8c32af8e151e94c6
diff --git a/builtin/provisioners/local-exec/resource_provisioner.go b/builtin/provisioners/local-exec/resource_provisioner.go index <HASH>..<HASH> 100644 --- a/builtin/provisioners/local-exec/resource_provisioner.go +++ b/builtin/provisioners/local-exec/resource_provisioner.go @@ -60,7 +60,6 @@ func applyFn(ctx contex...
provisioner/local-exec: Support custom environment variables on Windows Due to an incorrect slice allocation, the environment variable list was created with an empty string element for each real element added. It appears that this was silently ignored on Unix, but caused the following environment settings to be i...
hashicorp_terraform
train
go
8a0b261fa527d20a503eedc54f008c3908057b60
diff --git a/workshift/views.py b/workshift/views.py index <HASH>..<HASH> 100644 --- a/workshift/views.py +++ b/workshift/views.py @@ -851,9 +851,10 @@ def adjust_hours_view(request, semester): pool_hour_forms = [] for workshifter in workshifters: + forms_list = [] for pool in pools: ...
Fxied adjust_hours view
knagra_farnsworth
train
py
659dac8e75bb409afede114f59c5fb3a8d86a5e6
diff --git a/openfisca_web_api/controllers.py b/openfisca_web_api/controllers.py index <HASH>..<HASH> 100644 --- a/openfisca_web_api/controllers.py +++ b/openfisca_web_api/controllers.py @@ -174,7 +174,7 @@ def api1_calculate(req): conv.pipe( conv.test_isinstance(ba...
Use an empty dict instead of an empty list when there is no reform.
openfisca_openfisca-web-api
train
py
39e66379895db5b25045b236cf6feb3b6cfe50aa
diff --git a/lib/components/services/solr/index.js b/lib/components/services/solr/index.js index <HASH>..<HASH> 100644 --- a/lib/components/services/solr/index.js +++ b/lib/components/services/solr/index.js @@ -150,8 +150,11 @@ class SolrService { } executeSolrFullReindex (core, cb) { - if (!process.env.S...
Return out of executeSolrFull/DeltaReindex when bailing early
wmfs_tymly-solr-plugin
train
js
f8162a4ff7cb8db4386d09fdf359fae3e836f4a0
diff --git a/lib/fog/digitalocean/requests/compute/list_servers.rb b/lib/fog/digitalocean/requests/compute/list_servers.rb index <HASH>..<HASH> 100644 --- a/lib/fog/digitalocean/requests/compute/list_servers.rb +++ b/lib/fog/digitalocean/requests/compute/list_servers.rb @@ -16,7 +16,24 @@ module Fog class Mock ...
[digitalocean|compute] added list_servers mock code
fog_fog
train
rb
8f714138eb748909ac032c3cfce9d9a2faf22602
diff --git a/tests/unit/context_test.py b/tests/unit/context_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/context_test.py +++ b/tests/unit/context_test.py @@ -104,7 +104,7 @@ class ContextDictTests(AsyncTestCase): wait_iterator = tornado.gen.WaitIterator(*futures) while not wait_iterator.don...
Use .next() in contextdict test for py3 (#<I>)
saltstack_salt
train
py
a2f0c229199a39c15aa87e8c0b469651ecd6586d
diff --git a/usecase/taxi/main.go b/usecase/taxi/main.go index <HASH>..<HASH> 100644 --- a/usecase/taxi/main.go +++ b/usecase/taxi/main.go @@ -361,6 +361,7 @@ Records: } log.Printf("mapping: bm: %v, err: %v rec: %v", bm, err, record) m.skippedRecs.Add(1) + m.badUnknowns.Add(1) continue Records ...
make sure to add to unknowns when skipping
pilosa_pdk
train
go
001c41f6a61fc00cd843d298c65cb58a420dce5d
diff --git a/trellio/__init__.py b/trellio/__init__.py index <HASH>..<HASH> 100755 --- a/trellio/__init__.py +++ b/trellio/__init__.py @@ -18,4 +18,4 @@ from .utils.log import setup_logging # noqa from .views import BaseHTTPView, BaseTCPView from .wrappers import Response, Request # noqa -__version__ = '1.1.27' +...
http and tcp view classes addded
quikmile_trellio
train
py,py
e55082b448138d24ff168b794fac319f9d1adb7e
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -235,13 +235,18 @@ latex_documents = [ # If false, no module index is generated. #latex_use_modindex = True -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' -if on_rtd: - # so that ReadTheDocs can...
Wrap up mocking functionality into a function
cherrypy_cheroot
train
py
bea7298de8978554062d7cc952ca0056fd381854
diff --git a/spec/call_flow_spec.rb b/spec/call_flow_spec.rb index <HASH>..<HASH> 100644 --- a/spec/call_flow_spec.rb +++ b/spec/call_flow_spec.rb @@ -89,17 +89,24 @@ describe 'CallFlow' do createdAt: '2019-11-07T12:37:59Z', updatedAt: '2019-11-07T12:37:59Z' } - ] + ], + pe...
add a test to try to catch a camelCase to underscore problem
messagebird_ruby-rest-api
train
rb
bba1a432e72c613faa6cf96ffdaafae62b5e9d55
diff --git a/languages_plus/utils.py b/languages_plus/utils.py index <HASH>..<HASH> 100644 --- a/languages_plus/utils.py +++ b/languages_plus/utils.py @@ -23,7 +23,7 @@ def associate_countries_and_languages(): except ObjectDoesNotExist: print("Cannot find country identified...
Updated associate_countries_and_languages Updated associate_countries_and_languages to ensure the language is added alongside the culture code during association.
cordery_django-languages-plus
train
py
069b8cd7178af67e8382de2e28db4a7ea7e41de3
diff --git a/src/Guzzle/Plugin/Cookie/Cookie.php b/src/Guzzle/Plugin/Cookie/Cookie.php index <HASH>..<HASH> 100644 --- a/src/Guzzle/Plugin/Cookie/Cookie.php +++ b/src/Guzzle/Plugin/Cookie/Cookie.php @@ -428,7 +428,7 @@ class Cookie implements ToArrayInterface // Remove the leading '.' as per spec in RFC 6265...
Consider an extreme case in the test: Cookie domain: <I> Actual domain: <I> This cookie shouldn't be matched
guzzle_guzzle3
train
php
9021384fc5bfc656d004ed530299004073d6de8a
diff --git a/prometheus_client/exposition.py b/prometheus_client/exposition.py index <HASH>..<HASH> 100644 --- a/prometheus_client/exposition.py +++ b/prometheus_client/exposition.py @@ -11,7 +11,7 @@ from contextlib import closing from wsgiref.simple_server import make_server, WSGIRequestHandler from prometheus_cl...
Fix import of openmetrics, and make accept handling more general. (#<I>)
prometheus_client_python
train
py
34e63d64be0c0a5cacd6f0338784582a8d3b63c1
diff --git a/bcbio/cwl/tool.py b/bcbio/cwl/tool.py index <HASH>..<HASH> 100644 --- a/bcbio/cwl/tool.py +++ b/bcbio/cwl/tool.py @@ -219,7 +219,7 @@ def _cromwell_move_outputs(metadata, final_dir): _write_to_dir(v, utils.safe_makedir(os.path.join(final_dir, s))) elif len(vals) == 1: ...
CWL output: avoid checking when nothing to move
bcbio_bcbio-nextgen
train
py
506c4fc309c73e058ded49e0910ef88cbc842e75
diff --git a/src/Ray/Aop/Compiler.php b/src/Ray/Aop/Compiler.php index <HASH>..<HASH> 100644 --- a/src/Ray/Aop/Compiler.php +++ b/src/Ray/Aop/Compiler.php @@ -25,6 +25,11 @@ use TokenReflection\ReflectionParameter; final class Compiler implements CompilerInterface { /** + * @var string + */ + public $...
be public for Compilser::$classDir property
ray-di_Ray.Aop
train
php
b65337f726ef04560a0c1cdcdcb69e9f22be591f
diff --git a/src/BEAR/Resource/Resource.php b/src/BEAR/Resource/Resource.php index <HASH>..<HASH> 100644 --- a/src/BEAR/Resource/Resource.php +++ b/src/BEAR/Resource/Resource.php @@ -133,7 +133,9 @@ class Resource implements ResourceInterface $this->cache->save($key, $instance); } catch (\...
Error_log only at !CLI
bearsunday_BEAR.Resource
train
php
b4ee644cedc7d394d979d043da568a999c8a59b1
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -165,6 +165,11 @@ export function inspect(value, options) { return inspectObject(value, options) } + // last chance to check if it's an object + if (value === Object(value)) { + return inspectObject(value, optio...
fix: inspect null prototype objects (#<I>) this previously worked in chai, but not since moving to loupe
chaijs_loupe
train
js,js
7b1d8a614bc7a38f7e19effd292b591dbb9519aa
diff --git a/holoviews/streams.py b/holoviews/streams.py index <HASH>..<HASH> 100644 --- a/holoviews/streams.py +++ b/holoviews/streams.py @@ -10,17 +10,6 @@ from collections import defaultdict from .core import util -class Preprocessor(param.Parameterized): - """ - A Preprocessor is a callable that takes a ...
Removed the Preprocessor class from streams.py
pyviz_holoviews
train
py
9671b53ca31e86e87b455bd04c5274b169f9e147
diff --git a/pygcgen/generator.py b/pygcgen/generator.py index <HASH>..<HASH> 100644 --- a/pygcgen/generator.py +++ b/pygcgen/generator.py @@ -27,7 +27,10 @@ def timestring_to_datetime(timestring): :rtype: datetime :return: datetime object """ - result = dateutil_parser(str(timestring)) + with warn...
ignore some UnicodeWarning generated by dateutil
topic2k_pygcgen
train
py
1f08c0a8f950101fce46822111b364d2d1008c5e
diff --git a/tests/test_quoting.py b/tests/test_quoting.py index <HASH>..<HASH> 100644 --- a/tests/test_quoting.py +++ b/tests/test_quoting.py @@ -230,3 +230,11 @@ def test_quote_lowercase(quote): def test_quote_unquoted(quote): assert quote('%41') == 'A' + + +def test_unquote_unsafe(unquote): + assert unquo...
Restore coverage to <I>%
aio-libs_yarl
train
py,py
cd470e776328158636ab2b3cd5df11ad9984d464
diff --git a/src/BulkInsert.php b/src/BulkInsert.php index <HASH>..<HASH> 100644 --- a/src/BulkInsert.php +++ b/src/BulkInsert.php @@ -150,7 +150,7 @@ class BulkInsert public function write() { $rowCount = count($this->rows); - if ($rowCount > 0) { + if ($rowCount == 0) { r...
Fix early exit comparison to look for empty rows
phlib_db
train
php
b340d183763edf4b63b6d3845f547b945b5ac27e
diff --git a/providers/core.tcpsocket.js b/providers/core.tcpsocket.js index <HASH>..<HASH> 100644 --- a/providers/core.tcpsocket.js +++ b/providers/core.tcpsocket.js @@ -135,8 +135,8 @@ TcpSocket_node.prototype.connect = function (hostname, port, cb) { } try { - this.connection = this.net.connect(port, host...
set connecting status before invoking connect attempt, in case of side effects/failures
freedomjs_freedom-for-node
train
js
ca4f9a8e6ce596047c8b6452daf6125cd2e7e203
diff --git a/service/gcs/core/gcs/cleanup.go b/service/gcs/core/gcs/cleanup.go index <HASH>..<HASH> 100644 --- a/service/gcs/core/gcs/cleanup.go +++ b/service/gcs/core/gcs/cleanup.go @@ -47,11 +47,18 @@ func (c *gcsCore) cleanupContainer(containerEntry *containerCacheEntry) error { errToReturn = err } } - if e...
Fixes potential delete on unmounts failure Will only destroy the container storage in the UVM if all mounts are successfully unmounted. Without this we have no way of knowing if it safe to delete the files or if this could have an affect on the host files. Resolves: #<I>
Microsoft_hcsshim
train
go
27f8cdbff87af4f7144d077ea9ac5dbdc724fd78
diff --git a/StreamInterface.php b/StreamInterface.php index <HASH>..<HASH> 100644 --- a/StreamInterface.php +++ b/StreamInterface.php @@ -4,6 +4,9 @@ namespace React\Stream; use Evenement\EventEmitterInterface; +// This class exists because ReadableStreamInterface and WritableStreamInterface +// both need close ...
[Stream] Documented why new `StreamInterface` exists
reactphp_stream
train
php
c9e02a1282a6f0f21972606935a5954fac5c0b99
diff --git a/ipa/ipa_provider.py b/ipa/ipa_provider.py index <HASH>..<HASH> 100644 --- a/ipa/ipa_provider.py +++ b/ipa/ipa_provider.py @@ -13,6 +13,9 @@ import json import logging import os import shlex + +import pytest + from datetime import datetime from ipa import ipa_utils @@ -30,8 +33,6 @@ from ipa.ipa_exce...
Cleanup imports and docstrings.
SUSE-Enceladus_ipa
train
py
2b88412b4eb2b7bf6da1cd97a62f39bcdbf6df46
diff --git a/packages/pageflow/src/editor/state.js b/packages/pageflow/src/editor/state.js index <HASH>..<HASH> 100644 --- a/packages/pageflow/src/editor/state.js +++ b/packages/pageflow/src/editor/state.js @@ -1,3 +1 @@ -/*global pageflow*/ - -export const state = pageflow; +export const state = window.pageflow || {};
Do not require pageflow global for Jest specs When other packages use editor functionality that relies on `$state`, we need to provide a default value for the pageflow global, to prevent each package (e.g. `pageflow-scrolled`) from having to define the global in its Jest config.
codevise_pageflow
train
js
aec7170b2220992c6958d53f5dd2b774d4aa0f22
diff --git a/urigo:angular.js b/urigo:angular.js index <HASH>..<HASH> 100644 --- a/urigo:angular.js +++ b/urigo:angular.js @@ -23,4 +23,16 @@ angularMeteor.run(['$compile', '$document', '$rootScope', function ($compile, $d }); }); } - }]); \ No newline at end of file + }]); + +// Putting all serv...
Add a shorter $meteor service for nicer API, solves #<I>
Urigo_angular-meteor
train
js
276a05ee39017ce446bff1a52994ea6d7a6b34a1
diff --git a/lib/gcloud/bigquery/dataset/access.rb b/lib/gcloud/bigquery/dataset/access.rb index <HASH>..<HASH> 100644 --- a/lib/gcloud/bigquery/dataset/access.rb +++ b/lib/gcloud/bigquery/dataset/access.rb @@ -87,10 +87,12 @@ module Gcloud @original_rules_hashes != @rules.map(&:to_h) end + ...
Mark Bigquery Access methods as private These methods are not intended to be part of the public API.
googleapis_google-cloud-ruby
train
rb
450881363852e784d50b62c8c425a135bcf10900
diff --git a/framework/core/src/Core/Users/User.php b/framework/core/src/Core/Users/User.php index <HASH>..<HASH> 100755 --- a/framework/core/src/Core/Users/User.php +++ b/framework/core/src/Core/Users/User.php @@ -368,6 +368,7 @@ class User extends Model ->whereIn('type', $this->getAlertableNotificationTy...
Don't include deleted notifications in the unread count
flarum_core
train
php
0c0f32379257547e06522b85d404955e3a381a8d
diff --git a/src/10.Expression.List.differentiate.js b/src/10.Expression.List.differentiate.js index <HASH>..<HASH> 100644 --- a/src/10.Expression.List.differentiate.js +++ b/src/10.Expression.List.differentiate.js @@ -64,19 +64,14 @@ Expression.List.prototype.differentiate = function(x) { ) ); case '/': ...
Fix list differentiation for the quotient rule.
aantthony_javascript-cas
train
js
baa277a4baaedbdbc68e6dde8fa6145b10a14a6c
diff --git a/src/uploader/qiniu.js b/src/uploader/qiniu.js index <HASH>..<HASH> 100644 --- a/src/uploader/qiniu.js +++ b/src/uploader/qiniu.js @@ -134,7 +134,7 @@ class ShardUploader { * @param {string} uploadId * @param {number} partNumber * @param {any} data - * @returns {Promise<{ partNumber: number; e...
fix: make jsdoc happy (#<I>)
leancloud_javascript-sdk
train
js
003c640a3dce2bc36b63f25a120a4fff1a621513
diff --git a/datasources-agroal/src/main/java/org/wildfly/extension/datasources/agroal/deployment/DataSourceDefinitionInjectionSource.java b/datasources-agroal/src/main/java/org/wildfly/extension/datasources/agroal/deployment/DataSourceDefinitionInjectionSource.java index <HASH>..<HASH> 100644 --- a/datasources-agroal/...
[WFLY-<I>] Refactoring - eliminating ServiceBuilder.addDependency(ServiceName) method usages in agroal subsystem.
wildfly_wildfly
train
java
379b2c20a153876239a90bb96e5503deb5ac7a0d
diff --git a/lib/kaminari/hooks.rb b/lib/kaminari/hooks.rb index <HASH>..<HASH> 100644 --- a/lib/kaminari/hooks.rb +++ b/lib/kaminari/hooks.rb @@ -18,10 +18,16 @@ module Kaminari end end + ## mongo_mapper ActiveSupport.on_load(:mongo_mapper) do - require 'kaminari/models/mongo_mappe...
Extract kaminari-mongo_mapper gem, and warn users to use the gemified adapter The built-in MongoMapper support will be removed from this gem in the <I> release
kaminari_kaminari
train
rb
55585b28141dcf58b2054b532fd27bbb8a3ca8bc
diff --git a/js-image-zoom.js b/js-image-zoom.js index <HASH>..<HASH> 100644 --- a/js-image-zoom.js +++ b/js-image-zoom.js @@ -59,7 +59,7 @@ } function getPosition(v, min, max) { - const value = getValue(v, min, max); + var value = getValue(v, min, max); return val...
- remove const from js code
malaman_js-image-zoom
train
js
b6f486b9b58ec51d1b05173fc2985dd9aad5e883
diff --git a/lib/ruuid/uuid.rb b/lib/ruuid/uuid.rb index <HASH>..<HASH> 100644 --- a/lib/ruuid/uuid.rb +++ b/lib/ruuid/uuid.rb @@ -34,10 +34,12 @@ module RUUID "<#{self.class}:0x#{object_id} data=#{to_s}>" end + # @private def marshal_dump data end + # @private def marshal_lo...
doc: Mark RUUID::UUID marshal methods private
hashrabbit_ruuid
train
rb
4470b76a330453a9f84422e3d271ef7f5df1128f
diff --git a/ext/RMagick/extconf.rb b/ext/RMagick/extconf.rb index <HASH>..<HASH> 100644 --- a/ext/RMagick/extconf.rb +++ b/ext/RMagick/extconf.rb @@ -16,8 +16,8 @@ module RMagick @stdout = $stdout.dup setup_pkg_config_path - configure_compile_options assert_can_compile! + configure_com...
Check whether it can be compiled before configuration (#<I>)
rmagick_rmagick
train
rb
8eea85d28a79e48bf1c5b78029e2bb822b8b475a
diff --git a/engine/core/src/main/java/org/datacleaner/configuration/InjectionManagerImpl.java b/engine/core/src/main/java/org/datacleaner/configuration/InjectionManagerImpl.java index <HASH>..<HASH> 100644 --- a/engine/core/src/main/java/org/datacleaner/configuration/InjectionManagerImpl.java +++ b/engine/core/src/mai...
Added injection support for DataCleanerHomeFolder
datacleaner_DataCleaner
train
java
b1b674540f44e40b57ecdac2a9748ff26bfe9783
diff --git a/src/MetaModels/DcGeneral/Events/Table/Attribute/AttributeType.php b/src/MetaModels/DcGeneral/Events/Table/Attribute/AttributeType.php index <HASH>..<HASH> 100644 --- a/src/MetaModels/DcGeneral/Events/Table/Attribute/AttributeType.php +++ b/src/MetaModels/DcGeneral/Events/Table/Attribute/AttributeType.php @...
Do only allow non translated attribute types in non translated MetaModels.
MetaModels_core
train
php
cdee91491d3f47171f588ecfae7f792fbd32ecc6
diff --git a/app/actions.go b/app/actions.go index <HASH>..<HASH> 100644 --- a/app/actions.go +++ b/app/actions.go @@ -19,11 +19,11 @@ import ( "github.com/globocom/tsuru/quota" "github.com/globocom/tsuru/repository" "io" + "labix.org/v2/mgo" "labix.org/v2/mgo/bson" "launchpad.net/goamz/aws" "launchpad.net/...
app/actions: use proper function to check duplication errors on mongo
tsuru_tsuru
train
go
324dc0ecd73425d0a08916b6423544bc04b92ff2
diff --git a/lib/zipkin-tracer.rb b/lib/zipkin-tracer.rb index <HASH>..<HASH> 100644 --- a/lib/zipkin-tracer.rb +++ b/lib/zipkin-tracer.rb @@ -23,11 +23,11 @@ module ZipkinTracer extend self B3_REQUIRED_HEADERS = %w[HTTP_X_B3_TRACEID HTTP_X_B3_PARENTSPANID HTTP_X_B3_SPANID HTTP_X_B3_SAMPLED] B3_HEADERS = B3_R...
Allow config hash to be passed on initialization - app.config is not always valid except for Rails 3+
openzipkin_zipkin-ruby
train
rb
e5bf3292911917c7c257a94336ef7056a8661776
diff --git a/lib/rspec-api/respond_with/request.rb b/lib/rspec-api/respond_with/request.rb index <HASH>..<HASH> 100644 --- a/lib/rspec-api/respond_with/request.rb +++ b/lib/rspec-api/respond_with/request.rb @@ -33,7 +33,7 @@ module RSpecApi def expectations_for(status, params) keys = [:collection, :at...
Fix: Allow collection: false to as an expectation Previously, .blank? would remove "false" values, which are instead needed to test that a response *is not* a collection
rspec-api_rspec-api-requests
train
rb
9268fe86da32bbd25ca4e2e0c44e726789e2565b
diff --git a/lib/gir_ffi/builder/type/union.rb b/lib/gir_ffi/builder/type/union.rb index <HASH>..<HASH> 100644 --- a/lib/gir_ffi/builder/type/union.rb +++ b/lib/gir_ffi/builder/type/union.rb @@ -23,6 +23,7 @@ module GirFFI setup_constants stub_methods setup_gtype_getter + setup...
Add field accessors to union types.
mvz_gir_ffi
train
rb,rb
35cb0f3d18e1a730c59f15aef604ce40c2654343
diff --git a/views/default/poll/poll_widget_content.php b/views/default/poll/poll_widget_content.php index <HASH>..<HASH> 100644 --- a/views/default/poll/poll_widget_content.php +++ b/views/default/poll/poll_widget_content.php @@ -22,9 +22,9 @@ if (elgg_is_logged_in()) { if ($allow_close_date == 'yes' && !$poll->isO...
Display correct closing date in info text in widgets after a poll is closed
iionly_poll
train
php
00242b7cb2e1356906a179434d946d6cf4e99cfc
diff --git a/src/shell.py b/src/shell.py index <HASH>..<HASH> 100644 --- a/src/shell.py +++ b/src/shell.py @@ -6,3 +6,5 @@ if sys.hexversion >= 0x030300F0: else: from pipes import quote +# TODO: Provide a way for split() to note that shell characters (like | or &&) +# shouldn't be quoted by quote().
Add a comment about an issue with shell.split()
jimporter_bfg9000
train
py
b265ffc8191ca20dc39ddb96d7c9a75504fd3b9b
diff --git a/cli.js b/cli.js index <HASH>..<HASH> 100644 --- a/cli.js +++ b/cli.js @@ -6,6 +6,8 @@ var spawn = require('child_process').spawn; var path = require('path'); + +var init = require('../init.js'); var install = require('./install.js'); var bundle = require('./bundle.js'); @@ -59,10 +61,6 @@ function ...
Linked with new local-cli, refactored
react-native-community_cli
train
js
0dbd5006ea9ba32e293a4be103f8408b5744ec02
diff --git a/lib/express/view.js b/lib/express/view.js index <HASH>..<HASH> 100644 --- a/lib/express/view.js +++ b/lib/express/view.js @@ -34,6 +34,14 @@ var cache = {}; var viewCache = {}; /** + * Cache view path derived names. + * + * @type Object + */ + +var viewNameCache = {}; + +/** * Synchronously cache vie...
Caching view path derived partial object names
expressjs_express
train
js
3fd01b8406c41bbf8e39c1dba44c20234b4c2637
diff --git a/src/trade_aggregation_call_builder.js b/src/trade_aggregation_call_builder.js index <HASH>..<HASH> 100644 --- a/src/trade_aggregation_call_builder.js +++ b/src/trade_aggregation_call_builder.js @@ -80,6 +80,6 @@ export class TradeAggregationCallBuilder extends CallBuilder { */ isValidOffset(offset, ...
bugfix: offset must less than <I> hours (#<I>)
stellar_js-stellar-sdk
train
js
a01de190d3bff78de82fc4d86f8b29095f2ae03b
diff --git a/lark/tree.py b/lark/tree.py index <HASH>..<HASH> 100644 --- a/lark/tree.py +++ b/lark/tree.py @@ -160,6 +160,15 @@ class SlottedTree(Tree): def pydot__tree_to_png(tree, filename, rankdir="LR", **kwargs): + graph = pydot__tree_to_graph(tree, rankdir, **kwargs) + graph.write_png(filename) + + +def...
Added pydot__tree_to_dot and pydot__tree_to_graph, changed pydot__tree_to_png
lark-parser_lark
train
py
8ab20e7889c61d11ef7cb79814122fe7758172a0
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,6 +2,13 @@ $:.unshift(File.expand_path('../../lib', __FILE__)) require 'rubygems' require 'bundler/setup' + +# workaround for https://github.com/jruby/jruby/issues/6547 +if RU...
Add workaround for jruby <I> issue
mongomapper_mongomapper
train
rb
d2dfdfde82cc7b7dbbff4655a351afa743175b9b
diff --git a/lib/Doctrine/Search/Mapping/Annotations/DoctrineAnnotations.php b/lib/Doctrine/Search/Mapping/Annotations/DoctrineAnnotations.php index <HASH>..<HASH> 100755 --- a/lib/Doctrine/Search/Mapping/Annotations/DoctrineAnnotations.php +++ b/lib/Doctrine/Search/Mapping/Annotations/DoctrineAnnotations.php @@ -23,3 ...
Add Field and Searchable to annotations
doctrine_search
train
php
1bd29644fd19ef67ecc44fea69f13b64652dbbdc
diff --git a/src/qinfer/tomography/plotting_tools.py b/src/qinfer/tomography/plotting_tools.py index <HASH>..<HASH> 100644 --- a/src/qinfer/tomography/plotting_tools.py +++ b/src/qinfer/tomography/plotting_tools.py @@ -183,7 +183,7 @@ def plot_rebit_prior(prior, rebit_axes=REBIT_AXES, n_samples=2000, true_state=No ...
Minor fixes to rebit tomography plotting tools.
QInfer_python-qinfer
train
py
53f505e96801a0fd3d9df9c099c3e25d82481952
diff --git a/trepan/lib/breakpoint.py b/trepan/lib/breakpoint.py index <HASH>..<HASH> 100644 --- a/trepan/lib/breakpoint.py +++ b/trepan/lib/breakpoint.py @@ -121,9 +121,8 @@ class BreakpointManager: if (filename, lineno) not in self.bplist: return [] breakpoints = self.bplist[(filename, ...
.copy() -> list(.) to be compatible with Python2
rocky_python3-trepan
train
py