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
b9526d4f6483bf92c134550a1932ec01b7e20dc5
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based.py +++ b/openquake/calculators/event_based.py @@ -441,8 +441,8 @@ class EventBasedCalculator(base.HazardCalculator): self.cl.run(close=False) ...
Small improvement [skip CI]
gem_oq-engine
train
py
028549740141884ebe68b077b9db7a176462ecae
diff --git a/lib/batch_api/operation/rack.rb b/lib/batch_api/operation/rack.rb index <HASH>..<HASH> 100644 --- a/lib/batch_api/operation/rack.rb +++ b/lib/batch_api/operation/rack.rb @@ -57,7 +57,9 @@ module BatchApi @env["REQUEST_METHOD"] = @method.upcase # path and query string - @env["REQU...
Added nil guard to @env["REQUEST_URI"] as it is not set by Pow (see <URL>)
arsduo_batch_api
train
rb
2c563f98c0e3c1a651f0d12b435d1d0a032c09fb
diff --git a/variation/numeric.py b/variation/numeric.py index <HASH>..<HASH> 100644 --- a/variation/numeric.py +++ b/variation/numeric.py @@ -143,6 +143,13 @@ def record(oid, tag, value, **context): if 'taglist' not in moduleOptions or \ tag not in moduleOptions['taglist']: retur...
generate initial/rate options whilst recording in single-iteration mode
etingof_snmpsim
train
py
b57f0dab9799799c1b828d257851496791eb2ac8
diff --git a/test/test.php b/test/test.php index <HASH>..<HASH> 100644 --- a/test/test.php +++ b/test/test.php @@ -2,7 +2,7 @@ namespace Test; define('path',dirname(dirname(__FILE__))); define('db_host','localhost'); -define('db_name', 'db_app'); +define('db_name', 'camelcase'); define('db_user','root'); define('d...
Loading order for play around file
sroehrl_neoan3-db
train
php
b2ae81e770255f935d0c75b3e0d7db1665609fd8
diff --git a/spec/unit/mixin/powershell_out_spec.rb b/spec/unit/mixin/powershell_out_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/mixin/powershell_out_spec.rb +++ b/spec/unit/mixin/powershell_out_spec.rb @@ -49,6 +49,7 @@ describe Chef::Mixin::PowershellOut, :windows_only do it "passes if double quote is ...
Verifying powershell stdout in specs
chef_chef
train
rb
d8dc13bf7ec6a29f380db9024ba6cc19b9562cfe
diff --git a/views.py b/views.py index <HASH>..<HASH> 100644 --- a/views.py +++ b/views.py @@ -225,6 +225,7 @@ def reviews(recid): @blueprint.route('/<int:recid>/report/<int:id>', methods=['GET', 'POST']) +@login_required @request_record def report(recid, id): if CommentRights(id).can_perform_action(): @@ -...
comments: login required for vote and report
inveniosoftware-attic_invenio-comments
train
py
ce8a072fa96d4a60550353d8c0ad44d51d5b608b
diff --git a/arcana/dataset/explicit.py b/arcana/dataset/explicit.py index <HASH>..<HASH> 100644 --- a/arcana/dataset/explicit.py +++ b/arcana/dataset/explicit.py @@ -83,7 +83,12 @@ class Dataset(BaseDataset): hash(self.visit_id)) def __lt__(self, other): - return self.id < other.id + ...
added support for comparing string and int ids in datasets
MonashBI_arcana
train
py
9e8193f9496880ee1a243e65c841807b2f261d35
diff --git a/cmd/commands.go b/cmd/commands.go index <HASH>..<HASH> 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -10,6 +10,11 @@ import ( // RegisterCommands registers all CLI commands func (c *CLI) RegisterCommands() { + // backup + c.Command("backup", "see most recent backups", func(cmd *cli.Cmd) { + cm...
Add backup/list, server/backup/(get,set)
JamesClonk_vultr
train
go
24bce37fd1e9f9832665588d32c71560255f51ad
diff --git a/acceptance/tests/resource/group/should_query_all.rb b/acceptance/tests/resource/group/should_query_all.rb index <HASH>..<HASH> 100644 --- a/acceptance/tests/resource/group/should_query_all.rb +++ b/acceptance/tests/resource/group/should_query_all.rb @@ -1,5 +1,7 @@ test_name "should query all groups" con...
(maint) Skip should_query_all.rb test for macos-<I>-arm<I> Our new macos <I> arm<I> hardware has something a bit off with the configuration that causes this test to fail. Rather then holding up the release of the puppet release we are going to skip the test and fix the hardware issue at a later point.
puppetlabs_puppet
train
rb
6625fe1c429df654f20f7735a084d42a297a6da4
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/RefComparisonWarningProperty.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/RefComparisonWarningProperty.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/detect/RefComparisonWarningProperty.java +++ b/findbugs/src/java/edu/umd/cs...
report compare in test case as AT_MOST_LOW rather than FALSE_POSITIVE git-svn-id: <URL>
spotbugs_spotbugs
train
java
e65c4bb7d3d34c785f3fb110e451576d29d8b7dc
diff --git a/search/sort.go b/search/sort.go index <HASH>..<HASH> 100644 --- a/search/sort.go +++ b/search/sort.go @@ -233,7 +233,11 @@ func (so SortOrder) Compare(cachedScoring, cachedDesc []bool, i, j *DocumentMatc } else { iVal := i.Sort[x] jVal := j.Sort[x] - c = strings.Compare(iVal, jVal) + if iVal...
use inline comparison operators instead of strings.Compare In the comments from strings.Compare: // Compare is included only for symmetry with package bytes. // It is usually clearer and always faster to use the built-in // string comparison operators ==, <, >, and so on. And another comment within the implementatio...
blevesearch_bleve
train
go
7b5a6335329ca6671a1c66a2e0eec04f18354c0b
diff --git a/ipa/ipa_ssh.py b/ipa/ipa_ssh.py index <HASH>..<HASH> 100644 --- a/ipa/ipa_ssh.py +++ b/ipa/ipa_ssh.py @@ -50,6 +50,7 @@ class SSHProvider(IpaProvider): results_dir=None, running_instance_id=None, # Not used in SSH secret_access_key=None, # Not used in...
Add missing security_group_id to ssh class.
SUSE-Enceladus_ipa
train
py
467101e53d22c1815cc54b39f043695798518bff
diff --git a/src/phpDocumentor/Reflection/DocBlock.php b/src/phpDocumentor/Reflection/DocBlock.php index <HASH>..<HASH> 100644 --- a/src/phpDocumentor/Reflection/DocBlock.php +++ b/src/phpDocumentor/Reflection/DocBlock.php @@ -217,7 +217,9 @@ class DocBlock implements \Reflector // create proper Tag objects ...
Added command to set the DocBlock onto the tags so that type expansion may happen
phpDocumentor_ReflectionDocBlock
train
php
0cb9fc489a749257c4af48d1b7b39c09cdf14209
diff --git a/packages/app-frontend/src/features/timeline/index.js b/packages/app-frontend/src/features/timeline/index.js index <HASH>..<HASH> 100644 --- a/packages/app-frontend/src/features/timeline/index.js +++ b/packages/app-frontend/src/features/timeline/index.js @@ -108,7 +108,7 @@ export function setupTimelineBrid...
fix(timeline): preserve resized scrollbar
vuejs_vue-devtools
train
js
71fb5c5f25d7359bb9771c8a7130010188dd237c
diff --git a/src/datetime.js b/src/datetime.js index <HASH>..<HASH> 100644 --- a/src/datetime.js +++ b/src/datetime.js @@ -1491,7 +1491,7 @@ export class DateTime { /** * Returns a Javascript Date equivalent to this DateTime. - * @return {object} + * @return {Date} */ toJSDate() { return new Da...
fix return type for toJSDate (#<I>) not sure why it was `object`. Seems obvious that it should be `Date`.
moment_luxon
train
js
0cd4e436193e482e0fcde22dd5cca2cba5db0f3f
diff --git a/run_fastgapfill.py b/run_fastgapfill.py index <HASH>..<HASH> 100755 --- a/run_fastgapfill.py +++ b/run_fastgapfill.py @@ -80,15 +80,15 @@ if __name__ == '__main__': # Load bounds on exchange reactions #model.load_exchange_limits() - print 'Flux balance on original model maximizing Biomass......
run_fastgapfill: Switch to optimizing "growth" reaction
zhanglab_psamm
train
py
16a0d9ce58b7ae2b16a5faea0e02c2244b324626
diff --git a/graphene_django/tests/test_query.py b/graphene_django/tests/test_query.py index <HASH>..<HASH> 100644 --- a/graphene_django/tests/test_query.py +++ b/graphene_django/tests/test_query.py @@ -345,25 +345,21 @@ def test_should_query_node_filtering(): ''' expected = { - "allReporters": { - "edge...
Fixes identation in queries test file.
graphql-python_graphene-django
train
py
7a1c21f7d48c5fc3cb3ddc38a343b32aabaa493c
diff --git a/lib/api.js b/lib/api.js index <HASH>..<HASH> 100644 --- a/lib/api.js +++ b/lib/api.js @@ -125,7 +125,7 @@ API.prototype.request = function (method, url, body, headers) { }; if (this._onRequest) { - next = function (new_extra_data) { + next = function () { return _self._executeRoute(_self._locat...
fix a bug introduced when removing extra data
Dashron_roads
train
js
347d8404ee7357d8c11c8b5ea9d3dc9f4cac81a1
diff --git a/spec/mandrill/sender_spec.rb b/spec/mandrill/sender_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mandrill/sender_spec.rb +++ b/spec/mandrill/sender_spec.rb @@ -5,7 +5,7 @@ describe MultiMail::Sender::Mandrill do let :message do Mail.new do from 'foo@example.com' - to 'bar@exam...
use blackhole address to make mandrill happy
jpmckinney_multi_mail
train
rb
1405d5e4ef4082694be65f776b02c6b00870cbef
diff --git a/blockstack_cli_0.14.1/blockstack_client/method_parser.py b/blockstack_cli_0.14.1/blockstack_client/method_parser.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_client/method_parser.py +++ b/blockstack_cli_0.14.1/blockstack_client/method_parser.py @@ -105,8 +105,9 @@ def parse_methods...
"rpc" is the pragma we're interested in now, not "norpc"
blockstack_blockstack-core
train
py
b1aaab42b6ea3c7f17b1d2b6517fbb1e356364d6
diff --git a/mackup.py b/mackup.py index <HASH>..<HASH> 100755 --- a/mackup.py +++ b/mackup.py @@ -51,6 +51,10 @@ SUPPORTED_APPS = { 'Adium': [APP_SUPPORT + 'Adium 2.0', PREFERENCES + 'com.adiumX.adiumX.plist'], + 'Alfred': [ + APP_SUPPORT + 'Alfred', + PREFERENCES + 'com.alfredap...
Added iTerm2 & Alfred
lra_mackup
train
py
da366e687479b05e8f54138524d4364c2e4c3b2c
diff --git a/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/remote/SecurityBuilder.java b/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/remote/SecurityBuilder.java index <HASH>..<HASH> 100644 --- a/clustering/infinispan/extension/s...
Future proof security configuration builder logic.
wildfly_wildfly
train
java
de8c5fc26328ef3ee899c7db3e90b98ee6cc3b7d
diff --git a/src/server/pkg/deploy/assets/assets.go b/src/server/pkg/deploy/assets/assets.go index <HASH>..<HASH> 100644 --- a/src/server/pkg/deploy/assets/assets.go +++ b/src/server/pkg/deploy/assets/assets.go @@ -37,7 +37,7 @@ var ( dashName = "dash" dashImage = "pachyderm/dash" grp...
Bump GRPC Proxy version to <I> Allows use of metadata for client streaming
pachyderm_pachyderm
train
go
e338dbc2786d7fd5bc736ff98e4b258597de17ee
diff --git a/rails3-maven-plugin/src/main/java/de/saumya/mojo/rails3/PomMojo.java b/rails3-maven-plugin/src/main/java/de/saumya/mojo/rails3/PomMojo.java index <HASH>..<HASH> 100644 --- a/rails3-maven-plugin/src/main/java/de/saumya/mojo/rails3/PomMojo.java +++ b/rails3-maven-plugin/src/main/java/de/saumya/mojo/rails3/Po...
better timestamping for generated pom.xml
torquebox_jruby-maven-plugins
train
java
ba1466f187a4568e7b9abd9c6c86031e5d0d9c12
diff --git a/drivers/python/rethinkdb/_import.py b/drivers/python/rethinkdb/_import.py index <HASH>..<HASH> 100755 --- a/drivers/python/rethinkdb/_import.py +++ b/drivers/python/rethinkdb/_import.py @@ -210,7 +210,7 @@ class SourceFile(object): elif primaryKey != self.primary_key: raise RuntimeErr...
passing warning_queue where needed over-the-virtual-shoulder by @danielmewes
rethinkdb_rethinkdb
train
py
eb1055af59feef042a1d094f1f74418a1fe2aef4
diff --git a/pyang/statements.py b/pyang/statements.py index <HASH>..<HASH> 100644 --- a/pyang/statements.py +++ b/pyang/statements.py @@ -2416,23 +2416,6 @@ class Statement(object): copyf(self, new) return new - # FIXME: remove / rewrite - def full_path(self): - """Return full path...
Remove unused method "full_path" in Statement class.
mbj4668_pyang
train
py
e19cb699adc254d953725092e02b3612565bafc4
diff --git a/stack.go b/stack.go index <HASH>..<HASH> 100644 --- a/stack.go +++ b/stack.go @@ -11,10 +11,6 @@ import ( // Frame represents a program counter inside a stack frame. type Frame runtime.Frame -// pc returns the program counter for this frame; -// multiple frames may have the same PC value. -func (f Fram...
Remove last reference to runtime.FuncForPC (#<I>)
pkg_errors
train
go,go
3043c01521a149b62faec515d4fb9f76e1247521
diff --git a/tests/phpunit/unit/Nut/InfoTest.php b/tests/phpunit/unit/Nut/InfoTest.php index <HASH>..<HASH> 100644 --- a/tests/phpunit/unit/Nut/InfoTest.php +++ b/tests/phpunit/unit/Nut/InfoTest.php @@ -20,6 +20,6 @@ class InfoTest extends BoltUnitTest $tester->execute(array()); $result = $tester->g...
Catch HHVM in InfoTest::testRun()
bolt_bolt
train
php
ed18ec297b84a346afa121f8bfa1b3d8a938f934
diff --git a/coursera/test/test_parsing.py b/coursera/test/test_parsing.py index <HASH>..<HASH> 100644 --- a/coursera/test/test_parsing.py +++ b/coursera/test/test_parsing.py @@ -12,7 +12,6 @@ from six import iteritems from mock import patch, Mock, mock_open from coursera import coursera_dl -from .test_utils import...
test: test_parsing: Remove unused imports.
coursera-dl_coursera-dl
train
py
5bee3462fb9e118a9e14ca52944303071f0f9c38
diff --git a/pyemma/coordinates/tests/test_vamp.py b/pyemma/coordinates/tests/test_vamp.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/tests/test_vamp.py +++ b/pyemma/coordinates/tests/test_vamp.py @@ -104,8 +104,8 @@ class TestVAMPEstimatorSelfConsistency(unittest.TestCase): model_params = vamp._...
[test-vamp] lower atol to 1e-<I>
markovmodel_PyEMMA
train
py
56ad1b118d3f3d384f53ec5b5d95da90ce818373
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,8 @@ locale.setlocale(locale.LC_ALL, 'en_US') # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -ext...
Enable doctest and intersphinx extensions
tehmaze_natural
train
py
1dd99728898af44267d1f56518be8dcf38956852
diff --git a/course/mod.php b/course/mod.php index <HASH>..<HASH> 100644 --- a/course/mod.php +++ b/course/mod.php @@ -98,6 +98,9 @@ } error("Could not update the $mod->modulename", "view.php?id=$course->id"); } + if (is_string($return)) { + ...
Check for errors before doing other processing. (Compare this with the add case.)
moodle_moodle
train
php
1116bb6ce086eba5840a9428e43ef01cd1e0b84b
diff --git a/src/CssStore.php b/src/CssStore.php index <HASH>..<HASH> 100644 --- a/src/CssStore.php +++ b/src/CssStore.php @@ -13,8 +13,6 @@ class CssStore public function addCssStyles($cssRules) { $this->styles = array_merge($this->styles, $cssRules); - - return $this; }
Consider the last remaining snippet of css when processing mediaqueries
JanDC_css-from-html-extractor
train
php
07f195a62e169a093fb314b9950233f85097e182
diff --git a/src/Minime/Annotations/Parser.php b/src/Minime/Annotations/Parser.php index <HASH>..<HASH> 100644 --- a/src/Minime/Annotations/Parser.php +++ b/src/Minime/Annotations/Parser.php @@ -121,12 +121,12 @@ class Parser implements ParserInterface */ protected static function parseDynamic($value) {...
removing duplicate code from Parser::parseDynamic
marcioAlmada_annotations
train
php
3433fb9eaee4f5888edbe8d82a8e73c7b93b4d91
diff --git a/routes/keys.go b/routes/keys.go index <HASH>..<HASH> 100644 --- a/routes/keys.go +++ b/routes/keys.go @@ -18,9 +18,9 @@ import ( // KeysListResponse contains the result of the KeysList request type KeysListResponse struct { - Success bool `json:"success"` - Message string `json:"message,omitemp...
most keys methods - only body is returned
lavab_api
train
go
65d243cd702fd392d28406e14390333881afdf41
diff --git a/src/main/java/de/btobastian/javacord/listeners/user/UserChangeNameListener.java b/src/main/java/de/btobastian/javacord/listeners/user/UserChangeNameListener.java index <HASH>..<HASH> 100644 --- a/src/main/java/de/btobastian/javacord/listeners/user/UserChangeNameListener.java +++ b/src/main/java/de/btobasti...
Make javadocs consistent between UserChange Listeners
Javacord_Javacord
train
java
4f877c6b6fcf5e812f5ab99f5f83c371201daf41
diff --git a/salt/states/user.py b/salt/states/user.py index <HASH>..<HASH> 100644 --- a/salt/states/user.py +++ b/salt/states/user.py @@ -329,6 +329,7 @@ def present(name, homephone The user's home phone number (not supported in MacOS) + If GECOS field contains more than 3 commas, this field wil...
Quick and dirty fix for GECOS fields with more than 3 commas Issue #<I>
saltstack_salt
train
py
5f1064a3338db82dcefca901dd68d2162daeb0f3
diff --git a/symphony/assets/js/src/symphony.filtering.js b/symphony/assets/js/src/symphony.filtering.js index <HASH>..<HASH> 100644 --- a/symphony/assets/js/src/symphony.filtering.js +++ b/symphony/assets/js/src/symphony.filtering.js @@ -127,12 +127,12 @@ filtering.find('.instance:not(.template):visible').each(f...
Must have a space after the comparison expression - Trim the comparison value and save the result (was only used in a if statement before) - Append the space at then end of the comparison only if there is one Fixes #<I>
symphonycms_symphony-2
train
js
1ed39f5016c4f5e73b3778e0a4aa08d1f30cb832
diff --git a/titan-hazelcast/src/test/java/com/thinkaurelius/titan/diskstorage/hazelcast/HazelcastCacheAdapterKCVSTest.java b/titan-hazelcast/src/test/java/com/thinkaurelius/titan/diskstorage/hazelcast/HazelcastCacheAdapterKCVSTest.java index <HASH>..<HASH> 100644 --- a/titan-hazelcast/src/test/java/com/thinkaurelius/t...
changed test case to commit / restart transaction for close/open.
thinkaurelius_titan
train
java
0b9fcb35628cf36a7b6bcb4194b64019832702ad
diff --git a/src/Controller/Component/AuthComponent.php b/src/Controller/Component/AuthComponent.php index <HASH>..<HASH> 100644 --- a/src/Controller/Component/AuthComponent.php +++ b/src/Controller/Component/AuthComponent.php @@ -402,10 +402,7 @@ class AuthComponent extends Component */ protected function _...
Extract method for easier extension/overwriting.
cakephp_cakephp
train
php
1f083b547167af6f598f8e379c772ab6734ffce8
diff --git a/src/openbandparams/examples/Plot_Bandgap_vs_Lattice_Constant_of_Quaternary3.py b/src/openbandparams/examples/Plot_Bandgap_vs_Lattice_Constant_of_Quaternary3.py index <HASH>..<HASH> 100644 --- a/src/openbandparams/examples/Plot_Bandgap_vs_Lattice_Constant_of_Quaternary3.py +++ b/src/openbandparams/examples/...
changed example alloy back to what it was
scott-maddox_openbandparams
train
py
824eeb8c3d21d19086208b12b1915315cb740de1
diff --git a/src/Product/ProductWasUpdatedDomainEventHandler.php b/src/Product/ProductWasUpdatedDomainEventHandler.php index <HASH>..<HASH> 100644 --- a/src/Product/ProductWasUpdatedDomainEventHandler.php +++ b/src/Product/ProductWasUpdatedDomainEventHandler.php @@ -16,10 +16,8 @@ class ProductWasUpdatedDomainEventHand...
Issue #<I>: Reformat newlines
lizards-and-pumpkins_catalog
train
php
a8a8be9e98960e8911eb1119c8a3edb1dcbbc197
diff --git a/packages/react-microlink/src/components/Card/CardMedia/index.js b/packages/react-microlink/src/components/Card/CardMedia/index.js index <HASH>..<HASH> 100644 --- a/packages/react-microlink/src/components/Card/CardMedia/index.js +++ b/packages/react-microlink/src/components/Card/CardMedia/index.js @@ -33,7 ...
Only render CardMedia image load catcher while loading
microlinkhq_sdk
train
js
01f5756621799a30a21abd5dcaf6d59ac73783de
diff --git a/django_afip/admin.py b/django_afip/admin.py index <HASH>..<HASH> 100644 --- a/django_afip/admin.py +++ b/django_afip/admin.py @@ -361,6 +361,7 @@ class TaxPayerAdmin(admin.ModelAdmin): @admin.register(models.PointOfSales) class PointOfSalesAdmin(admin.ModelAdmin): list_display = ( + "id", ...
Show id for POS in the admin listing This helps a lot recognizing them easier.
WhyNotHugo_django-afip
train
py
1af313da11df8527daff626ba761578146bd6c8d
diff --git a/src/Service.php b/src/Service.php index <HASH>..<HASH> 100644 --- a/src/Service.php +++ b/src/Service.php @@ -8,7 +8,7 @@ * @author Chris Ryan <christopher.ryan@dominionenterprises.com> */ namespace DominionEnterprises\SolveMedia; -use Guzzle\Http\Client; +use Guzzle\Http\Client as GuzzleClient; fi...
Be explicit about the type of client.
traderinteractive_solvemedia-client-php
train
php
4e90bcbbf58a57aed43d91b25282b26e991de24f
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -54,10 +54,11 @@ module.exports = function (grunt) { 'white' : true, 'es3' : true, 'camelcase' : true, + 'quotmark' : 'single', ...
enforcing single quotes for enclosing strings
Eonasdan_bootstrap-datetimepicker
train
js
11e479d159de768e5662647ee016e37b25e22693
diff --git a/features/step_definitions/rails_application_steps.rb b/features/step_definitions/rails_application_steps.rb index <HASH>..<HASH> 100644 --- a/features/step_definitions/rails_application_steps.rb +++ b/features/step_definitions/rails_application_steps.rb @@ -106,7 +106,7 @@ Then /^I should see that "([^\"]*...
use rails 4 compatible routes in tests
airbrake_airbrake
train
rb
0b5c5e31583199a0d2100bc092313b0ac4888af3
diff --git a/swagger_parser/swagger_parser.py b/swagger_parser/swagger_parser.py index <HASH>..<HASH> 100755 --- a/swagger_parser/swagger_parser.py +++ b/swagger_parser/swagger_parser.py @@ -6,6 +6,7 @@ import json import re import six import yaml +import codecs try: from StringIO import StringIO @@ -46,7 +4...
handle swagger files in UTF8 Assuming the swagger.yaml is encoded in UTF8 we can now handle swagger files that contain non-ascii characters. the correct code implicitly assumes ASCII encoding and will raise a unicode decode exception ....
Trax-air_swagger-parser
train
py
50a3f9a642e386c48463430e5b00045a75f4bfba
diff --git a/Swat/SwatEntry.php b/Swat/SwatEntry.php index <HASH>..<HASH> 100644 --- a/Swat/SwatEntry.php +++ b/Swat/SwatEntry.php @@ -287,7 +287,15 @@ class SwatEntry extends SwatInputControl implements SwatState $tag->name = ($this->autocomplete) ? $this->id : $this->getNonce(); $tag->id = ($this->autocomplete)...
Make select-on-focus work properly. It's been broken for so long. svn commit r<I>
silverorange_swat
train
php
2657d8a8ab4e8fa517922fcef07a598b01c5db83
diff --git a/ores/util.py b/ores/util.py index <HASH>..<HASH> 100644 --- a/ores/util.py +++ b/ores/util.py @@ -22,7 +22,7 @@ def timeout(func, *args, seconds=None, **kwargs): try: start = time.time() - with stopit.ThreadingTimeout(seconds) as to_ctx_mgr: + with stopit.SignalTimeout(seconds...
Switch ThreadingTimeout for SignalTimeout
wikimedia_ores
train
py
22de086d661b14a076a54a1b03cf8ead00da99de
diff --git a/lib/acts_as_ordered_tree/version.rb b/lib/acts_as_ordered_tree/version.rb index <HASH>..<HASH> 100644 --- a/lib/acts_as_ordered_tree/version.rb +++ b/lib/acts_as_ordered_tree/version.rb @@ -1,3 +1,3 @@ module ActsAsOrderedTree - VERSION = '1.1.7' + VERSION = '1.1.8' end
Update version to <I> [ci skip]
take-five_acts_as_ordered_tree
train
rb
7e773819244ca7d19ec280a8648d9ed71690e806
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: else: if not Path(swagger_ui.STATIC_DIR).exists(): swagger_ui.setup_ui('2.2.10') - swagger_ui.setup_ui('3.18.0') + swagger_ui.setup_ui('3.19.4') def read(f):
Swagger-ui up to <I>
aamalev_aiohttp_apiset
train
py
2df791f478f772f982938db722529d27b88a92d0
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,21 @@ from distutils.core import setup +with open("LICENSE") as f: + LICENSE = f.read() + +try: + import pypandoc + LONG_DESCRIPTION = pypandoc.convert("README.md", "rst") +except ImportError: + LONG_DE...
Convert README to rst format in setup.py
iamlikeme_rainflow
train
py
62cd5710bede38ec08d73f7cd48f8b2858f0923e
diff --git a/lib/codebot/formatter.rb b/lib/codebot/formatter.rb index <HASH>..<HASH> 100644 --- a/lib/codebot/formatter.rb +++ b/lib/codebot/formatter.rb @@ -153,11 +153,12 @@ module Codebot # @return [String] the shortened URL, or the original URL if an error # occurred. def shorten_ur...
Don't attempt to shorten empty URLs
olabini_codebot
train
rb
433aba53788d864588b579ce6af2fa5889db846a
diff --git a/phy/apps/base.py b/phy/apps/base.py index <HASH>..<HASH> 100644 --- a/phy/apps/base.py +++ b/phy/apps/base.py @@ -405,7 +405,7 @@ class TemplateMixin(object): def _set_cluster_metrics(self): """Add an amplitude column in the cluster view.""" super(TemplateMixin, self)._set_cluster_me...
Rename duplicate amplitude cluster view column to amp
kwikteam_phy
train
py
1965ed996765922ac6a82edaae3de5f58d357427
diff --git a/lib/hyper-i18n/i18n.rb b/lib/hyper-i18n/i18n.rb index <HASH>..<HASH> 100644 --- a/lib/hyper-i18n/i18n.rb +++ b/lib/hyper-i18n/i18n.rb @@ -82,7 +82,7 @@ module HyperI18n if @server_data_cache @server_data_cache.as_json.to_json else - {}.to_json + { t: {}, l: {}...
Fixes error when there is no server_data_crash
ruby-hyperloop_hyper-i18n
train
rb
b38a88c81a6693cd792c3cc2ba0e786e4c7911b1
diff --git a/lib/collections/UnavailableGuildCollection.js b/lib/collections/UnavailableGuildCollection.js index <HASH>..<HASH> 100644 --- a/lib/collections/UnavailableGuildCollection.js +++ b/lib/collections/UnavailableGuildCollection.js @@ -4,7 +4,7 @@ const Constants = require("../Constants"); const Events = Consta...
Bump streaming guild timeout to 3 seconds
qeled_discordie
train
js
0ef3c1fe7403851ae8bf442363d05818603d7218
diff --git a/lib/xhive/controller.rb b/lib/xhive/controller.rb index <HASH>..<HASH> 100644 --- a/lib/xhive/controller.rb +++ b/lib/xhive/controller.rb @@ -6,8 +6,6 @@ module Xhive def self.extended(base) base.class_eval do - @@current_controller = nil - include InstanceMethods p...
Explicitly set the @@current_controller class variable
frozeek_xhive
train
rb,rb
06ae2823808581e972eed1266f853ff5beaae62c
diff --git a/product/action-creators/requestProductReviews.js b/product/action-creators/requestProductReviews.js index <HASH>..<HASH> 100644 --- a/product/action-creators/requestProductReviews.js +++ b/product/action-creators/requestProductReviews.js @@ -8,7 +8,7 @@ import { REQUEST_PRODUCT_REVIEWS } from '../constant...
CON-<I>: Reviews are visible on product detail page - feedback: jsdoc
shopgate_pwa
train
js
397c4aa1ff965dc456c77b58cdfcb419b0b66a3b
diff --git a/assets/js/views/autocomplete.js b/assets/js/views/autocomplete.js index <HASH>..<HASH> 100644 --- a/assets/js/views/autocomplete.js +++ b/assets/js/views/autocomplete.js @@ -61,15 +61,15 @@ define(function (require) { }); // When typeahead is open, listen for selections - this.$input.on('typeah...
Updating event names to typeahead <I>'s API
BKWLD_decoy
train
js
eff7a29721bf7f66f8e45554555601dedeb9d3b4
diff --git a/lib/tick/timer.rb b/lib/tick/timer.rb index <HASH>..<HASH> 100644 --- a/lib/tick/timer.rb +++ b/lib/tick/timer.rb @@ -7,6 +7,7 @@ module Tick self.start_time = nil self.time_spans = [] self.class.timers.delete(self) + self.class.timers += [] # Simplify KVO true end d...
Simplify KVO for removed timers
codelation_motion-tickspot
train
rb,rb
817c43ae0d7be1ef24297530d29672bfaf440a42
diff --git a/liquibase-core/src/main/java/liquibase/diff/output/changelog/core/MissingTableChangeGenerator.java b/liquibase-core/src/main/java/liquibase/diff/output/changelog/core/MissingTableChangeGenerator.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/diff/output/changelog/core/Missing...
CORE-<I> GenerateChangeLog does not handle tables with compound primary keys
liquibase_liquibase
train
java
1d7de7789d34388c033708fe1bc958ca39504bf3
diff --git a/core-bundle/contao/classes/Backend.php b/core-bundle/contao/classes/Backend.php index <HASH>..<HASH> 100644 --- a/core-bundle/contao/classes/Backend.php +++ b/core-bundle/contao/classes/Backend.php @@ -437,7 +437,7 @@ abstract class Backend extends \Controller elseif ($objPages->type == 'regular') ...
[Core] Define the login status constants in the back end (see #<I>, #<I>)
contao_contao
train
php
d2461d92282ccfdb6625ff65f69ce213b6573ffb
diff --git a/src/ORM/Association.php b/src/ORM/Association.php index <HASH>..<HASH> 100644 --- a/src/ORM/Association.php +++ b/src/ORM/Association.php @@ -1000,7 +1000,7 @@ abstract class Association $property = $options['propertyPath']; $propertyPath = explode('.', $property); - $query->form...
Use the new query argument in the internally used result formatters.
cakephp_cakephp
train
php
0637272bd2532f7b37c62764562be871df94d3c0
diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index <HASH>..<HASH> 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -73,6 +73,9 @@ class Controller extends Object { * * Example: var $uses = array('Product', 'Post', 'Comment'); *...
Updating doc block on Controller to include more information about $uses.
cakephp_cakephp
train
php
5f09af8a4b14fce776f22a55d1a43fee7e45ba01
diff --git a/asammdf/mdf.py b/asammdf/mdf.py index <HASH>..<HASH> 100644 --- a/asammdf/mdf.py +++ b/asammdf/mdf.py @@ -4951,6 +4951,8 @@ class MDF: acq_name : str, optional filter occurrences on channel group acquisition name, by default None + .. versionadded:: 6.0.0 + Retur...
docs(mdf): re-add missing versionadded in whereis
danielhrisca_asammdf
train
py
8c10a13be87170f038eeb922188543c5123b3ecf
diff --git a/src/com/google/caliper/Xml.java b/src/com/google/caliper/Xml.java index <HASH>..<HASH> 100644 --- a/src/com/google/caliper/Xml.java +++ b/src/com/google/caliper/Xml.java @@ -56,7 +56,7 @@ public final class Xml { doc.appendChild(result); result.setAttribute("benchmark", run.getBenchmarkName...
Cloud crashes when trying to read CaliperRc since it's a local file. git-svn-id: <URL>
trajano_caliper
train
java
120f545668bfd51e9d9d57c1b5f2d505154b60da
diff --git a/src/Navbar.js b/src/Navbar.js index <HASH>..<HASH> 100644 --- a/src/Navbar.js +++ b/src/Navbar.js @@ -128,7 +128,7 @@ class Navbar extends React.Component { bsClass, expanded, onToggle: this.handleToggle, - onSelect: createChainedFunction(onSelect, toggleOnSelect && this.h...
Add condition for innerWidth to be less than <I> for toggleOnSelect to function
react-bootstrap_react-bootstrap
train
js
193024d615dd5877f40b3b770144fa37fe56bdcc
diff --git a/salt/utils/boto3.py b/salt/utils/boto3.py index <HASH>..<HASH> 100644 --- a/salt/utils/boto3.py +++ b/salt/utils/boto3.py @@ -260,8 +260,6 @@ def get_error(e): aws['status'] = e.status if hasattr(e, 'reason'): aws['reason'] = e.reason - if hasattr(e, 'message') and...
The .message attr has been deprecated. Remove check for it.
saltstack_salt
train
py
b560995f7cba021c4b7027621d88d99bebd16590
diff --git a/core/src/main/java/com/twitter/elephantbird/mapreduce/io/SerializedBlock.java b/core/src/main/java/com/twitter/elephantbird/mapreduce/io/SerializedBlock.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/twitter/elephantbird/mapreduce/io/SerializedBlock.java +++ b/core/src/main/java/com/twitter/...
Update javadoc for SerializedBlock
twitter_elephant-bird
train
java
780f9d6e4932fa3a21f20ae2709956389cada8cd
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -80,7 +80,7 @@ describe('html-toc', function() { it('should support custom slugger', function() { var actual = toc(fixture('options-slugger'), { slugger: function(text) { - const r...
test: use var instead of const
jonschlinkert_html-toc
train
js
6c5caa6f225a8f887bd50cc0ca3fe79876b24357
diff --git a/sinks/reduce.js b/sinks/reduce.js index <HASH>..<HASH> 100644 --- a/sinks/reduce.js +++ b/sinks/reduce.js @@ -2,17 +2,14 @@ var drain = require('./drain') -module.exports = function reduce (/* reducer, acc, cb */) { - var reducer = arguments[0] - var acc - var cb +module.exports = function reduce (...
variable arguments the way I always do them
pull-stream_pull-stream
train
js
5b98b4b785ba202333cfcbb368531f373535563a
diff --git a/tests/common.py b/tests/common.py index <HASH>..<HASH> 100644 --- a/tests/common.py +++ b/tests/common.py @@ -2220,7 +2220,7 @@ def check_alternating_subdir(iso, filesize): # have a directory record length of 40, it should start at extent 29, and # its contents should be "sub1\n". sub2_dir_r...
Skip some extent location checks. Some versions of genisoimage do different things here.
clalancette_pycdlib
train
py
205352ed2dd00e1d7f75245342d90f26027d33f1
diff --git a/cassiopeia/core/match.py b/cassiopeia/core/match.py index <HASH>..<HASH> 100644 --- a/cassiopeia/core/match.py +++ b/cassiopeia/core/match.py @@ -1052,7 +1052,7 @@ class ParticipantStats(CassiopeiaObject): @property @load_match_on_attributeerror def dragon_kills(self) -> int: - return...
Update match.py Dragon kills are now tracked per player in match v5 api
meraki-analytics_cassiopeia
train
py
018e7f8956fd501c27bb7d481ce1166bb4472a01
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -1,13 +1,9 @@ from __future__ import unicode_literals +import json import unittest from xrd import XRD, Link, Property, Title, _get_text -try: - import json -except ImportError: - import simplejson as json - clas...
just import json because <I> is not supported
jcarbaugh_python-xrd
train
py,py
0ae57f2564ea6fe127da501c4d70f43b73bb701e
diff --git a/waddrmgr/db.go b/waddrmgr/db.go index <HASH>..<HASH> 100644 --- a/waddrmgr/db.go +++ b/waddrmgr/db.go @@ -1921,8 +1921,18 @@ func upgradeToVersion4(namespace walletdb.Namespace, pubPassPhrase []byte) error } } - // Ensure that the "default" name maps forwards and backwards to - // the default ac...
Fix waddrmgr version 4 upgrade path. If the account number to name index mapped the default account name to an alias, the upgrade would not succeed and the upgrade would be aborted (and rolled back). This became a problem for upgrading old (pre-v3) wallets since the v3 upgrade did not rename the previous "" account t...
btcsuite_btcwallet
train
go
7f3ceae158bfc19c218f7e9a3c23ba67b1078830
diff --git a/src/python/pants/backend/codegen/protobuf/go/rules.py b/src/python/pants/backend/codegen/protobuf/go/rules.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/codegen/protobuf/go/rules.py +++ b/src/python/pants/backend/codegen/protobuf/go/rules.py @@ -196,7 +196,11 @@ async def setup_full_package...
fix missing field check in go protobuf rules (#<I>) A user using both Go and Python protobuf codegen reported a failure on Slack where Pants tried to access a `ProtobufSourceField` field in a `python_requirement` target. The Go protobuf rules are missing a field existence check to prevent such issues. [ci skip-rust...
pantsbuild_pants
train
py
4ae6df86f10014590552e9d1d4a1a6b6b422bb44
diff --git a/frontend/dockerfile/builder/build.go b/frontend/dockerfile/builder/build.go index <HASH>..<HASH> 100644 --- a/frontend/dockerfile/builder/build.go +++ b/frontend/dockerfile/builder/build.go @@ -839,14 +839,15 @@ func contextByName(ctx context.Context, c client.Client, name string, platform * } switch v...
dockerfile: fix image name when loaded named context
moby_buildkit
train
go
e40092e0942dcd70874bd31c7e13f70d2950b079
diff --git a/src/Bkwld/Croppa/Croppa.php b/src/Bkwld/Croppa/Croppa.php index <HASH>..<HASH> 100755 --- a/src/Bkwld/Croppa/Croppa.php +++ b/src/Bkwld/Croppa/Croppa.php @@ -94,7 +94,7 @@ class Croppa { // See if the referenced file exists and is an image. This gives us the absolute // to the image, given the $...
Generate should actually deal with the absolute url, not the path
BKWLD_croppa
train
php
d83352504d0a7c3a842784d1310fe9f050286b7f
diff --git a/engines/bastion/Gruntfile.js b/engines/bastion/Gruntfile.js index <HASH>..<HASH> 100644 --- a/engines/bastion/Gruntfile.js +++ b/engines/bastion/Gruntfile.js @@ -71,12 +71,6 @@ module.exports = function (grunt) { ] }, karma: { - //continuous integration mode - ...
Only running karma unit tests once in ci mode, fixes #<I>.
Katello_katello
train
js
a3f82cb093bfd304d66086f03c9d297bd7fa0b3a
diff --git a/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb b/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb index <HASH>..<HASH> 100644 --- a/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb +++ b/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb @@ -5...
Show all breadcrumbs for taxon pages When looking at a taxon, it's useful to see the breadcrumbs regardless of the phase it's in as without the breadcrumbs it's hard to navigate up the taxonomy.
alphagov_govuk_publishing_components
train
rb
34747c23685f30a6a14b70efc03de00a5be07ead
diff --git a/vent/api/plugins.py b/vent/api/plugins.py index <HASH>..<HASH> 100644 --- a/vent/api/plugins.py +++ b/vent/api/plugins.py @@ -677,8 +677,8 @@ class Plugin: " vent.name=" + name[1] + " --label" ...
added missing equal sign so that built by label is properly assigned a value
CyberReboot_vent
train
py
866b390d2d705c64ccf0529dfa84b65444fc8d19
diff --git a/raiden/ui/cli.py b/raiden/ui/cli.py index <HASH>..<HASH> 100644 --- a/raiden/ui/cli.py +++ b/raiden/ui/cli.py @@ -210,10 +210,13 @@ def options(func): type=str, show_default=True, ), + ), + option_group( + 'Raiden Services Options', ...
Move PFS / MS options into their own group
raiden-network_raiden
train
py
76feef6b4170203dbd93712c19bd7d8955185e55
diff --git a/bel_lang/bel.py b/bel_lang/bel.py index <HASH>..<HASH> 100644 --- a/bel_lang/bel.py +++ b/bel_lang/bel.py @@ -60,7 +60,7 @@ class BEL(object): # self.semantics = BELSemantics() # each instance also instantiates a BELSemantics object used in parsing statements self.spec = bel_specificatio...
commented out spec.yaml creation
belbio_bel
train
py
95600b6baeba9815a8c89fdc8dac758b842bc480
diff --git a/keyring/backends/SecretService.py b/keyring/backends/SecretService.py index <HASH>..<HASH> 100644 --- a/keyring/backends/SecretService.py +++ b/keyring/backends/SecretService.py @@ -1,7 +1,6 @@ import logging from ..util import properties -from ..util import XDG from ..backend import KeyringBackend f...
Also remove XDG from SecretService. Ref #<I>.
jaraco_keyring
train
py
1518dc5edcb96ced3a4582454389bb8f96ba3a47
diff --git a/src/extensions/cytoscape.renderer.canvas.js b/src/extensions/cytoscape.renderer.canvas.js index <HASH>..<HASH> 100644 --- a/src/extensions/cytoscape.renderer.canvas.js +++ b/src/extensions/cytoscape.renderer.canvas.js @@ -88,6 +88,8 @@ this.data.canvasRedrawReason[SELECT_BOX].push("viewchange"); } ...
refs #<I> Code responsible for turning off events when mouse is outside container was not working properly due to the calculation needing to be updated
cytoscape_cytoscape.js
train
js
ca3bb43b14a932de5021356faa4e4601d6dc932a
diff --git a/tests/gui/widget/test_history.py b/tests/gui/widget/test_history.py index <HASH>..<HASH> 100644 --- a/tests/gui/widget/test_history.py +++ b/tests/gui/widget/test_history.py @@ -21,11 +21,11 @@ from rafcon.utils import log # test environment elements import testing_utils from testing_utils import call_g...
test(history): No relative imports
DLR-RM_RAFCON
train
py
237618f8841969360cd04dca82f6801ae442cd26
diff --git a/projects/samskivert/src/java/com/samskivert/swing/RadialMenu.java b/projects/samskivert/src/java/com/samskivert/swing/RadialMenu.java index <HASH>..<HASH> 100644 --- a/projects/samskivert/src/java/com/samskivert/swing/RadialMenu.java +++ b/projects/samskivert/src/java/com/samskivert/swing/RadialMenu.java @...
Allow menu items to call back for re-layout, don't submit a null command. git-svn-id: <URL>
samskivert_samskivert
train
java
c5bfe6c5cb104f9d59183556546a06b4bec508e7
diff --git a/BaragonData/src/main/java/com/hubspot/baragon/managers/AgentManager.java b/BaragonData/src/main/java/com/hubspot/baragon/managers/AgentManager.java index <HASH>..<HASH> 100644 --- a/BaragonData/src/main/java/com/hubspot/baragon/managers/AgentManager.java +++ b/BaragonData/src/main/java/com/hubspot/baragon/...
remove pending request if it has timed out and caused a failure
HubSpot_Baragon
train
java
4ec2bf9b398a203fc1ea0426ba5433626511498c
diff --git a/src/func/index.js b/src/func/index.js index <HASH>..<HASH> 100644 --- a/src/func/index.js +++ b/src/func/index.js @@ -1,6 +1,7 @@ import * as alias from './alias'; import * as identifier from './identifier'; import * as imports from './import'; +import * as language from './language'; import * as relat...
feat(func): Add langauge to the object of exports
bookbrainz_bookbrainz-data-js
train
js
444f514e9e77b2f38e0eaf55f607c593a9e11485
diff --git a/src/Graphql/Graphql.php b/src/Graphql/Graphql.php index <HASH>..<HASH> 100644 --- a/src/Graphql/Graphql.php +++ b/src/Graphql/Graphql.php @@ -85,7 +85,7 @@ function init(Schema $schema, $rootValue = null, $context = null, string $input function execute(Schema $schema, array $input, $rootValue = null, $co...
fix operation name since webonyx/graphql-php:<I>
leocavalcante_siler
train
php
4c91c622b45eb321c8c0dcc794bb043f87098660
diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py index <HASH>..<HASH> 100644 --- a/pandas/tseries/converter.py +++ b/pandas/tseries/converter.py @@ -150,7 +150,7 @@ class DatetimeConverter(dates.DateConverter): return dates.date2num(values) elif (com.is_integer(values) or com...
BUG: tseries.converter.DateTimeConverter.convert() should accept basestring
pandas-dev_pandas
train
py
d69b77aa8256ed2bd4aa3bda3e6687cc9ea9d02b
diff --git a/test/client/karma.conf.js b/test/client/karma.conf.js index <HASH>..<HASH> 100644 --- a/test/client/karma.conf.js +++ b/test/client/karma.conf.js @@ -101,7 +101,7 @@ module.exports = function (config) { // Recommeneded browserstack timeouts // https://github.com/karma-runner/karma-browserstack-...
chore(ci/client/browserstack): reduce the `captureTimeout` This should've happened in <URL>
karma-runner_karma
train
js
fb9f9507906ef7f55263f52b6628491f933e2297
diff --git a/jams/pyjams.py b/jams/pyjams.py index <HASH>..<HASH> 100644 --- a/jams/pyjams.py +++ b/jams/pyjams.py @@ -360,19 +360,25 @@ class JamsFrame(pd.DataFrame): new_frame = super(JamsFrame, cls).from_dict(*args, **kwargs) + return cls.from_dataframe(new_frame) + + @classmethod + def fro...
added a dataframe to jamsframe converter
marl_jams
train
py
916820f7887caf5d86eb154528cf2ec569c71add
diff --git a/bot/manager.py b/bot/manager.py index <HASH>..<HASH> 100644 --- a/bot/manager.py +++ b/bot/manager.py @@ -17,8 +17,10 @@ from bot.action.standard.answer import AnswerAction from bot.action.standard.benchmark import BenchmarkAction from bot.action.standard.chatsettings.action import ChatSettingsAction fr...
Add /configstatus and /instance commands to manager
alvarogzp_telegram-bot-framework
train
py
cee4bf2e45e4520168b20d33fb25f34cda8bbb3c
diff --git a/fireplace/actions.py b/fireplace/actions.py index <HASH>..<HASH> 100644 --- a/fireplace/actions.py +++ b/fireplace/actions.py @@ -525,13 +525,9 @@ class Hit(TargetedAction): class Args(Action.Args): TARGETS = 0 AMOUNT = 1 - SOURCE = 2 - def do(self, source, target, amount, attack_source=None): -...
Replace Attack.SOURCE override by global TargetedAction source This avoids some uncomfortably specific logic for Betrayal. Now, all actions can specify that they are to be done from the POV of a specific source instead.
jleclanche_fireplace
train
py,py
ab19123120e5bdea2c2dff5697da7e150c5d8039
diff --git a/lib/pith/version.rb b/lib/pith/version.rb index <HASH>..<HASH> 100644 --- a/lib/pith/version.rb +++ b/lib/pith/version.rb @@ -1,3 +1,3 @@ module Pith - VERSION = "0.0.2".freeze + VERSION = "0.0.3".freeze end
We'll call that "<I>".
mdub_pith
train
rb
d3425693d245c9dfa5350017903fc02a11ecd881
diff --git a/compiler/lang.py b/compiler/lang.py index <HASH>..<HASH> 100644 --- a/compiler/lang.py +++ b/compiler/lang.py @@ -82,12 +82,14 @@ class Assignment(Entity): super(Assignment, self).__init__() self.target = target - def replace_name(m): - dot = target.rfind('.') - name = target.substr(dot + 1) i...
use width/height as percent base for x/y
pureqml_qmlcore
train
py
0d089f7e05d4053968b8c0af45eb8bc8afd5b9b5
diff --git a/src/main/java/org/sikuli/slides/sikuli/SearchMultipleTarget.java b/src/main/java/org/sikuli/slides/sikuli/SearchMultipleTarget.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/sikuli/slides/sikuli/SearchMultipleTarget.java +++ b/src/main/java/org/sikuli/slides/sikuli/SearchMultipleTarget.java @@ -2...
print the number of similart targets on the screen
sikuli_sikuli-slides
train
java
66dfb51786fe06bbd89e99732693d5f4918bc8a3
diff --git a/grimoire_elk/ocean/mozillaclub.py b/grimoire_elk/ocean/mozillaclub.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/ocean/mozillaclub.py +++ b/grimoire_elk/ocean/mozillaclub.py @@ -35,7 +35,7 @@ class Mapping(BaseMapping): :returns: dictionary with a key, 'items', with the mapping ...
[ocean] Modify check to detect ES version for MozillaClub connector This patch modifies the if condition used to detect the ElasticSearch version
chaoss_grimoirelab-elk
train
py