hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
5953b1b0d7fc7876164592fbcfe01ea6691c963c
diff --git a/openquake/hazardlib/gsim/can15/sinter.py b/openquake/hazardlib/gsim/can15/sinter.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/gsim/can15/sinter.py +++ b/openquake/hazardlib/gsim/can15/sinter.py @@ -62,16 +62,13 @@ class SInterCan15Mid(ZhaoEtAl2006SInter): for spec of input and result v...
Now obtaining consistent results for ASC, SInter and SSlab
gem_oq-engine
train
da10cc4e7f06b2ffb5a540b9168ef46229c3f14b
diff --git a/data-admin/data-admin.js b/data-admin/data-admin.js index <HASH>..<HASH> 100644 --- a/data-admin/data-admin.js +++ b/data-admin/data-admin.js @@ -897,7 +897,7 @@ export const ViewModel = DefineMap.extend('DataAdmin', { } //dispatch an event - this.dispatch(eventName, [obj]); + ...
FIX: make event names lowercase - html attributes are case insensitive
roemhildtg_spectre-canjs
train
52717e3f1f3608950055ba2cc46de39127e7f150
diff --git a/src/Storage.php b/src/Storage.php index <HASH>..<HASH> 100644 --- a/src/Storage.php +++ b/src/Storage.php @@ -21,7 +21,9 @@ class Storage implements IStorage { public function isAvailable() { if (!is_file($this->file)) { - $this->error = "Please create the storage file, it mus...
try to create storage.json automatically if it does not exist
ptrofimov_beanstalk_console
train
2430b5615f139321cdeac31caaa369ad83d5b321
diff --git a/packages/react-dev-utils/WebpackDevServerUtils.js b/packages/react-dev-utils/WebpackDevServerUtils.js index <HASH>..<HASH> 100644 --- a/packages/react-dev-utils/WebpackDevServerUtils.js +++ b/packages/react-dev-utils/WebpackDevServerUtils.js @@ -52,9 +52,22 @@ function prepareUrls(protocol, host, port) { ...
Ensure address is private (#<I>) * Ensure address is private Resolves #<I> * adjust rule * Update WebpackDevServerUtils.js
vcarl_create-react-app
train
ff409e3bf141c666af313cdd80b9a63c2d9bf82f
diff --git a/src/lang/array.js b/src/lang/array.js index <HASH>..<HASH> 100644 --- a/src/lang/array.js +++ b/src/lang/array.js @@ -54,20 +54,20 @@ if (!Array.isArray) { * return a random array element * @memberof! external:Array# * @alias random - * @param {array} array to pick a element - * @return {object} rand...
Fixed some vars and doc
melonjs_melonJS
train
7f77d82bab797c7e97909f4d8242b0d64acdadc8
diff --git a/rados/rados.go b/rados/rados.go index <HASH>..<HASH> 100644 --- a/rados/rados.go +++ b/rados/rados.go @@ -85,9 +85,9 @@ func NewConn() (*Conn, error) { // NewConnWithUser creates a new connection object with a custom username. // It returns the connection and an error, if any. func NewConnWithUser(user ...
rados: naming conventions: c_user -> cUser Fix up variable names that don't meet Go standards. Command: gofmt -w -r "c_user -> cUser" rados/rados.go
ceph_go-ceph
train
5b8724346cfa405b1b4f5cd358595226a79f6b2c
diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb index <HASH>..<HASH> 100644 --- a/lib/sup/poll.rb +++ b/lib/sup/poll.rb @@ -143,7 +143,8 @@ EOS Redwood::log "error loading messages from #{source}: #{source.error.message}" return end - + + labels << :sent if source.uri.eql?($co...
Sent label handling change Make PollManager add the 'sent' label if the source it's collecting messages from is the configured sent source. Remove the sent label from SentLoader, which makes it even less 'special.'
sup-heliotrope_sup
train
54f0b472915efe418db2cb18e9ce5073db24f869
diff --git a/pymc3/tests/models.py b/pymc3/tests/models.py index <HASH>..<HASH> 100644 --- a/pymc3/tests/models.py +++ b/pymc3/tests/models.py @@ -106,7 +106,6 @@ def mv_simple(): "x", at.constant(mu), tau=at.constant(tau), - size=3, testval=floatX_array([0...
Remove incorrect size for multivariate distributions in pymc3.tests.models
pymc-devs_pymc
train
1134bf4e1c23ee97b89bb45e2116eadc52208482
diff --git a/lib/searchlogic/condition/descendant_of.rb b/lib/searchlogic/condition/descendant_of.rb index <HASH>..<HASH> 100644 --- a/lib/searchlogic/condition/descendant_of.rb +++ b/lib/searchlogic/condition/descendant_of.rb @@ -1,6 +1,6 @@ module Searchlogic module Condition - class DescendantOf < Tree ...
Type case tree condition values as integers
binarylogic_searchlogic
train
fdfdd2116df298add70f8376e6dec0be90916878
diff --git a/agent/lib/agent/handler.rb b/agent/lib/agent/handler.rb index <HASH>..<HASH> 100644 --- a/agent/lib/agent/handler.rb +++ b/agent/lib/agent/handler.rb @@ -55,68 +55,13 @@ module Bosh::Agent end on.message do |sub, raw_msg| msg = Yajl::Parser.new.parse(raw_msg) - - @logg...
refactor agent on_message handler
cloudfoundry_bosh
train
dbe3345c4f84f603b8a6d121229d1cc9f5d3be8c
diff --git a/activesupport/lib/active_support/core_ext/module/attr_internal.rb b/activesupport/lib/active_support/core_ext/module/attr_internal.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/core_ext/module/attr_internal.rb +++ b/activesupport/lib/active_support/core_ext/module/attr_internal.rb @...
Fix grammar of internal comment and modify it's location
rails_rails
train
4465f38e73d473540c078d2e6e3c885bb32334a6
diff --git a/lib/monitor.js b/lib/monitor.js index <HASH>..<HASH> 100644 --- a/lib/monitor.js +++ b/lib/monitor.js @@ -41,10 +41,10 @@ function depatureMonitor(stopid, offset, amount) { direction: d.Direction, platform: d.Platform ? { name: d.Platform.Name, type: d.Plat...
no need to use scientific notation here but use rather unobfuscating syntax.
kiliankoe_dvbjs
train
a71e0b15ccfb0dfb14bb522e035e13b921d4fe36
diff --git a/wikitextparser/table.py b/wikitextparser/table.py index <HASH>..<HASH> 100644 --- a/wikitextparser/table.py +++ b/wikitextparser/table.py @@ -172,11 +172,10 @@ class Table(SubWikiText): pos = _lstrip_increase(shadow, pos) # Remove everything until the first row while shadow[pos] ...
table._semi_caption_increase: Omit the unneeded condition check There is always a new line after "|-" (the table-end token must be after a newline).
5j9_wikitextparser
train
b4f2e56815fb0bd710ef8fdcbce1dc0046d942f3
diff --git a/salt/modules/ebuild.py b/salt/modules/ebuild.py index <HASH>..<HASH> 100644 --- a/salt/modules/ebuild.py +++ b/salt/modules/ebuild.py @@ -223,8 +223,21 @@ def refresh_db(): ''' if 'eix.sync' in __salt__: return __salt__['eix.sync']() - return __salt__['cmd.retcode']('emerge --sync --a...
Added fall back to "webrsync" in case of failure of "rsync" Portage synchronization. Added support for GPG signed Portage snapshot ("webrsync-gpg" feature). "emerge-delta-webrsync" is also supported and preferred. This code require #<I>
saltstack_salt
train
0ab507339b391b5dfc6cf633d7be24ee398e6a28
diff --git a/cdr/resolver_test.go b/cdr/resolver_test.go index <HASH>..<HASH> 100644 --- a/cdr/resolver_test.go +++ b/cdr/resolver_test.go @@ -40,7 +40,7 @@ func TestParseAnswer(t *testing.T) { func TestQueryCAA(t *testing.T) { testServ := httptest.NewServer(http.HandlerFunc(mocks.GPDNSHandler)) - defer testServ.C...
Fix CDR test race in go <I> (#<I>) Fixes #<I>.
letsencrypt_boulder
train
875521c04e5c3c905039488cff828d8304af5c92
diff --git a/lib/http.router.js b/lib/http.router.js index <HASH>..<HASH> 100644 --- a/lib/http.router.js +++ b/lib/http.router.js @@ -11,10 +11,11 @@ * (issues) under meaningful categories such as Sanitation, * Commercial, Billing, Non-Commercial etc. * + * @author Benson Maruchu <benmaruchu@gmail.com> * @auth...
Review http router - Update apidoc version to <I> - Separate code blocks with 2 lines - Remove all curl examples
CodeTanzania_majifix-service-group
train
4331cfb6a5c9805ecbf3497cf07c3307372a81a0
diff --git a/changelog.txt b/changelog.txt index <HASH>..<HASH> 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ 0.7.0 - currently working on +- [#3250] Change: Throw an exception when trying to save a model that has been created using getNewGhost or getLoadedTestingModel - [#3239] Change: Test that new...
[Bug <I>] Throw an exception when trying to save a model that has been created using getNewGhost or getLoadedTestingModel, r=niels git-svn-id: <URL>
oliverklee_ext-oelib
train
0153809b1fa7e415fc76544106defa83f28e1219
diff --git a/Configuration.php b/Configuration.php index <HASH>..<HASH> 100644 --- a/Configuration.php +++ b/Configuration.php @@ -216,6 +216,9 @@ class Configuration $resolver->setAllowedTypes('cache', 'string'); $resolver->setAllowedTypes('reader', 'string'); $resolver->setAllowedTypes('loc...
normalize cache folder by trimming trailing slash
Innmind_neo4j-onm
train
f31beec0c42aeb3df2a0381db4fa3a0ee41dba45
diff --git a/django_select2/forms.py b/django_select2/forms.py index <HASH>..<HASH> 100644 --- a/django_select2/forms.py +++ b/django_select2/forms.py @@ -444,11 +444,12 @@ class ModelSelect2Mixin(object): c for c in selected_choices if c not in self.choices.field.empty_values } - ...
Add support for custom to_field names for foreign keys (#<I>) Django's ForeignKey supports custom to_fields. The to field is the primary key by default, but can be modified. The to field is also used by forms to reduce database lookups. This patch add support for custom to_field names on both model or form layer...
applegrew_django-select2
train
2888ef64265443529a9697e91eae0c39fdbe6aca
diff --git a/OpCodeCache.php b/OpCodeCache.php index <HASH>..<HASH> 100644 --- a/OpCodeCache.php +++ b/OpCodeCache.php @@ -30,16 +30,6 @@ class OpCodeCache { if (function_exists('opcache_invalidate')) { opcache_invalidate($pathname, TRUE); } - // If apcu extension is enabled in PHP 5.5 or greater it...
Issue #<I> by amateescu, cilefen, Fabianx: Rename apc_* functions with apcu_*
drupal_core-utility
train
6e8ca9837e41b9f4b6098f69625c5eec01622f4c
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -1471,7 +1471,7 @@ function authenticate_user_login($username, $password) { * @return boolean * @todo Finish documenting this function */ -function enrol_student($userid, $courseid, $t...
Enrol/LDAP - enrol_student() and add_teacher() now populate the 'enrol' field.
moodle_moodle
train
9c67c3159284835e318d7327174bc4aba91c80b7
diff --git a/bot.go b/bot.go index <HASH>..<HASH> 100644 --- a/bot.go +++ b/bot.go @@ -1366,7 +1366,7 @@ func (b *Bot) ProfilePhotosOf(user *User) ([]Photo, error) { } // ChatMemberOf returns information about a member of a chat. -func (b *Bot) ChatMemberOf(chat *Chat, user *User) (*ChatMember, error) { +func (b *B...
bot: make ChatMemberOf accept Recipient interface
tucnak_telebot
train
195e01efd9c30e9314ccd0cdf09619a82d6bc6c2
diff --git a/lib/forms/camunda-form.js b/lib/forms/camunda-form.js index <HASH>..<HASH> 100644 --- a/lib/forms/camunda-form.js +++ b/lib/forms/camunda-form.js @@ -39,7 +39,7 @@ var Events = require('./../events'); */ function CamundaForm(options) { if(!options) { - throw new Error("CamundaForm need to be initi...
style(linting): change double for single quotes
camunda_camunda-bpm-sdk-js
train
b755b6925ffb84821aa655e6d0772d2b3bce3b47
diff --git a/synapse/tests/test_lib_fifo.py b/synapse/tests/test_lib_fifo.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_lib_fifo.py +++ b/synapse/tests/test_lib_fifo.py @@ -1,4 +1,3 @@ - from synapse.tests.common import * import synapse.lib.fifo as s_fifo @@ -207,3 +206,107 @@ class FifoTest(SynTest): ...
Adds test demonstrating race in fifo resync
vertexproject_synapse
train
4859e3b52bdd59ebf14701ec90d8213b108bf8c2
diff --git a/numpy_groupies/__init__.py b/numpy_groupies/__init__.py index <HASH>..<HASH> 100644 --- a/numpy_groupies/__init__.py +++ b/numpy_groupies/__init__.py @@ -33,7 +33,10 @@ else: try: - from scipy import weave + try: + import weave + except ImportError: + from scipy import weave ex...
Import fixes for scipy <I> with separate weave
ml31415_numpy-groupies
train
360a83e887d2f7ab2b9837590f69d0aaa5846fdb
diff --git a/src/Socket/ReadableStreamTrait.php b/src/Socket/ReadableStreamTrait.php index <HASH>..<HASH> 100644 --- a/src/Socket/ReadableStreamTrait.php +++ b/src/Socket/ReadableStreamTrait.php @@ -70,24 +70,31 @@ trait ReadableStreamTrait return; } - if (feof($re...
Fixed error where consecutive calls readTo() would not detect EOF.
icicleio_icicle
train
f402efc8e50ce783cdcc7b72ac77ebe9a124b7d3
diff --git a/decidim-meetings/app/controllers/decidim/meetings/admin/application_controller.rb b/decidim-meetings/app/controllers/decidim/meetings/admin/application_controller.rb index <HASH>..<HASH> 100644 --- a/decidim-meetings/app/controllers/decidim/meetings/admin/application_controller.rb +++ b/decidim-meetings/ap...
Hide moderated meetings and proposals from admin lists (#<I>)
decidim_decidim
train
1b09a406bd969fe1f6ea4105b4032c5ebb61dda7
diff --git a/go/libkb/bootstrap_active_device.go b/go/libkb/bootstrap_active_device.go index <HASH>..<HASH> 100644 --- a/go/libkb/bootstrap_active_device.go +++ b/go/libkb/bootstrap_active_device.go @@ -68,7 +68,7 @@ func fixupBootstrapError(err error) error { } func bootstrapActiveDeviceReturnRawError(m MetaContex...
do not output "Error" all over the logs
keybase_client
train
3d5960ea77ae978f6c6a34c56cb2ba24cd93642b
diff --git a/LoaderAdjacencyMatrix.php b/LoaderAdjacencyMatrix.php index <HASH>..<HASH> 100644 --- a/LoaderAdjacencyMatrix.php +++ b/LoaderAdjacencyMatrix.php @@ -15,7 +15,7 @@ class LoaderAdjacencyMatrix implements Loader{ $graph = new Graph(); - $file = file($fileName); + $file = file($fileName, FILE_IGNORE_...
fixed parsing of file, removed end of line
graphp_graph
train
767efe3e153a483b98d810e5ea1e08e34db53eb9
diff --git a/src/Browser.php b/src/Browser.php index <HASH>..<HASH> 100644 --- a/src/Browser.php +++ b/src/Browser.php @@ -268,6 +268,8 @@ class Browser */ public function fitContent() { + $this->driver->switchTo()->defaultContent(); + $body = $this->driver->findElement(WebDriverBy::tagN...
update `fitContent()` if the user is in an iframe when a failure occurs, `fitContent()` will grab the dimensions of the *iframe* body, not the *root* body that we actually want. this change makes sure we switch back to the default scope before resizing the browser to fit the content.
laravel_dusk
train
5765a120e581b7d5b049267b1d771198e43f6ea5
diff --git a/simpleauth2/providers/oauth1.py b/simpleauth2/providers/oauth1.py index <HASH>..<HASH> 100644 --- a/simpleauth2/providers/oauth1.py +++ b/simpleauth2/providers/oauth1.py @@ -195,11 +195,11 @@ class OAuth1(providers.AuthorisationProvider): code=response.status_code, ...
Fixed a bug when user_id was not extracted from response.
authomatic_authomatic
train
324abf91c9d3da28d7b23ff95b58abcae18eee09
diff --git a/BaragonService/src/main/java/com/hubspot/baragon/service/edgecache/cloudflare/client/models/CloudflarePurgeRequest.java b/BaragonService/src/main/java/com/hubspot/baragon/service/edgecache/cloudflare/client/models/CloudflarePurgeRequest.java index <HASH>..<HASH> 100644 --- a/BaragonService/src/main/java/co...
Completely exclude a field if it's null or empty.
HubSpot_Baragon
train
521442c676f0d7f0a85187b769015d4003ae9186
diff --git a/RemexHtml/Tokenizer/Tokenizer.php b/RemexHtml/Tokenizer/Tokenizer.php index <HASH>..<HASH> 100644 --- a/RemexHtml/Tokenizer/Tokenizer.php +++ b/RemexHtml/Tokenizer/Tokenizer.php @@ -297,7 +297,7 @@ class Tokenizer { '\x{DFFFE}\x{DFFFF}' . '\x{EFFFE}\x{EFFFF}' . '\x{FFFFE}\x{FFFFF}' . - '\...
Study the preprocessing regexp Probably won't make much of a difference, but it's a "unanchored pattern without a fixed prefix" so the 'study' option may help. Change-Id: I<I>bc3b7ad<I>b2e2fef<I>d8faf<I>cf<I>b2
wikimedia_remex-html
train
c9cdf7410e1cccef6ab0ba5e9023929d70bd6368
diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index <HASH>..<HASH> 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -104,7 +104,7 @@ module ActionView ...
Remove unnecessary dup from FormTagHelper#field_id This was needed when `sanitized_method_name` was a memoised method, but since <I>ca<I>c<I>fff<I>e<I>e<I>d<I>c0c<I>aee7fd4c it's a local variable.
rails_rails
train
8d3c838821334703b89a9ab77bbb0a8acb499120
diff --git a/vlcp/service/sdn/ioprocessing.py b/vlcp/service/sdn/ioprocessing.py index <HASH>..<HASH> 100644 --- a/vlcp/service/sdn/ioprocessing.py +++ b/vlcp/service/sdn/ioprocessing.py @@ -272,8 +272,6 @@ class IOFlowUpdater(FlowUpdater): return instructions def create_output_oxm...
bug fix: flow should match OFPP_ANY
hubo1016_vlcp
train
5167d001c5a72710aabf749f80424cd5455981f6
diff --git a/packages/babel-core/src/transformation/file/index.js b/packages/babel-core/src/transformation/file/index.js index <HASH>..<HASH> 100644 --- a/packages/babel-core/src/transformation/file/index.js +++ b/packages/babel-core/src/transformation/file/index.js @@ -1,4 +1,3 @@ -/* @noflow */ /* eslint max-len: 0 ...
Remove `@noflow` as well
babel_babel
train
20a980dc9435f46328944a3b89d584f4ef377170
diff --git a/app/mixins/sets-validity-mixin.js b/app/mixins/sets-validity-mixin.js index <HASH>..<HASH> 100644 --- a/app/mixins/sets-validity-mixin.js +++ b/app/mixins/sets-validity-mixin.js @@ -1,20 +1,16 @@ +// TODO: Which pattern to extract duplicated code in validated input and select components...? WIP. App.Se...
Issue #<I> - code review refactor and clean-up
dollarshaveclub_ember-uni-form
train
8dd6043d939b71e7410c75f6651137e3196800d0
diff --git a/src/Ip.php b/src/Ip.php index <HASH>..<HASH> 100644 --- a/src/Ip.php +++ b/src/Ip.php @@ -4,7 +4,7 @@ namespace G4\ValueObject; use G4\ValueObject\Exception\InvalidIpException; -class Ip +class Ip implements StringInterface { /**
Added StringInterface to Ip
g4code_value-object
train
50c6277482d46d8bbeb281b0f57e8330bd7e48d8
diff --git a/lib/test.js b/lib/test.js index <HASH>..<HASH> 100644 --- a/lib/test.js +++ b/lib/test.js @@ -61,7 +61,7 @@ Test.prototype.expect = function(val, fn){ // body case 'string': // header field - if ('string' == typeof fn) { + if ('string' == typeof fn || fn instanceof RegExp) { ...
add regexp support to field assertions
visionmedia_supertest
train
9da91a825a69c870b9cc3cd5a63efe9eb9a6b6be
diff --git a/spec/standalone_migrations_spec.rb b/spec/standalone_migrations_spec.rb index <HASH>..<HASH> 100644 --- a/spec/standalone_migrations_spec.rb +++ b/spec/standalone_migrations_spec.rb @@ -12,7 +12,7 @@ describe 'Standalone migrations' do end def migration(name) - m = `cd spec/tmp/db/migrate && ls`...
Added test for correct classname in migration Fixed migration(name) helper function in spec
thuss_standalone-migrations
train
dfa9801f604b0dd525c8b1a7a653c6f51d454e1b
diff --git a/lib/data_mapper/naming_conventions.rb b/lib/data_mapper/naming_conventions.rb index <HASH>..<HASH> 100644 --- a/lib/data_mapper/naming_conventions.rb +++ b/lib/data_mapper/naming_conventions.rb @@ -27,6 +27,12 @@ module DataMapper DataMapper::Inflection.pluralize(DataMapper::Inflection.underscore(...
Added naming convention UnderscoredAndPluralizedWithoutModule
datamapper_dm-core
train
8a1494b4a634bff12da727c5c9072f749c3a26bd
diff --git a/paypal/standard/ipn/admin.py b/paypal/standard/ipn/admin.py index <HASH>..<HASH> 100644 --- a/paypal/standard/ipn/admin.py +++ b/paypal/standard/ipn/admin.py @@ -90,7 +90,7 @@ class PayPalIPNAdmin(admin.ModelAdmin): "__unicode__", "flag", "flag_info", "invoice", "custom", "payment_status"...
Enable searching by subscr_id
spookylukey_django-paypal
train
ff60b8e2cb89e1c4d6c75af79d0199d142c6e2b4
diff --git a/ouimeaux/subscribe.py b/ouimeaux/subscribe.py index <HASH>..<HASH> 100644 --- a/ouimeaux/subscribe.py +++ b/ouimeaux/subscribe.py @@ -19,6 +19,7 @@ log = logging.getLogger(__name__) NS = "{urn:schemas-upnp-org:event-1-0}" SUCCESS = '<html><body><h1>200 OK</h1></body></html>' +SUCCESS_BINARY = SUCCESS.e...
fix TypeError: memoryview: a bytes-like object is required, not 'str'
iancmcc_ouimeaux
train
6124c992a85236ca850e5c1cda9102103bf4be1b
diff --git a/src/main/java/org/efaps/admin/ui/field/FieldTable.java b/src/main/java/org/efaps/admin/ui/field/FieldTable.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/efaps/admin/ui/field/FieldTable.java +++ b/src/main/java/org/efaps/admin/ui/field/FieldTable.java @@ -24,6 +24,7 @@ import org.efaps.admin.data...
- adding field to distinguish between normal Field containing a Table and a Field containing a StructurBrowser to the kernel git-svn-id: <URL>
eFaps_eFaps-Kernel
train
d4a66ac15fd3edba1f7abf3f8b89d27c872d8a2a
diff --git a/xwiki-rendering-api/src/main/java/org/xwiki/rendering/block/MetaDataBlock.java b/xwiki-rendering-api/src/main/java/org/xwiki/rendering/block/MetaDataBlock.java index <HASH>..<HASH> 100644 --- a/xwiki-rendering-api/src/main/java/org/xwiki/rendering/block/MetaDataBlock.java +++ b/xwiki-rendering-api/src/main...
XRENDERING-<I>: XDOM#clone() doesn't clone the meta data
xwiki_xwiki-rendering
train
fefcd51735eb980e59015f4d24fa98d56dc23eea
diff --git a/Branch-SDK/src/main/java/io/branch/referral/ServerRequest.java b/Branch-SDK/src/main/java/io/branch/referral/ServerRequest.java index <HASH>..<HASH> 100644 --- a/Branch-SDK/src/main/java/io/branch/referral/ServerRequest.java +++ b/Branch-SDK/src/main/java/io/branch/referral/ServerRequest.java @@ -513,8 +51...
Use stored PrefHelper instead of a new one.
BranchMetrics_android-branch-deep-linking
train
a2185fefc1e97ee94eb57578ddb3a285455d0cfd
diff --git a/lib/timeline-window.js b/lib/timeline-window.js index <HASH>..<HASH> 100644 --- a/lib/timeline-window.js +++ b/lib/timeline-window.js @@ -246,7 +246,11 @@ TimelineWindow.prototype.paginate = function(direction, size, makeRequest) { // end of timeline return false; } - ...
Make sure we don't end up calling /messages in a loop if things go weird If we somehow end up in a situation where calling /messages returns a load of messages, but none of them are new, then currently we start calling /messages again and again in a tight loop. This is bad, so fix it.
matrix-org_matrix-js-sdk
train
c73ce3e7683421d911da7dadf037181101ec84bd
diff --git a/framework/core/src/Notification/NotificationMailer.php b/framework/core/src/Notification/NotificationMailer.php index <HASH>..<HASH> 100644 --- a/framework/core/src/Notification/NotificationMailer.php +++ b/framework/core/src/Notification/NotificationMailer.php @@ -9,9 +9,11 @@ namespace Flarum\Notifica...
Inject Url Generator and Translator Interface into notification mailer (#<I>)
flarum_core
train
b992e4dbf5094c6ce93fbc1cf5790b419938178e
diff --git a/query/src/main/java/jetbrains/exodus/query/LinksEqualDecorator.java b/query/src/main/java/jetbrains/exodus/query/LinksEqualDecorator.java index <HASH>..<HASH> 100644 --- a/query/src/main/java/jetbrains/exodus/query/LinksEqualDecorator.java +++ b/query/src/main/java/jetbrains/exodus/query/LinksEqualDecorato...
clean-up code from MPS auto-generated stuff
JetBrains_xodus
train
726f31c1b68df134ac6d565359cfe828c1176019
diff --git a/src/main/java/org/thymeleaf/testing/templateengine/context/web/SpringWebProcessingContextBuilder.java b/src/main/java/org/thymeleaf/testing/templateengine/context/web/SpringWebProcessingContextBuilder.java index <HASH>..<HASH> 100755 --- a/src/main/java/org/thymeleaf/testing/templateengine/context/web/Spri...
Improved initialization of Application Context and of request attributes.
thymeleaf_thymeleaf
train
bc5600485c0144d4cd74d87b067c6f22b4d2038c
diff --git a/test/build/yield_handlers.js b/test/build/yield_handlers.js index <HASH>..<HASH> 100644 --- a/test/build/yield_handlers.js +++ b/test/build/yield_handlers.js @@ -22,13 +22,11 @@ var _assert2 = _interopRequireDefault( _assert ); var _ = require( '../../' ); -var _2 = _interopRequireDefault( _ ); - fun...
tests: Add tiny test for ensuring addYieldHandler is properly exposed
novacrazy_bluebird-co
train
8f742cff83cdbf90210dc118969407c5d7abdd60
diff --git a/CHANGES.md b/CHANGES.md index <HASH>..<HASH> 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,8 +5,11 @@ CHANGES 1.1-SNAPSHOT ------------ +- Added getURI method to WebSocket. - Added onStateChanged method to WebSocketListener. 1.0 (2015-04-22) ---------------- + +- The first release. diff --git a...
Added getURI method to WebSocket.
TakahikoKawasaki_nv-websocket-client
train
9f47bad2e6f11b9081f24174c9ce63c2d0dc91ef
diff --git a/indra/reach/processor.py b/indra/reach/processor.py index <HASH>..<HASH> 100644 --- a/indra/reach/processor.py +++ b/indra/reach/processor.py @@ -284,4 +284,4 @@ class ReachProcessor(object): site = None return residue, site - return '', None + return None, None
Fix REACH parsing of missing residue
sorgerlab_indra
train
611270b553cd024af33923c8368a0aeae762a4ee
diff --git a/clc/server.go b/clc/server.go index <HASH>..<HASH> 100644 --- a/clc/server.go +++ b/clc/server.go @@ -25,9 +25,9 @@ func (s *ServerService) Create(server Server, poll chan *StatusResponse) (*Serve resp := &ServerCreateResponse{} err := s.post(fmt.Sprintf("%s/servers/%s", s.baseURL, s.config.Alias), ser...
removed helper on create response in favor of new links helper
CenturyLinkCloud_clc-sdk
train
8d06985edd75e9f7fdce37881b08bdef53a5a561
diff --git a/pymc/distributions/continuous.py b/pymc/distributions/continuous.py index <HASH>..<HASH> 100644 --- a/pymc/distributions/continuous.py +++ b/pymc/distributions/continuous.py @@ -382,7 +382,7 @@ class Flat(Continuous): Parameters ---------- - value: numeric + value : tensor...
fixing the documentation for the class flat (#<I>) * fixing the documentation for the class flat * update the alias * update the alias
pymc-devs_pymc
train
d8185dac5ebaa65c061a213df9b127c90904ace7
diff --git a/tests/http/test_request_data_property.py b/tests/http/test_request_data_property.py index <HASH>..<HASH> 100644 --- a/tests/http/test_request_data_property.py +++ b/tests/http/test_request_data_property.py @@ -24,10 +24,18 @@ def test_empty_body_returns_empty(): def test_json_content_type_with_json_body...
Added tests for x-www-form-urlencoded content type request
pipermerriam_flex
train
c29c103e3ab6f7c31897b828fd34892587c07cfa
diff --git a/test/unit/dsub_util_test.py b/test/unit/dsub_util_test.py index <HASH>..<HASH> 100644 --- a/test/unit/dsub_util_test.py +++ b/test/unit/dsub_util_test.py @@ -16,6 +16,7 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function +import os import unit...
Fix file references in tests These two tests had file references that made assumptions about the location of the test working directory. By pinning the file path reference to the test file, we can improve the unit-test's ability to run with different runners. PiperOrigin-RevId: <I>
DataBiosphere_dsub
train
6f3f5c92c2c8d23440278d6966c0f3a47fbe2dba
diff --git a/satpy/enhancements/__init__.py b/satpy/enhancements/__init__.py index <HASH>..<HASH> 100644 --- a/satpy/enhancements/__init__.py +++ b/satpy/enhancements/__init__.py @@ -277,11 +277,6 @@ def _srgb_gamma(arr): return da.where(arr < 0.0031308, arr * 12.92, 1.055 * arr ** 0.41666 - 0.055) -def _looku...
Fix some enhancements producing dask arrays wrapped in dask arrays
pytroll_satpy
train
7a1f6173765e008fd4bc49b9bc44ae92aa3ae901
diff --git a/docs/release-notes.rst b/docs/release-notes.rst index <HASH>..<HASH> 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -2,6 +2,12 @@ History ======= +2.2.5 (2020-12-24) +------------------ + +* Added ``joined()`` + + 2.2.4 (2020-12-23) ------------------ diff --git a/src/runez/__i...
Added 'joined()'
zsimic_runez
train
22f507ea113a46ab9c52f8431d0124df25ecbeff
diff --git a/src/Jms/YamlConverter.php b/src/Jms/YamlConverter.php index <HASH>..<HASH> 100644 --- a/src/Jms/YamlConverter.php +++ b/src/Jms/YamlConverter.php @@ -415,6 +415,13 @@ class YamlConverter extends AbstractConverter $property["accessor"]["getter"] = "get" . Inflector::classify($element->getName()); ...
Identified mode to add validator in YAML.
goetas-webservices_xsd2php
train
929109a0907fabc9a23cd1295bda9e48f307b46e
diff --git a/lib/interceptor.js b/lib/interceptor.js index <HASH>..<HASH> 100644 --- a/lib/interceptor.js +++ b/lib/interceptor.js @@ -17,12 +17,12 @@ class RowProcessorInterceptor extends Interceptor { parserFactory(config, true); } - static get type() { + static get name() { return "data-processor-row"; }...
fix(interceptor): Fix the name and type of the interceptor
Kronos-Integration_kronos-interceptor-object-data-processor-row
train
5b6f9ed8093b07b7801294fde9484dac385961d4
diff --git a/src/plugins/stats.js b/src/plugins/stats.js index <HASH>..<HASH> 100644 --- a/src/plugins/stats.js +++ b/src/plugins/stats.js @@ -5,6 +5,10 @@ * Simple plugin computing basic statistics about the spider. */ +function processTime() { + return parseFloat(process.hrtime()[0] + "." + process.hrtime()[1]...
use precise time to avoid rounding approximations
medialab_sandcrawler
train
a42bf9ca16d1bd211370d607d510102a6397a9a6
diff --git a/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java b/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java index <HASH>..<HASH> 100755 --- a/distributed/src/main/java/com/orientechnologies/o...
Re-try in backup if atomic moves are not supported.
orientechnologies_orientdb
train
b53a48508c549e39c292dc9809d329014f250c86
diff --git a/main.go b/main.go index <HASH>..<HASH> 100644 --- a/main.go +++ b/main.go @@ -93,7 +93,8 @@ func init() { vendorDir = filepath.Join(wd, "vendor") manifestFile = filepath.Join(vendorDir, "manifest") srcTree := filepath.Join(build.Default.GOPATH, "src") + string(filepath.Separator) - if build.Default.G...
Don't warn when vendor folder is in $GOPATH/src
FiloSottile_gvt
train
b9a4b1832a1da139044926a10ccafd6d52d1644f
diff --git a/request.js b/request.js index <HASH>..<HASH> 100644 --- a/request.js +++ b/request.js @@ -102,40 +102,54 @@ Request.prototype.execute = function() { // Send request, check status, get response data, and decrypt if necessary return fetch(Request.baseUrl + this.uri, payload) - .then(checkStatus.bi...
Refactored Request a bit
eblanshey_safenet
train
09eea8f1738f36445fd69914e0aee1f490e6dc51
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 @@ -278,7 +278,8 @@ class EventBasedCalculator(base.HazardCalculator): oq = self.oqparam max_ = dic...
Managed missing .sitecol in check_overflow [skip CI]
gem_oq-engine
train
7d8e01b433b1a63bd0a12d7b8ac37af6fda5733d
diff --git a/h2o-core/src/main/java/water/init/NodePersistentStorage.java b/h2o-core/src/main/java/water/init/NodePersistentStorage.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/init/NodePersistentStorage.java +++ b/h2o-core/src/main/java/water/init/NodePersistentStorage.java @@ -56,7 +56,7 @@ pub...
Relax filename regex for node persistent storage
h2oai_h2o-3
train
9ccd5b10de264cc7de5ed8434ac0ee011eed7660
diff --git a/src/helpers/Manifest.php b/src/helpers/Manifest.php index <HASH>..<HASH> 100644 --- a/src/helpers/Manifest.php +++ b/src/helpers/Manifest.php @@ -505,6 +505,10 @@ EOT; $cacheDuration = Craft::$app->getConfig()->getGeneral()->devMode ? self::DEVMODE_CACHE_DURATION : null; ...
If we're in `devMode` invalidate the cache immediately
nystudio107_craft-twigpack
train
51d56f19b5be0677152da251e0a243fe54850233
diff --git a/wpull/version.py b/wpull/version.py index <HASH>..<HASH> 100644 --- a/wpull/version.py +++ b/wpull/version.py @@ -6,4 +6,4 @@ A string conforming to `Semantic Versioning Guidelines <http://semver.org/>`_ ''' -__version__ = '0.16.1' +__version__ = '0.17'
Bumps version to <I>.
ArchiveTeam_wpull
train
4884dc6ba07ec4507452bc3a7e4f676da51e7f2f
diff --git a/aws/ec2metadata/api.go b/aws/ec2metadata/api.go index <HASH>..<HASH> 100644 --- a/aws/ec2metadata/api.go +++ b/aws/ec2metadata/api.go @@ -31,7 +31,7 @@ func (c *EC2Metadata) getToken(duration time.Duration) (tokenOutput, error) { // Swap the unmarshalMetadataHandler with unmarshalTokenHandler on this req...
fix ec2 metadata client to use dynamic data when retrieving region info (#<I>) SDK's ec2metadata client now uses dynamic data from instance identity document, to retrieve region info.
aws_aws-sdk-go
train
0807a27dd204af5a2f78e6d91e67575ef5ae6415
diff --git a/Message/AppleMessage.php b/Message/AppleMessage.php index <HASH>..<HASH> 100644 --- a/Message/AppleMessage.php +++ b/Message/AppleMessage.php @@ -170,11 +170,11 @@ class AppleMessage implements MessageInterface * iOS-specific * Sets the APS badge count * - * @param string $badge The b...
Badge numbers need to be an integer, not a string
richsage_RMSPushNotificationsBundle
train
93cfcf144ea08aee4ee1d2f919a88e9156599ea9
diff --git a/ui/spec/data_explorer/reducers/queryConfigSpec.js b/ui/spec/data_explorer/reducers/queryConfigSpec.js index <HASH>..<HASH> 100644 --- a/ui/spec/data_explorer/reducers/queryConfigSpec.js +++ b/ui/spec/data_explorer/reducers/queryConfigSpec.js @@ -1,18 +1,19 @@ import reducer from 'src/data_explorer/reducer...
Add spec for REMOVE_FUNCS
influxdata_influxdb
train
45a157d73f5ab65366538c0f314f6484a1f61de0
diff --git a/src/net/sf/mpxj/LocaleData.java b/src/net/sf/mpxj/LocaleData.java index <HASH>..<HASH> 100644 --- a/src/net/sf/mpxj/LocaleData.java +++ b/src/net/sf/mpxj/LocaleData.java @@ -76,7 +76,7 @@ public class LocaleData extends ListResourceBundle TASK_COLUMNS_ARRAY[TaskField.BCWP_VALUE] = "BCWP"; TAS...
Updated column name to match Microsoft Project.
joniles_mpxj
train
b8e914c208de6768a855d2a39705a03be1a832e1
diff --git a/examples/worker/worker.go b/examples/worker/worker.go index <HASH>..<HASH> 100644 --- a/examples/worker/worker.go +++ b/examples/worker/worker.go @@ -48,7 +48,8 @@ func init() { errors.Fail(err, "Could not parse config file") } - server, err := machinery.NewServer(&cnf) + var err error + server, err...
fixed worker example server redeclaration
RichardKnop_machinery
train
9f57ecc361f20c4b1c6158564d63922bcb0bc7bb
diff --git a/lib/cocaine/cocaine.rb b/lib/cocaine/cocaine.rb index <HASH>..<HASH> 100644 --- a/lib/cocaine/cocaine.rb +++ b/lib/cocaine/cocaine.rb @@ -415,9 +415,25 @@ module Cocaine def rpc(session, id, payload) LOG.debug "Processing RPC [#{session}, #{id}, #{payload}] message" + channels = @session...
[Worker] Proper handling new/old channels.
cocaine_cocaine-framework-ruby
train
dc1abaf239cfacb93afbf885de16a6c638d20689
diff --git a/src/NormalizeIteratorCapableTrait.php b/src/NormalizeIteratorCapableTrait.php index <HASH>..<HASH> 100644 --- a/src/NormalizeIteratorCapableTrait.php +++ b/src/NormalizeIteratorCapableTrait.php @@ -40,9 +40,8 @@ trait NormalizeIteratorCapableTrait return $this->_createArrayIterator($value); ...
Removed unnecessary condition There's not an explicit return in all cases. This also brings coverage to <I>%.
Dhii_iterator-helper-base
train
a150f1b40b2a5017e4c7911fa7931efc713e8b8b
diff --git a/napalm/junos/junos.py b/napalm/junos/junos.py index <HASH>..<HASH> 100644 --- a/napalm/junos/junos.py +++ b/napalm/junos/junos.py @@ -292,7 +292,6 @@ class JunOSDriver(NetworkDriver): def commit_config(self, message="", revert_in=None): """Commit configuration.""" - import ipdb; ipdb...
Implementing has_pending_commit and confirm_commit
napalm-automation_napalm
train
90d74b1a191ef9fb0a245f66e2917a02364f5ec2
diff --git a/src/Api/BuildPathParametersCurlyBrackets.php b/src/Api/BuildPathParametersCurlyBrackets.php index <HASH>..<HASH> 100644 --- a/src/Api/BuildPathParametersCurlyBrackets.php +++ b/src/Api/BuildPathParametersCurlyBrackets.php @@ -41,8 +41,10 @@ class BuildPathParametersCurlyBrackets implements BuildPathParamet...
Add required to path parameters: Per the spec: path parameters are always required
reliv_swagger-expressive
train
a98a17ee9b5a48a9e7c21891e0657e0194e86ae1
diff --git a/Object.php b/Object.php index <HASH>..<HASH> 100644 --- a/Object.php +++ b/Object.php @@ -28,14 +28,14 @@ class Object implements IObject static public $debug=true; protected $tableName ='tableName_not_set'; - protected $PKFieldName=array('id'); + protected $PKFieldName=['id']; protected $fields...
toJson() for objects & collections
PHPColibri_framework
train
a76b466e2d2b0e3913ecfd0c2545ab0f7f5a8ed5
diff --git a/graylog2-bootstrap/src/main/java/org/graylog2/bootstrap/CmdLineTool.java b/graylog2-bootstrap/src/main/java/org/graylog2/bootstrap/CmdLineTool.java index <HASH>..<HASH> 100644 --- a/graylog2-bootstrap/src/main/java/org/graylog2/bootstrap/CmdLineTool.java +++ b/graylog2-bootstrap/src/main/java/org/graylog2/...
Exclude config beans of incompatible plugins This was missing from commit 5fdcd<I>ce<I>dad2ca6f<I>f<I>f<I>c<I>e
Graylog2_graylog2-server
train
0711738ef85b18d69624b4bd43410bcbd1f4ff7b
diff --git a/elkm1_lib/elk.py b/elkm1_lib/elk.py index <HASH>..<HASH> 100644 --- a/elkm1_lib/elk.py +++ b/elkm1_lib/elk.py @@ -51,7 +51,7 @@ class Elk: LOG.info("Connecting to ElkM1 at %s", url) scheme, dest, param, ssl_context = parse_url(url) conn = partial(Connection, self.loop, self._conn...
Add timeout handling after refactor
gwww_elkm1
train
eb4228cb3ea924510a6ad11aac4b2eb8f6d2acf0
diff --git a/openid/integration_test.go b/openid/integration_test.go index <HASH>..<HASH> 100644 --- a/openid/integration_test.go +++ b/openid/integration_test.go @@ -17,26 +17,26 @@ import ( const authenticatedMessage string = "Congrats, you are authenticated!" const authenticatedMessageWithUser string = "Congrats, ...
Account for other identity providers used as input for the integration tests.
emanoelxavier_openid2go
train
886956441e33699f60aac66a89a8b4e421059523
diff --git a/test/mockContext.js b/test/mockContext.js index <HASH>..<HASH> 100644 --- a/test/mockContext.js +++ b/test/mockContext.js @@ -57,7 +57,7 @@ }, }); }; - + Context.prototype._initMethods = function() { // define methods to test here // no way to introspect so we have to do some extra work :...
New test helpers to acquire and release charts Since we changed the way how meta data are stores, now unit tests need to work on real Chart instances. This commit brings some helpers to inject/cleanup HTML canvas and it's wrapper into/from the DOM.
chartjs_Chart.js
train
174e99b5b77375c1fc0cffabb5d34c5bfacdd9a5
diff --git a/pkg/network/node/node.go b/pkg/network/node/node.go index <HASH>..<HASH> 100644 --- a/pkg/network/node/node.go +++ b/pkg/network/node/node.go @@ -385,6 +385,11 @@ func (node *OsdnNode) reattachPods(existingPods map[string]podNetworkInfo) error glog.Warningf("Could not find sandbox for existing pod with...
Improve logging when trying to reattach a non-existent pod
openshift_origin
train
e426bd2cc0a1ea223a5b23d97c026587a6a58fa7
diff --git a/lib/restforce/middleware/mashify.rb b/lib/restforce/middleware/mashify.rb index <HASH>..<HASH> 100644 --- a/lib/restforce/middleware/mashify.rb +++ b/lib/restforce/middleware/mashify.rb @@ -4,15 +4,9 @@ module Restforce class Middleware::Mashify < Restforce::Middleware def call(env) - @env =...
Use callback in Mashify middleware.
restforce_restforce
train
d7f433dcbdd69599aecb18e22e4cd0ab74b6dcbd
diff --git a/helpers.go b/helpers.go index <HASH>..<HASH> 100644 --- a/helpers.go +++ b/helpers.go @@ -150,5 +150,8 @@ func truncateHelper(s string, opts map[string]interface{}) string { return s } trail := opts["trail"].(string) + if len(trail) >= size { + return trail + } return s[:size-len(trail)] + trail ...
truncate helper: handle case where size is less than len(trail), to avoid slice-sizing error.
gobuffalo_plush
train
94ec6145980a38e0b31051bdf34567b4dd48f9ea
diff --git a/lxd/container.go b/lxd/container.go index <HASH>..<HASH> 100644 --- a/lxd/container.go +++ b/lxd/container.go @@ -446,6 +446,8 @@ type container interface { StoragePool() string // FIXME: Those should be internal functions + // Needed for migration for now. + GetStoragePoolFromDevices() (string, erro...
container: helper to retrieve pool from devices This is need to get a valid pool when we load a container on migration.
lxc_lxd
train
5f64c1cf43c4c6a99c7142b6c1e0638e5f368e68
diff --git a/leaflet-providers.js b/leaflet-providers.js index <HASH>..<HASH> 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -215,7 +215,9 @@ attribution: 'Imagery from <a href="http://mapbox.com/about/maps/">MapBox</a> &mdash; ' + 'Map data {attribution.OpenStreetMap}', - subdomain...
Finally fix CI by adjusting known tilelayer options
leaflet-extras_leaflet-providers
train
46ab76bd653a24b19c3f40bc9a523276958231d1
diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/GrpcAlertPolicyServiceCallableFactory.java index <HASH>..<HASH> 100644 --- a/java-...
Regenerate gapic clients, add IoT and Web Security Scanner clients (#<I>) Also remove beta packages for dlp, as they are removed from googleapis. IoT packages were moved from `cloudiot` to just `iot`. Also regenerate clients with @BetaApi annotation for LRO-specific code.
googleapis_google-cloud-java
train
65d15ff85f23e116ba37e394c385d561ed819867
diff --git a/skpy/chat.py b/skpy/chat.py index <HASH>..<HASH> 100644 --- a/skpy/chat.py +++ b/skpy/chat.py @@ -42,9 +42,14 @@ class SkypeChat(SkypeObj): """ url = "{0}/users/ME/conversations/{1}/messages".format(self.skype.conn.msgsHost, self.id) params = {"startTime": 0, - "...
Add support for chat history greater than 2 month Sync param & headers from current version Web-Skype
Terrance_SkPy
train
2c60d46ebc0bafd7c67b89b5e5e96eafaf057a5c
diff --git a/book/smoothing/offline_smoothing.py b/book/smoothing/offline_smoothing.py index <HASH>..<HASH> 100644 --- a/book/smoothing/offline_smoothing.py +++ b/book/smoothing/offline_smoothing.py @@ -17,7 +17,7 @@ see below for a definition of psi_t See also Chapter 11 of the book; in particular the box-plots of Fi...
book/smoothing: more cosmetic changes
nchopin_particles
train
5ea7374892676e745ed1f5c075cafbeb255922dd
diff --git a/simuvex/plugins/symbolic_memory.py b/simuvex/plugins/symbolic_memory.py index <HASH>..<HASH> 100644 --- a/simuvex/plugins/symbolic_memory.py +++ b/simuvex/plugins/symbolic_memory.py @@ -474,6 +474,9 @@ class SimSymbolicMemory(SimMemory): return constraint def store_with_merge(self, dst, cnt...
Rewrote store_with_merge() function in SimSymbolicMemory.
angr_angr
train
0d4f50e2d93aaa2788b0b73c80198e173e308c7d
diff --git a/src/BootstrapTable.js b/src/BootstrapTable.js index <HASH>..<HASH> 100644 --- a/src/BootstrapTable.js +++ b/src/BootstrapTable.js @@ -1362,6 +1362,12 @@ class BootstrapTable extends Component { renderTableFooter(footerData, footerFormatterReturnData, columns, colGroups) { if (this.props.footer) {...
fix bug for hideSelectColumn is wrong for table footer
AllenFang_react-bootstrap-table
train
ec0bf7a2f47e67b428d2cfab6621d0ca65a34ad5
diff --git a/spyderlib/__init__.py b/spyderlib/__init__.py index <HASH>..<HASH> 100644 --- a/spyderlib/__init__.py +++ b/spyderlib/__init__.py @@ -32,7 +32,7 @@ __license__ = __doc__ #TODO: Workspace is gone: find a way to implement the save on exit with the # external console --> see the external console's...
Editor/bugfix (QtEditor-specific bug -- v1.x based on QScintilla is not concerned): after starting up Spyder, cursor was not centered on previously opened files
spyder-ide_spyder
train
578822172cac8e128616f0398fbd0bfa6c34782e
diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/data.rb +++ b/lib/discordrb/data.rb @@ -1027,6 +1027,8 @@ module Discordrb data['mentions'].each do |element| @mentions << bot.ensure_user(element) end if data['mentions'] + + @attachme...
Initialize the attachment attribute with data from the message JSON
meew0_discordrb
train
ee2bfdfc4e786b566b4e0a3678764a41b57eddb1
diff --git a/src/feat/agents/common/monitor.py b/src/feat/agents/common/monitor.py index <HASH>..<HASH> 100644 --- a/src/feat/agents/common/monitor.py +++ b/src/feat/agents/common/monitor.py @@ -11,12 +11,26 @@ from feat.agents.monitor.pacemaker import Pacemaker, FakePacemaker from feat.interface.agency import * -...
Refactor the call to notify monitor agent about the completed restart.
f3at_feat
train
94039ba5c11dffa1a7bd3f7d89a1c52d7bebc9a3
diff --git a/tests/TestCase/Validation/ValidatorTest.php b/tests/TestCase/Validation/ValidatorTest.php index <HASH>..<HASH> 100644 --- a/tests/TestCase/Validation/ValidatorTest.php +++ b/tests/TestCase/Validation/ValidatorTest.php @@ -1015,4 +1015,36 @@ class ValidatorTest extends TestCase ]; $this->a...
Added tests for PR #<I>
cakephp_cakephp
train
1a6f91308d60221afbf16a13778c2d2362bcfeb7
diff --git a/metsrw/plugins/premisrw/premis.py b/metsrw/plugins/premisrw/premis.py index <HASH>..<HASH> 100644 --- a/metsrw/plugins/premisrw/premis.py +++ b/metsrw/plugins/premisrw/premis.py @@ -488,8 +488,10 @@ def _data_to_lxml_el(data, ns, nsmap, element_maker=None, snake=True): elif isinstance(element, (tu...
premis: stop encoding unicode Text values (`unicode` in Py2 aka `str` in Py3) were being encoded using the `ascii` encoder. This was raising `UnicodeEncodeError` with certain values. Letting lxml handle text values seems to be a better approach.
artefactual-labs_mets-reader-writer
train
fd6e167ae93f06e48489e84045b6159bd76aa4f7
diff --git a/worker/upgradeseries/worker.go b/worker/upgradeseries/worker.go index <HASH>..<HASH> 100644 --- a/worker/upgradeseries/worker.go +++ b/worker/upgradeseries/worker.go @@ -92,6 +92,15 @@ type upgradeSeriesWorker struct { machineStatus model.UpgradeSeriesStatus preparedUnits []names.UnitTag completedU...
Add pinning invocation and tests to upgrade-series worker.
juju_juju
train
82902d4a89f8a780487b6276ac12f6a04ab7c9c2
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -95,6 +95,10 @@ func (client *Client) Close() (err error) { // }() C.Clear(client.api) C.Free(client.api) + if client.pixImage != nil { + C.DestroyPixImage(client.pixImage) + client.pixImage = nil + } return err ...
fix: close pix image on client close
otiai10_gosseract
train