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
b9635e2792c557dc33376dbd40ca78a51d7a29fc
diff --git a/executor/explain_test.go b/executor/explain_test.go index <HASH>..<HASH> 100644 --- a/executor/explain_test.go +++ b/executor/explain_test.go @@ -20,6 +20,7 @@ import ( "strings" "testing" + "github.com/pingcap/tidb/config" "github.com/pingcap/tidb/parser/auth" plannercore "github.com/pingcap/tid...
executor: fix unstable TestCheckActRowsWithUnistore (#<I>) close pingcap/tidb#<I>
pingcap_tidb
train
go
47dc8a906cf74fb15e65f4ec81d2725a512aec5c
diff --git a/spec/views/hyrax/base/_form_share.erb_spec.rb b/spec/views/hyrax/base/_form_share.erb_spec.rb index <HASH>..<HASH> 100644 --- a/spec/views/hyrax/base/_form_share.erb_spec.rb +++ b/spec/views/hyrax/base/_form_share.erb_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true RSpec.describe 'hyrax/base/_form_...
Fixing spec to account for upstream changes The previous commit (fde<I>eeb<I>cb8ed<I>ed<I>f<I>c5da3f<I>ef) was worked on over a year ago, and recently re-opened and rebased against the main branch. In that time, aspects of the implementation have changed.
samvera_hyrax
train
rb
c6f8b5e192daeceef7794f79af52e9e9388e3684
diff --git a/src/drawer.js b/src/drawer.js index <HASH>..<HASH> 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -228,8 +228,7 @@ $.Drawer.prototype = { } if( this.viewer ){ this.viewer.raiseEvent( 'clear-overlay', { - viewer: this.viewer, - element: elemen...
Fixed broken viewer.raiseEvent calls in drawer.js
openseadragon_openseadragon
train
js
ff05458b070e4463865dce331c2759b2c51b1fdc
diff --git a/holoviews/operation/element.py b/holoviews/operation/element.py index <HASH>..<HASH> 100644 --- a/holoviews/operation/element.py +++ b/holoviews/operation/element.py @@ -316,8 +316,12 @@ class gradient(ElementOperation): dx = np.diff(data, 1, axis=1)[0:r-1, 0:c-1] dy = np.diff(data, 1, ax...
More checks on cyclic ranges, but still not supported in gradient
pyviz_holoviews
train
py
c1fad2de07432619ced095ad15e1c3b7490ea7c2
diff --git a/ee/src/main/java/org/jboss/as/ee/structure/EJBClientDescriptor10Parser.java b/ee/src/main/java/org/jboss/as/ee/structure/EJBClientDescriptor10Parser.java index <HASH>..<HASH> 100644 --- a/ee/src/main/java/org/jboss/as/ee/structure/EJBClientDescriptor10Parser.java +++ b/ee/src/main/java/org/jboss/as/ee/stru...
fix parse fail when jboss-ejb-client.xml has multiple remote-ejb-receiver element
wildfly_wildfly
train
java
19a8575282bb16ee96e1406b8f82ad00d0212dac
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ setup( 'requests' ], extras_require={ - 'test': ['tox', 'pytest', 'flake8', 'responses', 'mock'], + 'test': ['tox', 'pytest', 'flake8', 'responses'], 'doc': ['Sphinx==1....
Remove unneeded test dependency on mock package
matrix-org_matrix-python-sdk
train
py,py
e0acdf234c32cb977e0cd2b2a788fa1b023d7008
diff --git a/lib/qyu/store/base.rb b/lib/qyu/store/base.rb index <HASH>..<HASH> 100644 --- a/lib/qyu/store/base.rb +++ b/lib/qyu/store/base.rb @@ -94,6 +94,10 @@ module Qyu fail Qyu::Errors::NotImplementedError end + def task_status_counts(_job_id) + fail Qyu::Errors::NotImplementedError +...
Add task_status_counts to store interface
QyuTeam_qyu
train
rb
ffb36428f33c405859ec666e5e3aba1ca0c6aaef
diff --git a/src/plugins/Transloadit/index.js b/src/plugins/Transloadit/index.js index <HASH>..<HASH> 100644 --- a/src/plugins/Transloadit/index.js +++ b/src/plugins/Transloadit/index.js @@ -282,6 +282,10 @@ module.exports = class Transloadit extends Plugin { // A file ID that is part of this assembly... cons...
transloadit: Fix crash when no files are being uploaded
transloadit_uppy
train
js,js
800d6739214b66d6ec0cc9918bb8cb0cba0b8d96
diff --git a/faker/providers/misc/__init__.py b/faker/providers/misc/__init__.py index <HASH>..<HASH> 100644 --- a/faker/providers/misc/__init__.py +++ b/faker/providers/misc/__init__.py @@ -4,6 +4,7 @@ from __future__ import unicode_literals import hashlib import random import string +import uuid from faker.prov...
Adds uuid support
joke2k_faker
train
py
5cd2e19361137e5a4a2c9dfa9bb1b54a37a7ffd9
diff --git a/src/_parsers.py b/src/_parsers.py index <HASH>..<HASH> 100644 --- a/src/_parsers.py +++ b/src/_parsers.py @@ -376,7 +376,8 @@ def _is_allowed(input): '--export', '--export-secret-keys', '--export-secret-subkeys', - ...
Minor and unnecessary obsessive compulsive code formatting change.
isislovecruft_python-gnupg
train
py
0d5927d81231476c18f9fdf29df60843d0996cfe
diff --git a/framework/core/js/lib/components/badge.js b/framework/core/js/lib/components/badge.js index <HASH>..<HASH> 100644 --- a/framework/core/js/lib/components/badge.js +++ b/framework/core/js/lib/components/badge.js @@ -6,10 +6,12 @@ export default class Badge extends Component { var iconName = this.props.i...
Prevent incorrect badge redraw diffing
flarum_core
train
js
60f34fd7ef08e507e765c6df3fa1664b22e851e6
diff --git a/actionpack/test/controller/force_ssl_test.rb b/actionpack/test/controller/force_ssl_test.rb index <HASH>..<HASH> 100644 --- a/actionpack/test/controller/force_ssl_test.rb +++ b/actionpack/test/controller/force_ssl_test.rb @@ -229,14 +229,12 @@ class ForceSSLFlashTest < ActionController::TestCase asser...
Remove unneeded FIXME note This is the intended behavior. You should not do more than one request in a controller test.
rails_rails
train
rb
d498487794a6807fe26abf7e7716c853ebd2d900
diff --git a/spec/lib/compiler_spec.rb b/spec/lib/compiler_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/compiler_spec.rb +++ b/spec/lib/compiler_spec.rb @@ -44,7 +44,7 @@ describe Opal::Compiler do end it 'adds method missing stubs with operators' do - expect_compiled("class Foo; end; Foo.new > 5").t...
Reverse test order since impl was done in different order than original PR
opal_opal
train
rb
58f265fc1611427d51e3840d6291d788f93f12be
diff --git a/panels/_version.py b/panels/_version.py index <HASH>..<HASH> 100644 --- a/panels/_version.py +++ b/panels/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.0.37" +__version__ = "0.0.38"
Update version number to <I>
chaoss_grimoirelab-sigils
train
py
41eb8d0ffc4cbdb8b46354bdce990e8769daaca5
diff --git a/src/Entity/Status/StatusAwareEntityInterface.php b/src/Entity/Status/StatusAwareEntityInterface.php index <HASH>..<HASH> 100644 --- a/src/Entity/Status/StatusAwareEntityInterface.php +++ b/src/Entity/Status/StatusAwareEntityInterface.php @@ -6,7 +6,7 @@ * @license MIT * @copyright 2013 - 2017 Cross So...
fix(Core): StatusAwareEntityInterface must not define constant. in PHP constants defined in interfaces cannot be overridden by implementing classes. This behaviour is essential to the function of the StatusAwareEntityTrait however.
yawik_core
train
php
ab1058ebeaec4bd6389acdd177cff7c35e90c96b
diff --git a/plugin/Storagebox/AccessMethods/Methods/SFTP/SFTPConnection.php b/plugin/Storagebox/AccessMethods/Methods/SFTP/SFTPConnection.php index <HASH>..<HASH> 100644 --- a/plugin/Storagebox/AccessMethods/Methods/SFTP/SFTPConnection.php +++ b/plugin/Storagebox/AccessMethods/Methods/SFTP/SFTPConnection.php @@ -71,10...
added intval to sftpconnection
ipunkt_rancherize-backup-storagebox
train
php
1ee9472bca672a14512e6866e53edbaee5250dbd
diff --git a/src/Lavary/Menu/Builder.php b/src/Lavary/Menu/Builder.php index <HASH>..<HASH> 100644 --- a/src/Lavary/Menu/Builder.php +++ b/src/Lavary/Menu/Builder.php @@ -466,7 +466,7 @@ class Builder public function sortBy($sort_by, $sort_type = 'asc') { if (is_callable($sort_by)) { - $rs...
Fix bug introduced by docblock cleanup Docblock cleanup c9be1d2e<I>cde4c<I>c<I>d<I> introduced a bug when converting `toArray()` to `to[]`
lavary_laravel-menu
train
php
3c0e1163c7afcc42fdcbbf22dd61ac869a6857ee
diff --git a/redis/client.py b/redis/client.py index <HASH>..<HASH> 100755 --- a/redis/client.py +++ b/redis/client.py @@ -2892,9 +2892,18 @@ class Redis: the existing score will be incremented by. When using this mode the return value of ZADD will be the new score of the element. + ``LT`` On...
exclusive gt and lt in zadd (#<I>) * exclusive gt and lt in zadd * docs update
andymccurdy_redis-py
train
py
ce3e162a951812858b25557aeed37bd8666e02d1
diff --git a/consume.js b/consume.js index <HASH>..<HASH> 100644 --- a/consume.js +++ b/consume.js @@ -1,9 +1,10 @@ module.exports = consume; -// conusme( (Error) => void, (T) => void ) => Callback<T> +// conusme( (Error) => Any, (T) => Any ) => (Error, T) => Any function consume(onError, onData) { return functi...
Stylechange, makes it more clear that returned function always returns something.
pirfalt_consume
train
js
07b2b211829ddf99611fd184e90de1719f650625
diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/specifications/googlefonts.py +++ b/Lib/fontbakery/specifications/googlefonts.py @@ -2463,6 +2463,8 @@ def check_nonligated_sequences_kerning_info(ttFont, ligatures, ...
[check-googlefonts] don't ERROR when 'PairPos' attribute is not present.
googlefonts_fontbakery
train
py
ee9fb63dbb67e88d9698f3c64192b412526f2db3
diff --git a/src/basis.js b/src/basis.js index <HASH>..<HASH> 100644 --- a/src/basis.js +++ b/src/basis.js @@ -2522,7 +2522,10 @@ // if resource exists and resolved -> apply patch var resource = getResource.get(filename); if (resource && resource.isResolved()) + { + /** @cut */ consoleMethods.inf...
core: fix basis.patch to notify when patch apply to resolved resource
basisjs_basisjs
train
js
2a71cca13c275b18b08547ce3703d9780ce253a7
diff --git a/test/test_hexahedron.py b/test/test_hexahedron.py index <HASH>..<HASH> 100644 --- a/test/test_hexahedron.py +++ b/test/test_hexahedron.py @@ -56,7 +56,7 @@ def test_normality(n=4): def test_write(): orthopy.hexahedron.write( - "hexa.vtu", lambda X: orthopy.hexahedron.tree(X.T, 5)[5][5] + ...
test: vtu -> vtk
nschloe_orthopy
train
py,py
5427d334c3d2055850c93e67ebd09059519b15c8
diff --git a/lib/classes/module/console/checkExtension.class.php b/lib/classes/module/console/checkExtension.class.php index <HASH>..<HASH> 100644 --- a/lib/classes/module/console/checkExtension.class.php +++ b/lib/classes/module/console/checkExtension.class.php @@ -44,7 +44,7 @@ class module_console_checkExtension ext...
Fix tasks for <I>+
alchemy-fr_Phraseanet
train
php,php
a1d93f92cd9e8d37ffca11466408557414aae559
diff --git a/core/dbt/context/parser.py b/core/dbt/context/parser.py index <HASH>..<HASH> 100644 --- a/core/dbt/context/parser.py +++ b/core/dbt/context/parser.py @@ -111,14 +111,13 @@ class SourceResolver(dbt.context.common.BaseResolver): def __call__(self, *args): # When you call source(), this is what ...
refactor to make more similar to RefResolver
fishtown-analytics_dbt
train
py
da9f88ece7048a68535ba6f97889f98f4274e8a3
diff --git a/packer/rpc/muxconn.go b/packer/rpc/muxconn.go index <HASH>..<HASH> 100644 --- a/packer/rpc/muxconn.go +++ b/packer/rpc/muxconn.go @@ -300,10 +300,14 @@ func (m *MuxConn) loop() { case streamStateFinWait2: stream.remoteClose() - // Remove this stream from being active so that it - // can be...
packer/rpc: make sure curID in MuxConn is highest [GH-<I>]
hashicorp_packer
train
go
c14fd7f75542c8d281664dc13ed38a819bf2e95a
diff --git a/slave/signal_recovery/sr7230.py b/slave/signal_recovery/sr7230.py index <HASH>..<HASH> 100644 --- a/slave/signal_recovery/sr7230.py +++ b/slave/signal_recovery/sr7230.py @@ -439,6 +439,17 @@ class SR7230(Driver): '500 fA', '1 pA', '2 pA', '5 pA', '10 pA', '20 pA', '50 pA', '100 pA', '200 ...
Added SENSITIVITY property to `SR<I>` driver, returning the appropriate sensitivity ranges.
p3trus_slave
train
py
d4224b926c093e7e8716f04fbff8844646857dfc
diff --git a/mldb/index.py b/mldb/index.py index <HASH>..<HASH> 100644 --- a/mldb/index.py +++ b/mldb/index.py @@ -4,7 +4,7 @@ # @Email: atremblay@datacratic.com # @Date: 2015-03-19 10:28:23 # @Last Modified by: Alexis Tremblay -# @Last Modified time: 2015-04-09 13:31:45 +# @Last Modifie...
Supporting list in the ix method
datacratic_pymldb
train
py
a36c1c9c118ab3611e705c293006de08d0a61bab
diff --git a/Zebra_Image.php b/Zebra_Image.php index <HASH>..<HASH> 100644 --- a/Zebra_Image.php +++ b/Zebra_Image.php @@ -707,16 +707,16 @@ class Zebra_Image { * * When set to -1 the script will preserve transparency for transparent GIF * ...
The default value of the "background_color" argument of the "resize" method is now -1
stefangabos_Zebra_Image
train
php
be28ad7d1496ad5e9f94234ee152ef8e853c07cd
diff --git a/examples/basic/buildmesh.py b/examples/basic/buildmesh.py index <HASH>..<HASH> 100644 --- a/examples/basic/buildmesh.py +++ b/examples/basic/buildmesh.py @@ -15,4 +15,4 @@ a.backColor('violet').lineColor('black').lineWidth(1) print('getCells() format is :', a.getCells()) print('getConnectivity() fo...
Removed trailing spaces in examples/basic/buildmesh.py
marcomusy_vtkplotter
train
py
1b6200337dfbd3190c33f1c52dd36e8c55e12109
diff --git a/lib/nydp.rb b/lib/nydp.rb index <HASH>..<HASH> 100644 --- a/lib/nydp.rb +++ b/lib/nydp.rb @@ -19,6 +19,7 @@ module Nydp ns = { } setup(ns) loadall ns, loadfiles + loadall ns, testfiles loadall ns, extra_files if extra_files ns end @@ -47,7 +48,7 @@ module Nydp verbose = ...
testing: always load testfiles, so examples are available for inspection at all times
conanite_nydp
train
rb
beb2e4aae324cd89038aabf9718c01a3607bc1a1
diff --git a/graphene_django/utils/testing.py b/graphene_django/utils/testing.py index <HASH>..<HASH> 100644 --- a/graphene_django/utils/testing.py +++ b/graphene_django/utils/testing.py @@ -28,7 +28,9 @@ def graphql_query( variables (dict) - If provided, the "variables" field in GraphQL will be ...
Doc clarification for headers arg in testing utils (#<I>) I think it might be helpful to add an explicit hint that HTTP headers should be prepended with `HTTP_` as required by `django.test.Client` (at least it was not super obvious to me when I tried to use it).
graphql-python_graphene-django
train
py
a89e01b8c826a37a8df8df5645f6086028045315
diff --git a/src/js/components/Select/Select.js b/src/js/components/Select/Select.js index <HASH>..<HASH> 100644 --- a/src/js/components/Select/Select.js +++ b/src/js/components/Select/Select.js @@ -83,7 +83,7 @@ const Select = forwardRef( const inputRef = useRef(); const formContext = useContext(FormContext)...
fix: select dropdown entry when the input isnt controlled (#<I>) In <I>, when using a select without passing value as a prop, selecting a dropdown entry won't update the Select component to have that entry selected. This sets the value using `setValue` from the `useFormContext` hook.
grommet_grommet
train
js
a97b296f90530b629e550d304ef9a6cb08282764
diff --git a/restcomm/restcomm.telephony/src/main/java/org/restcomm/connect/telephony/Call.java b/restcomm/restcomm.telephony/src/main/java/org/restcomm/connect/telephony/Call.java index <HASH>..<HASH> 100644 --- a/restcomm/restcomm.telephony/src/main/java/org/restcomm/connect/telephony/Call.java +++ b/restcomm/restcom...
notify conference to remove participant when hungup cam from outside
RestComm_Restcomm-Connect
train
java
f9e49bbc695f72b356770a41968502adf5ea87bd
diff --git a/django_tenants/log.py b/django_tenants/log.py index <HASH>..<HASH> 100644 --- a/django_tenants/log.py +++ b/django_tenants/log.py @@ -10,5 +10,5 @@ class TenantContextFilter(logging.Filter): """ def filter(self, record): record.schema_name = connection.tenant.schema_name - record....
Update log.py it would be better for logging output to use a string that indicates blank/not set/ etc than an empty string
tomturner_django-tenants
train
py
1ed616a606d3ebccc7b57b510aabb9dbf5e09438
diff --git a/bsdploy/__init__.py b/bsdploy/__init__.py index <HASH>..<HASH> 100644 --- a/bsdploy/__init__.py +++ b/bsdploy/__init__.py @@ -54,14 +54,19 @@ class PloyConfigureHostCmd(object): add_help=False, ) masters = dict((master.id, master) for master in self.aws.get_masters('ezjail_ad...
Don't require name of master if there only is one.
ployground_bsdploy
train
py
96d0535d0976d0bd8b207d3240374920d49989cd
diff --git a/modules/backend/classes/Controller.php b/modules/backend/classes/Controller.php index <HASH>..<HASH> 100644 --- a/modules/backend/classes/Controller.php +++ b/modules/backend/classes/Controller.php @@ -555,6 +555,13 @@ class Controller extends Extendable } } + /* + * ...
Add generic onAjax handler that does nothing
octobercms_october
train
php,php
249c0ed7f883ebdca530c4ee1e93f56270e48b54
diff --git a/lib/dm-validations/contextual_validators.rb b/lib/dm-validations/contextual_validators.rb index <HASH>..<HASH> 100644 --- a/lib/dm-validations/contextual_validators.rb +++ b/lib/dm-validations/contextual_validators.rb @@ -64,10 +64,16 @@ module DataMapper # Attribute names given to validation mac...
Clean up and add some more docs for ContextualValidators#add.
emmanuel_aequitas
train
rb
de45698075aff9a64a08503680dcb4115fd1f9d5
diff --git a/glance-client/src/main/java/org/openstack/glance/api/DownloadImage.java b/glance-client/src/main/java/org/openstack/glance/api/DownloadImage.java index <HASH>..<HASH> 100644 --- a/glance-client/src/main/java/org/openstack/glance/api/DownloadImage.java +++ b/glance-client/src/main/java/org/openstack/glance/...
[openstack-java-sdk] DownloadImage looks not worked (#<I>)
woorea_openstack-java-sdk
train
java
6c6aba3b1cead439a74e9119ac8c1ec04231f9d8
diff --git a/packages/lib/src/utils/errors/DeployError.js b/packages/lib/src/utils/errors/DeployError.js index <HASH>..<HASH> 100644 --- a/packages/lib/src/utils/errors/DeployError.js +++ b/packages/lib/src/utils/errors/DeployError.js @@ -1,17 +1,9 @@ 'use strict' export class DeployError extends Error { - constru...
Reimplement DeployError to support generic errors
zeppelinos_zos
train
js
6fc69934b74d6e11727f530b702590ceda9fdda0
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -99,7 +99,10 @@ if __name__ == '__main__': " (like config files) from name-value pairs.", long_description=get_long_description(), license='MIT', - keywords='templa...
Split keywords up into a list.
blubberdiblub_eztemplate
train
py
928c8acd01a4d46c863f7fa9088637e10d46d75c
diff --git a/pyrogram/methods/users/iter_profile_photos.py b/pyrogram/methods/users/iter_profile_photos.py index <HASH>..<HASH> 100644 --- a/pyrogram/methods/users/iter_profile_photos.py +++ b/pyrogram/methods/users/iter_profile_photos.py @@ -28,7 +28,7 @@ class IterProfilePhotos(Scaffold): chat_id: Union[int,...
Fix iter_profile_photos wrong hinted return type
pyrogram_pyrogram
train
py
80c122b0040b911dd5a63803f604b60137ea8053
diff --git a/lib/FsEntry.js b/lib/FsEntry.js index <HASH>..<HASH> 100644 --- a/lib/FsEntry.js +++ b/lib/FsEntry.js @@ -54,11 +54,10 @@ FsEntry.prototype.clone = function () { }; FsEntry.prototype.getTarget = function (cb) { - var that = this; - if (that.type === 'directory') { - FsEntry.getEntriesInDir...
FsEntry: Removed no longer necessary that=this aliasing.
papandreou_node-gitfakefs
train
js
434bc82ee775c41bd92af027abc72644268f922d
diff --git a/models/PodioItemField.php b/models/PodioItemField.php index <HASH>..<HASH> 100644 --- a/models/PodioItemField.php +++ b/models/PodioItemField.php @@ -398,7 +398,7 @@ class PodioContactItemField extends PodioItemField { */ public function contacts() { return array_map(function($value){ - re...
Contacts should return contacts and files should return files. Not the other way around.
podio-community_podio-php
train
php
92313dd84036e0de851e5660abd5adb14c98537c
diff --git a/src/Migration/MigrationManager.php b/src/Migration/MigrationManager.php index <HASH>..<HASH> 100644 --- a/src/Migration/MigrationManager.php +++ b/src/Migration/MigrationManager.php @@ -38,7 +38,7 @@ class MigrationManager /** * @var string[] */ - private $knownVersions; + private $k...
Fixed bug when no migrations are passed
webmozart_json
train
php,php
6b0b08675f0bf71d7aae36d8069546aab86052d9
diff --git a/lib/from-new.js b/lib/from-new.js index <HASH>..<HASH> 100644 --- a/lib/from-new.js +++ b/lib/from-new.js @@ -157,7 +157,7 @@ var fs = require('fs') resolver = unfinishedPaths.first.resolvers.firstThat(function(resolver){ return !resolver.paths }) console.error("?? $["+($.length-1)+"].p...
(minor debug) Slight reformatting of debugging output.
ELLIOTTCABLE_from
train
js
7c20226442ef2561b23cde193975586ca1aee276
diff --git a/chef/lib/chef/platform.rb b/chef/lib/chef/platform.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/platform.rb +++ b/chef/lib/chef/platform.rb @@ -45,7 +45,6 @@ class Chef :template => Chef::Provider::Template, :remote_file => Chef::Provider::RemoteFile, :remote_directory => C...
Removing sysctl from platform.rb
chef_chef
train
rb
937b83fb86842278574a128b5d3b7e36c5949e8f
diff --git a/modules/custom/social_lazy_loading/src/SocialLazyLoadingTextFormatOverride.php b/modules/custom/social_lazy_loading/src/SocialLazyLoadingTextFormatOverride.php index <HASH>..<HASH> 100644 --- a/modules/custom/social_lazy_loading/src/SocialLazyLoadingTextFormatOverride.php +++ b/modules/custom/social_lazy_l...
Issue #<I> by alex.ksis: Update config override to be compatible with lazy <I>.
goalgorilla_open_social
train
php
2df4f55ca26dffd892d937a39e7f0f454edd4eed
diff --git a/lib/dtrace.js b/lib/dtrace.js index <HASH>..<HASH> 100644 --- a/lib/dtrace.js +++ b/lib/dtrace.js @@ -27,6 +27,7 @@ function addProbes(dtrace, name) { 'char *', 'int', 'char *', + ...
Different number of probe arguments defined than fired.
restify_plugins
train
js
e60e23c023f3da0e7f4dfda1aa3b5d6b2a1c550d
diff --git a/mapsforge-map-reader/src/main/java/org/mapsforge/map/reader/MapFile.java b/mapsforge-map-reader/src/main/java/org/mapsforge/map/reader/MapFile.java index <HASH>..<HASH> 100644 --- a/mapsforge-map-reader/src/main/java/org/mapsforge/map/reader/MapFile.java +++ b/mapsforge-map-reader/src/main/java/org/mapsfor...
Removed zoom-level check from map data read operation, partially resolves #<I> (cherry picked from commit <I>df<I>f<I>bb<I>a<I>c<I>add<I>bd<I>)
mapsforge_mapsforge
train
java
e67456c08a1728a87eed6d9fbd8be0933df30ba1
diff --git a/definition/entity/container.js b/definition/entity/container.js index <HASH>..<HASH> 100644 --- a/definition/entity/container.js +++ b/definition/entity/container.js @@ -12,11 +12,6 @@ var checkIsObject = require('../../util/object/check'); const SEPARATOR = "."; /** - * Definition of the search inform...
[definition] Remove search definition from entity definition.
KleeGroup_focus-core
train
js
8ac0a3561aba8af45418780dbc76652f47a92951
diff --git a/ford/sourceform.py b/ford/sourceform.py index <HASH>..<HASH> 100644 --- a/ford/sourceform.py +++ b/ford/sourceform.py @@ -2175,7 +2175,7 @@ class FortranVariable(FortranBase): self.optional = optional self.kind = kind self.strlen = strlen - self.proto = proto + self...
Fix variables declared on same line sharing prototype Introduced in <I> because `FortranVariable` creation used to create new `list(proto)` for each variable on a line
Fortran-FOSS-Programmers_ford
train
py,py
4ae8bff1b6526bea702eaba135d1074985ea8a08
diff --git a/lib/RestClient.js b/lib/RestClient.js index <HASH>..<HASH> 100644 --- a/lib/RestClient.js +++ b/lib/RestClient.js @@ -179,8 +179,13 @@ RestClient.prototype.request = function (options, callback) { } processKeys(data); - //hang response off the JSON-serialized data - data.n...
Make nodeClientResponse unenumerable to allow for stringification of the data object.
twilio_twilio-node
train
js
fc6951be5c95657a451fc6bc8bb9d51233720c35
diff --git a/html/components/toggle.js b/html/components/toggle.js index <HASH>..<HASH> 100644 --- a/html/components/toggle.js +++ b/html/components/toggle.js @@ -110,6 +110,13 @@ const bindToggleUIEvents = (element) => { // Add click event listener to trigger for each toggle collection we find toggleTrigger.addE...
#<I> - bug - Fix HTML toggle to look at other triggers for click events, not just click
sparkdesignsystem_spark-design-system
train
js
5505d2374a88baa2e00ee21bcbd2829e02a635f7
diff --git a/asq/test/test_join.py b/asq/test/test_join.py index <HASH>..<HASH> 100644 --- a/asq/test/test_join.py +++ b/asq/test/test_join.py @@ -61,4 +61,10 @@ class TestJoin(unittest.TestCase): e = [(2, 2), (3, 3), (4, 4)] self.assertEqual(d, e) - + def test_join_closed(self): + a = [1,...
Improved test coverage for join().
sixty-north_asq
train
py
7d0c18034e1a7967c1aabc84e66e6fd020cd541d
diff --git a/src/manipulation.js b/src/manipulation.js index <HASH>..<HASH> 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -283,7 +283,18 @@ function cloneCopyEvent(orig, ret) { return; } - jQuery.data( this, jQuery.data( orig[i++] ) ); + var oldData = jQuery.data( orig[i++] ), curData = jQuer...
Explicitly re-bind the events on clone. Copying over the data isn't enough. Fixes #<I>.
jquery_jquery
train
js
1575867b40fe110979cac689aa602fb78f8edbda
diff --git a/zipline/finance/slippage.py b/zipline/finance/slippage.py index <HASH>..<HASH> 100644 --- a/zipline/finance/slippage.py +++ b/zipline/finance/slippage.py @@ -141,15 +141,14 @@ def create_transaction(event, order, price, amount): if amount_magnitude < 1: raise Exception("Transaction magnitude ...
STY: Use named args for Transaction object creation. Instead of creating and passing a dict of the object values, use named args directly.
quantopian_zipline
train
py
095ad9829afd1cea58f5d7e597b7417200dab651
diff --git a/test/more_paranoid_test.rb b/test/more_paranoid_test.rb index <HASH>..<HASH> 100644 --- a/test/more_paranoid_test.rb +++ b/test/more_paranoid_test.rb @@ -2,6 +2,20 @@ require 'test_helper' class MoreParanoidTest < ParanoidBaseTest + test "bidirectional has_many :through association clear is paranoi...
bidirectional many:many clear is paranoid
goncalossilva_acts_as_paranoid
train
rb
a3f798d0c8eebdde6ed102086a675c334f94f503
diff --git a/bin/ugrid.js b/bin/ugrid.js index <HASH>..<HASH> 100755 --- a/bin/ugrid.js +++ b/bin/ugrid.js @@ -177,6 +177,7 @@ function handleClose(sock) { pubmon({event: 'disconnect', uuid: cli.uuid}); cli.sock = null; } + releaseWorkers(cli.uuid); if (sock.index) delete crossbar[sock.index]; for (var i...
ugrid.js releases workers at master disconnect Former-commit-id: d<I>d<I>cb8affe<I>bd<I>cdac<I>fd7a<I>
skale-me_skale
train
js
a7573621af4274c4e8aeff042c41df4dfe470b06
diff --git a/src/Users/ValueObjects/Email.php b/src/Users/ValueObjects/Email.php index <HASH>..<HASH> 100644 --- a/src/Users/ValueObjects/Email.php +++ b/src/Users/ValueObjects/Email.php @@ -29,4 +29,15 @@ class Email { return $this->address; } + + /** + * The __toString method allows a class to decide how it w...
Default toString in Email and Password
digbang_security
train
php,php
6db2cd927b9e2f882e874b7543864f2f3dee83ed
diff --git a/oleutil/connection_windows.go b/oleutil/connection_windows.go index <HASH>..<HASH> 100644 --- a/oleutil/connection_windows.go +++ b/oleutil/connection_windows.go @@ -49,6 +49,7 @@ func ConnectObject(disp *ole.IDispatch, iid *ole.GUID, idisp interface{}) (cooki point.Release() return } + return ...
Add a missing return to the ConnectObject function Without the return added by this commit the ConnectObject will return E_INVALIDARG even if everything went fine.
go-ole_go-ole
train
go
4fda4d35febe938ee6429b746ad84d5d3b480832
diff --git a/proxy.go b/proxy.go index <HASH>..<HASH> 100644 --- a/proxy.go +++ b/proxy.go @@ -166,7 +166,8 @@ func (p *Proxy) proxy(local net.Conn, address string) { var remote net.Conn - glog.V(0).Info("Abount to dial: %s", remoteAddr) + glog.Infof("Dialing hostAgent:%v to proxy %v<->%v", + remoteAddr, local.L...
added logging for proxy connect and reconnect
control-center_serviced
train
go
3a57f6f4d4bbe0522b2a53223d30714dfdd3fd1f
diff --git a/tests/phpunit/BoltListener.php b/tests/phpunit/BoltListener.php index <HASH>..<HASH> 100644 --- a/tests/phpunit/BoltListener.php +++ b/tests/phpunit/BoltListener.php @@ -325,13 +325,15 @@ class BoltListener implements \PHPUnit_Framework_TestListener unlink($file); } + ...
[Tests] Output timings correctly for exponential numbers
bolt_bolt
train
php
a83502e42da59f2f4a99c406905cf393549de7dc
diff --git a/github_release.py b/github_release.py index <HASH>..<HASH> 100755 --- a/github_release.py +++ b/github_release.py @@ -641,7 +641,7 @@ def gh_asset_upload(repo_name, tag_name, pattern, dry_run=False, verbose=False): filenames = [] for package in pattern: filenames.extend(glob....
gh_asset_upload: filter duplicated filename when list of pattern is provided
j0057_github-release
train
py,py
6ec0785068cc99f4ede0f2a52a6ff2685ce80f1b
diff --git a/ecore.py b/ecore.py index <HASH>..<HASH> 100644 --- a/ecore.py +++ b/ecore.py @@ -1,8 +1,17 @@ +"""Support for generation for models based on pyecore.""" + + class ModelTypeMixin: - """Implements the model filter by returning all elements of a certain element type.""" + """ + Implements the model...
implemented and tested ecore model type filter mixin
pyecore_pyecoregen
train
py,py,py
acdc18ef34cfecfabe245276ba735265031b5660
diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/Search/Gateway/CriteriaConverter.php b/eZ/Publish/Core/Persistence/Legacy/Content/Search/Gateway/CriteriaConverter.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/Search/Gateway/CriteriaConverter.php +++ b/eZ/Publish/Core/Persisten...
Throw not implemented exception for unknown criteria in legacy search
ezsystems_ezpublish-kernel
train
php
1f9bf5b78fe15fe67434e0eed7143a5a0a7aaad3
diff --git a/lib/allscripts_unity_client/client.rb b/lib/allscripts_unity_client/client.rb index <HASH>..<HASH> 100644 --- a/lib/allscripts_unity_client/client.rb +++ b/lib/allscripts_unity_client/client.rb @@ -198,7 +198,19 @@ module AllscriptsUnityClient patientid: patientid, parameter1: transaction...
Added support for GetMedicationByTransId 0.
healthfinch_allscripts-unity-client
train
rb,rb
cc4aeeaaec8aee450615c0a40d314cc78ae3cd0d
diff --git a/tests/unit/test_example.py b/tests/unit/test_example.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_example.py +++ b/tests/unit/test_example.py @@ -46,4 +46,4 @@ def test_example(get_data_file, test_output_dir): type(profile.get_description()) == dict and len(profile.get_description...
Update test: More types of warning are shown
pandas-profiling_pandas-profiling
train
py
1c3415759a4e8abe6109be1d95c94db349c3d7ab
diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index <HASH>..<HASH> 100755 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -213,7 +213,7 @@ class FormHelper extends AppHelper { } } - $object =& $this->_introspectModel($model); + $object = $this->...
Fixing 'Only variables should be assigned by reference' errors in php4 in form helper. Fixes #<I>
cakephp_cakephp
train
php
73d886194bbf71990bfddd76a6346433e7969b08
diff --git a/app/traits/taggable.rb b/app/traits/taggable.rb index <HASH>..<HASH> 100644 --- a/app/traits/taggable.rb +++ b/app/traits/taggable.rb @@ -102,13 +102,13 @@ module Taggable super end - def save + def save(options={}) reconcile_tag_ids - super + super(options) end - def save! + ...
Allow save to take hash of options This makes it compatible with the new auditable work.
alphagov_govuk_content_models
train
rb
bc0262938941f7c9b6ea2e346b0b86a5865e399d
diff --git a/lib/core/plugin/cloud_action.rb b/lib/core/plugin/cloud_action.rb index <HASH>..<HASH> 100644 --- a/lib/core/plugin/cloud_action.rb +++ b/lib/core/plugin/cloud_action.rb @@ -42,8 +42,8 @@ class CloudAction < CORL.plugin_class(:nucleon, :action) def configure super do - node_config ...
Node action configurations should come after all child action provider configurations.
coralnexus_corl
train
rb
a00ef35b5d7228e29e16e797476d6da085438249
diff --git a/src/Graviton/RestBundle/Restriction/Handler/Whoami.php b/src/Graviton/RestBundle/Restriction/Handler/Whoami.php index <HASH>..<HASH> 100644 --- a/src/Graviton/RestBundle/Restriction/Handler/Whoami.php +++ b/src/Graviton/RestBundle/Restriction/Handler/Whoami.php @@ -5,6 +5,7 @@ namespace Graviton\RestBundl...
finalize the whoami restriction handler
libgraviton_graviton
train
php
3f9814b98b058a5478af3b212f0369e3f75f3fcc
diff --git a/src/Tokenly/XChainClient/Client.php b/src/Tokenly/XChainClient/Client.php index <HASH>..<HASH> 100644 --- a/src/Tokenly/XChainClient/Client.php +++ b/src/Tokenly/XChainClient/Client.php @@ -56,6 +56,16 @@ class Client } /** + * destroys the payment address + * @param string $uuid id of...
Added destroy payment address and mock handler
tokenly_xchain-client
train
php,php
04b5ae324730fd04fc602dfa833725d335551aab
diff --git a/Webservice/Interfaces/ISchema.php b/Webservice/Interfaces/ISchema.php index <HASH>..<HASH> 100644 --- a/Webservice/Interfaces/ISchema.php +++ b/Webservice/Interfaces/ISchema.php @@ -10,7 +10,7 @@ interface ISchema /** * Gets the method argument that was passed, using the param name * @para...
- Corrections in comments and removal of test code in Worder
agentmedia_phine-framework
train
php,php
ede87adffe37ce511f429a220e2d4e13436cd464
diff --git a/pkg/pod/pods.go b/pkg/pod/pods.go index <HASH>..<HASH> 100644 --- a/pkg/pod/pods.go +++ b/pkg/pod/pods.go @@ -269,7 +269,7 @@ func getPod(dataDir string, uuid *types.UUID) (*Pod, error) { p.FileLock = l - if p.isRunning() { + if p.isRunning() || p.isExit() { cfd, err := p.Fd() if err != nil { ...
list: add ip of non running pods to the json format
rkt_rkt
train
go
e1af47b54577258d796a6aa98ca3118412d46792
diff --git a/opinel/utils_s3.py b/opinel/utils_s3.py index <HASH>..<HASH> 100644 --- a/opinel/utils_s3.py +++ b/opinel/utils_s3.py @@ -4,6 +4,23 @@ from opinel.utils import * ######################################## +##### S3-related arguments +######################################## + +# +# Add an S3-related arg...
Add --bucket-name as a common S3 argument
nccgroup_opinel
train
py
cbdfb594d6b484fbf385838cf62b7d95314d6c0f
diff --git a/georasters/georasters.py b/georasters/georasters.py index <HASH>..<HASH> 100755 --- a/georasters/georasters.py +++ b/georasters/georasters.py @@ -679,9 +679,13 @@ class GeoRaster(object): geo.map_pixel(point_x, point_y) Return value of raster in location + Note: (point_x...
Included error message for map_pixel
ozak_georasters
train
py,py
04db4c286888aad1023c05488fe4def876f85e1c
diff --git a/actionmailer/lib/action_mailer/test_case.rb b/actionmailer/lib/action_mailer/test_case.rb index <HASH>..<HASH> 100644 --- a/actionmailer/lib/action_mailer/test_case.rb +++ b/actionmailer/lib/action_mailer/test_case.rb @@ -68,6 +68,15 @@ module ActionMailer ActionMailer::Base.deliveries.clear ...
Add `set_delivery_method` and `restore_delivery_method` to `ActionMailer::TestCase`. This way these methods are available outside the ActionMailer test suite, but they are still duplicated inside `test/abstract_unit` for test cases that don't inherit from the `ActionMailer::TestCase` class.
rails_rails
train
rb
006cd0af6a000059928e56ab2f45bb25a9a6f3e9
diff --git a/src/mol.js b/src/mol.js index <HASH>..<HASH> 100644 --- a/src/mol.js +++ b/src/mol.js @@ -569,17 +569,17 @@ Chain.prototype._cacheBackboneTraces = function() { if (!residue.isAminoacid()) { if (stretch.length() > 1) { this._cachedTraces.push(stretch); - stretch = new BackboneTra...
fix backbone trace creation The backbone trace creation was failing when a single amino acid was followed by a non-aminoacid residue, which was then again followed by an amino acid.
biasmv_pv
train
js
846a928498c2244058e4bbf8ecc170031f4699e8
diff --git a/nanoplot/version.py b/nanoplot/version.py index <HASH>..<HASH> 100644 --- a/nanoplot/version.py +++ b/nanoplot/version.py @@ -1 +1 @@ -__version__ = "1.36.2" +__version__ = "1.37.0"
bumping version, after Ilias readded the output format of figures as requested in <URL>
wdecoster_NanoPlot
train
py
604c93176c257ade6daa60c70e36c0d2caa2ee4c
diff --git a/src/Client/Signature/HmacSha1Signature.php b/src/Client/Signature/HmacSha1Signature.php index <HASH>..<HASH> 100644 --- a/src/Client/Signature/HmacSha1Signature.php +++ b/src/Client/Signature/HmacSha1Signature.php @@ -2,7 +2,8 @@ namespace League\OAuth1\Client\Signature; -use Guzzle\Http\Url; +use Guz...
migrate to Guzzlehttp 6 for compatibility with oauth2-client
thephpleague_oauth1-client
train
php
a5b4393a9b10839da310f11f32364743ceac65aa
diff --git a/tests/utils/test_utils.py b/tests/utils/test_utils.py index <HASH>..<HASH> 100644 --- a/tests/utils/test_utils.py +++ b/tests/utils/test_utils.py @@ -265,6 +265,11 @@ def test_cross_validator_with_predictor_and_kwargs(): assert len(results_06) == 3 +def test_cross_validator_with_stratified_cox_mod...
example on how to use strata in k_fold
CamDavidsonPilon_lifelines
train
py
68c23a902073c7c9d1b04f5bded27f90ba491689
diff --git a/packages/qix/src/utils/makeReactNativeConfig.js b/packages/qix/src/utils/makeReactNativeConfig.js index <HASH>..<HASH> 100644 --- a/packages/qix/src/utils/makeReactNativeConfig.js +++ b/packages/qix/src/utils/makeReactNativeConfig.js @@ -77,6 +77,9 @@ const getDefaultConfig = ({ exclude: /node_m...
chore: use `thread-loader`
longseespace_react-qml
train
js
974e20370db8c90e73f012957d59793f939cd675
diff --git a/web/concrete/src/Localization/Localization.php b/web/concrete/src/Localization/Localization.php index <HASH>..<HASH> 100755 --- a/web/concrete/src/Localization/Localization.php +++ b/web/concrete/src/Localization/Localization.php @@ -198,6 +198,8 @@ class Localization */ public static function c...
Make sure we reload the translation files immediately on cache clear Former-commit-id: a<I>fadf<I>ed<I>d<I>a<I>d<I>a<I>c9c<I>
concrete5_concrete5
train
php
04aa8f9dcdbc575fde37e25e45315359b0aa1ca6
diff --git a/staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go b/staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go index <HASH>..<HASH> 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go +++ b/staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go @@ -103,10 +103,11 @@ fun...
Improve pathrecorder duplicate registration info Print information from both the original path registration and the new path registration stack traces when encountering a duplicate. This helps the developer determine where the duplication is coming from and makes it much easier to resolve.
kubernetes_kubernetes
train
go
3600bf1df91afa28769366047e1422af11305239
diff --git a/bcbio/bam/highdepth.py b/bcbio/bam/highdepth.py index <HASH>..<HASH> 100644 --- a/bcbio/bam/highdepth.py +++ b/bcbio/bam/highdepth.py @@ -14,6 +14,7 @@ import yaml from bcbio import utils from bcbio.distributed.transaction import file_transaction +from bcbio.log import logger from bcbio.pipeline impor...
Provide better debugging of failed high depth runs Help assist with #<I>
bcbio_bcbio-nextgen
train
py
4c3a1a157ff82fcb2e79f303b3498ee36f9f3552
diff --git a/src/toil/test/src/fileStoreTest.py b/src/toil/test/src/fileStoreTest.py index <HASH>..<HASH> 100644 --- a/src/toil/test/src/fileStoreTest.py +++ b/src/toil/test/src/fileStoreTest.py @@ -639,13 +639,12 @@ class hidden(object): F.addChild(G) Job.Runner.startToil(A, self.opti...
Make _testCacheEviction not care about the total failed job count
DataBiosphere_toil
train
py
ad3222207fe614136069e6e86cc2d35d401ab843
diff --git a/includes/functions.php b/includes/functions.php index <HASH>..<HASH> 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -421,11 +421,6 @@ function add_network( $args = array() ) { update_network_option( $new_network_id, 'site_name', $network_name ); - switch_to_network( $new_networ...
Grant super admin after network options cloning so network admin argument is respected #fix-<I>
stuttter_wp-multi-network
train
php
f15fad752afc72ba603ccf611b5aa448bf36878c
diff --git a/src/Classes/Bulk.php b/src/Classes/Bulk.php index <HASH>..<HASH> 100644 --- a/src/Classes/Bulk.php +++ b/src/Classes/Bulk.php @@ -41,6 +41,12 @@ class Bulk */ public $body = []; + /** + * Number of pending operations + * @var int + */ + public $operationCount = 0; + /*...
Add commit method to Bulk class for easier use outside of the Query class
basemkhirat_elasticsearch
train
php
a8c84941a0513ddbff259dcb596e7d857ffa58ad
diff --git a/src/utils/convertToNumberWithinIntervalBounds.js b/src/utils/convertToNumberWithinIntervalBounds.js index <HASH>..<HASH> 100644 --- a/src/utils/convertToNumberWithinIntervalBounds.js +++ b/src/utils/convertToNumberWithinIntervalBounds.js @@ -1,4 +1,6 @@ function convertToNumberWithinIntervalBounds (number...
convertToNumberWithinIntervalBounds uses -/+ Infinity for min/max if unspecified.
benwiley4000_cassette
train
js
c3f93136ef3b3557fdf94723d1099692e1ad461a
diff --git a/salt/output/nested.py b/salt/output/nested.py index <HASH>..<HASH> 100644 --- a/salt/output/nested.py +++ b/salt/output/nested.py @@ -1,5 +1,5 @@ ''' -Recursively display netsted data +Recursively display nested data, this is the default outputter. ''' # Import salt libs diff --git a/salt/output/ppri...
Fix docstrings for the outputters
saltstack_salt
train
py,py
e3c9159e12305149c9876fd38ae7c4810ca72019
diff --git a/xchange-core/src/main/java/org/knowm/xchange/Exchange.java b/xchange-core/src/main/java/org/knowm/xchange/Exchange.java index <HASH>..<HASH> 100644 --- a/xchange-core/src/main/java/org/knowm/xchange/Exchange.java +++ b/xchange-core/src/main/java/org/knowm/xchange/Exchange.java @@ -1,6 +1,7 @@ package org....
[core] Improved Exchange.getExchangeInstruments()
knowm_XChange
train
java
3626619f60a969fe845bf717bb1e41061fa4c7d3
diff --git a/src/mink.js b/src/mink.js index <HASH>..<HASH> 100644 --- a/src/mink.js +++ b/src/mink.js @@ -14,6 +14,8 @@ const DEFAULT_CONFIG = { width: 1366, height: 768, }, + headless: process.env.RUN_HEADLESS !== '0', + devtools: process.env.RUN_DEVTOOLS === '1', }; function gherkin(cucumber) { @@...
Added headless and dev-tool options
Adezandee_cucumber-mink
train
js
386f472af552e133351ec32ba1508f2077997c4a
diff --git a/papi-v1/rules.go b/papi-v1/rules.go index <HASH>..<HASH> 100644 --- a/papi-v1/rules.go +++ b/papi-v1/rules.go @@ -27,6 +27,7 @@ type Rules struct { func NewRules() *Rules { rules := &Rules{} rules.Rules = NewRule(rules) + rules.Rules.Name = "default" rules.Init() return rules @@ -759,7 +760,7 @@...
The first rule should always be called default
akamai_AkamaiOPEN-edgegrid-golang
train
go
fa3269a8aa307fc3cb51492161084edc65cda0e9
diff --git a/src/Payum/YiiExtension/PayumComponent.php b/src/Payum/YiiExtension/PayumComponent.php index <HASH>..<HASH> 100644 --- a/src/Payum/YiiExtension/PayumComponent.php +++ b/src/Payum/YiiExtension/PayumComponent.php @@ -1,6 +1,8 @@ <?php namespace Payum\YiiExtension; +\Yii::import('Payum\YiiExtension\TokenFa...
Add required code to include TokenFactory in Yii
Payum_PayumYiiExtension
train
php
1329512ff9a2ffd33a26e1d8f88e9325feb2a308
diff --git a/hydpy/tests/test_everything.py b/hydpy/tests/test_everything.py index <HASH>..<HASH> 100644 --- a/hydpy/tests/test_everything.py +++ b/hydpy/tests/test_everything.py @@ -16,8 +16,7 @@ import warnings import matplotlib exitcode = int(os.system('python test_pyplot_backend.py')) -print('Exit code is %s.' ...
Try to fix commit #<I>b1e. On Linux, exit code 1 seems to become <I>...
hydpy-dev_hydpy
train
py
8ef4392951afac5fd2943857aa741bc3e20dd1a3
diff --git a/src/lib/collections/list.js b/src/lib/collections/list.js index <HASH>..<HASH> 100644 --- a/src/lib/collections/list.js +++ b/src/lib/collections/list.js @@ -237,23 +237,6 @@ extend(List, Collection, { }, /** - * Performs the specified action on each element of the List. - * @param {Funct...
remove List's redundant 'forEach' method
multiplex_multiplex.js
train
js
2903cd930a7f0394acd263a7ab7e84e1ea977763
diff --git a/test/test_helper.rb b/test/test_helper.rb index <HASH>..<HASH> 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,9 +1,7 @@ -$:.unshift(File.dirname(__FILE__) + '/../lib') - -require 'rubygems' require 'test/unit' -require 'mocha' require 'whois' +require 'rubygems' +require 'mocha' cl...
No need to change $LOAD_PATH. Currenty library folder is already appended.
weppos_whois
train
rb
85833ef3a2767e8999e479f6e3df198d2f2b288f
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,8 +33,6 @@ extensions = [ 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.mathjax', - 'IPython.sphinxext.ipython_console_highlighting', - 'IPython.sphinxext.ipython_directive' ...
removing ipython directives from docs; wasn't building
CamDavidsonPilon_lifelines
train
py
1cdbea69af1c622a861bada660b054009bd826e3
diff --git a/tofu/spectro/_fit12d_dextract.py b/tofu/spectro/_fit12d_dextract.py index <HASH>..<HASH> 100644 --- a/tofu/spectro/_fit12d_dextract.py +++ b/tofu/spectro/_fit12d_dextract.py @@ -853,7 +853,9 @@ def fit2d_extract( d3[k0][k1]['values'][~indphi, jj] = np.nan # update validity accor...
[#<I>] validity set to -3 only if not already negative
ToFuProject_tofu
train
py,py
032713f8b9120afc31642469560f38a49e539bf2
diff --git a/test/test_response.py b/test/test_response.py index <HASH>..<HASH> 100644 --- a/test/test_response.py +++ b/test/test_response.py @@ -26,7 +26,7 @@ def test_response_reference(): foo = bar.foo # This used to cause an exception about invalid pointers because the response got garbage collected - ...
Add asserts to test_response.py
capnproto_pycapnp
train
py