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
588ab5a148858d06cc5b86ea341c31605297e649
diff --git a/lib/table_me/filter.rb b/lib/table_me/filter.rb index <HASH>..<HASH> 100644 --- a/lib/table_me/filter.rb +++ b/lib/table_me/filter.rb @@ -9,6 +9,10 @@ module TableMe @@filters = {} + def self.init + @@filters = {} + end + def initialize options, column_name self.options ...
Added an init method to clear filters every time the table_for class is ran since class variables persist.
renz45_table_me
train
rb
3a95140a0ee824fdcb5910c2accb1981620efea5
diff --git a/ipyrad/assemble/clustmap.py b/ipyrad/assemble/clustmap.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/clustmap.py +++ b/ipyrad/assemble/clustmap.py @@ -1976,7 +1976,15 @@ def mapping_reads(data, sample, nthreads, altref=False): proc4 = sps.Popen(cmd4, stderr=sps.STDOUT, stdout=sps.PIPE) err...
clustmap: Handle bam files with very large chromosomes (#<I>)
dereneaton_ipyrad
train
py
e20944ec9598f527d4c6a0d305050f1bd3016060
diff --git a/src/Renderer.php b/src/Renderer.php index <HASH>..<HASH> 100644 --- a/src/Renderer.php +++ b/src/Renderer.php @@ -18,7 +18,7 @@ class Renderer /** * @var LocatorInterface */ - public $locator; + private $locator; /** * @var Section @@ -28,7 +28,7 @@ class Renderer /...
made $locator and $services as private properties. fixed test to access via setRoot method, instead of directly accessing locator.
TuumPHP_View
train
php,php
f85936687c99215f0d3f9632ece0135d4ba690e4
diff --git a/tests/Messages/FactoryTest.php b/tests/Messages/FactoryTest.php index <HASH>..<HASH> 100644 --- a/tests/Messages/FactoryTest.php +++ b/tests/Messages/FactoryTest.php @@ -4,6 +4,7 @@ namespace WyriHaximus\React\Tests\ChildProcess\Messenger\Messages; use WyriHaximus\React\ChildProcess\Messenger\Messages\F...
Added test that checks for exception for uknown message type
WyriHaximus_reactphp-child-process-messenger
train
php
b1a119c4578327e6c69a1ee044b9f3573dbd9fc1
diff --git a/test/cases/coerced_tests.rb b/test/cases/coerced_tests.rb index <HASH>..<HASH> 100644 --- a/test/cases/coerced_tests.rb +++ b/test/cases/coerced_tests.rb @@ -50,6 +50,10 @@ end require "models/event" module ActiveRecord class AdapterTest < ActiveRecord::TestCase + # Legacy binds are not supported. ...
Legacy binds are not supported (#<I>)
rails-sqlserver_activerecord-sqlserver-adapter
train
rb
10e689fcb67a4f5ecfeab0c3b6d844e0a437f54a
diff --git a/openquake/hazardlib/calc/filters.py b/openquake/hazardlib/calc/filters.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/calc/filters.py +++ b/openquake/hazardlib/calc/filters.py @@ -340,7 +340,7 @@ class SourceFilter(object): for sid, lon, lat in zip(sitecol.sids, sitecol.lons, sitecol...
Improved comment [skip CI]
gem_oq-engine
train
py
6b0e6f5770d1a4c5447550465f1191e731987e05
diff --git a/java/client/src/org/openqa/selenium/devtools/Connection.java b/java/client/src/org/openqa/selenium/devtools/Connection.java index <HASH>..<HASH> 100644 --- a/java/client/src/org/openqa/selenium/devtools/Connection.java +++ b/java/client/src/org/openqa/selenium/devtools/Connection.java @@ -174,6 +174,7 @@ p...
[cdp] Throw an exception if unable to process a message
SeleniumHQ_selenium
train
java
b6dd5d4cff4787b562bd76907c241f6c0dad751b
diff --git a/cmd/kubecfg/kubecfg.go b/cmd/kubecfg/kubecfg.go index <HASH>..<HASH> 100644 --- a/cmd/kubecfg/kubecfg.go +++ b/cmd/kubecfg/kubecfg.go @@ -80,6 +80,7 @@ var parser = kubecfg.NewParser(map[string]runtime.Object{ "services": &api.Service{}, "replicationControllers": &api.ReplicationControlle...
Add events to kubecfg's list of resource types (kubectl appears to be correct already)
kubernetes_kubernetes
train
go
39e5b2dd01286f50a0822834e18fc7709a4f6bcb
diff --git a/lib/hipchat/room.rb b/lib/hipchat/room.rb index <HASH>..<HASH> 100644 --- a/lib/hipchat/room.rb +++ b/lib/hipchat/room.rb @@ -94,7 +94,7 @@ module HipChat :headers => @api.headers) ErrorHandler.response_code_to_exception_for :room, room_id, response - response.body + wrap_users(...
Wrap members/participants as User instances
hipchat_hipchat-rb
train
rb
b61a8f7184e4a64bfd5dec39365be04e79de3210
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,8 @@ var exec = require('child_process').exec; var flowToJshint = require('flow-to-jshint'); var stylish = require('jshint-stylish/stylish').reporter; +var passed = true; + function executeFlow(PATH, callback) { ...
Fixed issue where success message prints after every file
charliedowler_gulp-flowtype
train
js
e59aeed242c63d6d978140c0cbeda0fd9a09c1e1
diff --git a/manager-bundle/src/Routing/RouteLoader.php b/manager-bundle/src/Routing/RouteLoader.php index <HASH>..<HASH> 100644 --- a/manager-bundle/src/Routing/RouteLoader.php +++ b/manager-bundle/src/Routing/RouteLoader.php @@ -69,8 +69,11 @@ class RouteLoader new RouteCollection() ); - ...
[Manager] Order all Contao frontend routes to be the last ones (#<I>)
contao_contao
train
php
7ff8de21aca7fd16e0979840858e7bab8639df58
diff --git a/src/properties/class-papi-property-repeater.php b/src/properties/class-papi-property-repeater.php index <HASH>..<HASH> 100644 --- a/src/properties/class-papi-property-repeater.php +++ b/src/properties/class-papi-property-repeater.php @@ -521,7 +521,7 @@ class Papi_Property_Repeater extends Papi_Property { ...
Use papi_doing_ajax instead of check for defined
wp-papi_papi
train
php
6f15dddecef7d180c82827cbe5a9ded59e3aef80
diff --git a/mediasync/clients/s3.py b/mediasync/clients/s3.py index <HASH>..<HASH> 100644 --- a/mediasync/clients/s3.py +++ b/mediasync/clients/s3.py @@ -49,7 +49,8 @@ class Client(object): } # check to see if file should be gzipped based on content_type - if content_type in TYPES_TO...
ignore compression on files that are smaller than 1KB
sunlightlabs_django-mediasync
train
py
5456655a85019b41109e5a1c83e646fbd6a6ab68
diff --git a/test/e2e/cluster-logging/sd_load.go b/test/e2e/cluster-logging/sd_load.go index <HASH>..<HASH> 100644 --- a/test/e2e/cluster-logging/sd_load.go +++ b/test/e2e/cluster-logging/sd_load.go @@ -44,7 +44,7 @@ var _ = framework.KubeDescribe("Cluster level logging using GCL [Feature:Stackdr loggingDuration := ...
Increase timeout for Stackdriver Logging e2e tests
kubernetes_kubernetes
train
go
823c0c248c3f234d5326633496f6485b56e1d238
diff --git a/plugins/typescript/index.js b/plugins/typescript/index.js index <HASH>..<HASH> 100644 --- a/plugins/typescript/index.js +++ b/plugins/typescript/index.js @@ -50,7 +50,7 @@ exports.apply = ( .options( Object.assign( { - transpileOnly: true, + transpileOnly: a...
fix(typescript): Don't set `transpileOnly` in parallel mode (#<I>)
egoist_poi
train
js
8da50ba403246a56b56511290fd4bea182dcd55d
diff --git a/eventsourcing/infrastructure/sequenceditem.py b/eventsourcing/infrastructure/sequenceditem.py index <HASH>..<HASH> 100644 --- a/eventsourcing/infrastructure/sequenceditem.py +++ b/eventsourcing/infrastructure/sequenceditem.py @@ -28,8 +28,5 @@ class SequencedItemFieldNames(object): # Data is assum...
Removed __iter__ because there is a __getitem__.
johnbywater_eventsourcing
train
py
1f1402d68458fbb09a75fdd8dcf9c685f78f8dce
diff --git a/src/com/mebigfatguy/fbcontrib/detect/RuntimeExceptionDeclared.java b/src/com/mebigfatguy/fbcontrib/detect/RuntimeExceptionDeclared.java index <HASH>..<HASH> 100755 --- a/src/com/mebigfatguy/fbcontrib/detect/RuntimeExceptionDeclared.java +++ b/src/com/mebigfatguy/fbcontrib/detect/RuntimeExceptionDeclared.ja...
Github #<I> oops forgot to change class contents
mebigfatguy_fb-contrib
train
java
4d7b81da574b9b4bad548e4b772f41700e5a9c31
diff --git a/app/i18n/no_NO/inflection.php b/app/i18n/no_NO/inflection.php index <HASH>..<HASH> 100644 --- a/app/i18n/no_NO/inflection.php +++ b/app/i18n/no_NO/inflection.php @@ -14,7 +14,7 @@ return array 'plural' => array ( - '/er$/i' => "re", + '/er$/i' => "ere", '/e$/i' => "er", '/$/' => "er...
Updated norwegian inflection rules
mako-framework_framework
train
php
450bbb910dbcc802886e0ba4a376970feffb690d
diff --git a/lib/callAll.js b/lib/callAll.js index <HASH>..<HASH> 100644 --- a/lib/callAll.js +++ b/lib/callAll.js @@ -128,7 +128,7 @@ module.exports = function(self, options) { } else if (_doc.slug === 'global') { // The global doc } else if ((options.workflowMissingLocalesLive === 'liveOn...
inheriting the parent's trash status only makes sense if we're a draft
apostrophecms_apostrophe-workflow
train
js
54214efea29da0c8c885d346efb673cb2f26dc28
diff --git a/Widgets/RootView/Viewify.js b/Widgets/RootView/Viewify.js index <HASH>..<HASH> 100644 --- a/Widgets/RootView/Viewify.js +++ b/Widgets/RootView/Viewify.js @@ -308,7 +308,6 @@ if (!window.Viewify) window.Viewify = function Viewify(_class, versionString) { */ DisableTitleBar() { log.w('deprecated D...
accidentily pasted my clipboard pre commit
IntrospectiveSystems_xGraph
train
js
c5d4eba20d0e29df36dcc15598dee6de29163ca6
diff --git a/src/main/java/com/conveyal/gtfs/GTFSFeed.java b/src/main/java/com/conveyal/gtfs/GTFSFeed.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/conveyal/gtfs/GTFSFeed.java +++ b/src/main/java/com/conveyal/gtfs/GTFSFeed.java @@ -234,15 +234,7 @@ public class GTFSFeed implements Cloneable, Closeable { ...
refactor(GTFSFeed): remove commented out code BREAKING CHANGE: This PR removes a few heavyweight indexes that are no longer used. It also removes the FeedStats class/stats package.
conveyal_gtfs-lib
train
java
cd715996e0e4a9007a2cc120e338fed477e8f23e
diff --git a/src/HTMLPurifierLaravel.php b/src/HTMLPurifierLaravel.php index <HASH>..<HASH> 100644 --- a/src/HTMLPurifierLaravel.php +++ b/src/HTMLPurifierLaravel.php @@ -31,7 +31,7 @@ class HTMLPurifierLaravel { $config = $this->getConfig(); // Filesystem - $this->filesystem = resolve(Filesystem::class); + $...
Use app() helper instead of resolve()
AlfredoRamos_parsedown-extra-laravel
train
php,php
9ba1660d3721342dd353360383b4fe9463ffb723
diff --git a/docs/app/js/codepen.js b/docs/app/js/codepen.js index <HASH>..<HASH> 100644 --- a/docs/app/js/codepen.js +++ b/docs/app/js/codepen.js @@ -122,8 +122,8 @@ return content + '\n\n'+ commentStart + '\n'+ 'Copyright 2016 Google Inc. All Rights Reserved. \n'+ - 'Use of thi...
fix(docs): codepen should link to correct license link * Currently when checking out a codepen, the license will be appended to all source files. The license of the docs will be linked inside of that comment. But that link is not correct. * Fix incorrect wording for the license footer for codpens Closes #<I>
angular_material
train
js
ee9ff244115ce0ce643026707d34aa73dadaa6fc
diff --git a/libraries/lithium/tests/cases/data/model/QueryTest.php b/libraries/lithium/tests/cases/data/model/QueryTest.php index <HASH>..<HASH> 100644 --- a/libraries/lithium/tests/cases/data/model/QueryTest.php +++ b/libraries/lithium/tests/cases/data/model/QueryTest.php @@ -243,6 +243,10 @@ class QueryTest extends ...
testing that model() in `Query` sets the table source
UnionOfRAD_framework
train
php
fb78b01d44f6c9d95fb178bcb6d9f6b0037599b2
diff --git a/src/tests/unexpected-react-shallow.spec.js b/src/tests/unexpected-react-shallow.spec.js index <HASH>..<HASH> 100644 --- a/src/tests/unexpected-react-shallow.spec.js +++ b/src/tests/unexpected-react-shallow.spec.js @@ -1073,7 +1073,7 @@ describe('unexpected-react-shallow', () => { '</div>')...
Remove the .skip for the test that now passes unexpected-htmllike-jsx-adapter <I> fixes this issue
bruderstein_unexpected-react
train
js
2434f6c9ba245644e9e8197f398a5f2d4933250a
diff --git a/lib/data_mapper/validations.rb b/lib/data_mapper/validations.rb index <HASH>..<HASH> 100644 --- a/lib/data_mapper/validations.rb +++ b/lib/data_mapper/validations.rb @@ -31,7 +31,7 @@ module DataMapper # # @api public def valid_for_default? - validate(:default) + valid?(:default) ...
Fix my over-zealous redefinition of Validations#valid_for_default?.
emmanuel_aequitas
train
rb
5bb2cc6d629023f2f66ddd907b9b2f0775ae5f22
diff --git a/queue/beanstalk.go b/queue/beanstalk.go index <HASH>..<HASH> 100644 --- a/queue/beanstalk.go +++ b/queue/beanstalk.go @@ -13,6 +13,7 @@ import ( "github.com/globocom/tsuru/log" "github.com/kr/beanstalk" "io" + "net" "regexp" "sync" "time" @@ -102,6 +103,9 @@ func (b beanstalkdFactory) Handler(f...
queue/beanstalk: wait 5 seconds before dialing to beanstalk on failures Fix #<I>.
tsuru_tsuru
train
go
c45b9d69192b0a9becf7d5d8ea57b5f8a09a403a
diff --git a/pools.go b/pools.go index <HASH>..<HASH> 100644 --- a/pools.go +++ b/pools.go @@ -200,3 +200,19 @@ func (p *Pool) GetBucket(name string) (b Bucket, err error) { } return rv, nil } + +// Convenience function for getting a named bucket from a URL +func GetBucket(endpoint, poolname, bucketname string) (B...
Added GetBucket(url, pool, bucket)
couchbase_go-couchbase
train
go
aceae4b821c5802ae47f93e599c9e2ec7afb5e02
diff --git a/benchexec/cgroups.py b/benchexec/cgroups.py index <HASH>..<HASH> 100644 --- a/benchexec/cgroups.py +++ b/benchexec/cgroups.py @@ -164,7 +164,7 @@ def remove_cgroup(cgroup): class Cgroup(object): def __init__(self, cgroupsPerSubsystem): - assert cgroupsPerSubsystem.keys() <= ALL_KNOWN_SUBSYST...
Some compatibility fixes for making runexecutor work on Python 2
sosy-lab_benchexec
train
py,py
634e462a0b70ddae2f21dbddddd07e7b340bb69c
diff --git a/activesupport/lib/active_support/core_ext/hash/except.rb b/activesupport/lib/active_support/core_ext/hash/except.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/core_ext/hash/except.rb +++ b/activesupport/lib/active_support/core_ext/hash/except.rb @@ -10,13 +10,14 @@ module ActiveSupp...
Performance: speed up Hash#except. [#<I> state:resolved]
rails_rails
train
rb
371856149f76f8699edb99c2ca4ea10593c61437
diff --git a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java index <HASH>..<HASH> 100644 --- a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java +++ b/s...
Optimize the performance of reading source code
apache_groovy
train
java
b4e893e3960183639b035c1b239fa1ae540f5d5e
diff --git a/core/logging/client.js b/core/logging/client.js index <HASH>..<HASH> 100644 --- a/core/logging/client.js +++ b/core/logging/client.js @@ -51,24 +51,15 @@ var makeLogger = function(group, opts){ if (config.levels[level] < config.levels[this.level]) return; - if (monochrome){ - console_log.apply...
Factor out color/monochrome client side log commonality
redfin_react-server
train
js
7db6e8c242c4927384ae25c1b7853471a35ede24
diff --git a/server.js b/server.js index <HASH>..<HASH> 100644 --- a/server.js +++ b/server.js @@ -47,21 +47,6 @@ function create(options) { manifestsPath = urlPath + manifestsPath.slice(1); } - function httpDate(d) { - function pad(n) { return n < 10 ? '0' + n : String(n); } - return [...
remove unused code this function is never used. Can be removed
Open-Xchange-Frontend_appserver
train
js
36ee79489b01113e521b28f87eba7bc163b822a1
diff --git a/Security/Authentication/Provider/PasswordDigestValidator.php b/Security/Authentication/Provider/PasswordDigestValidator.php index <HASH>..<HASH> 100644 --- a/Security/Authentication/Provider/PasswordDigestValidator.php +++ b/Security/Authentication/Provider/PasswordDigestValidator.php @@ -35,9 +35,12 @@ cl...
Gives a margin of 5 minutes in the future for browser with a slight jetlag
alcalyn_symfony-wsse
train
php
44475f5e62fb1f9441014cc5efe74e3f85e43276
diff --git a/js/admin.js b/js/admin.js index <HASH>..<HASH> 100644 --- a/js/admin.js +++ b/js/admin.js @@ -3,12 +3,14 @@ * @copyright Aimeos (aimeos.org), 2015-2022 */ - /* Check for preferred theme mode (dark/light) */ - const prefersDark = window.matchMedia("(prefers-color-scheme: dark)"); -if (prefersDark.ma...
Update default light / dark theme handling (#<I>) Updated approach for setting the default light / dark theme to explicitly remove the "light", and add the "dark", class to the body element. Theme is set to "light" by default based on cookie presence / contents. Note: Previous approach would revert to light theme w...
aimeos_ai-admin-jqadm
train
js
968f532a40c69e241489874567d57d5d6ca3aa7a
diff --git a/src/Mcamara/LaravelLocalization/LaravelLocalization.php b/src/Mcamara/LaravelLocalization/LaravelLocalization.php index <HASH>..<HASH> 100644 --- a/src/Mcamara/LaravelLocalization/LaravelLocalization.php +++ b/src/Mcamara/LaravelLocalization/LaravelLocalization.php @@ -77,7 +77,7 @@ class LaravelLocalizati...
Update LaravelLocalization.php
mcamara_laravel-localization
train
php
4cd89d091e5cb165c393145f2bf4b41a87016eb6
diff --git a/src/Dispatcher/ExceptionHandler.php b/src/Dispatcher/ExceptionHandler.php index <HASH>..<HASH> 100644 --- a/src/Dispatcher/ExceptionHandler.php +++ b/src/Dispatcher/ExceptionHandler.php @@ -36,8 +36,8 @@ class ExceptionHandler extends Plugin "controller" => $this->controller, ...
Added trailing commas to arrays
SidRoberts_phalcon-events
train
php,php
5f558998b5e4832ded4791d613dca253739a38f7
diff --git a/pymzn/mzn/solvers.py b/pymzn/mzn/solvers.py index <HASH>..<HASH> 100644 --- a/pymzn/mzn/solvers.py +++ b/pymzn/mzn/solvers.py @@ -421,8 +421,15 @@ class Gurobi(MIPSolver): The path to the directory for global included files. """ - def __init__(self, path='mzn-gurobi', globals_dir='linear...
mzn/solvers: add dll option to gurobi
paolodragone_pymzn
train
py
65a41f6ccc57ef7bb39fe779d9af4ce5e29ba34f
diff --git a/scripts/rollup-build.js b/scripts/rollup-build.js index <HASH>..<HASH> 100644 --- a/scripts/rollup-build.js +++ b/scripts/rollup-build.js @@ -3,6 +3,7 @@ import nodeResolve from 'rollup-plugin-node-resolve'; import babel from 'rollup-plugin-babel'; import uglify from 'rollup-plugin-uglify'; import commo...
chore: use filesize rollup plugin during in build script
probil_vue-socket.io-extended
train
js
03ea278a8221c0bc34d12a36f0895bfa22dbb099
diff --git a/lib/browser.js b/lib/browser.js index <HASH>..<HASH> 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -15,6 +15,7 @@ const request = require('request'), const defaults = { rejectUnauthorized: false, jar: request.jar(), + timeout: 15000, headers: { 'X-Reque...
set request timeout to prevent requests wandering off into la-la land
SockDrawer_SockBot
train
js
69bbb0559d062d586641b1cb2c1ffcc4a2283814
diff --git a/scheduler/management/commands/trigger_periodic_task.py b/scheduler/management/commands/trigger_periodic_task.py index <HASH>..<HASH> 100644 --- a/scheduler/management/commands/trigger_periodic_task.py +++ b/scheduler/management/commands/trigger_periodic_task.py @@ -68,8 +68,15 @@ class Command(BaseCommand)...
have the app deal with the task if not loaded yet
praekeltfoundation_seed-scheduler
train
py
2ff5e189f3d05d4beb5e08f1ba1a09c8c34c0ae1
diff --git a/prospector/tools/profile_validator/__init__.py b/prospector/tools/profile_validator/__init__.py index <HASH>..<HASH> 100644 --- a/prospector/tools/profile_validator/__init__.py +++ b/prospector/tools/profile_validator/__init__.py @@ -27,11 +27,14 @@ class ProfileValidationTool(ToolBase): def __init_...
The profile validator should ignore warnings and messages the same as any other tool
PyCQA_prospector
train
py
3fcea1b0bfbafaa82be432703b16ae4f90f7f81c
diff --git a/src/processor/global-intents/power/_diePowerCreep.js b/src/processor/global-intents/power/_diePowerCreep.js index <HASH>..<HASH> 100644 --- a/src/processor/global-intents/power/_diePowerCreep.js +++ b/src/processor/global-intents/power/_diePowerCreep.js @@ -41,9 +41,9 @@ module.exports = function(object, {...
hotfix: PowerCreep drop on death
screeps_engine
train
js
dc6b5dc0a9d2944504f7322ff51b82a4badc8b3e
diff --git a/frontend/src/javascripts/components/user/UserSectionEdit.react.js b/frontend/src/javascripts/components/user/UserSectionEdit.react.js index <HASH>..<HASH> 100644 --- a/frontend/src/javascripts/components/user/UserSectionEdit.react.js +++ b/frontend/src/javascripts/components/user/UserSectionEdit.react.js @...
fixed forgot to write ajaxNowUserLoad bug
maru-u_notee
train
js
1efd88b0bd71d6e328a5008e475d07979b578164
diff --git a/packages/mjml-cli/src/commands/outputToFile.js b/packages/mjml-cli/src/commands/outputToFile.js index <HASH>..<HASH> 100644 --- a/packages/mjml-cli/src/commands/outputToFile.js +++ b/packages/mjml-cli/src/commands/outputToFile.js @@ -17,7 +17,7 @@ const replaceExtension = input => input.replace('.mjml...
fix guess output path when using backslashes
mjmlio_mjml
train
js
1345b15cf02beb74d31646c0b694a13e0e5265e6
diff --git a/Components/FieldsManager.php b/Components/FieldsManager.php index <HASH>..<HASH> 100644 --- a/Components/FieldsManager.php +++ b/Components/FieldsManager.php @@ -20,6 +20,7 @@ use Splash\Models\Fields\FieldsManagerTrait; * @abstract Fields Definition & Data Manager * Collection of Basic...
Added FieldsManager & Migrate Functions to FieldsManagerTrait
SplashSync_Php-Core
train
php
4fd0225ad318d05379d95c2184c4a78ed7fadcd8
diff --git a/recipe-server/normandy/recipes/migrations/0045_update_action_hashes.py b/recipe-server/normandy/recipes/migrations/0045_update_action_hashes.py index <HASH>..<HASH> 100644 --- a/recipe-server/normandy/recipes/migrations/0045_update_action_hashes.py +++ b/recipe-server/normandy/recipes/migrations/0045_updat...
Fix lint checks in migration recipes/<I>.
mozilla_normandy
train
py
f7c0e142e92060f910a5bd25798e965a0a208f53
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -931,11 +931,11 @@ class VolumeDescriptorSetTerminator(object): self.version = 1 self.initialized = True - def write(self, outfp): + def record(self): if not self.initialized: ra...
Move Terminator writing out into main class.
clalancette_pycdlib
train
py
b286aa84a2c1280f7f629bbe496aae09bb20fab4
diff --git a/sdcclient/_client.py b/sdcclient/_client.py index <HASH>..<HASH> 100644 --- a/sdcclient/_client.py +++ b/sdcclient/_client.py @@ -863,3 +863,20 @@ class SdcClient: if not self.__checkResponse(res): return [False, self.lasterr] return [True, res.json()] + + def get_agents_c...
added a couple of agent config methods
draios_python-sdc-client
train
py
ff8736b097a1557bc1753aefe55ed9a11ad91362
diff --git a/memorious/tests/test_operations.py b/memorious/tests/test_operations.py index <HASH>..<HASH> 100644 --- a/memorious/tests/test_operations.py +++ b/memorious/tests/test_operations.py @@ -3,11 +3,11 @@ import json import pytest from unittest.mock import ANY -from memorious.core import tags +from memoriou...
Add a test for cleanup_archive method
alephdata_memorious
train
py
3a85cc1b0fa0ac3f2d2433216d94f8e8939f7c58
diff --git a/lib/mongoid/extensions.rb b/lib/mongoid/extensions.rb index <HASH>..<HASH> 100644 --- a/lib/mongoid/extensions.rb +++ b/lib/mongoid/extensions.rb @@ -20,7 +20,9 @@ class Array #:nodoc end class Binary; end #:nodoc: -class Boolean; end #:nodoc: +unless defined?(Boolean) + class Boolean; end +end cla...
Don't try to declare the Boolean class if it already exists: just make it include the Boolean extension. This prevents conflict with the Ripple gem. All specs pass.
mongodb_mongoid
train
rb
02bf0063e5165b628ecaee97961b1370b485a98e
diff --git a/test.py b/test.py index <HASH>..<HASH> 100755 --- a/test.py +++ b/test.py @@ -35,4 +35,4 @@ if __name__ == '__main__': models.loading.cache.app_store[type(this + '.models', (), {'__file__':__file__})] = this from django.core import management - management.execute_from_command_line(["test.py"...
Fixed testing on Django <I>
skorokithakis_django-annoying
train
py
791289e390702df741007473963337ad6517d317
diff --git a/src/ImageResize.php b/src/ImageResize.php index <HASH>..<HASH> 100644 --- a/src/ImageResize.php +++ b/src/ImageResize.php @@ -129,10 +129,10 @@ class ImageResize */ public function loadFromFile($filename) { - $image_info = getimagesize($filename); + $image_info = @getimagesize...
Suppress warning from getimagesize() when bad file provided, as we throw an exception later
gumlet_php-image-resize
train
php
93cec8ecc7ed4144b0c659e71903b7f7e3dff18a
diff --git a/lib/x11/xcore.js b/lib/x11/xcore.js index <HASH>..<HASH> 100644 --- a/lib/x11/xcore.js +++ b/lib/x11/xcore.js @@ -342,8 +342,11 @@ XClient.prototype.require = function(extName, callback) ext.requireExt(this.display, callback); } -module.exports.createClient = function(initCb, display) +module.export...
load BigReq extansion by default
sidorares_node-x11
train
js
036b195af98124fb247445cb21bc5f5790d82809
diff --git a/ghost/sdk/theme-dropin/src/index.js b/ghost/sdk/theme-dropin/src/index.js index <HASH>..<HASH> 100644 --- a/ghost/sdk/theme-dropin/src/index.js +++ b/ghost/sdk/theme-dropin/src/index.js @@ -88,6 +88,15 @@ function setupMembersListeners() { function upgrade(event) { event.preventDefault(); ...
Fixed upgrade not updating member state on reload no-issue The problem here is that upgrade would recieve the same token from the localStorage cache, rather than a brand new token with the plan info.
TryGhost_Ghost
train
js
ac1e27167df0420c7c544e139fcd290d29d752ee
diff --git a/resources/views/helper.php b/resources/views/helper.php index <HASH>..<HASH> 100644 --- a/resources/views/helper.php +++ b/resources/views/helper.php @@ -9,6 +9,7 @@ ?> // @formatter:off +// phpcs:ignoreFile /** * A helper file for Laravel, to provide autocomplete information to your IDE
Disabled PHPCS (#<I>) PHPCS is a common development tool. It makes sense to disable it in addition to Eclipse/IntelliJ formatting disable
barryvdh_laravel-ide-helper
train
php
9afc30f652a2df0bce55a0881e997e9108280452
diff --git a/isovar/isovar_result.py b/isovar/isovar_result.py index <HASH>..<HASH> 100644 --- a/isovar/isovar_result.py +++ b/isovar/isovar_result.py @@ -188,7 +188,7 @@ class IsovarResult(object): ######################################################################## for filter_name, filter_value ...
alias 'pass' and 'passes_all_filters'
openvax_isovar
train
py
f55d263445910d91865d8e1d6ccccc2a7924d692
diff --git a/lib/intercom/errors.rb b/lib/intercom/errors.rb index <HASH>..<HASH> 100644 --- a/lib/intercom/errors.rb +++ b/lib/intercom/errors.rb @@ -51,6 +51,9 @@ module Intercom # Raised when requesting resources on behalf of a user that doesn't exist in your application on Intercom. class ResourceNotFound < I...
Raise admin not found error (#<I>)
intercom_intercom-ruby
train
rb,rb
b7f4e74ef00067d73ee99dc31caed43401fbd994
diff --git a/spec/unit/application/filebucket_spec.rb b/spec/unit/application/filebucket_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/application/filebucket_spec.rb +++ b/spec/unit/application/filebucket_spec.rb @@ -94,6 +94,7 @@ describe Puppet::Application::Filebucket do it "should create a client wit...
(maint)(PUP-<I>) Update spec test so it fails on code before <I>b<I>
puppetlabs_puppet
train
rb
98f6dc7e67a9b15c185aaaa6c51bbc85f4b769de
diff --git a/test/tzinfo-data2/tzinfo/data/version.rb b/test/tzinfo-data2/tzinfo/data/version.rb index <HASH>..<HASH> 100644 --- a/test/tzinfo-data2/tzinfo/data/version.rb +++ b/test/tzinfo-data2/tzinfo/data/version.rb @@ -8,6 +8,9 @@ module TZInfo # The format of the Ruby modules. TZInfo v2.0.0 supports formats...
Add the (unintentionally omitted) STRING constant.
tzinfo_tzinfo
train
rb
a3a1a6f9ed8db027be25ad392639a3981c50b005
diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb index <HASH>..<HASH> 100644 --- a/activemodel/lib/active_model/serialization.rb +++ b/activemodel/lib/active_model/serialization.rb @@ -50,7 +50,7 @@ module ActiveModel # attr_accessor :name # # d...
Missed a code example. Fixing the docs to be consistant.
rails_rails
train
rb
bec273926d0f9a7c617165192ed60e409fc5275c
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -277,13 +277,15 @@ Loader.prototype._parseTxs = function (txs) { parsed.to = to } - parsed.sharedKey = self._getSharedKey(parsed) - if (parsed.sharedKey) { - try { - parsed.key = utils.decrypt(p...
only decrypt if encrypted (duh)
tradle_chainloader
train
js
9c973b607535c829ba1b1fe70421d99d07468cfd
diff --git a/cmd/jujud/agent/machine.go b/cmd/jujud/agent/machine.go index <HASH>..<HASH> 100644 --- a/cmd/jujud/agent/machine.go +++ b/cmd/jujud/agent/machine.go @@ -672,20 +672,6 @@ func (a *MachineAgent) APIWorker() (_ worker.Worker, err error) { } reportOpenedAPI(st) - defer func() { - // TODO(fwereade): thi...
cmd/jujud/agent: Remove now-unnecessary error handling This func no longer returns an error so closing the API connection on error is no longer necessary.
juju_juju
train
go
8717a824be41fc99cc37e139c1a296543e80caf9
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ ]; module.exports = function (date, useAgo) { - var diff = (((new Date.getTime()) - date.getTime()) / 1000); + var diff = ((Date.now() - +date) / 1000); for( var i=0; i<formatters.length; i++ ...
use +date to convert date into timestamp - but also works if timestamp was passed in
ssbc_nicedate
train
js
33def523cf6f0501faa27b05f92785e3eb5376fb
diff --git a/src/sap.uxap/test/sap/uxap/qunit/js/AnchorBar.qunit.js b/src/sap.uxap/test/sap/uxap/qunit/js/AnchorBar.qunit.js index <HASH>..<HASH> 100644 --- a/src/sap.uxap/test/sap/uxap/qunit/js/AnchorBar.qunit.js +++ b/src/sap.uxap/test/sap/uxap/qunit/js/AnchorBar.qunit.js @@ -242,6 +242,7 @@ //section title bindin...
[INTERNAL][FIX] uxap.AnchorBar: QUnit test was failing on Firefox - Complex binding: Update by model change test was failing BCP: <I> Change-Id: I<I>ed<I>b2fe<I>d0bf<I>f1fb5c0b5e5b
SAP_openui5
train
js
4f74ecc0f0ec37ce95418b4bfef25b5e35d63340
diff --git a/lib/nodes/vendor-helpers.js b/lib/nodes/vendor-helpers.js index <HASH>..<HASH> 100644 --- a/lib/nodes/vendor-helpers.js +++ b/lib/nodes/vendor-helpers.js @@ -46,6 +46,10 @@ function normalize(property, value, prefix){ function normalizeGradient(parts, prefix){ /* Fix the degrees to the legacy syntax */...
added a bit of documentation for vendorize
stylus_nib
train
js
36c42e1136813097f834f81dead178eb1192c4e1
diff --git a/openquake/db/models.py b/openquake/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/db/models.py +++ b/openquake/db/models.py @@ -28,14 +28,9 @@ Model representations of the OpenQuake DB tables. import os try: - import simplejson as json -except ImportError: - import json -try: impor...
added PickleField, ParsedSource now uses it instead of base<I> and TEXT Conflicts: openquake/db/models.py Former-commit-id: <I>b<I>dcfe<I>e<I>a<I>d7ba4d3cfe<I>dc3
gem_oq-engine
train
py,py
5c78895e1e92f015d8f36c23f1860b7879951cae
diff --git a/tests/data_context/store/test_evaluation_parameter_store.py b/tests/data_context/store/test_evaluation_parameter_store.py index <HASH>..<HASH> 100644 --- a/tests/data_context/store/test_evaluation_parameter_store.py +++ b/tests/data_context/store/test_evaluation_parameter_store.py @@ -30,7 +30,10 @@ from g...
Fix failing test that should skip if postgresql not up and running
great-expectations_great_expectations
train
py
7eacc840f9432577d1fb937de7e9fd44408586de
diff --git a/provider/ec2/local_test.go b/provider/ec2/local_test.go index <HASH>..<HASH> 100644 --- a/provider/ec2/local_test.go +++ b/provider/ec2/local_test.go @@ -344,13 +344,6 @@ func (t *localServerSuite) TestValidateImageMetadata(c *gc.C) { c.Assert(image_ids, gc.DeepEquals, []string{"ami-00000033", "ami-00000...
provider/ec2: resolve conflicts
juju_juju
train
go
4360d01dc76ef4e45c33a914dc2ae0f518f71af4
diff --git a/telemetry/telemetry/core/chrome/inspector_timeline_unittest.py b/telemetry/telemetry/core/chrome/inspector_timeline_unittest.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/chrome/inspector_timeline_unittest.py +++ b/telemetry/telemetry/core/chrome/inspector_timeline_unittest.py @@ -24,7 +24,...
[Telemetry] Fix InspectorTimelineTabTest.testGotTimeline on windows. It was asserting that the duration of the event was 0. To fix this, we sleep for <I>ms in the RAF event. BUG=<I> TEST=python tools\telemetry\run_tests InspectorTimelineTabTest.testGotTimeline NOTRY=True Review URL: <URL>
catapult-project_catapult
train
py
17df2119ad4158eac75695c7790d72624b5d0337
diff --git a/comments-bundle/src/Resources/contao/classes/Comments.php b/comments-bundle/src/Resources/contao/classes/Comments.php index <HASH>..<HASH> 100644 --- a/comments-bundle/src/Resources/contao/classes/Comments.php +++ b/comments-bundle/src/Resources/contao/classes/Comments.php @@ -255,7 +255,7 @@ class Comment...
[Comments] Replaced `$this->Input->post(` with `Input::post(`
contao_contao
train
php
ea99b6eb5e3da2918597437cce4005576f5729b4
diff --git a/lib/collect-jsons.js b/lib/collect-jsons.js index <HASH>..<HASH> 100644 --- a/lib/collect-jsons.js +++ b/lib/collect-jsons.js @@ -51,6 +51,6 @@ module.exports = function collectJSONS(options) { return jsonOutput; } - console.log(chalk.yellow(`No JSON files found in '${options.jsonDir}'. ...
fix issue #<I> - review adjustments
wswebcreation_multiple-cucumber-html-reporter
train
js,js
ff71265c3a7490b391109d7fd58af1baf4ceeceb
diff --git a/lib/Prezent/Doctrine/Translatable/Mapping/Driver/AnnotationDriver.php b/lib/Prezent/Doctrine/Translatable/Mapping/Driver/AnnotationDriver.php index <HASH>..<HASH> 100644 --- a/lib/Prezent/Doctrine/Translatable/Mapping/Driver/AnnotationDriver.php +++ b/lib/Prezent/Doctrine/Translatable/Mapping/Driver/Annota...
Always have a return statement, fixes #<I>
Prezent_doctrine-translatable
train
php,php
ef155cae98969d0197578adf7a98d7c372d69577
diff --git a/spikeextractors/extractors/shybridextractors/shybridextractors.py b/spikeextractors/extractors/shybridextractors/shybridextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/shybridextractors/shybridextractors.py +++ b/spikeextractors/extractors/shybridextractors/shybridextractors.py @...
set is writable for both extractors
SpikeInterface_spikeextractors
train
py
25145d09660dffc968aa2f46ca0726c08221f394
diff --git a/interfaces/associations/hasMany/multipleForeignKeys.js b/interfaces/associations/hasMany/multipleForeignKeys.js index <HASH>..<HASH> 100644 --- a/interfaces/associations/hasMany/multipleForeignKeys.js +++ b/interfaces/associations/hasMany/multipleForeignKeys.js @@ -34,7 +34,6 @@ describe('Association Inter...
Remove extraneous logs and commented-out logs
balderdashy_waterline-adapter-tests
train
js
ed97d6af4ac37aa0a56be84d1af88e88347f5569
diff --git a/fix_yahoo_finance/__init__.py b/fix_yahoo_finance/__init__.py index <HASH>..<HASH> 100644 --- a/fix_yahoo_finance/__init__.py +++ b/fix_yahoo_finance/__init__.py @@ -19,12 +19,13 @@ # limitations under the License. # +from __future__ import print_function + __version__ = "0.1.0" __author__ = "Ran Aro...
added __future__.print_function
ranaroussi_fix-yahoo-finance
train
py
e2f5bca886c47e18a5eb71d27ee481af6a4a58c0
diff --git a/providers/AppProvider.js b/providers/AppProvider.js index <HASH>..<HASH> 100644 --- a/providers/AppProvider.js +++ b/providers/AppProvider.js @@ -210,7 +210,7 @@ class AppProvider extends ServiceProvider { */ _registerExceptionHandler () { this.app.bind('Adonis/Exceptions/Handler', () => { - ...
fix(exception): return instance of exception handler from ioc binding
adonisjs_adonis-framework
train
js
ef793a5949cab185bebfc48e789c6c7b69cee984
diff --git a/master/buildbot/test/unit/worker/test_docker.py b/master/buildbot/test/unit/worker/test_docker.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/worker/test_docker.py +++ b/master/buildbot/test/unit/worker/test_docker.py @@ -169,7 +169,7 @@ class TestDockerLatentWorker(unittest.TestCase, TestR...
fix flake8 test (remove trailing space)
buildbot_buildbot
train
py
08c8f2cde1400529d3d2f851aa1f79d48de56b8f
diff --git a/cmd/kubelet/kubelet.go b/cmd/kubelet/kubelet.go index <HASH>..<HASH> 100644 --- a/cmd/kubelet/kubelet.go +++ b/cmd/kubelet/kubelet.go @@ -188,6 +188,9 @@ func main() { *registryBurst, *minimumGCAge, *maxContainerCount) + + k.BirthCry() + go func() { util.Forever(func() { err := k.GarbageC...
Record event of kubelet restart re: minion obj.
kubernetes_kubernetes
train
go,go
d9d9af30800b724d695f7e50bf2d4008f95b0579
diff --git a/directives/map-lazy-load.js b/directives/map-lazy-load.js index <HASH>..<HASH> 100644 --- a/directives/map-lazy-load.js +++ b/directives/map-lazy-load.js @@ -52,10 +52,14 @@ if(window.google === undefined || window.google.maps === undefined) { var scriptEl = document.createElement('script'); ...
[map-lazy-load] stop processing only when google is defined.
allenhwkim_angularjs-google-maps
train
js
ab9e8bd2937fbf445788904d0d8c43cf0d9a8dd1
diff --git a/docs/activegraph.rb b/docs/activegraph.rb index <HASH>..<HASH> 100644 --- a/docs/activegraph.rb +++ b/docs/activegraph.rb @@ -1,6 +1,6 @@ # Usage: rails new myapp -m activegraph.rb -gem 'activegraph', path: '~/mck/activegraph' +gem 'activegraph' gem 'neo4j-ruby-driver' gem_group :development do
Don't use local path for the activegraph gem This is referenced in the official installation documentation. It should not assume that there is any gems installed in local paths.
neo4jrb_neo4j
train
rb
e080ae4188af1d11d51201e8c6bbfda9f2bb4bc5
diff --git a/src/python/dxpy/scripts/dx_bed_to_spans.py b/src/python/dxpy/scripts/dx_bed_to_spans.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx_bed_to_spans.py +++ b/src/python/dxpy/scripts/dx_bed_to_spans.py @@ -595,7 +595,7 @@ def import_BED(**args): return job_outputs def main(**args): - ...
Fix exit code of dx-bed-to-spans.
dnanexus_dx-toolkit
train
py
2add9ce534e63b2d401142ff95139eb8014f8626
diff --git a/lib/dirty/dirty.js b/lib/dirty/dirty.js index <HASH>..<HASH> 100644 --- a/lib/dirty/dirty.js +++ b/lib/dirty/dirty.js @@ -2,10 +2,10 @@ var Dirty = exports.Dirty = function() { this._docs = {}; }; -Dirty.prototype.set = function(key, val) { - this._docs[key] = val; +Dirty.prototype.set = function(id...
Renamed key to id
felixge_node-dirty
train
js
a327eef3de327105b0a04fc32dc33792e81256bd
diff --git a/chalice/app.py b/chalice/app.py index <HASH>..<HASH> 100644 --- a/chalice/app.py +++ b/chalice/app.py @@ -69,13 +69,8 @@ def _matches_content_type(content_type, valid_content_types): content_type_matches = False if '*/*' in content_type or '*/*' in valid_content_types: content_type_match...
Eliminate some looping and made the code a bit more pythonic
aws_chalice
train
py
bd11beee02041e9340b90a5896de76dc45a8dfc9
diff --git a/src/Illuminate/Workbench/Starter.php b/src/Illuminate/Workbench/Starter.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Workbench/Starter.php +++ b/src/Illuminate/Workbench/Starter.php @@ -18,7 +18,9 @@ class Starter { // the appropriate classes and file used by the given workbench package. $fi...
Restricting the Workbench->starter from looking beyond the packages vendor/autoload.php file
laravel_framework
train
php
eb7ceb20f6300c68a1d5747ed036a14169850ad6
diff --git a/Serializer/JSONGeneralSerializer.php b/Serializer/JSONGeneralSerializer.php index <HASH>..<HASH> 100644 --- a/Serializer/JSONGeneralSerializer.php +++ b/Serializer/JSONGeneralSerializer.php @@ -190,6 +190,7 @@ final class JSONGeneralSerializer extends Serializer if (null === $rawPayload) { ...
Apply fixes from StyleCI (#<I>) [ci skip] [skip ci]
web-token_jwt-signature
train
php
1c838d0f69a7128475c93babe45ac3001720661e
diff --git a/markov.py b/markov.py index <HASH>..<HASH> 100644 --- a/markov.py +++ b/markov.py @@ -603,7 +603,7 @@ class LISA_Markov(Markov): default = 0 significance_level : float - significance level for filtering significant LISA end + signif...
- clarifying significance treatment in LISA Markov
pysal_giddy
train
py
5a7a45354a377f6116cf1a7805e46e668ead688a
diff --git a/HttpFactory.php b/HttpFactory.php index <HASH>..<HASH> 100644 --- a/HttpFactory.php +++ b/HttpFactory.php @@ -24,7 +24,7 @@ class HttpFactory * @param mixed $adapters Adapter (string) or queue of adapters (array) to use for communication. * * @return Http Joomla Http class - + * * @th...
PHPCS cleanup Should all errors except in the DI package. P.S. Whoever wrote the unit tests clearly didn't try that hard to meet the standards :P
joomla-framework_http
train
php
baae79ebaf5c352a4dceabac62455ab1231ed063
diff --git a/src/main/java/org/dasein/cloud/aws/network/ElasticLoadBalancerCapabilities.java b/src/main/java/org/dasein/cloud/aws/network/ElasticLoadBalancerCapabilities.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dasein/cloud/aws/network/ElasticLoadBalancerCapabilities.java +++ b/src/main/java/org/dasein/...
FB<I>: capabilities must return <I> max ports for ELB
dasein-cloud_dasein-cloud-aws
train
java
c5d40f9835253a8b187db71de33cbafdda406822
diff --git a/core/Tracker/Action.php b/core/Tracker/Action.php index <HASH>..<HASH> 100644 --- a/core/Tracker/Action.php +++ b/core/Tracker/Action.php @@ -283,7 +283,7 @@ abstract class Action $typeId = array_search($type, $constants); if (false === $typeId) { - throw new Exception("Unexp...
Do not throw an exception when debugging tracker (#<I>) This method is only called when Tracker debugging is enabled. It may cause problems if an unknown type is used and then the tracking completely fails which also stops tracking. Debugging info should not really throw exceptions, at least not in this case.
matomo-org_matomo
train
php
f6971241892334b5b4b6e4a86b4716f466070fe0
diff --git a/lib/commander.js b/lib/commander.js index <HASH>..<HASH> 100644 --- a/lib/commander.js +++ b/lib/commander.js @@ -44,14 +44,14 @@ Commander.prototype.on = function (message, callback) { }; Commander.prototype.getCommandString = function (privmsg) { - if (privmsg.isQuery) { - return privmsg.me...
Test suite passed; !cmd in PRIVMSG now allowed
Tennu_tennu
train
js
9179ff02e2d7fa6f8e9260960f3f2ca2a6521313
diff --git a/fake_rpi/picamera.py b/fake_rpi/picamera.py index <HASH>..<HASH> 100644 --- a/fake_rpi/picamera.py +++ b/fake_rpi/picamera.py @@ -30,6 +30,12 @@ class PiCamera(Base): Base.__init__(self, self.__class__) pass + def __enter__(self): + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + ...
picamera: add enter and exit so 'with picamera' contextmanager works
MomsFriendlyRobotCompany_fake_rpi
train
py
70cd51206b3d885fa2962581c1d4b6eb51fefe62
diff --git a/addon/components/pl-uploader.js b/addon/components/pl-uploader.js index <HASH>..<HASH> 100644 --- a/addon/components/pl-uploader.js +++ b/addon/components/pl-uploader.js @@ -218,7 +218,7 @@ export default Ember.Component.extend({ _invalidateDragData: Ember.observer('queue.length', function () { // ...
allow drag and drop to keep working when no duplicates is true
adopted-ember-addons_ember-file-upload
train
js
5c730806a75846bbfa8114e4fb4606ed0ae309fb
diff --git a/test/extended/util/framework.go b/test/extended/util/framework.go index <HASH>..<HASH> 100644 --- a/test/extended/util/framework.go +++ b/test/extended/util/framework.go @@ -74,7 +74,7 @@ func WaitForABuild(c client.BuildInterface, name string, isOK, isFailed func(*bu return err } // wait longer for...
increase build timeout to <I>mins
openshift_origin
train
go
4fda4967b2035579b546c6db549df7283736bb31
diff --git a/lib/LibeventReactor.php b/lib/LibeventReactor.php index <HASH>..<HASH> 100755 --- a/lib/LibeventReactor.php +++ b/lib/LibeventReactor.php @@ -64,9 +64,9 @@ class LibeventReactor implements SignalReactor { ); } - $delay = $executeAt - $now; + $msDelay = ($executeAt - $n...
Fix broken Reactor::at millisecond resolutions
amphp_amp
train
php,php
2db699aa149bf8a4cc9074592a78356663a7af7c
diff --git a/dedupe/api.py b/dedupe/api.py index <HASH>..<HASH> 100644 --- a/dedupe/api.py +++ b/dedupe/api.py @@ -125,6 +125,7 @@ class Matching(object): try : match_file = matches.filename + del matches os.remove(match_file) except AttributeError : ...
delete matches so we can delete matches file
dedupeio_dedupe
train
py
b96c4540887f4681f799284a52b2d82b55653d7d
diff --git a/html/pfappserver/root/static/admin/common.js b/html/pfappserver/root/static/admin/common.js index <HASH>..<HASH> 100644 --- a/html/pfappserver/root/static/admin/common.js +++ b/html/pfappserver/root/static/admin/common.js @@ -789,6 +789,7 @@ $(function () { // DOM ready var element = $...
Add new trigger dynamic-list.ordered
inverse-inc_packetfence
train
js
eb2adaa32f9b9ce11beb6e495ec06e0aa11d9a5c
diff --git a/pkg/volume/csi/csi_attacher.go b/pkg/volume/csi/csi_attacher.go index <HASH>..<HASH> 100644 --- a/pkg/volume/csi/csi_attacher.go +++ b/pkg/volume/csi/csi_attacher.go @@ -66,6 +66,11 @@ var _ volume.Detacher = &csiAttacher{} var _ volume.DeviceMounter = &csiAttacher{} func (c *csiAttacher) Attach(spec *...
Fix panic in Kubelet Currently, the Kubelet panics when it's started with the `enable-controller-attach-detach=false` option set and a volume is attached to a node. This patch adds a check that prevents the Kubelet from trying to attach or detach CSI volumes and report a proper error warning the user that this use ca...
kubernetes_kubernetes
train
go
fd960004e8ac1e2e886124320d45ef65e2450181
diff --git a/lib/acts_as_audited/audit_sweeper.rb b/lib/acts_as_audited/audit_sweeper.rb index <HASH>..<HASH> 100644 --- a/lib/acts_as_audited/audit_sweeper.rb +++ b/lib/acts_as_audited/audit_sweeper.rb @@ -14,6 +14,14 @@ module CollectiveIdea #:nodoc: # audit User, Widget # end # + ...
Allow model configuration in ApplicationController Pass a hash of options to each model specified in ApplicationController's call to audit. The specific hash, identified by a symbol representing the class, is passed to the acts_as_audited method. See the example below: class ApplicationController < ActionController::...
collectiveidea_audited
train
rb
c451e1a29eb9a914823a99e05b8698e77fba6e7d
diff --git a/devices/tuya.js b/devices/tuya.js index <HASH>..<HASH> 100644 --- a/devices/tuya.js +++ b/devices/tuya.js @@ -916,6 +916,7 @@ module.exports = [ toZigbee: [tz.on_off, tz.tuya_switch_power_outage_memory], configure: async (device, coordinatorEndpoint, logger) => { const endpoi...
Attempt to fix no report on manual control of TS<I>F_plug_3. <URL>
Koenkk_zigbee-shepherd-converters
train
js