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
285188742530bb625fd44caf0e824122237a4cbc
diff --git a/templates/generate_stuff.rb b/templates/generate_stuff.rb index <HASH>..<HASH> 100644 --- a/templates/generate_stuff.rb +++ b/templates/generate_stuff.rb @@ -107,7 +107,7 @@ file 'app/controllers/api/v1/users_controller.rb', 'Api::V1::UsersController', f end def update - if user.upda...
generate app which finds by name - fix #update
razum2um_lurker
train
rb
1ddfb8a9b4dc16ac0495b64db7135871afcc42e7
diff --git a/src/Api/Response.php b/src/Api/Response.php index <HASH>..<HASH> 100644 --- a/src/Api/Response.php +++ b/src/Api/Response.php @@ -20,6 +20,7 @@ abstract class Response * Common result codes. */ const CODE_SUCCESS = 'SUCCESS'; + const CODE_NOT_IMPLEMENTED = 'IS_NOT_IMPLEMENTED'; con...
MOBI-<I> - Move get tree API operation to ".../prxgt/downline/tree/get"
praxigento_mobi_mod_core
train
php
54c70ac8cf5d6e5e6bed3101e3e2cbf4028f4a56
diff --git a/query_control.go b/query_control.go index <HASH>..<HASH> 100644 --- a/query_control.go +++ b/query_control.go @@ -23,6 +23,13 @@ func expr(value interface{}, depth int) RqlTerm { panic("Maximum nesting depth limit exceeded") } + if value == nil { + return RqlTerm{ + termType: p.Term_DATUM, + da...
Added some more tests and fixed not being able to evaluate nil
rethinkdb_rethinkdb-go
train
go,go
06e53642706162f346be0e2249c648559fb242cb
diff --git a/couchdb_schematics/document.py b/couchdb_schematics/document.py index <HASH>..<HASH> 100644 --- a/couchdb_schematics/document.py +++ b/couchdb_schematics/document.py @@ -143,7 +143,7 @@ class Document(Model): """ if validate: self.validate() - self._id, self._rev = dat...
one must use to_primitive not to_native to handle objects such as datetime.datetime
ryanolson_couchdb-schematics
train
py
ae568a298770021cf783cee4f461912002ddc873
diff --git a/cmsplugin_cascade/models_base.py b/cmsplugin_cascade/models_base.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/models_base.py +++ b/cmsplugin_cascade/models_base.py @@ -66,13 +66,14 @@ class CascadeModelBase(CMSPlugin): This is done by starting from the root element down to the current el...
get_complete_glossary caches its result
jrief_djangocms-cascade
train
py
d4989b04a5af43c2f8831bfd16154cc686243417
diff --git a/lib/spice/core_ext/hash.rb b/lib/spice/core_ext/hash.rb index <HASH>..<HASH> 100644 --- a/lib/spice/core_ext/hash.rb +++ b/lib/spice/core_ext/hash.rb @@ -1,11 +1,21 @@ -class Hash - def symbolize_keys! - keys.each do |key| - self[(key.to_sym rescue key) || key] = delete(key) +module Spice + modul...
be nicer about monkey-patching core classes
danryan_spice
train
rb,rb
d1784b26c37daab09ef1e3cb5d2800cde5111394
diff --git a/zipline/protocol.py b/zipline/protocol.py index <HASH>..<HASH> 100644 --- a/zipline/protocol.py +++ b/zipline/protocol.py @@ -31,6 +31,10 @@ DATASOURCE_TYPE = Enum( class Event(object): + def __init__(self, initial_values=None): + if initial_values: + self.__dict__ = initial_value...
Adds an init to protocol.Event to enable setting of initial values. So that an Event can use an initial dict to set all values, instead of needing to set initial values one by one. i.e. enables: ``` foo = Event({'bar': 1, 'baz': 2}) ``` in favor of: ``` foo = Event() foo.bar = 1 foo.baz = 2 ```
quantopian_zipline
train
py
3c6f0dd8f1c8d62a54d82dfbe2cbc828e5ec416e
diff --git a/src/main/java/com/github/davidcarboni/restolino/api/ApiConfiguration.java b/src/main/java/com/github/davidcarboni/restolino/api/ApiConfiguration.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/davidcarboni/restolino/api/ApiConfiguration.java +++ b/src/main/java/com/github/davidcarboni/resto...
Cleaned up and fixed instantiating the default Home endpoint.
davidcarboni_restolino
train
java
553ff143845f0f3a7462d4e31f1a72740aec9001
diff --git a/Swat/SwatActions.php b/Swat/SwatActions.php index <HASH>..<HASH> 100644 --- a/Swat/SwatActions.php +++ b/Swat/SwatActions.php @@ -158,9 +158,14 @@ class SwatActions extends SwatControl implements SwatUIParent } } - // set the flydown back to its initial state (no persistence) - if ($this->auto_r...
PAtch from Brad Griffith to never reset actions state when there is a selected sub-widget with a message. svn commit r<I>
silverorange_swat
train
php
e9ed022ab57e04469cf9a436af5115ea31e8faa2
diff --git a/libsubmit/slurm/slurm.py b/libsubmit/slurm/slurm.py index <HASH>..<HASH> 100644 --- a/libsubmit/slurm/slurm.py +++ b/libsubmit/slurm/slurm.py @@ -197,8 +197,9 @@ class Slurm(ExecutionProvider): ret = self._write_submit_script(template_string, script_path, job_name, job_config) - self.ch...
Using the destination script path to launch sbatch commands. Tested on cori:ssh
Parsl_libsubmit
train
py
44ffe4ad1183527576abdce5971d29b6b3971092
diff --git a/willow-autoscaler/src/main/java/com/nitorcreations/willow/autoscaler/deployment/DeploymentScanner.java b/willow-autoscaler/src/main/java/com/nitorcreations/willow/autoscaler/deployment/DeploymentScanner.java index <HASH>..<HASH> 100644 --- a/willow-autoscaler/src/main/java/com/nitorcreations/willow/autosca...
replace dashes with underscores for elasticsearch indexing
NitorCreations_willow
train
java
2148e9ead11c3b13879eeaccf26b612f8cd24309
diff --git a/src/extensions/scratch3_microbit/index.js b/src/extensions/scratch3_microbit/index.js index <HASH>..<HASH> 100644 --- a/src/extensions/scratch3_microbit/index.js +++ b/src/extensions/scratch3_microbit/index.js @@ -69,6 +69,7 @@ class MicroBit { * @private */ this._runtime = run...
Adding stopAll binding back in after un-rebased merge.
LLK_scratch-vm
train
js
99826081c1a68ada63b29b2ee90b03810bd2b768
diff --git a/src/loki-angular.js b/src/loki-angular.js index <HASH>..<HASH> 100644 --- a/src/loki-angular.js +++ b/src/loki-angular.js @@ -253,6 +253,8 @@ function getdata() { + var found; + if (operation === 'update_doc' || operation === 'ins...
attempt to fix loki angular jshint errors
techfort_LokiJS
train
js
45b69f1b18559e36808738757e218447558492e2
diff --git a/aws/cloudformation/util.go b/aws/cloudformation/util.go index <HASH>..<HASH> 100644 --- a/aws/cloudformation/util.go +++ b/aws/cloudformation/util.go @@ -601,6 +601,11 @@ func WaitForStackOperationComplete(stackID string, return result, nil } +// StableResourceName returns a stable resource name +func...
Utility fun ction to return stable resource name
mweagle_Sparta
train
go
2ee43fc7434845da61bc3988551a17eacba9293b
diff --git a/tests/unit/modules/test_state.py b/tests/unit/modules/test_state.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_state.py +++ b/tests/unit/modules/test_state.py @@ -22,15 +22,6 @@ from tests.support.mock import ( import salt.utils import salt.modules.state as state from salt.exceptions impo...
Fix default opts handling Starting in <I> the dunder dicts are handled differently in unit tests.
saltstack_salt
train
py
61c31f57d057a23d6cba9dc165c0b98f8ec670bb
diff --git a/code/models/ElementChildrenList.php b/code/models/ElementChildrenList.php index <HASH>..<HASH> 100644 --- a/code/models/ElementChildrenList.php +++ b/code/models/ElementChildrenList.php @@ -2,11 +2,21 @@ class ElementChildrenList extends BaseElement { - private static $db = array(); + private static $...
Add customizable sorting for child list.
dnadesign_silverstripe-elemental
train
php
c02573b1cd231c2631be15cbed3630e2f0647858
diff --git a/src/components/fields/AxisCreator.js b/src/components/fields/AxisCreator.js index <HASH>..<HASH> 100644 --- a/src/components/fields/AxisCreator.js +++ b/src/components/fields/AxisCreator.js @@ -42,6 +42,19 @@ class UnconnectedNewAxisCreator extends Component { }, }); } + + if (attr ...
Add axis overlaying adjustments like for yaxis
plotly_react-chart-editor
train
js
78feb1f54f91c96deb78ba09caa9c3c8ee532c48
diff --git a/test/run/one.js b/test/run/one.js index <HASH>..<HASH> 100644 --- a/test/run/one.js +++ b/test/run/one.js @@ -1,11 +1,9 @@ /* global describe it beforeEach */ -'use strict' - -const chai = require('chai') -const chaiAsPromised = require('chai-as-promised') -const requireInject = require('require-inject') ...
Update test/run/one to es<I>
jcollado_multitest
train
js
4e3cb6762b49101d485e56274a282a0571eba9cc
diff --git a/test/integration/p2sh.js b/test/integration/p2sh.js index <HASH>..<HASH> 100644 --- a/test/integration/p2sh.js +++ b/test/integration/p2sh.js @@ -28,7 +28,7 @@ describe('p2sh', function() { return eck.pub }) var redeemScript = Script.createMultisigScriptPubKey(2, pubKeys) - var hash160 ...
fix for hash<I> in integration test
BitGo_bitgo-utxo-lib
train
js
5e75a9fa888eeb83221fabe85bf77e556106b9b5
diff --git a/lib/manager/dockerfile/extract.js b/lib/manager/dockerfile/extract.js index <HASH>..<HASH> 100644 --- a/lib/manager/dockerfile/extract.js +++ b/lib/manager/dockerfile/extract.js @@ -5,7 +5,7 @@ module.exports = { }; function splitImageParts(currentFrom) { - if (currentFrom.includes('${')) { + if (cur...
fix(docker): skip any FROM with $ sign
renovatebot_renovate
train
js
d12afdef0adcc22b287f4bd6c944f1c0d0e336f6
diff --git a/src/Collection/Collection.php b/src/Collection/Collection.php index <HASH>..<HASH> 100644 --- a/src/Collection/Collection.php +++ b/src/Collection/Collection.php @@ -155,11 +155,18 @@ class Collection implements CollectionInterface ]); if (\count($body) > 1) { + $tmp = [$scri...
should fix update with either body and script
fazland_elastica-odm
train
php
21bdeec8c34e34ff894d6a37fcb18651173c178d
diff --git a/lib/utils.rb b/lib/utils.rb index <HASH>..<HASH> 100644 --- a/lib/utils.rb +++ b/lib/utils.rb @@ -48,12 +48,8 @@ module SSSA # a + bx + cx^2 + dx^3 def evaluate_polynomial(coefficients, value) result = 0 - coefficients.each_with_index do |coefficient, exponent| - ...
Updated to use Horner's method
SSSaaS_sssa-ruby
train
rb
0b1443a9470fe9c5ad689d365eb1b5d10884fa4d
diff --git a/app/models/message.js b/app/models/message.js index <HASH>..<HASH> 100644 --- a/app/models/message.js +++ b/app/models/message.js @@ -20,8 +20,7 @@ var MessageSchema = new mongoose.Schema({ }, text: { type: String, - required: true, - trim: true + required: true ...
Message text is no longer trimmed, fixes #<I>
sdelements_lets-chat
train
js
a4b1a875675c0991e7167220fff43082cc656331
diff --git a/src/main/java/com/berico/clavin/extractor/LocationExtractor.java b/src/main/java/com/berico/clavin/extractor/LocationExtractor.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/berico/clavin/extractor/LocationExtractor.java +++ b/src/main/java/com/berico/clavin/extractor/LocationExtractor.java @@ -5...
changed the lookup of the resource files to use the classpath so the files can be found when used as a library
Berico-Technologies_CLAVIN
train
java
9b048324c53337a04686812c18f43912f24b69ef
diff --git a/src/org/opencms/search/galleries/CmsGallerySearchResult.java b/src/org/opencms/search/galleries/CmsGallerySearchResult.java index <HASH>..<HASH> 100644 --- a/src/org/opencms/search/galleries/CmsGallerySearchResult.java +++ b/src/org/opencms/search/galleries/CmsGallerySearchResult.java @@ -31,6 +31,7 @@ imp...
Gallery search results: display results of type function_config in the workplace locale.
alkacon_opencms-core
train
java
e52ccd29fad8b18ce990d734edda7d31875a5884
diff --git a/taskcluster/client.py b/taskcluster/client.py index <HASH>..<HASH> 100644 --- a/taskcluster/client.py +++ b/taskcluster/client.py @@ -524,8 +524,8 @@ def createTemporaryCredentials(clientId, accessToken, start, expiry, scopes, nam clientId: the issuing clientId accessToken: the issuer's accessT...
createTemporaryCredentials takes datetime objects Also remove some unused code
taskcluster_taskcluster-client.py
train
py
146313b8685155acfcb912366cfd71abb6dbf2bb
diff --git a/lib/enum_accessor.rb b/lib/enum_accessor.rb index <HASH>..<HASH> 100644 --- a/lib/enum_accessor.rb +++ b/lib/enum_accessor.rb @@ -15,18 +15,19 @@ module EnumAccessor keys else raise ArgumentError.new('enum_accessor takes Array or Hash as the second argument') - end - free...
defined_enums is not available before Rails <I>
kenn_enum_accessor
train
rb
ae61e0b095547d00ded3e9e2fd99a4da90fc2785
diff --git a/psamm/commands/excelexport.py b/psamm/commands/excelexport.py index <HASH>..<HASH> 100644 --- a/psamm/commands/excelexport.py +++ b/psamm/commands/excelexport.py @@ -14,6 +14,7 @@ # along with PSAMM. If not, see <http://www.gnu.org/licenses/>. # # Copyright 2015 Keith Dufault-Thompson <keitht547@my.ur...
excelexport: Fix error where str was used instead of text_type
zhanglab_psamm
train
py
5ccae9bc296dbd5d6348ecbdbbf8231531afea4e
diff --git a/middleware/logger.go b/middleware/logger.go index <HASH>..<HASH> 100644 --- a/middleware/logger.go +++ b/middleware/logger.go @@ -74,9 +74,14 @@ func WithLogEntry(r *http.Request, entry LogEntry) *http.Request { return r } +// LoggerInterface accepts printing to stdlib logger or compatible logger. +ty...
Add generic middleware logger interface (#<I>)
go-chi_chi
train
go
b8681e7340a526f1aa2857f96fef0cee293084e4
diff --git a/src/net/sf/mpxj/mpp/SummaryInformation.java b/src/net/sf/mpxj/mpp/SummaryInformation.java index <HASH>..<HASH> 100644 --- a/src/net/sf/mpxj/mpp/SummaryInformation.java +++ b/src/net/sf/mpxj/mpp/SummaryInformation.java @@ -104,6 +104,8 @@ final class SummaryInformation for (int loop=0; loop < prop...
Added comment to explain unnecessary cast.
joniles_mpxj
train
java
eaed2b0b37c042f1dbaf5c60163022e2e2605486
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup(name = 'keyring', maintainer = "Kang Zhang", maintainer_email = "jobo.zh@gmail.com", license="PSF", - long_description = open('README.txt').read() + open('CHANGES.txt').read(), + ...
Use the new README file, which has been renamed in 4ec<I>c<I>
jaraco_keyring
train
py
54c6ef6e57ce92903cfc5ca6acd64b02cde9c5ea
diff --git a/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/pages/GroovyPageOutputStack.java b/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/pages/GroovyPageOutputStack.java index <HASH>..<HASH> 100644 --- a/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/pages/GroovyPageOutputStack.jav...
add method for flushing active writer in stack
grails_grails-core
train
java
f64bac49c2f569b5570b276b7b0c06456b89aa1c
diff --git a/src/test/net/jpountz/lz4/LZ4FrameIOStreamTest.java b/src/test/net/jpountz/lz4/LZ4FrameIOStreamTest.java index <HASH>..<HASH> 100644 --- a/src/test/net/jpountz/lz4/LZ4FrameIOStreamTest.java +++ b/src/test/net/jpountz/lz4/LZ4FrameIOStreamTest.java @@ -294,6 +294,15 @@ public class LZ4FrameIOStreamTest { ...
Add test for a premature magicnb after a skippable frame
lz4_lz4-java
train
java
d43e8896f94dd77d8242fb0e42fffb4d2f084d9b
diff --git a/hypermap/aggregator/models.py b/hypermap/aggregator/models.py index <HASH>..<HASH> 100644 --- a/hypermap/aggregator/models.py +++ b/hypermap/aggregator/models.py @@ -232,12 +232,13 @@ class Layer(Resource): # This is a MapService try: arcserver = ArcMa...
Fixed thumbnails generation for Esri REST services
cga-harvard_Hypermap-Registry
train
py
7607c5752f54009fd2f9eadbdc8fb57b1d0bbecc
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -317,7 +317,7 @@ def master_config(path): 'base': ['/srv/pillar'], }, 'ext_pillar': [], - # NOTE: pillar version changed to 2 by default in 0.10...
It should read <I> since it was not included in the <I> release. Thanks @seanchannel.
saltstack_salt
train
py
8d9ef6d5be356ce3d695682257f7f7fc87d039a2
diff --git a/ghost/admin/app/routes/signin.js b/ghost/admin/app/routes/signin.js index <HASH>..<HASH> 100644 --- a/ghost/admin/app/routes/signin.js +++ b/ghost/admin/app/routes/signin.js @@ -6,17 +6,21 @@ import styleBody from 'ghost-admin/mixins/style-body'; const {Errors} = DS; +const defaultModel = function def...
Fixed tests no issue - after the ember bump the `signin` route's `deactivate` hook started throwing errors - `Property set failed: object in path "signin" could not be found or was destroyed.`
TryGhost_Ghost
train
js
a0bdcb9627ed581bd399d51a538fc8647b136d30
diff --git a/src/java/com/threerings/presents/server/net/AuthManager.java b/src/java/com/threerings/presents/server/net/AuthManager.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/presents/server/net/AuthManager.java +++ b/src/java/com/threerings/presents/server/net/AuthManager.java @@ -1,5 +1,5 @@ // -...
Don't claim to have authed a connection unless we accepted the auth request. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
java
9d6cabb5410cd7e49bf21a026f20e2eb5aec5bdb
diff --git a/nodeconductor/ldapsync/models.py b/nodeconductor/ldapsync/models.py index <HASH>..<HASH> 100644 --- a/nodeconductor/ldapsync/models.py +++ b/nodeconductor/ldapsync/models.py @@ -17,6 +17,7 @@ logger = logging.getLogger(__name__) class LdapToGroup(models.Model): class Meta(object): verbose_na...
Added a unique constraint for user mapping (NC-<I>)
opennode_waldur-core
train
py
bbcf1c4a90650e8a66144e1e440246f9e80093bc
diff --git a/netpyne/batch.py b/netpyne/batch.py index <HASH>..<HASH> 100644 --- a/netpyne/batch.py +++ b/netpyne/batch.py @@ -554,11 +554,13 @@ wait text_file.write("%s" % jobString) #with open(jobPath+'.run', 'a+') as outf, open(jobPath+'...
terminate unfinished jobs after each gen
Neurosim-lab_netpyne
train
py
56557651457ba8d5eeafddd0fec535a30db3cbdb
diff --git a/salt/runners/winrepo.py b/salt/runners/winrepo.py index <HASH>..<HASH> 100644 --- a/salt/runners/winrepo.py +++ b/salt/runners/winrepo.py @@ -4,9 +4,9 @@ Runner to manage Windows software repo # Import python libs import os -import os.path + +# Import third party libs import yaml -from pprint import p...
clean up imports on winrepo runner
saltstack_salt
train
py
968fb3cd46b2e6cf8fb5aeda09b33e7d4c4270b0
diff --git a/generators/client/templates/angular/src/test/javascript/_karma.conf.js b/generators/client/templates/angular/src/test/javascript/_karma.conf.js index <HASH>..<HASH> 100644 --- a/generators/client/templates/angular/src/test/javascript/_karma.conf.js +++ b/generators/client/templates/angular/src/test/javascr...
Polish karma.conf.js
jhipster_generator-jhipster
train
js
2d9b4f4bf5e3a0d23c5c5481bb7ebbf832c01d4b
diff --git a/lib/weblib.php b/lib/weblib.php index <HASH>..<HASH> 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1929,6 +1929,21 @@ function print_time_selector($hour, $minute, $currenttime=0, $step=5) { choose_from_menu($minutes, $minute, $currentdate['minutes'], ""); } +function print_timer_selector($ti...
print_timer_selector function added for QuizTimer
moodle_moodle
train
php
61f6fb615233f47efd64bc5d41a2e0ea9bfc45a5
diff --git a/lib/graph_matching/algorithm/mcm_general.rb b/lib/graph_matching/algorithm/mcm_general.rb index <HASH>..<HASH> 100644 --- a/lib/graph_matching/algorithm/mcm_general.rb +++ b/lib/graph_matching/algorithm/mcm_general.rb @@ -56,11 +56,7 @@ module GraphMatching # assign a start label and begin a new s...
Remove "safety" loop counter
jaredbeck_graph_matching
train
rb
843ca761119f0b786f4f0f31c3140508516af315
diff --git a/lib/accesslib.php b/lib/accesslib.php index <HASH>..<HASH> 100644 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -1002,6 +1002,7 @@ function get_empty_accessdata() { $accessdata['rdef_lcc'] = 0; // rdef_count during the last compression $accessdata['loaded'] = array(); // loaded c...
MDL-<I> init USER->access when switching roles Only admins were affected by this problem because has_capability() does not init USER->access for them.
moodle_moodle
train
php
8157ecbd0c420edec30e08759ad8257173d92db6
diff --git a/mgmtfn/k8splugin/kubeClient_test.go b/mgmtfn/k8splugin/kubeClient_test.go index <HASH>..<HASH> 100644 --- a/mgmtfn/k8splugin/kubeClient_test.go +++ b/mgmtfn/k8splugin/kubeClient_test.go @@ -145,6 +145,11 @@ func (d *KubeTestNetDrv) DeleteBgp(id string) error { return nil } +// InspectBgp is not implem...
InspectBgp added to kubeclient_test
contiv_netplugin
train
go
6adfd633ea3309e6499318c8ef8c0f4d2530e9aa
diff --git a/discord/abc.py b/discord/abc.py index <HASH>..<HASH> 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -533,7 +533,7 @@ class Messageable(metaclass=abc.ABCMeta): channel = yield from self._get_channel() guild_id = self._get_guild_id() state = self._state - content = str(...
Allow Messageable.send to work with non-truthy types.
Rapptz_discord.py
train
py
86961874bcb0351b408cafd8766395cd521f8212
diff --git a/holoviews/plotting/element.py b/holoviews/plotting/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/element.py +++ b/holoviews/plotting/element.py @@ -309,8 +309,13 @@ class ElementPlot(Plot): """ view = self._get_frame(key) axis = self.handles['axis'] - axi...
Hiding artists and axis at each plotting level appropriately This adds support for animating varying numbers of Elements in Overlays
pyviz_holoviews
train
py
ae310201bc0006d9868d9730b64042feb9cea984
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,29 @@ var windows = { var ssbConfig = null var quitting = false +/** + * It's not possible to run two instances of patchwork as it would create two + * scuttlebot instances that conflict on the same port. Before ...
Focus existing patchwork if it is already running. Fixes #<I>
ssbc_patchwork
train
js
2d926f19c96246d22a976672cb40b8795715bab4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ setup( author_email='tigrawap@gmail.com', long_description=read('README.rst'), packages=['pybabel_hbs'], + url="https://github.com/tigrawap/pybabel-hbs", install_requires=[ 'babel...
Github url added to setup script
tigrawap_pybabel-hbs
train
py
6ae800dd698412b1639ac80560c5ed2a54963091
diff --git a/Helpers/Date.php b/Helpers/Date.php index <HASH>..<HASH> 100644 --- a/Helpers/Date.php +++ b/Helpers/Date.php @@ -64,7 +64,7 @@ class Date { } // werkt nog niet helemaal, werkt alleen bij y-m-d, moet alle datum type accepteren! - public static function isValidDate($date, $format = 'Y-m-d H:i...
changed method name isValidDate to isValid "Date" in method name is superfluous as the class is already named Date.
prototypemvc_prototypemvc
train
php
9da3b9254daa0737e9d2d3739db03c6211df5a88
diff --git a/fault/verilator_target.py b/fault/verilator_target.py index <HASH>..<HASH> 100644 --- a/fault/verilator_target.py +++ b/fault/verilator_target.py @@ -4,7 +4,6 @@ import magma.config as config import inspect import os import subprocess -from fault.array import Array import magma as m
Remove import of Array module (coming in later PR)
leonardt_fault
train
py
d4838fdcb2b311a01329d9994752894e3d308719
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -2,7 +2,7 @@ require 'active_support/core_ext/obje...
make sure the superclass matches so load order does not matter
rails_rails
train
rb,rb
67c0a96480669b2ee36596010a83ec9519c44c9b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,10 @@ function Plugin(paths, context) { Plugin.prototype.apply = function(compiler) { var self = this; + // exit if no paths passed in + if(self.paths === void 0) + return + // preform an rm -rf on each...
exit gracefully if no paths passed in
johnagan_clean-webpack-plugin
train
js
bd0f33c3b5b2b1d47831c6062e0dd749d21a35ef
diff --git a/resources/spec/models/refinery/resource_spec.rb b/resources/spec/models/refinery/resource_spec.rb index <HASH>..<HASH> 100644 --- a/resources/spec/models/refinery/resource_spec.rb +++ b/resources/spec/models/refinery/resource_spec.rb @@ -2,14 +2,6 @@ require 'spec_helper' module Refinery describe Res...
Remove unnecessary before(:all) and after(:all) rspec filters to reset max_file_size
refinery_refinerycms
train
rb
7f6ceee8bbe9189968c960e3593724a953b39151
diff --git a/locator/locator.go b/locator/locator.go index <HASH>..<HASH> 100644 --- a/locator/locator.go +++ b/locator/locator.go @@ -168,7 +168,8 @@ func vendorPathsForDirPath(dirPath string) ([]string, error) { func goSourcePaths() []string { result := []string{} - for _, path := range strings.Split(os.Getenv("...
Fix hard-coded unix-style path separator Props to @saintbrendan for discovering this. Unfortunately I don't have a windows vm handy, so I can't confirm this definitely allows tests to be run on windows, but I can certainly hope.
maxbrunsfeld_counterfeiter
train
go
e87e56446220d17a44f1979f16bd489da2f141f5
diff --git a/ghost/admin/app/components/editor-labs/modals/publish-flow.js b/ghost/admin/app/components/editor-labs/modals/publish-flow.js index <HASH>..<HASH> 100644 --- a/ghost/admin/app/components/editor-labs/modals/publish-flow.js +++ b/ghost/admin/app/components/editor-labs/modals/publish-flow.js @@ -67,7 +67,7 @@...
Fixed published posts count in publish flow no issue - the count fetch was including all posts rather than just published ones so it never matched the expected count
TryGhost_Ghost
train
js
8aba5e3c84c207160db0d0027e2ffc51b3606252
diff --git a/tests/mocha-reporter.js b/tests/mocha-reporter.js index <HASH>..<HASH> 100644 --- a/tests/mocha-reporter.js +++ b/tests/mocha-reporter.js @@ -75,9 +75,7 @@ module.exports = class ServerlessSpec extends Spec { try { removeSync(tmpDirCommonPath); } catch (error) { - if (error.co...
Ignore failed attempt to remove temporary home dir
serverless_serverless
train
js
f0394ab3be83ad013a931e4e90705065d121f3c1
diff --git a/SoftLayer/tests/fixtures/Product_Package.py b/SoftLayer/tests/fixtures/Product_Package.py index <HASH>..<HASH> 100644 --- a/SoftLayer/tests/fixtures/Product_Package.py +++ b/SoftLayer/tests/fixtures/Product_Package.py @@ -857,7 +857,7 @@ def get_bmc_categories_mock(): disk_prices2 = [ { - ...
Changes item id for disk2 so tests would cover it
softlayer_softlayer-python
train
py
560b066aa0fcc2e0e2c6361f57644be61d677ea8
diff --git a/test/core-graph-manipulation.js b/test/core-graph-manipulation.js index <HASH>..<HASH> 100644 --- a/test/core-graph-manipulation.js +++ b/test/core-graph-manipulation.js @@ -161,6 +161,17 @@ describe('Core graph manipulation', function(){ }); + it('adds with a bypass that alters bounds', functi...
Add headless (style disabled) test case and style-enabled test case The styleless case fails with the fix in #<I>, but the styled cases passes. Ref #<I> #<I>
cytoscape_cytoscape.js
train
js,js
1acc789b5aa9f8d331835956dd4bddb668e4fb09
diff --git a/package.js b/package.js index <HASH>..<HASH> 100644 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Almost i18n, with standard translations for basic meteor packages.", - version: "2.5.4", + version: "2.5.5", name: "softwarerero:accounts-t9n", git: "https://github...
Fix deprecated API use in package.js package.js is using long time deprecated API, that has been finally removed in Meteor <I>. Here is a fix.
softwarerero_meteor-accounts-t9n
train
js
953b8d3fceabd551431fba4a66adb8ae6c092c7c
diff --git a/beaver/transports/base_transport.py b/beaver/transports/base_transport.py index <HASH>..<HASH> 100644 --- a/beaver/transports/base_transport.py +++ b/beaver/transports/base_transport.py @@ -78,12 +78,12 @@ class BaseTransport(object): message = data[self._fields.get('message')] sh...
fixes GELF format according to specs GELF formatted messages need to be \0 ended. At least for sending over TCP.
python-beaver_python-beaver
train
py
056f16d219291b2fada6b9786e92738ceb566a7e
diff --git a/src/main/java/net/fortuna/ical4j/model/Recur.java b/src/main/java/net/fortuna/ical4j/model/Recur.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/fortuna/ical4j/model/Recur.java +++ b/src/main/java/net/fortuna/ical4j/model/Recur.java @@ -769,11 +769,17 @@ public class Recur implements Serializable ...
enforced stricter loop condition, added explanation
ical4j_ical4j
train
java
25b8b7f33e6e42ae12eb0eba7040c5e462471f35
diff --git a/kie-internal/src/main/java/org/kie/internal/runtime/manager/InternalRuntimeManager.java b/kie-internal/src/main/java/org/kie/internal/runtime/manager/InternalRuntimeManager.java index <HASH>..<HASH> 100644 --- a/kie-internal/src/main/java/org/kie/internal/runtime/manager/InternalRuntimeManager.java +++ b/k...
[JBPM-<I>] Drools/jBPM integration: high number of instances waiting for signal adversely impacts execution time
kiegroup_droolsjbpm-knowledge
train
java
e234776212266f6522cb2139184a8dd3d6609d52
diff --git a/jwt.js b/jwt.js index <HASH>..<HASH> 100644 --- a/jwt.js +++ b/jwt.js @@ -21,7 +21,7 @@ function fastifyJwt (fastify, options, next) { } var secret = options.secret - var defaultOptions = options.options + var defaultOptions = options.options || {} var secretCallback = secret if (typeof sec...
Fix for failed test: not ok Cannot convert undefined or null to object
fastify_fastify-jwt
train
js
76ca8b467e2380115488b530b57eedc39da23700
diff --git a/pyinfra/cli.py b/pyinfra/cli.py index <HASH>..<HASH> 100644 --- a/pyinfra/cli.py +++ b/pyinfra/cli.py @@ -563,7 +563,7 @@ def make_inventory( if limit_groupname in groups: all_hosts = [ host[0] if isinstance(host, tuple) else host - for host in groups[l...
Fix `--limit` with group name.
Fizzadar_pyinfra
train
py
d02e7aefac8498548d8b1a13cddd59ff0ada8939
diff --git a/isotopic_logging/proxy.py b/isotopic_logging/proxy.py index <HASH>..<HASH> 100644 --- a/isotopic_logging/proxy.py +++ b/isotopic_logging/proxy.py @@ -7,18 +7,14 @@ from functools import wraps from ._compat import PY3, string_types -if PY3: - _wrapped_method_names = { - name.lower() - ...
define wrapped method names for logger proxy in onle line (#4)
oblalex_isotopic-logging
train
py
7ce9e59f7e3ef21220434e8a380779eb7abc6088
diff --git a/pytest_falcon_client.py b/pytest_falcon_client.py index <HASH>..<HASH> 100644 --- a/pytest_falcon_client.py +++ b/pytest_falcon_client.py @@ -1,3 +1,5 @@ +from typing import Any, List, Optional, Tuple, Union + import pytest from falcon import testing @@ -13,24 +15,26 @@ class ApiTestClient(testing.Test...
Add more typing to client cls for better api declaration
sivakov512_pytest-falcon-client
train
py
5efda847c1a0dd8bec6c3e3e08e775a347c33229
diff --git a/structr-core/src/main/java/org/structr/core/graph/DeleteNodeCommand.java b/structr-core/src/main/java/org/structr/core/graph/DeleteNodeCommand.java index <HASH>..<HASH> 100644 --- a/structr-core/src/main/java/org/structr/core/graph/DeleteNodeCommand.java +++ b/structr-core/src/main/java/org/structr/core/gr...
Minor: Avoid unnecessary exceptions when trying to delete a 'null' node
structr_structr
train
java
d75d021f3f56fa84e61dbca7c8fb7af3bc90c923
diff --git a/src/components/menu/js/menuController.js b/src/components/menu/js/menuController.js index <HASH>..<HASH> 100644 --- a/src/components/menu/js/menuController.js +++ b/src/components/menu/js/menuController.js @@ -148,7 +148,7 @@ function MenuController($mdMenu, $attrs, $element, $scope, $mdUtil, $timeout) { ...
fix(menu): fixes JS focus error on close
angular_material
train
js
01a06c61d0df02d7baa271ead9a605dfbfbe4687
diff --git a/py/testdir_release/c10/test_c10_rel_gbm.py b/py/testdir_release/c10/test_c10_rel_gbm.py index <HASH>..<HASH> 100644 --- a/py/testdir_release/c10/test_c10_rel_gbm.py +++ b/py/testdir_release/c10/test_c10_rel_gbm.py @@ -58,7 +58,7 @@ class releaseTest(h2o_common.ReleaseCommon, unittest.TestCase): ...
just do <I> trees (didn't complete in <I> min with <I> trees)
h2oai_h2o-2
train
py
840d3214e680567a1aedde99aec9c916e633ceb9
diff --git a/java/client/src/org/openqa/selenium/chromium/ChromiumOptions.java b/java/client/src/org/openqa/selenium/chromium/ChromiumOptions.java index <HASH>..<HASH> 100644 --- a/java/client/src/org/openqa/selenium/chromium/ChromiumOptions.java +++ b/java/client/src/org/openqa/selenium/chromium/ChromiumOptions.java @...
Ensure chrome binary location is merged in ChromeOptions
SeleniumHQ_selenium
train
java
70b2cf7134ee078ab6d2c6eb4e3f6791fb45fa98
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -114,7 +114,7 @@ class TeamspeakQuery extends EventEmitter { params = { }; parsed.forEach(v => { - v = v.split(/=/).map(TeamspeakQuery.unescape); + v = v.split( v.indexOf('=') ).map(TeamspeakQuery.unescape); ...
Fixed an issue with the parser
schroffl_teamspeak-query
train
js
9dda312965068cd44e47adf2b62d4b63b9c488d3
diff --git a/hazelcast/src/main/java/com/hazelcast/config/XmlConfigBuilder.java b/hazelcast/src/main/java/com/hazelcast/config/XmlConfigBuilder.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/config/XmlConfigBuilder.java +++ b/hazelcast/src/main/java/com/hazelcast/config/XmlConfigBuilder.ja...
Binary property for MultiMap added in XmlConfigBuilder
hazelcast_hazelcast
train
java
028348ba266fdac49f1c74b0fe40b6ef2f12698a
diff --git a/src/Sulu/Component/Content/Mapper/ContentMapper.php b/src/Sulu/Component/Content/Mapper/ContentMapper.php index <HASH>..<HASH> 100644 --- a/src/Sulu/Component/Content/Mapper/ContentMapper.php +++ b/src/Sulu/Component/Content/Mapper/ContentMapper.php @@ -809,6 +809,11 @@ class ContentMapper implements Conte...
added disabled load event in breadcrumb
sulu_sulu
train
php
a2e9d4b8212388c461d6c4fff23b9dcf8403b0eb
diff --git a/src/org/parosproxy/paros/control/Control.java b/src/org/parosproxy/paros/control/Control.java index <HASH>..<HASH> 100644 --- a/src/org/parosproxy/paros/control/Control.java +++ b/src/org/parosproxy/paros/control/Control.java @@ -263,7 +263,7 @@ public class Control extends AbstractControl implements Sessi...
Set a name to shutdown threads Change Control and CoreAPI to use a name in the threads that shutdown ZAP.
zaproxy_zaproxy
train
java,java
b8e0a36f73ecb501d885768c85f936ed95bb0b3d
diff --git a/filters/chimerge_funcs.go b/filters/chimerge_funcs.go index <HASH>..<HASH> 100644 --- a/filters/chimerge_funcs.go +++ b/filters/chimerge_funcs.go @@ -1,7 +1,6 @@ package filters import ( - "fmt" "github.com/sjwhitworth/golearn/base" "math" ) @@ -185,21 +184,3 @@ func chiMergeMergeZipAdjacent(freq ...
Remove unused untested private function from chimerge_funcs
sjwhitworth_golearn
train
go
b4cc87eee3d398539c48c39a546438ece85ddb71
diff --git a/src/Phinx/Migration/Manager.php b/src/Phinx/Migration/Manager.php index <HASH>..<HASH> 100644 --- a/src/Phinx/Migration/Manager.php +++ b/src/Phinx/Migration/Manager.php @@ -516,7 +516,7 @@ class Manager { if (null === $this->migrations) { $config = $this->getConfig(); - ...
Use GLOB_BRACE constant only if it's available.
cakephp_phinx
train
php
b72a67741171434d43664992da744f917dc2fc35
diff --git a/gpiozero/boards.py b/gpiozero/boards.py index <HASH>..<HASH> 100644 --- a/gpiozero/boards.py +++ b/gpiozero/boards.py @@ -1695,9 +1695,9 @@ class PumpkinPi(LEDBoard): Usage: from gpiozero import PumpkinPi - pumpk = PumpkinPi(pwm=True) - pumpk.sides.pulse() - pumpk.off()...
Change URL and variable name in comments Add in URL for programmable board and change variable name to more appropriate pumpkin.
RPi-Distro_python-gpiozero
train
py
1b8511a244db6f7fc4adb0f286ffea49e8a7c5fe
diff --git a/categories/__init__.py b/categories/__init__.py index <HASH>..<HASH> 100644 --- a/categories/__init__.py +++ b/categories/__init__.py @@ -1,7 +1,7 @@ __version_info__ = { 'major': 0, 'minor': 4, - 'micro': 6, + 'micro': 7, 'releaselevel': 'final', 'serial': 0 } @@ -47,4 +47,4 @@...
upped version to <I>
callowayproject_django-categories
train
py
ff056774ce0696a69ef290ab6673d0f9963e115a
diff --git a/src/armet/utils.py b/src/armet/utils.py index <HASH>..<HASH> 100644 --- a/src/armet/utils.py +++ b/src/armet/utils.py @@ -7,6 +7,7 @@ import re import collections import os import pkgutil +import importlib import functools @@ -58,10 +59,10 @@ def dasherize(value): def iter_modules(package): ...
Fix to provide python 3 compatibility.
armet_python-armet
train
py
90120a82542ada7c91ae32283e15602e4d8c0105
diff --git a/O365/connection.py b/O365/connection.py index <HASH>..<HASH> 100644 --- a/O365/connection.py +++ b/O365/connection.py @@ -82,6 +82,7 @@ def delete_token(token_path=None): class Connection(with_metaclass(Singleton)): _oauth2_authorize_url = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize'...
Add the ability to specify default headers used in future requests. For example this gives you the ability to set Connection.default_headers = {'Prefer': 'outlook.body-content-type="text"'}, to request to be sent text instead of html from outlook for future calls.
O365_python-o365
train
py
7fcbda126b48f1618aff140b04296c2cc58d3cd3
diff --git a/src/extensions/layout.cola.js b/src/extensions/layout.cola.js index <HASH>..<HASH> 100644 --- a/src/extensions/layout.cola.js +++ b/src/extensions/layout.cola.js @@ -85,6 +85,8 @@ }; var onDone = function(){ + this.manuallyStopped = false; + if( options.ungrabifyWhileSimulating ){ ...
fix cola not stoppable in infinite mode
cytoscape_cytoscape.js
train
js
d80925bc2cd8328390adcb54ae64323d379602eb
diff --git a/dom/src/render-dom.js b/dom/src/render-dom.js index <HASH>..<HASH> 100644 --- a/dom/src/render-dom.js +++ b/dom/src/render-dom.js @@ -83,7 +83,7 @@ function makeIsStrictlyInRootScope(rootList, namespace) { return true } - const classList = el.classList || el.className.split(` `) + ...
fix classList access for SVG elements on iOS6 The webkit version used in iOS6 does not implement classList for SVGElement. The className of the SVG element is not a real String and provides no split method.
cyclejs_cyclejs
train
js
0ab1b75dbc70efc9efd5bec58a1fd4422132d8ef
diff --git a/lib/base.js b/lib/base.js index <HASH>..<HASH> 100644 --- a/lib/base.js +++ b/lib/base.js @@ -584,9 +584,11 @@ class WebpackBaseBuilder { this.config.proxy = proxy; } - setDevMode(port, proxy = false) { + setDevMode(port, proxy) { this.config.port = port || 9000; - this.config.proxy = p...
fix: server side render, egg local dev mode , proxy static resource proxy to <I> address
easy-team_easywebpack
train
js
5ccbec7c3cea4657c22810da2c2bbd028297fe9d
diff --git a/ph-commons/src/main/java/com/helger/commons/ws/AbstractWSClientCaller.java b/ph-commons/src/main/java/com/helger/commons/ws/AbstractWSClientCaller.java index <HASH>..<HASH> 100644 --- a/ph-commons/src/main/java/com/helger/commons/ws/AbstractWSClientCaller.java +++ b/ph-commons/src/main/java/com/helger/comm...
Trying to add a work around for MASM<I>
phax_ph-commons
train
java
b70aaec4acb8eedd72b4e06f7fe67e95de094488
diff --git a/dev/idangerous.swiper.js b/dev/idangerous.swiper.js index <HASH>..<HASH> 100644 --- a/dev/idangerous.swiper.js +++ b/dev/idangerous.swiper.js @@ -1334,12 +1334,13 @@ var Swiper = function (selector, params, callback) { _this.activeSlide = _this.activeIndex; // mark active slide + ...
Switch to using className vs. classList for better backwards compatibility.
nolimits4web_swiper
train
js
b570153235891d6ba5e5e776c4afedf5c2514d92
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -463,7 +463,14 @@ class DataFrame(NDFrame): return com.console_encode(buf.getvalue()) def _repr_html_(self): - return self.to_html() + if len(self.i...
ENH: wrap _repr_html in a scrollable div, switch over to info for large frame
pandas-dev_pandas
train
py
c6e46d37bce3ed098bbc4dab0f84987482f9a639
diff --git a/mod/scorm/datamodels/aicc.js.php b/mod/scorm/datamodels/aicc.js.php index <HASH>..<HASH> 100644 --- a/mod/scorm/datamodels/aicc.js.php +++ b/mod/scorm/datamodels/aicc.js.php @@ -10,6 +10,9 @@ } } } + if (!isset($currentorg)) { + $currentorg = ''; + } ?> // // SCOR...
MDL-<I> - Fixed missing of currentorg initialization in AICC API
moodle_moodle
train
php
75c7c919be4aee170171708c4032112e271f4050
diff --git a/lib/gitlab/help.rb b/lib/gitlab/help.rb index <HASH>..<HASH> 100644 --- a/lib/gitlab/help.rb +++ b/lib/gitlab/help.rb @@ -83,6 +83,13 @@ module Gitlab::Help def change_help_output!(cmd, output_str) output_str.gsub!(/#{cmd}\((.*?)\)/m, cmd+' \1') output_str.gsub!(/\,[\s]*/, ' ') + +...
Improved parameter description in help output. We now render each `@option` value on a separate line for better readability.
NARKOZ_gitlab
train
rb
ab3960c4d973f6e8afc8622923346a9e7f36921e
diff --git a/src/Dingo/Api/Routing/Router.php b/src/Dingo/Api/Routing/Router.php index <HASH>..<HASH> 100644 --- a/src/Dingo/Api/Routing/Router.php +++ b/src/Dingo/Api/Routing/Router.php @@ -164,9 +164,11 @@ class Router extends \Illuminate\Routing\Router { $message = sprintf('%d %s', $exception->getStatusCode(), R...
Only add errors if there are errors.
laravie_api
train
php
d58a26532d41f63a24ea66361c7c7696e2cb48ed
diff --git a/canvas.js b/canvas.js index <HASH>..<HASH> 100644 --- a/canvas.js +++ b/canvas.js @@ -151,6 +151,7 @@ Canvas.drawFunction = { this.canvas.moveTo(this.X(points[0].x), this.Y(points[0].y)); for (var i = 0, _i = points.length; i < _i; i = 0|i+1) { this.canvas.lineTo(this.X(point...
fix behavior of canvas.fn.draw() when thrown NaN.
pandanoir_unitaryjs
train
js
d074ee56f3e21800ebd2f4e13673056ecbfc68a7
diff --git a/framework/validators/CFilterValidator.php b/framework/validators/CFilterValidator.php index <HASH>..<HASH> 100644 --- a/framework/validators/CFilterValidator.php +++ b/framework/validators/CFilterValidator.php @@ -18,7 +18,7 @@ * <pre> * function foo($value) {...return $newValue; } * </pre> - * Many ...
added a little term added a little term that better clarifies that the comment refers to many PHP *built in* functions, not generally speaking PHP functions.
yiisoft_yii
train
php
338ba140ecd9788052d316936add0170a388aac4
diff --git a/tornado/test/simple_httpclient_test.py b/tornado/test/simple_httpclient_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -223,6 +223,6 @@ class SimpleHTTPClientTestCase(AsyncHTTPTestCase, LogTrapTestCase): url = self.g...
Make a recently-added test pass in python3
tornadoweb_tornado
train
py
783b03ad0e1b2c2ad46d1488ad2c6aa9fe15360e
diff --git a/moneta-core/src/main/java/org/javamoney/moneta/internal/format/CurrencyToken.java b/moneta-core/src/main/java/org/javamoney/moneta/internal/format/CurrencyToken.java index <HASH>..<HASH> 100644 --- a/moneta-core/src/main/java/org/javamoney/moneta/internal/format/CurrencyToken.java +++ b/moneta-core/src/mai...
JavaMoney/jsr<I>-ri/issues/<I> Parsing a '$' as currency (symbol) will throw an exception, since the symbol is not unique. Pass the ISO currency code instead of.
JavaMoney_jsr354-ri
train
java
fe30ee17093c584665edd890db14db27f4b699d2
diff --git a/pkg/oc/experimental/dockergc/dockergc.go b/pkg/oc/experimental/dockergc/dockergc.go index <HASH>..<HASH> 100644 --- a/pkg/oc/experimental/dockergc/dockergc.go +++ b/pkg/oc/experimental/dockergc/dockergc.go @@ -56,8 +56,10 @@ var ( If the OpenShift node is configured to use a container runtime other than...
dockergc: storage driver support limited to overlay2
openshift_origin
train
go
e45da1dc255c8f0b799c60cda56ccd3266e0573e
diff --git a/ui/src/admin/apis/index.js b/ui/src/admin/apis/index.js index <HASH>..<HASH> 100644 --- a/ui/src/admin/apis/index.js +++ b/ui/src/admin/apis/index.js @@ -7,7 +7,7 @@ export const getUsers = async (url) => { url, }) } catch (error) { - console.error(error) // eslint-disable-line no-console...
Remove old linter overrides
influxdata_influxdb
train
js
171773b7078c47324590dd821a66f03e52844c75
diff --git a/Newrelic.php b/Newrelic.php index <HASH>..<HASH> 100644 --- a/Newrelic.php +++ b/Newrelic.php @@ -70,10 +70,15 @@ class Newrelic extends Component implements BootstrapInterface { parent::init(); - if ($this->enabled && Agent::isLoaded()) { - $this->name = $this->name ? $th...
Don't crush application if newrelic ext is missing
bazilio91_yii2-newrelic
train
php
d6a242079813db28db7fdb4d1963490bbbc7af11
diff --git a/base/app/models/actor.rb b/base/app/models/actor.rb index <HASH>..<HASH> 100644 --- a/base/app/models/actor.rb +++ b/base/app/models/actor.rb @@ -30,10 +30,6 @@ class Actor < ActiveRecord::Base acts_as_url :name, :url_attribute => :slug serialize :notification_settings - def notification_settings ...
Rearrange Actor#notification_settings method
ging_social_stream
train
rb
a2e6e20820d9c4dbd2c97a8ea052b5b3f3201e0f
diff --git a/test/com/google/javascript/jscomp/ConvertToDottedPropertiesTest.java b/test/com/google/javascript/jscomp/ConvertToDottedPropertiesTest.java index <HASH>..<HASH> 100644 --- a/test/com/google/javascript/jscomp/ConvertToDottedPropertiesTest.java +++ b/test/com/google/javascript/jscomp/ConvertToDottedPropertie...
Remove unnecessary language mode selection in test. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
d7f2d7602cd8d07470ec3fa367d380d88c5e7c88
diff --git a/src/Readability.php b/src/Readability.php index <HASH>..<HASH> 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -204,7 +204,7 @@ class Readability extends Element implements ReadabilityInterface } // Look for a special ID - $id = $this->getAttribute('class'); + ...
Fixed a wrong call to get the ID using 'class' as tag name instead of 'id'
andreskrey_readability.php
train
php