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
fa653e6a01d917c55ec360a58df39fec6fb2e28a
diff --git a/lib/heroku/command/base.rb b/lib/heroku/command/base.rb index <HASH>..<HASH> 100644 --- a/lib/heroku/command/base.rb +++ b/lib/heroku/command/base.rb @@ -232,10 +232,14 @@ protected def extract_org_from_app return unless app - owner = api.get_app(app).body["owner_email"].split("@") - if own...
Ignore inaccessible apps when trying to determine org
heroku_legacy-cli
train
rb
cda1212bc24c968c428a2bfaf06613e05174e0a2
diff --git a/lib/dicom/Stream.rb b/lib/dicom/Stream.rb index <HASH>..<HASH> 100644 --- a/lib/dicom/Stream.rb +++ b/lib/dicom/Stream.rb @@ -166,6 +166,19 @@ module DICOM return [value].pack(type) end end + + + # Extracts and returns the entire binary string, or optionally, just the first ...
Added the method export() to the the Stream class, which extracts the start of the, or the entire, instance string.
dicom_ruby-dicom
train
rb
05413830343c19f078c30b37f3e2061087b69a49
diff --git a/raven/utils/stacks.py b/raven/utils/stacks.py index <HASH>..<HASH> 100644 --- a/raven/utils/stacks.py +++ b/raven/utils/stacks.py @@ -65,7 +65,7 @@ def get_lines_from_file(filename, lineno, context_lines, loader=None, module_nam source = [unicode(sline, encoding, 'replace') for sline in source] ...
Ensure upper bound never exceeds number of lines in file
getsentry_raven-python
train
py
afebe6c0e0ee603790ace84f0504cf978cb54eee
diff --git a/go/chat/activitynotifier.go b/go/chat/activitynotifier.go index <HASH>..<HASH> 100644 --- a/go/chat/activitynotifier.go +++ b/go/chat/activitynotifier.go @@ -58,6 +58,14 @@ func (n *NotifyRouterActivityRouter) Activity(ctx context.Context, uid gregor1.U if activity == nil { return } + switch topicTy...
squash notifications on mobile (#<I>)
keybase_client
train
go
15e94c8430e66f9421143209162ca61c2c5a44d8
diff --git a/tests/TestCase.php b/tests/TestCase.php index <HASH>..<HASH> 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -75,7 +75,7 @@ class TestCase extends \PHPUnit_Framework_TestCase } /** - * Create a valid test charge. + * Create a valid test transfer. */ protected stat...
Fix comment: we're actually creating a test transfer
stripe_stripe-php
train
php
44729427ab0bbcf21bd6a63b37f6e038ca3136e9
diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index <HASH>..<HASH> 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -1096,7 +1096,6 @@ class assignment_base { self::FILTER_REQUIRE_GRADING => get_string('requiregrading', 'assignment')); $updatepref = ...
Plagiarism API MDL-<I> move update_status call untill after print header so it can also print to page if required.
moodle_moodle
train
php
a38712f406540b083812ad106027566ca861b954
diff --git a/lib/closure_tree/version.rb b/lib/closure_tree/version.rb index <HASH>..<HASH> 100644 --- a/lib/closure_tree/version.rb +++ b/lib/closure_tree/version.rb @@ -1,3 +1,3 @@ module ClosureTree - VERSION = "4.1.0.wip" unless defined?(::ClosureTree::VERSION) + VERSION = Gem::Version.new("4.1.0.wip") unless de...
Use Gem::Version. 'cuz, CHAW, everybody's doing it these days, srsly.
ClosureTree_closure_tree
train
rb
f72937a44501569bb9980a035026c333d70c5291
diff --git a/lib/deppack.js b/lib/deppack.js index <HASH>..<HASH> 100644 --- a/lib/deppack.js +++ b/lib/deppack.js @@ -196,9 +196,9 @@ const xBrowserResolve = (mod, opts, cb) => { err += ` Possible solution: add '${topLevel}' to package.json and \`npm install\`.`; } else { if (overrides[m...
Fix the require overrides wording
brunch_brunch
train
js
9dededf5b51fb48319a29bf76b53d4e1e34e0a3f
diff --git a/tests/TestCase/Model/Table/PermissionsTableTest.php b/tests/TestCase/Model/Table/PermissionsTableTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/Model/Table/PermissionsTableTest.php +++ b/tests/TestCase/Model/Table/PermissionsTableTest.php @@ -91,4 +91,15 @@ class PermissionsTableTest extends Tes...
Test with invalid data (task #<I>)
QoboLtd_cakephp-roles-capabilities
train
php
7b2ba0704bd30d1b08313eec98bf2e01fb8ded8c
diff --git a/lib/authorizer/hawk.js b/lib/authorizer/hawk.js index <HASH>..<HASH> 100644 --- a/lib/authorizer/hawk.js +++ b/lib/authorizer/hawk.js @@ -57,12 +57,12 @@ module.exports = { /** * Signs a request. * + * @param {Object} params * @param {Request} request * @todo - this should ...
Update all methods in hawk auth to stateless
postmanlabs_postman-runtime
train
js
497b13760c46df9dfd94de1d2ce5fb025a8afe7a
diff --git a/cmd/juju/application/removesaas.go b/cmd/juju/application/removesaas.go index <HASH>..<HASH> 100644 --- a/cmd/juju/application/removesaas.go +++ b/cmd/juju/application/removesaas.go @@ -84,8 +84,8 @@ func (c *removeSaasCommand) Init(args []string) error { func (c *removeSaasCommand) SetFlags(f *gnuflag....
Fix copy/paste error, reference SAAS not application in flag description.
juju_juju
train
go
0eb9387480fb1a0a761ebbe58d459e6a6c93dae3
diff --git a/drivers/bridge/bridge.go b/drivers/bridge/bridge.go index <HASH>..<HASH> 100644 --- a/drivers/bridge/bridge.go +++ b/drivers/bridge/bridge.go @@ -1129,9 +1129,9 @@ func (d *driver) DeleteEndpoint(nid, eid types.UUID) error { } // Try removal of link. Discard error: link pair might have - // already b...
Fix in bridge delete endpoint - In DeleteEndpoint(), veth removal is a best effort, as it could have alreayd been removed by sandbox destroy. Therefore if veth is not found, cleanup defer function should not run.
docker_libnetwork
train
go
a915c955533ea81098bfd41b49df615d923bddd5
diff --git a/lib/stache/mustache/faster_context.rb b/lib/stache/mustache/faster_context.rb index <HASH>..<HASH> 100644 --- a/lib/stache/mustache/faster_context.rb +++ b/lib/stache/mustache/faster_context.rb @@ -15,8 +15,6 @@ module Stache # Call the Mustache's `partial` method and render the result. m...
Let's just use the officially-supported #push method instead of #update
agoragames_stache
train
rb,rb
436cd80269aadf1a2478cbe6acf6c3b6d2ba48e3
diff --git a/spec/unit/connection/test_client.rb b/spec/unit/connection/test_client.rb index <HASH>..<HASH> 100644 --- a/spec/unit/connection/test_client.rb +++ b/spec/unit/connection/test_client.rb @@ -152,26 +152,6 @@ module Mailgun end end - def to_h - begin - JSON.parse(@body) - re...
Remove duplicate methods from test_client'
mailgun_mailgun-ruby
train
rb
1cb3db46a256ddd5b527e5ea2438bc43734cf3b2
diff --git a/inc/image-grabber.php b/inc/image-grabber.php index <HASH>..<HASH> 100644 --- a/inc/image-grabber.php +++ b/inc/image-grabber.php @@ -431,7 +431,14 @@ class CareLib_Image_Grabber { } } - return empty( $image ) ? false : array( 'src' => $image, 'url' => $image ); + if ( ! empty( $image ) ) { + ...
Try to get an attachment image from meta
cipherdevgroup_carelib
train
php
840249541f3710d244221f3e4064583f5e868ef5
diff --git a/ddl/ddl.go b/ddl/ddl.go index <HASH>..<HASH> 100644 --- a/ddl/ddl.go +++ b/ddl/ddl.go @@ -506,7 +506,7 @@ func (d *ddl) AddColumn(ctx context.Context, ti table.Ident, spec *AlterSpecific colName := spec.Column.Name col := column.FindCol(t.Cols(), colName) if col != nil { - return errors.Errorf("Try ...
ddl: address comment.
pingcap_tidb
train
go
afd5eb64ea95901f105778ca343d85a5da8d1786
diff --git a/ruby_event_store-rom/lib/ruby_event_store/rom/sql.rb b/ruby_event_store-rom/lib/ruby_event_store/rom/sql.rb index <HASH>..<HASH> 100644 --- a/ruby_event_store-rom/lib/ruby_event_store/rom/sql.rb +++ b/ruby_event_store-rom/lib/ruby_event_store/rom/sql.rb @@ -60,6 +60,27 @@ module RubyEventStore ...
Check if upserts are supported (including Sqlite <I>+)
RailsEventStore_rails_event_store
train
rb
0aa410df86d4a16b4117858a96147e896c2a7d35
diff --git a/tasklib/backends.py b/tasklib/backends.py index <HASH>..<HASH> 100644 --- a/tasklib/backends.py +++ b/tasklib/backends.py @@ -55,6 +55,14 @@ class Backend(object): pass @abc.abstractmethod + def annotate_task(self, task, annotation): + pass + + @abc.abstractmethod + def deno...
backends: Add method for annotations to the backend interface
robgolding_tasklib
train
py
d724a4390c7ce3666b44e60ee060328abaf68d3a
diff --git a/troposphere/s3.py b/troposphere/s3.py index <HASH>..<HASH> 100644 --- a/troposphere/s3.py +++ b/troposphere/s3.py @@ -377,7 +377,7 @@ class ReplicationConfigurationRules(AWSProperty): "Destination": (ReplicationConfigurationRulesDestination, True), "Filter": (ReplicationRuleFilter, False)...
S3 ReplicationConfigurationRules Prefix is no longer required (Fixes #<I>) It appears Filter and Prefix are mutually exclusive so Prefix cannot be required.
cloudtools_troposphere
train
py
c9c0e6b79003e0804ae894204d0ef654b1103374
diff --git a/rqalpha/model/portfolio.py b/rqalpha/model/portfolio.py index <HASH>..<HASH> 100644 --- a/rqalpha/model/portfolio.py +++ b/rqalpha/model/portfolio.py @@ -157,7 +157,8 @@ class Portfolio(object): [float] 累计年化收益率 """ current_date = Environment.get_instance().trading_dt.date() - ...
fix annualized_returns of portfolio
ricequant_rqalpha
train
py
a6d9ce2ec79f7ab256bfedb0f5f092f389b725be
diff --git a/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java b/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java index <HASH>..<HASH> 100644 --- a/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java +++ b/android/src/main/java/com/airbnb/android/react/maps/AirMapVie...
fix(android): animateToRegion not working with duration 0 (#<I>) Resolves #<I>
react-native-community_react-native-maps
train
java
78b26b2e53eced564b68ad6fecfa7ec796b341d8
diff --git a/gwpy/table/tests/test_table.py b/gwpy/table/tests/test_table.py index <HASH>..<HASH> 100644 --- a/gwpy/table/tests/test_table.py +++ b/gwpy/table/tests/test_table.py @@ -107,7 +107,7 @@ class TestTable(object): dtp = None # use map() to support non-primitive types ...
gwpy.table: use list in test fixture
gwpy_gwpy
train
py
776fd2c60003fe8837f4668367f69752b9f09c78
diff --git a/docs/src/pages/versions/StableVersions.js b/docs/src/pages/versions/StableVersions.js index <HASH>..<HASH> 100644 --- a/docs/src/pages/versions/StableVersions.js +++ b/docs/src/pages/versions/StableVersions.js @@ -13,6 +13,7 @@ import Typography from '@material-ui/core/Typography'; import Link from 'docs/...
[docs] Update version filter (#<I>) * [docs] Update version filter * Remove 'alpha', 'beta' & 'rc' from the filter list
mui-org_material-ui
train
js
82c1bf31841807bd2effaaec6284134f1a411e5d
diff --git a/plugin/cfopsplugin/const.go b/plugin/cfopsplugin/const.go index <HASH>..<HASH> 100644 --- a/plugin/cfopsplugin/const.go +++ b/plugin/cfopsplugin/const.go @@ -9,13 +9,6 @@ import ( const ( //PluginMeta - default plugin arg to show meta data PluginMeta = "plugin-meta" - - //PluginActivityRestore - activ...
[#<I>] removing some meta data restrictions we dont really care about these definitions since we are leaning on the interface implementations now removing checks where needed
pivotalservices_cfops
train
go,go
c83688992884a92bf2e0ce9c025f54b365cc46b3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from setuptools import setup -version = '1.7.0' +version = '1.6.0' setup(name='timestring', version=version, diff --git a/timestring/__init__.py b/timestring/__init__.py index <...
went to far. <I> it is.
stevepeak_timestring
train
py,py
15fff3609cb5a5ef0b83c3e637db925552ee1d61
diff --git a/pyshop/config.py b/pyshop/config.py index <HASH>..<HASH> 100644 --- a/pyshop/config.py +++ b/pyshop/config.py @@ -3,6 +3,7 @@ PyShop Pyramid configuration helpers. """ +from pyramid.settings import asbool from pyramid.interfaces import IBeforeRender from pyramid.security import has_permission from p...
Give the possibility to disable xmlrpc view
mardiros_pyshop
train
py
5edc8a3688ad6588a8e21f1c89358a71a092d348
diff --git a/src/chemcoord/internal_coordinates/_zmat_class_core.py b/src/chemcoord/internal_coordinates/_zmat_class_core.py index <HASH>..<HASH> 100644 --- a/src/chemcoord/internal_coordinates/_zmat_class_core.py +++ b/src/chemcoord/internal_coordinates/_zmat_class_core.py @@ -159,18 +159,18 @@ The only allowed differ...
MAINT: Better change_numbering
mcocdawc_chemcoord
train
py
dc1b56ef1536c7a27d66555df858ebf8ccf72dc3
diff --git a/src/flask_assets.py b/src/flask_assets.py index <HASH>..<HASH> 100644 --- a/src/flask_assets.py +++ b/src/flask_assets.py @@ -1,8 +1,7 @@ from __future__ import with_statement from os import path from flask import _request_ctx_stack, url_for -from webassets import Bundle -from webassets.env import BaseE...
Move config key mapping to webassets core. This makes us use the latest set of environment config options at all times.
miracle2k_flask-assets
train
py
2e3e8be38efad72aef39c82481b138a5221d9fff
diff --git a/tests/src/test/java/alluxio/master/MockMaster.java b/tests/src/test/java/alluxio/master/MockMaster.java index <HASH>..<HASH> 100644 --- a/tests/src/test/java/alluxio/master/MockMaster.java +++ b/tests/src/test/java/alluxio/master/MockMaster.java @@ -22,6 +22,7 @@ import java.util.Iterator; import java.uti...
[SMALLFIX] Use the @Nullable annotation for all methods which may return null in MockMaster.java
Alluxio_alluxio
train
java
eafceb7337c889f0e1e1678d93bae84dbd680e76
diff --git a/trollimage/image.py b/trollimage/image.py index <HASH>..<HASH> 100644 --- a/trollimage/image.py +++ b/trollimage/image.py @@ -43,6 +43,7 @@ except ImportError: logger = logging.getLogger(__name__) PIL_IMAGE_FORMATS = Pil.registered_extensions() +PIL_FORMAT_URL = "https://pillow.readthedocs.io/en/stable...
Link to Pillow documentation in docstrings.
pytroll_trollimage
train
py
e09f1665645814d15c55f85370c40ac9ac57827d
diff --git a/spec/rubocop/cop/force_spec.rb b/spec/rubocop/cop/force_spec.rb index <HASH>..<HASH> 100644 --- a/spec/rubocop/cop/force_spec.rb +++ b/spec/rubocop/cop/force_spec.rb @@ -3,7 +3,12 @@ RSpec.describe RuboCop::Cop::Force do subject(:force) { described_class.new(cops) } - let(:cops) { [double('cop1'), d...
Use verifying doubles in Force spec
rubocop-hq_rubocop
train
rb
e783a16fbc2c856c212094b4a787a08c16536a0d
diff --git a/lib/puppet/resource.rb b/lib/puppet/resource.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/resource.rb +++ b/lib/puppet/resource.rb @@ -193,7 +193,7 @@ class Puppet::Resource end def resource_type - @resource_type ||= case type + case type when "Class"; known_resource_types.hostclass(t...
Fix for #<I> -- too much data being serialized The serialization of much of the memory image was being triggered by a copy of an unchanging method return value in an instance variable. I had introduced this as a performance hack. The results were correct, but when the object was serialized it took a huge amount of d...
puppetlabs_puppet
train
rb
32fc839aa28ab8c5c1243d6c144f27df3f9e3b56
diff --git a/pytest_parallel/__init__.py b/pytest_parallel/__init__.py index <HASH>..<HASH> 100644 --- a/pytest_parallel/__init__.py +++ b/pytest_parallel/__init__.py @@ -180,6 +180,10 @@ class SafeNumber(object): with self._lock: return int(self._val.value) == i + def __bool__(self): + ...
pytest-parallel-exit-fix (#<I>)
browsertron_pytest-parallel
train
py
60b0d2e2fa89a9b9afb748844c51b39cb40bfa84
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -48,6 +48,7 @@ gulp.task('compile-browser', ['compile'], function(cb) { entry: './dist/index.js', output: { path: 'dist/', + library: 'QrCode', filename: 'browser.js' }, plugi...
Add export to window in webpack build
edi9999_jsqrcode
train
js
ca06e3afa3a337d699d20a51ff6f0dae64d1d083
diff --git a/decoder.go b/decoder.go index <HASH>..<HASH> 100644 --- a/decoder.go +++ b/decoder.go @@ -201,6 +201,8 @@ func (d *decoder) indirect(result reflect.Value) reflect.Value { return result } +var sliceType = reflect.TypeOf([]byte{}) + func (d *decoder) unmarshalBytes(size uint, offset uint, result reflec...
Do not assume a slice is a []byte
oschwald_maxminddb-golang
train
go
9a417f2268ef1ca22893737971ac11d04bff1fba
diff --git a/errors.go b/errors.go index <HASH>..<HASH> 100644 --- a/errors.go +++ b/errors.go @@ -268,7 +268,7 @@ var ( NotImplementedError = NewWith(nil, "Not Implemented Error", LogOnCreation) ProgrammerError = NewWith(nil, "Programmer Error", LogOnCreation) PanicError = NewWith(nil, "Pan...
space monkey internal commit export [katamari commit: ba6ba6f<I>cd5d1d<I>b<I>a<I>f6b<I>ca0c<I>bf0]
spacemonkeygo_errors
train
go
301d171dabf17eff60350d378967d88f39fd69c8
diff --git a/arcanist/workflow/package.php b/arcanist/workflow/package.php index <HASH>..<HASH> 100644 --- a/arcanist/workflow/package.php +++ b/arcanist/workflow/package.php @@ -114,7 +114,8 @@ TXT } $api = $this->getRepositoryAPI(); - $commit = $api->getWorkingCopyRevision(); + $commit = $api->getSo...
Fix buildinfo generation Summary: Add the VCS and use the canonical revision. Test Plan: arc package in both hg and git repos Reviewers: wez Reviewed By: wez Differential Revision: <URL>
facebook_watchman
train
php
a73153a084543dd04ff3a7004c74381f5be85c62
diff --git a/lib/Pipedrive.js b/lib/Pipedrive.js index <HASH>..<HASH> 100644 --- a/lib/Pipedrive.js +++ b/lib/Pipedrive.js @@ -36,9 +36,9 @@ var apiUrl = function(path, apiToken, supplyToken) { return baseUri + '/' + path + (supplyToken === true ? '?api_token=' + encodeURIComponent(apiToken) : ''); }; -var protoco...
ability to switch API domains (for testing purposes only)
pipedrive_client-nodejs
train
js,js
6bff81cb6cc15c5b92987787a5e9a2514168cc92
diff --git a/query/src/main/java/org/infinispan/query/continuous/ContinuousQuery.java b/query/src/main/java/org/infinispan/query/continuous/ContinuousQuery.java index <HASH>..<HASH> 100644 --- a/query/src/main/java/org/infinispan/query/continuous/ContinuousQuery.java +++ b/query/src/main/java/org/infinispan/query/conti...
Make ContinuousQuery.EntryListener private
infinispan_infinispan
train
java
64bdf2af0cc431a9526e9c07c05330cb4158077b
diff --git a/webargs/flaskparser.py b/webargs/flaskparser.py index <HASH>..<HASH> 100644 --- a/webargs/flaskparser.py +++ b/webargs/flaskparser.py @@ -42,6 +42,7 @@ def abort(http_status_code, **kwargs): def is_json_request(req): return core.is_json(req.mimetype) + class FlaskParser(core.Parser): """Flask...
Fix json parameter to support Flask <I> Flask <I> introduced the Request.get_json method, which webargs expects to exist. This tiny change lets webargs work with Flask <I> to parse JSON data in HTTP POST content.
marshmallow-code_webargs
train
py
77be9123f7f38ffb3a0a4ae79f698e49ffff56a6
diff --git a/pkg/volume/glusterfs/glusterfs.go b/pkg/volume/glusterfs/glusterfs.go index <HASH>..<HASH> 100644 --- a/pkg/volume/glusterfs/glusterfs.go +++ b/pkg/volume/glusterfs/glusterfs.go @@ -737,7 +737,8 @@ func (p *glusterfsVolumeProvisioner) CreateVolume(gid int) (r *v1.GlusterfsVolum var clusterIDs []string ...
Fix glusterfs creating volumes in GiB As per glusterfs documentation it can't create volumes in GiB and all sizes must be specified in GB. This code was slightly buggy because we were creating volumes of sizes lesser than user asked for
kubernetes_kubernetes
train
go
a8dd1c6a9e0674588924f00e53baddab060ee61d
diff --git a/simpleimages/models.py b/simpleimages/models.py index <HASH>..<HASH> 100644 --- a/simpleimages/models.py +++ b/simpleimages/models.py @@ -0,0 +1,4 @@ +''' +File needed for Django to recongnize this as an app, which is required +for :py:mod:`~.management.commands.retransform` to be found. +'''
Added comment to models.py to explain why it is needed
saulshanabrook_django-simpleimages
train
py
460833913126e0686918dd562ac44634c49af522
diff --git a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.p...
Do not require Closure in orWhereHas (#<I>) Fixes #<I>
laravel_framework
train
php
339319da1fcee3054a29296dec04e762ba04ae90
diff --git a/raven/base.py b/raven/base.py index <HASH>..<HASH> 100644 --- a/raven/base.py +++ b/raven/base.py @@ -226,7 +226,7 @@ class Client(object): """ Returns a searchable string representing a message. - >>> result = client.process(**kwargs) + >>> result = client.capture(**kwarg...
Fix Client.get_ident() example in docstring raven.base.Client doesn't have a `process()` method.
getsentry_raven-python
train
py
eeed57251afe7a50eb58838a1d1aef79c53e0631
diff --git a/library/src/main/java/dmax/dialog/SpotsDialog.java b/library/src/main/java/dmax/dialog/SpotsDialog.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/dmax/dialog/SpotsDialog.java +++ b/library/src/main/java/dmax/dialog/SpotsDialog.java @@ -71,7 +71,10 @@ public class SpotsDialog extends AlertDial...
Issue #<I>. NullPointerException. - dmax.dialog.SpotsDialog.setMessage was fixed: -- we set provided value to the SpotsDialog.message member; -- if dialog is already displayed we call SpotsDialog.initMessage() logic.
d-max_spots-dialog
train
java
6f1a539a108751569e4cc574dcd52c16ac1f85e8
diff --git a/pychimera/platforms/linux.py b/pychimera/platforms/linux.py index <HASH>..<HASH> 100644 --- a/pychimera/platforms/linux.py +++ b/pychimera/platforms/linux.py @@ -29,7 +29,8 @@ def _patch_paths(basedir, libdir, nogui=True): os.path.join(libdir, 'python2.7', 'lib-tk'), os.path.join(libdir, 'pyt...
fix(linux): pychimera --gui fails if installed with system python (issue #<I>)
insilichem_pychimera
train
py
5e3bf1cd42cda719b7f51d38ee92eece101d821b
diff --git a/azurerm/resource_arm_api_management_product_api.go b/azurerm/resource_arm_api_management_product_api.go index <HASH>..<HASH> 100644 --- a/azurerm/resource_arm_api_management_product_api.go +++ b/azurerm/resource_arm_api_management_product_api.go @@ -102,6 +102,14 @@ func resourceArmApiManagementProductApiR...
check for response not found also when no error occurs fixes a bug that reflects Azure apimanagement API behaviour changes from <I>-<I>-<I> to <I>-<I>-<I>
terraform-providers_terraform-provider-azurerm
train
go
ab8cfe52081e8a02366746d7f27cc377d29c9cfb
diff --git a/spec/google/apis/errors_spec.rb b/spec/google/apis/errors_spec.rb index <HASH>..<HASH> 100644 --- a/spec/google/apis/errors_spec.rb +++ b/spec/google/apis/errors_spec.rb @@ -80,10 +80,8 @@ RSpec.describe Google::Apis::Error do context '@cause is falsy' do before do - subject.class.supe...
Stub instance method :backtrace, insted of defining it
googleapis_google-api-ruby-client
train
rb
3d5359511291d493f7aa4852b815b96b4f66066f
diff --git a/lib/simple_form/wrappers/single.rb b/lib/simple_form/wrappers/single.rb index <HASH>..<HASH> 100644 --- a/lib/simple_form/wrappers/single.rb +++ b/lib/simple_form/wrappers/single.rb @@ -3,23 +3,21 @@ module SimpleForm # `Single` is an optimization for a wrapper that has only one component. class ...
Store the component on the instance We already own the component so we don't need to ask for it again
plataformatec_simple_form
train
rb
ffe5bcfed63e34d3641fe99a9b05376f8389c46e
diff --git a/tests/integration_test.py b/tests/integration_test.py index <HASH>..<HASH> 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -22,7 +22,12 @@ def path_project(): def test_repo(tmp_path, commands): cwd = os.getcwd() os.chdir(str(tmp_path)) - init_commands = ["git init -q...
fix(tests): Prevent GPG pass and sing issues
Michael-F-Bryan_auto-changelog
train
py
11148bef6d8371467f3759a0b906b49236e94fb7
diff --git a/Swat/SwatDate.php b/Swat/SwatDate.php index <HASH>..<HASH> 100644 --- a/Swat/SwatDate.php +++ b/Swat/SwatDate.php @@ -1060,6 +1060,40 @@ class SwatDate extends HotDateTime } // }}} + // {{{ public function getNextDay() + + /** + * Gets a new date a day after this date + * + * This method is provid...
Add more BC methods to SwatDate, getNextDay and getPrevDay. svn commit r<I>
silverorange_swat
train
php
666d22dfddb22b7466a479cab3c9da8b09c6fd7d
diff --git a/lib/capybara/driver/rack_test_driver.rb b/lib/capybara/driver/rack_test_driver.rb index <HASH>..<HASH> 100644 --- a/lib/capybara/driver/rack_test_driver.rb +++ b/lib/capybara/driver/rack_test_driver.rb @@ -180,7 +180,6 @@ class Capybara::Driver::RackTest < Capybara::Driver::Base alias_method :response...
Fixed method aliased in wrong place
teamcapybara_capybara
train
rb
0dace174a79b87a2a196cc2bc94dbb009b705878
diff --git a/lib/Cake/View/Helper/PaginatorHelper.php b/lib/Cake/View/Helper/PaginatorHelper.php index <HASH>..<HASH> 100644 --- a/lib/Cake/View/Helper/PaginatorHelper.php +++ b/lib/Cake/View/Helper/PaginatorHelper.php @@ -740,7 +740,6 @@ class PaginatorHelper extends AppHelper { for ($i = 1; $i <= $params['pageC...
Option 'currentClass' always defaults to 'current'.
cakephp_cakephp
train
php
6ecbae1e67da12097395c497a2eedba67ad4fe47
diff --git a/test/configurator_test.rb b/test/configurator_test.rb index <HASH>..<HASH> 100644 --- a/test/configurator_test.rb +++ b/test/configurator_test.rb @@ -51,13 +51,13 @@ class TestConfigurator < Test::Unit::TestCase def test_compare_version @config.add_section(:app_data) - @config.app_data.merge...
Updated tests and README.md
bachya_cliutils
train
rb
4f3aaf617a18d8e40ade16a9274767805e52f8d1
diff --git a/src/cryptojwt/key_jar.py b/src/cryptojwt/key_jar.py index <HASH>..<HASH> 100755 --- a/src/cryptojwt/key_jar.py +++ b/src/cryptojwt/key_jar.py @@ -467,7 +467,7 @@ class KeyJar(object): _issuer = self._get_issuer(issuer_id) if _issuer is None: logger.error('Issuer "{}" not in k...
raise Exception when issuer is not found
openid_JWTConnect-Python-CryptoJWT
train
py
ca59f01c4ced72a696082e3d4e34ac368643000d
diff --git a/src/HttpBaseTest.php b/src/HttpBaseTest.php index <HASH>..<HASH> 100644 --- a/src/HttpBaseTest.php +++ b/src/HttpBaseTest.php @@ -270,6 +270,10 @@ abstract class HttpBaseTest extends TestCase $name = strtoupper(str_replace('-', '_', 'http-'.$name)); + if ($method === 'TRACE' && ...
Sending Content-Length: 0 is optional for TRACE (#<I>) * Sending Content-Length: 0 is optional for TRACE * Don't make any useless assertions
php-http_client-integration-tests
train
php
90ea78b7ec058636df3a4fe6e709439a15b72dba
diff --git a/closure/goog/testing/parallel_closure_test_suite.js b/closure/goog/testing/parallel_closure_test_suite.js index <HASH>..<HASH> 100644 --- a/closure/goog/testing/parallel_closure_test_suite.js +++ b/closure/goog/testing/parallel_closure_test_suite.js @@ -93,12 +93,14 @@ testSuite({ .se...
Fix timeouts for parallel tests to match expected behavior. "test_timeout" should be the time to run a single test "src", and "parallel_timeout" should be the timeout of the entire suite. ------------- Created by MOE: <URL>
google_closure-library
train
js
436e700cc7032847b4fc2036e60c1467af41dfa6
diff --git a/src/router.js b/src/router.js index <HASH>..<HASH> 100644 --- a/src/router.js +++ b/src/router.js @@ -183,6 +183,15 @@ class Router { routeMap[name].rootInstance = instanceMap.default; instanceMap.default.$inject(rootNode); } + + // call global hook + ...
fix: call afterEach in the right place
fengzilong_regular-router
train
js
0014e51092aa9628fac650969585f7732c9a1976
diff --git a/lib/stream.js b/lib/stream.js index <HASH>..<HASH> 100644 --- a/lib/stream.js +++ b/lib/stream.js @@ -360,19 +360,6 @@ Stream.prototype._transition = function transition(sending, frame) { } }; -// `promised` is called when this stream is promised by one of the endpoints of the connection. -// If it's...
Stream: removing unneeded code.
molnarg_node-http2-protocol
train
js
d8c18f9a5f6d6faf46bc9b4b16dee354fc565e7d
diff --git a/ladybug/datacollection.py b/ladybug/datacollection.py index <HASH>..<HASH> 100644 --- a/ladybug/datacollection.py +++ b/ladybug/datacollection.py @@ -136,9 +136,14 @@ class DataCollection(object): @property def values(self): - """Return the list of values.""" + """Return the list ...
Added Ability to Get Float Values from Data Collection I have gotten so tired of putting [x.value for x in datacollection] in nearly all of my workflows with data collections. The fact that we can't easily access the float values of the data collection has created a lot of difficulty and so I have added this property...
ladybug-tools_ladybug
train
py
e32aca8dec8f318f880685f3fe0155216efd83c8
diff --git a/ait/core/tlm.py b/ait/core/tlm.py index <HASH>..<HASH> 100644 --- a/ait/core/tlm.py +++ b/ait/core/tlm.py @@ -743,8 +743,8 @@ class PacketDefinition(json.SlotSerializer, object): def simulate(self, fill=None): size = self.nbytes - values = range(size) if fill is None else ((fill,) ...
Updated tlm packet simulate to match behavior in py2
NASA-AMMOS_AIT-Core
train
py
74b680640315304e7ff55bf8eaf9df68320c2984
diff --git a/LogData.py b/LogData.py index <HASH>..<HASH> 100755 --- a/LogData.py +++ b/LogData.py @@ -67,6 +67,8 @@ controlled clock, it may have lost its signal.""" % (str(diff)) count = 0 while last_ptr != current_ptr and last_date > last_stored: data = ws.get_data(last_ptr) + if data['dela...
Should cope better when weather station memory is not yet full
jim-easterbrook_pywws
train
py
0ca80becbc04b7e48eaaeba09e61ac6cf7bdc53b
diff --git a/src/java/arjdbc/jdbc/RubyJdbcConnection.java b/src/java/arjdbc/jdbc/RubyJdbcConnection.java index <HASH>..<HASH> 100644 --- a/src/java/arjdbc/jdbc/RubyJdbcConnection.java +++ b/src/java/arjdbc/jdbc/RubyJdbcConnection.java @@ -1052,7 +1052,7 @@ public class RubyJdbcConnection extends RubyObject { r...
mark "generic" tables to handle 0 - 4 arguments (as previously)
jruby_activerecord-jdbc-adapter
train
java
351bb1927a911476200ae1c28c9722020533d5ab
diff --git a/discord/state.py b/discord/state.py index <HASH>..<HASH> 100644 --- a/discord/state.py +++ b/discord/state.py @@ -819,7 +819,7 @@ class ConnectionState: user_id = utils._get_as_snowflake(data, 'user_id') if isinstance(channel, DMChannel): member = channel.recipien...
Fix crashing with wonky TYPING_START events. Fixes #<I>
Rapptz_discord.py
train
py
4b01804393b8e7b2a922fb3cb16bea56a91c0efb
diff --git a/CDB.py b/CDB.py index <HASH>..<HASH> 100644 --- a/CDB.py +++ b/CDB.py @@ -42,6 +42,7 @@ class CDB: if self.objp != None: ScsiPT.sg.destruct_scsi_pt_obj(self.objp) self.objp = None + super.__del__(self) def set_data_out(self, buf): self.b...
__del__ methods now call super.__del__.
LFenske_python-scsi-pt
train
py,py
e06a86f0fa28f3838520f43fe8e7e66e43f963df
diff --git a/test/builder_test.rb b/test/builder_test.rb index <HASH>..<HASH> 100644 --- a/test/builder_test.rb +++ b/test/builder_test.rb @@ -191,7 +191,7 @@ class BuilderTest < Test::Unit::TestCase assert_raises(TypeError) { lb.find_type :Callback } assert_raises(TypeError) { lb.find_type :ClosureNotify } - @bu...
It makes more sense to have one unified type definition method.
mvz_gir_ffi
train
rb
395fa1d675730090bf08895cd13cce5ef5188562
diff --git a/adaptors/backbone/base_collection.js b/adaptors/backbone/base_collection.js index <HASH>..<HASH> 100644 --- a/adaptors/backbone/base_collection.js +++ b/adaptors/backbone/base_collection.js @@ -13,7 +13,13 @@ var backboneNested = require('./backbone_nested'); * @class BaseCollection */ var BaseCollect...
Add postInitialize for base_collection
wayfair_tungstenjs
train
js
9044f7a33ddc7de9c4252de45c923ed2c5414592
diff --git a/warehouse/accounts/views.py b/warehouse/accounts/views.py index <HASH>..<HASH> 100644 --- a/warehouse/accounts/views.py +++ b/warehouse/accounts/views.py @@ -47,6 +47,8 @@ def login(request): # TODO: Logging in/out should reset request.user # TODO: Prevent session fixation: # https://g...
Add a note about using the login view as the default forbidden view
pypa_warehouse
train
py
df209afeed2334a97c83aff34ea7abcad85c31f6
diff --git a/version.go b/version.go index <HASH>..<HASH> 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package swag // Version of swag -const Version = "v1.6.6" +const Version = "v1.6.7"
chore: jump to <I> (#<I>)
swaggo_swag
train
go
afa358ffdc6530b116797d3721ceee964963d389
diff --git a/nunaliit2-couch-command/src/main/java/ca/carleton/gcrc/couch/command/schema/SchemaAttribute.java b/nunaliit2-couch-command/src/main/java/ca/carleton/gcrc/couch/command/schema/SchemaAttribute.java index <HASH>..<HASH> 100644 --- a/nunaliit2-couch-command/src/main/java/ca/carleton/gcrc/couch/command/schema/S...
fixed issue with null localized field types and the submission tool
GCRC_nunaliit
train
java
616361a98db7bad0cb0a8843a20ee4ea348684ea
diff --git a/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php b/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php +++ b/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php @@ -417,6 +417,10 @@ class ClassMetadata implements ClassMetadataInte...
detect when someone attempts to map the identifier to multiple differnt properties
doctrine_phpcr-odm
train
php
066a0c38fb819419b8422980b61a0fd2f6ee4739
diff --git a/tornado/platform/twisted.py b/tornado/platform/twisted.py index <HASH>..<HASH> 100644 --- a/tornado/platform/twisted.py +++ b/tornado/platform/twisted.py @@ -32,6 +32,8 @@ import time from twisted.internet.posixbase import PosixReactorBase from twisted.internet.interfaces import \ IReactorFDSet, IDe...
Use a AND instead of an OR to determine if the bits are set on the event mask. Also, handle some basic error cases in the event bits and twisted callback.
tornadoweb_tornado
train
py
49d78e957c73ac2e6589fbd9dc8d8cdf0d3b9703
diff --git a/zopkio/test_runner.py b/zopkio/test_runner.py index <HASH>..<HASH> 100644 --- a/zopkio/test_runner.py +++ b/zopkio/test_runner.py @@ -117,11 +117,7 @@ class TestRunner(object): setattr( self.dynamic_config_module, "log_patterns", wrap( lambda unique_id: constants.FILTER_NAME_ALLOW_ALL )) else: ...
Added flag/option in config and in API to turn of fetching of logs at end of run
linkedin_Zopkio
train
py
bb92fb26fc83c38031927c1f3f47950a7292a74e
diff --git a/tests/Stream/StreamFactoryTest.php b/tests/Stream/StreamFactoryTest.php index <HASH>..<HASH> 100644 --- a/tests/Stream/StreamFactoryTest.php +++ b/tests/Stream/StreamFactoryTest.php @@ -20,7 +20,7 @@ class StreamFactoryTest extends TestCase $this->assertInstanceOf( 'React\Filesystem...
Updated test for the StreamFactory (sadly forgotten to commit these together with the StreamFactory updates)
reactphp_filesystem
train
php
43aff6f4ad79e469e2237f0107ac02a509479539
diff --git a/lib/packetgen/capture.rb b/lib/packetgen/capture.rb index <HASH>..<HASH> 100644 --- a/lib/packetgen/capture.rb +++ b/lib/packetgen/capture.rb @@ -98,8 +98,7 @@ module PacketGen end def set_filter - return if @filter.nil? - return if @filter.empty? + return if @filter.nil? || @fil...
Simplify Capture#set_filter.
sdaubert_packetgen
train
rb
a2b3065cdfb3aaac36c0abb693813c96c5e92518
diff --git a/domain/service/service.go b/domain/service/service.go index <HASH>..<HASH> 100644 --- a/domain/service/service.go +++ b/domain/service/service.go @@ -275,6 +275,32 @@ func CloneService(fromSvc *Service, suffix string) (*Service, error) { svc.Volumes[idx].ResourcePath += suffix } + // CC-2750: filter...
cloning a service should filter BuiltIn monitoring configs
control-center_serviced
train
go
eda84eed20bb74bd5754550462c88239fada6a08
diff --git a/simuvex/s_file.py b/simuvex/s_file.py index <HASH>..<HASH> 100644 --- a/simuvex/s_file.py +++ b/simuvex/s_file.py @@ -1,5 +1,6 @@ from .s_memory import SimMemory from .s_errors import SimMergeError +import claripy import logging l = logging.getLogger("simuvex.s_file") @@ -56,6 +57,8 @@ class SimFile(...
Fixed length issue with inetd
angr_angr
train
py
a99f70bd62b204b88c081ed02b70a290e9f579d7
diff --git a/patchboard/tests/functional/trivial_example_test.py b/patchboard/tests/functional/trivial_example_test.py index <HASH>..<HASH> 100644 --- a/patchboard/tests/functional/trivial_example_test.py +++ b/patchboard/tests/functional/trivial_example_test.py @@ -19,8 +19,8 @@ pytest.mark.usefixtures(trivial_net_pb,...
Mark a test xfail
patchboard_patchboard-py
train
py
c7cf56f065b78580489db20d42d395d9a6e36321
diff --git a/src/DayPickerInput.js b/src/DayPickerInput.js index <HASH>..<HASH> 100644 --- a/src/DayPickerInput.js +++ b/src/DayPickerInput.js @@ -362,12 +362,12 @@ export default class DayPickerInput extends React.Component { } handleOverlayFocus(e) { + e.preventDefault(); + this.overlayHasFocus = true; ...
Fix an issue with keepFocus
gpbl_react-day-picker
train
js
8df044a9383326c2e2dbf31b4e2f57cfa7ccb7c5
diff --git a/ontquery/terms.py b/ontquery/terms.py index <HASH>..<HASH> 100644 --- a/ontquery/terms.py +++ b/ontquery/terms.py @@ -506,7 +506,7 @@ class OntTerm(OntId): out = {} for result in results_gen: # FIXME should only be one?! for k, v in result.predicates.items(): - ...
fixed logic for homogenization predicates don't just return OntId, they can also be a variety of literals, so better to do a negative test against tuple
tgbugs_ontquery
train
py
cc03873d4a632eef643a1289e126ee0574a36536
diff --git a/quart/app.py b/quart/app.py index <HASH>..<HASH> 100644 --- a/quart/app.py +++ b/quart/app.py @@ -1338,6 +1338,10 @@ class Quart(PackageStatic): scheme = 'http' if config.ssl is None else 'https' print("Running on {}://{}:{} (CTRL + C to quit)".format(scheme, config.host, config.port)) ...
Ensure a loop is specified in app run This ensures compatibility with recent Hypercorn releases.
pgjones_quart
train
py
097b4a755ee5135453504e10f934544f992b19e9
diff --git a/lib/mochawesome.js b/lib/mochawesome.js index <HASH>..<HASH> 100755 --- a/lib/mochawesome.js +++ b/lib/mochawesome.js @@ -30,6 +30,9 @@ module.exports = Mochawesome; */ function Mochawesome (runner, options) { + // reset total tests counter + totalTestsRegistered = 0; + // Create/Save necessary r...
SIO-<I> Reseting total test counter in init SIO-<I> Reseting total test counter in init Revert "Ignore idea IDE files" This reverts commit d<I>c<I>c<I>addc<I>f<I>fe<I>c<I>cec<I>.
adamgruber_mochawesome
train
js
0893ee6d519cb5cffb56c480020051d25728a734
diff --git a/event/feed_test.go b/event/feed_test.go index <HASH>..<HASH> 100644 --- a/event/feed_test.go +++ b/event/feed_test.go @@ -86,6 +86,7 @@ func TestFeed(t *testing.T) { subchan := make(chan int) sub := feed.Subscribe(subchan) timeout := time.NewTimer(2 * time.Second) + defer timeout.Stop() subscr...
event: add missing timer.Stop call in TestFeed (#<I>)
ethereum_go-ethereum
train
go
5f68f3f9aaf70010e4cb371911c1b0bb8f9ad607
diff --git a/unittest/test_core.py b/unittest/test_core.py index <HASH>..<HASH> 100644 --- a/unittest/test_core.py +++ b/unittest/test_core.py @@ -147,6 +147,10 @@ class TestAVTransport: ('CurrentURIMetaData', '') ]) + moco.avTransport.Play.assert_called_once_with( + [('Instanc...
Also assert the internal call to play from play_uri.
amelchio_pysonos
train
py
ddf7b687ac4a0d811a6e09227a0be549ade668c4
diff --git a/packages/node_modules/@webex/internal-plugin-ediscovery/src/ediscovery.js b/packages/node_modules/@webex/internal-plugin-ediscovery/src/ediscovery.js index <HASH>..<HASH> 100644 --- a/packages/node_modules/@webex/internal-plugin-ediscovery/src/ediscovery.js +++ b/packages/node_modules/@webex/internal-plugi...
fix(ediscovery): fixing this reference
webex_spark-js-sdk
train
js
fc3deb64093e267f6c01bbff5c8bf9f65b03ed83
diff --git a/opinel/utils.py b/opinel/utils.py index <HASH>..<HASH> 100644 --- a/opinel/utils.py +++ b/opinel/utils.py @@ -430,9 +430,9 @@ def read_creds_from_aws_credentials_file(profile_name, credentials_file = aws_cr profile_found = False if profile_found: ...
Split on correct divider in AWS Credential file Currently Opinel relies on the fact that there may be a space before an access/secret key within the ~/.aws/credentials file (e.g. "aws_access_key_id = AKI..." The official package however does support defining attributes without space separation. This commit thus suppo...
nccgroup_opinel
train
py
5b5918156f0ccec91ada277195841742691e0ab2
diff --git a/packages/maniajs-jukebox/src/plugin.js b/packages/maniajs-jukebox/src/plugin.js index <HASH>..<HASH> 100644 --- a/packages/maniajs-jukebox/src/plugin.js +++ b/packages/maniajs-jukebox/src/plugin.js @@ -24,7 +24,7 @@ module.exports.default = class extends Plugin { this.dependencies = []; // Game...
Enable jukebox plugin in ShootMania.
ManiaJS_plugins
train
js
d6fa7f9c4b5482db3919c3a836bfcab560b3e53c
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ except ImportError: from distutils.core import setup here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, 'README.md')).read() +README = open(os.path.join(here, 'README.rst')...
Remove README.md from setup.py
OnroerendErfgoed_skosprovider_getty
train
py
85cf6279e538ff5730237f6bf2304d046b39b90b
diff --git a/src/sap.ui.fl/src/sap/ui/fl/library.js b/src/sap.ui.fl/src/sap/ui/fl/library.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.fl/src/sap/ui/fl/library.js +++ b/src/sap.ui.fl/src/sap/ui/fl/library.js @@ -40,4 +40,4 @@ sap.ui.define([ return sap.ui.fl; -}, /* bExport= */true); +});
[INTERNAL] sap.ui.fl: library object is now being properly updated * Support Assistant depends on jQuery.sap.getObject to get the library object and get the loaded rules. When the bExport flag is set to true the library object is not correctly updated. Change-Id: I<I>f<I>dd<I>f<I>a<I>ac4b<I>
SAP_openui5
train
js
faac243bf292f6e1ce4c2963d67ec0456bb53855
diff --git a/commonjs/element/get-cached-width.js b/commonjs/element/get-cached-width.js index <HASH>..<HASH> 100644 --- a/commonjs/element/get-cached-width.js +++ b/commonjs/element/get-cached-width.js @@ -14,7 +14,12 @@ module.exports = function getCachedWidth(e) { break; } else { v...
Fix get-cached-width for IE<I> when measuring main element Fixes responsive-el in columns for audi
koala-framework_koala-framework
train
js
67154b5086d72092e162bc08c4b3b9dd829a87dd
diff --git a/spyderlib/app/spyder.py b/spyderlib/app/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/app/spyder.py +++ b/spyderlib/app/spyder.py @@ -90,6 +90,7 @@ from qtpy import QtSvg # analysis:ignore # Avoid a bug in Qt: https://bugreports.qt.io/browse/QTBUG-46720 from qtpy import QtWebEngineWidgets # an...
Main Window: Add a couple of blank lines for readability [ci skip]
spyder-ide_spyder
train
py
604e7ea724deddef43b66f07d8ed8718bf8b14d0
diff --git a/reana_db/models.py b/reana_db/models.py index <HASH>..<HASH> 100644 --- a/reana_db/models.py +++ b/reana_db/models.py @@ -104,6 +104,8 @@ class Workflow(Base, Timestamp): # jobs_finished = {job_ids: [], total: c} # jobs_failed = {job_ids: [], total: c}} engine_specific = Column(JSONType) +...
models: add gitlab integration fields to workflow
reanahub_reana-db
train
py
95f6b8d5a8f03b15b56984d4ee00aaf71d8cd662
diff --git a/lib/webuser.py b/lib/webuser.py index <HASH>..<HASH> 100644 --- a/lib/webuser.py +++ b/lib/webuser.py @@ -511,9 +511,17 @@ def get_email(uid): def create_userinfobox_body(req, uid, language="en"): """Create user info box body for user UID in language LANGUAGE.""" + is_over_https = req.subprocess...
generate an absolute referrer URL when creating the user infobox, to avoid switching from http to https in unexpected ways.
inveniosoftware_invenio-accounts
train
py
7e2cdb56b0df3d423fb3d7864c6f016082bf4cc0
diff --git a/lib/sassc/engine.rb b/lib/sassc/engine.rb index <HASH>..<HASH> 100644 --- a/lib/sassc/engine.rb +++ b/lib/sassc/engine.rb @@ -57,7 +57,7 @@ module SassC Native.delete_data_context(data_context) css.force_encoding(@template.encoding) - @source_map.force_encoding(@template.encoding) + ...
Bug fix for the commit 5de<I>be. Execute force_encoding only when @source_map is a string.
sass_sassc-ruby
train
rb
e7e2947d22621d76109f82cf34ff1cc359a92260
diff --git a/src/core/createFragment.js b/src/core/createFragment.js index <HASH>..<HASH> 100644 --- a/src/core/createFragment.js +++ b/src/core/createFragment.js @@ -2,14 +2,14 @@ import minErr from '../util/minErr'; import isArray from '../util/isArray'; import createTemplate from './createTemplate'; -expo...
added key param to createFragment
infernojs_inferno
train
js
9df953ad7b70aaa0e3029f9a4fa88345fb9d7025
diff --git a/src/luminous.php b/src/luminous.php index <HASH>..<HASH> 100644 --- a/src/luminous.php +++ b/src/luminous.php @@ -192,7 +192,7 @@ class LuminousOptions { } public function __get($name) { - if (property_exists('LuminousOptions', $name)) + if (property_exists($this, $name)) return $this-...
Workaround stupid php bug in php <I>: property_exists returning false for private members
markwatkinson_luminous
train
php
d618cf3326468086ae9ab5ba1ee556be6182a481
diff --git a/src/Illuminate/Mail/Mailable.php b/src/Illuminate/Mail/Mailable.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Mail/Mailable.php +++ b/src/Illuminate/Mail/Mailable.php @@ -381,7 +381,7 @@ class Mailable implements MailableContract, Renderable FilesystemFactory::class )->...
Attach all disk attachments and not only first one
laravel_framework
train
php
d5a51dc5bafd42d365b989d6cdbff6b39078c4fa
diff --git a/tests/test_add_model.py b/tests/test_add_model.py index <HASH>..<HASH> 100644 --- a/tests/test_add_model.py +++ b/tests/test_add_model.py @@ -1,4 +1,11 @@ -from unittest.mock import MagicMock, Mock, patch +try: + from unittest.mock import patch + from unittest.mock import MagicMock + from unittest...
support python2 imports
rantav_flask-restful-swagger
train
py
cbdf478ba76b7c62f6ac8c2f6343f6cfa0f8d8bc
diff --git a/xmpp.go b/xmpp.go index <HASH>..<HASH> 100644 --- a/xmpp.go +++ b/xmpp.go @@ -367,6 +367,7 @@ type Chat struct { Remote string Type string Text string + Other []string } type Presence struct { @@ -385,7 +386,7 @@ func (c *Client) Recv() (event interface{}, err error) { } switch v := va...
clientMessage add ",any" tag, use for hasn't matched element
mattn_go-xmpp
train
go
33098b6a8c9cac53c6d267b40c8e40f81ccc1187
diff --git a/lib/nodes.js b/lib/nodes.js index <HASH>..<HASH> 100644 --- a/lib/nodes.js +++ b/lib/nodes.js @@ -88,7 +88,8 @@ Node.prototype.getText = function () { }; Node.prototype._updateBlocky = function () { - this.blocky = domHelpers.BLOCK_ELEMENTS.hasOwnProperty(this.tagname); + this.blocky = domHelpers.B...
[fix] issue with blockyChildren not getting recalculcated
AndreasMadsen_article
train
js