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
dd1f7f14533f32154d6e645c64220b643eb3f9cb
diff --git a/lib/inline_forms/version.rb b/lib/inline_forms/version.rb index <HASH>..<HASH> 100644 --- a/lib/inline_forms/version.rb +++ b/lib/inline_forms/version.rb @@ -1,4 +1,4 @@ # -*- encoding : utf-8 -*- module InlineForms - VERSION = "3.0.40" + VERSION = "3.0.41" end
Clean up assets (stylesheets), bug in line 3
acesuares_inline_forms
train
rb
10f523de7df6555144ca7a3661413439394d5dba
diff --git a/delocate/delocating.py b/delocate/delocating.py index <HASH>..<HASH> 100644 --- a/delocate/delocating.py +++ b/delocate/delocating.py @@ -7,6 +7,7 @@ import os from os.path import (join as pjoin, dirname, basename, exists, isdir, abspath, relpath) import shutil +import warnings f...
NF: add warning for dependencies starting with @ We don't handle them at all and they might mess up the fix.
matthew-brett_delocate
train
py
4558dd483a435777e7f4dbeaa145ebbfdbbc0fda
diff --git a/test/unit/test_extensions.rb b/test/unit/test_extensions.rb index <HASH>..<HASH> 100644 --- a/test/unit/test_extensions.rb +++ b/test/unit/test_extensions.rb @@ -5,7 +5,7 @@ class SupportTest < Test::Unit::TestCase should "convert value to_a" do Array.to_mongo([1, 2, 3, 4]).should == [1, 2, 3, ...
Order is not guaranteed on ruby <= <I> or rbx <I>
mongomapper_mongomapper
train
rb
0986b71b62480f6782cf693c26dd2bcb080fc274
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='tweetrssfeed', - version='0.1.4', + version='0.1.5', description='Tweet RSS Feeds', long_description=readme...
added docopt to setup.py
gam-phon_tweetrssfeed
train
py
cc125e70dc6751b755f97e276ea1bca3e1b94897
diff --git a/test/common.js b/test/common.js index <HASH>..<HASH> 100644 --- a/test/common.js +++ b/test/common.js @@ -4,7 +4,7 @@ var thunky = require('thunky') exports.getConfig = thunky(function (cb) { // Includes TURN -- needed for tests to pass on Sauce Labs // https://github.com/feross/simple-peer/issues/4...
revert RTCConfig change
feross_simple-peer
train
js
e084350b4c41d3a5153df6643375092b9b4b3eaf
diff --git a/src/Exscript/parselib/Lexer.py b/src/Exscript/parselib/Lexer.py index <HASH>..<HASH> 100644 --- a/src/Exscript/parselib/Lexer.py +++ b/src/Exscript/parselib/Lexer.py @@ -182,5 +182,4 @@ class Lexer(object): def parse_file(self, filename): with open(filename) as fp: - string = fp....
exscript: refactoring: Simplified some code in Lexer.
knipknap_exscript
train
py
ba6c3d21377519796124f2356e4c0b804e04fc42
diff --git a/openquake/hazardlib/calc/stochastic.py b/openquake/hazardlib/calc/stochastic.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/calc/stochastic.py +++ b/openquake/hazardlib/calc/stochastic.py @@ -25,7 +25,7 @@ import time import operator import collections import numpy -from openquake.baselib.gene...
Deprecated stochastic_event_set
gem_oq-engine
train
py
7bc2143de8e837a922a0d6aa1bf79774495a3b96
diff --git a/src/Form/FormControlLabel.js b/src/Form/FormControlLabel.js index <HASH>..<HASH> 100644 --- a/src/Form/FormControlLabel.js +++ b/src/Form/FormControlLabel.js @@ -14,7 +14,7 @@ export const styles = (theme: Object) => ({ cursor: 'pointer', // Remove grey highlight WebkitTapHighlightColor: the...
[FormControls] Fix styling for component (#<I>)
mui-org_material-ui
train
js,js
ae6f059e44c914b2666974d2f3bb87299097cab9
diff --git a/category/subscriptions/index.js b/category/subscriptions/index.js index <HASH>..<HASH> 100644 --- a/category/subscriptions/index.js +++ b/category/subscriptions/index.js @@ -26,8 +26,10 @@ export default function category(subscribe) { ({ pathname }) => !pathname.startsWith(FILTER_PATH) ); - subs...
Added check in streams for moving between category routes
shopgate_pwa
train
js
61401cc06cdb46425b81f726364eff1813ad73a3
diff --git a/Mapper/BaseGroupedMapper.php b/Mapper/BaseGroupedMapper.php index <HASH>..<HASH> 100644 --- a/Mapper/BaseGroupedMapper.php +++ b/Mapper/BaseGroupedMapper.php @@ -219,6 +219,16 @@ abstract class BaseGroupedMapper extends BaseMapper return $this; } + + /** + * Returns a boolean ind...
Add a way to see if a tab group is open If an Admin didn't use tabs, the `default` tab will never be closed. This causes issues when an admin extension adds a tab to the formmapper (it'll result in the "there is a current open tab" exception).
sonata-project_SonataAdminBundle
train
php
1a245223205f6bd69980ed930807b2e65774eddb
diff --git a/pygccxml/declarations/comment.py b/pygccxml/declarations/comment.py index <HASH>..<HASH> 100644 --- a/pygccxml/declarations/comment.py +++ b/pygccxml/declarations/comment.py @@ -71,7 +71,7 @@ class comment_t(object): @property def begin_column(self): """An integer value which corresponds...
Fix property documentation Fix spelling and copy/paste errors in the documentation of the properties of the comment_t object.
gccxml_pygccxml
train
py
faf1c75414efdb701df00e413505fc499032ed1f
diff --git a/aedes.js b/aedes.js index <HASH>..<HASH> 100644 --- a/aedes.js +++ b/aedes.js @@ -64,8 +64,7 @@ Aedes.prototype.subscribe = function(topic, func, done) { var stream = broker.persistence.createRetainedStream(topic) stream.pipe(through.obj(function(packet, enc, cb) { - func(packet, done) - ...
Fixed bug in retained messages forwarding.
mcollina_aedes
train
js
9f539e609791e9ec81a0002e733ea7b104a4b717
diff --git a/lib/ruote/exp/fe_filter.rb b/lib/ruote/exp/fe_filter.rb index <HASH>..<HASH> 100644 --- a/lib/ruote/exp/fe_filter.rb +++ b/lib/ruote/exp/fe_filter.rb @@ -602,7 +602,9 @@ module Ruote::Exp # def one_line_filter - return nil if (attributes.keys - COMMON_ATT_KEYS).empty? + if (attributes...
filter and attributes, dropping unnecessary atts the common attributes and 'ref' + 'original_ref'
jmettraux_ruote
train
rb
f7286037ce9a5b840f8b278c3fe18010c32aecb4
diff --git a/python/mxnet/optimizer.py b/python/mxnet/optimizer.py index <HASH>..<HASH> 100644 --- a/python/mxnet/optimizer.py +++ b/python/mxnet/optimizer.py @@ -295,7 +295,7 @@ class Adam(Optimizer): step = (learning_rate * mean_t / (sqrt(variance_t) + self.epsilon)) if self.wd > 0....
use fixed learning rate when using wd in Adam
apache_incubator-mxnet
train
py
aab3fc473151675c37ed980d1a4fb37fc1686dce
diff --git a/test.py b/test.py index <HASH>..<HASH> 100755 --- a/test.py +++ b/test.py @@ -1398,7 +1398,7 @@ class SyzygyTestCase(unittest.TestCase): key_from_filename = chess.syzygy.calc_key_from_filename("KBNvK") self.assertEqual(key_from_board, key_from_filename) - def test_probe_wdl_table(sel...
Add testcase for a very specific position
niklasf_python-chess
train
py
e13941e23cfb5cb92bd3ecbfee2abfc25ff7e6f3
diff --git a/lib/puppet/pops/evaluator/external_syntax_support.rb b/lib/puppet/pops/evaluator/external_syntax_support.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/pops/evaluator/external_syntax_support.rb +++ b/lib/puppet/pops/evaluator/external_syntax_support.rb @@ -20,9 +20,11 @@ module Puppet::Pops::Evaluator::Ex...
(maint) Speed up External Syntax Check if there are no errors There is no need to go through the motion of configuring an error issuer and letting it do all its work when it will not report anything.
puppetlabs_puppet
train
rb
025bd3d101795f7d035ab326902678da72279078
diff --git a/src/SpeckPaypal/Response/Response.php b/src/SpeckPaypal/Response/Response.php index <HASH>..<HASH> 100644 --- a/src/SpeckPaypal/Response/Response.php +++ b/src/SpeckPaypal/Response/Response.php @@ -202,9 +202,9 @@ class Response * @return array */ protected function extractKeyValues($key) ...
Update Response.php Edit of ExtractKeyValues to take in consideration when more than <I> results are returned (mainly for TransactionSearch call)
speckcommerce_SpeckPaypal
train
php
8a39ee228f003602ed42a1f7216f7feead1930f2
diff --git a/src/Toolbox.php b/src/Toolbox.php index <HASH>..<HASH> 100644 --- a/src/Toolbox.php +++ b/src/Toolbox.php @@ -300,14 +300,18 @@ class Toolbox implements Serializable * @param mixed $value (Optional) If not present (or `null`), the current * metadata is returned. If present, the metadata is...
Safer Metadata Welp, guess I should really check to see if a key is set before returning it.
smtech_reflexive-canvas-lti
train
php
9b7844058df482639bf5f2bebfd3937432a18db3
diff --git a/test/views.js b/test/views.js index <HASH>..<HASH> 100644 --- a/test/views.js +++ b/test/views.js @@ -1791,3 +1791,25 @@ test("Scoping nested view assignment selector to parent", 1, function() { equal(layout.$(".test div").html(), "lol", "Correct placeholder text"); }); + +test("'insertView' uses use...
Add unit test for user-defined "append" method Ensure that LayoutManager uses custom "append" method when inserting view HTML in the "insertView" method (when that method is specified).
tbranyen_backbone.layoutmanager
train
js
74d41b62e75ec47b9e18f80dc0577d0c85c147b2
diff --git a/src/org/mozilla/javascript/NativeArray.java b/src/org/mozilla/javascript/NativeArray.java index <HASH>..<HASH> 100644 --- a/src/org/mozilla/javascript/NativeArray.java +++ b/src/org/mozilla/javascript/NativeArray.java @@ -1014,7 +1014,7 @@ public class NativeArray extends IdScriptableObject implements List...
Add explicit cast to int to ensure previous behaviour is retained
mozilla_rhino
train
java,java
74c4c1781dde27d99fdf47c4d4dc8d45db4a7149
diff --git a/Generator/Info.php b/Generator/Info.php index <HASH>..<HASH> 100644 --- a/Generator/Info.php +++ b/Generator/Info.php @@ -32,20 +32,6 @@ class Info extends File { ); } - /** - * Override as info files have no header. - */ - function file_header() { } - - /** - * Override as info files ha...
Removed empty overrides in Info of methods that used to be in File.
drupal-code-builder_drupal-code-builder
train
php
094ee24ad75b30a6cb2f2fa2e05e771709c72d21
diff --git a/collector/filesystem_linux.go b/collector/filesystem_linux.go index <HASH>..<HASH> 100644 --- a/collector/filesystem_linux.go +++ b/collector/filesystem_linux.go @@ -33,7 +33,7 @@ import ( ) const ( - defMountPointsExcluded = "^/(dev|proc|sys|var/lib/docker/.+)($|/)" + defMountPointsExcluded = "^/(dev|...
Ignore mountpoints under /run (#<I>) * Exclude mountpoints under /run/credentials
prometheus_node_exporter
train
go
1d4ccb2283a1f36501579c06fde96cfe9bcdb687
diff --git a/flask_resteasy.py b/flask_resteasy.py index <HASH>..<HASH> 100644 --- a/flask_resteasy.py +++ b/flask_resteasy.py @@ -63,7 +63,6 @@ def unpack(rv): class Api(object): - """The main entry point for the application. You need to initialize it with a Flask Application: :: @@ -346,7 +345,6 @@ c...
Add docstring for pep<I> with exceptions.
jidn_flask-resteasy
train
py
b386e1dbbd4f75785536173ccaabd97308a0cf6c
diff --git a/test/unit/base.rb b/test/unit/base.rb index <HASH>..<HASH> 100644 --- a/test/unit/base.rb +++ b/test/unit/base.rb @@ -5,6 +5,7 @@ require "rspec/autorun" # Require Vagrant itself so we can reference the proper # classes to test. require "vagrant" +require "vagrant/util/platform" # Add the test direct...
test: allow skipping certain tests on Windows
hashicorp_vagrant
train
rb,rb
d20d025569150a68d9f3a25d5789b287a37ccd7b
diff --git a/tests/webdriver/unit/insert.rb b/tests/webdriver/unit/insert.rb index <HASH>..<HASH> 100644 --- a/tests/webdriver/unit/insert.rb +++ b/tests/webdriver/unit/insert.rb @@ -112,6 +112,22 @@ describe "Insert" do run_insert_test start_delta, current_delta, "Failed inserting tab at 0th index." end ...
Added tabbed indentation test.
quilljs_quill
train
rb
a82e3c987f2839f9b736d1a2c52e86792a00a69e
diff --git a/src/js/Renderer.js b/src/js/Renderer.js index <HASH>..<HASH> 100644 --- a/src/js/Renderer.js +++ b/src/js/Renderer.js @@ -472,7 +472,6 @@ define([ { kbd: '⌘ + B', text: lang.font.bold }, { kbd: '⌘ + I', text: lang.font.italic }, { kbd: '⌘ + U', text: lang.font.underline }, - ...
Remove strikethrough from help dialog - now it's in plugin.
summernote_summernote
train
js
9d639142cea609eed9137b7cb49ef392f64c5d4f
diff --git a/core/codegen/src/main/java/org/overture/codegen/trans/uniontypes/ObjectDesignatorToExpCG.java b/core/codegen/src/main/java/org/overture/codegen/trans/uniontypes/ObjectDesignatorToExpCG.java index <HASH>..<HASH> 100644 --- a/core/codegen/src/main/java/org/overture/codegen/trans/uniontypes/ObjectDesignatorTo...
Minor update: Added assertion statements to the ObjectDesignatorToExpCG converter
overturetool_overture
train
java
3371048acfbde19d5a120d2ad17e7498022d1144
diff --git a/lib/Qless/Worker.php b/lib/Qless/Worker.php index <HASH>..<HASH> 100755 --- a/lib/Qless/Worker.php +++ b/lib/Qless/Worker.php @@ -240,7 +240,9 @@ class Worker { } else if (pcntl_wifsignaled($status)) { $this->child = null; $sig = pcntl_wtermsig($status); - $thi...
Added signal number to log message when child is terminated
pdffiller_qless-php
train
php
38bdc20c95f23a023b47faf7246fe0a1316559bc
diff --git a/lib/helpers/form_column_helpers.rb b/lib/helpers/form_column_helpers.rb index <HASH>..<HASH> 100644 --- a/lib/helpers/form_column_helpers.rb +++ b/lib/helpers/form_column_helpers.rb @@ -173,17 +173,25 @@ module ActiveScaffold # ... maybe this should be provided in a bridge? def active_scaffol...
form_ui = :record_select should now only list "available" records ... to some degree git-svn-id: <URL>
activescaffold_active_scaffold
train
rb
4a5db0cbfe5c50abc2864ded6edcac814721f7a1
diff --git a/anyconfig/cli.py b/anyconfig/cli.py index <HASH>..<HASH> 100644 --- a/anyconfig/cli.py +++ b/anyconfig/cli.py @@ -82,7 +82,7 @@ def to_log_level(level): ValueError: wrong log level passed: 5 >>> """ - if not (level >= 0 and level < 3): + if level < 0 or level >= 3: raise Value...
fix: simplify the chained comparisons
ssato_python-anyconfig
train
py
52d5e85030914589fefd813bca344ea528c5f86e
diff --git a/includes/image.php b/includes/image.php index <HASH>..<HASH> 100644 --- a/includes/image.php +++ b/includes/image.php @@ -79,6 +79,30 @@ function carelib_get_image( $args = array() ) { } /** + * Get a unique cache key based on an array of values. + * + * @since 1.0.0 + * @access protected + * @param ...
Added an image cache key getter Related to #<I>
cipherdevgroup_carelib
train
php
86e185b2876b760344788362fde0a8a04af1bd10
diff --git a/bot/manager.py b/bot/manager.py index <HASH>..<HASH> 100644 --- a/bot/manager.py +++ b/bot/manager.py @@ -112,7 +112,7 @@ class BotManager: CommandAction("benchmark").then( AsynchronousAction("benchmark").then( ...
Remove unnecessary trailing "," in manager
alvarogzp_telegram-bot-framework
train
py
c1fc777aa2dd8c3dab2cafd14e848847145a3c90
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -144,6 +144,7 @@ if __name__ == '__main__': # To deploy to pypi by travis-CI if os.path.isfile("__nanoversion__.txt"): with open('__nanoversion__.txt') as nv: + nanoversion = 0 try : ...
Avoid the situation that nanoversion is undefined in setup.py
atztogo_phono3py
train
py
3b7ca5b0210e1338d03d07db6375665d79750244
diff --git a/lib/pragmatic_segmenter/languages/persian.rb b/lib/pragmatic_segmenter/languages/persian.rb index <HASH>..<HASH> 100644 --- a/lib/pragmatic_segmenter/languages/persian.rb +++ b/lib/pragmatic_segmenter/languages/persian.rb @@ -11,7 +11,9 @@ module PragmaticSegmenter private def sentence_...
Remove Persian::SentenceBoundaryPunctation class
diasks2_pragmatic_segmenter
train
rb
5ea4996734fcd1daacd9f75d6eb4c20cfbd20013
diff --git a/languagetool-wikipedia/src/main/java/org/languagetool/dev/dumpcheck/SentenceSourceChecker.java b/languagetool-wikipedia/src/main/java/org/languagetool/dev/dumpcheck/SentenceSourceChecker.java index <HASH>..<HASH> 100644 --- a/languagetool-wikipedia/src/main/java/org/languagetool/dev/dumpcheck/SentenceSourc...
Disable CleanOverLapping in SentenceSourceChecker
languagetool-org_languagetool
train
java
bd5cb99398b240c7d79c6799533b18d33500348f
diff --git a/src/Deployer/Task/DeployTasks.php b/src/Deployer/Task/DeployTasks.php index <HASH>..<HASH> 100644 --- a/src/Deployer/Task/DeployTasks.php +++ b/src/Deployer/Task/DeployTasks.php @@ -171,7 +171,7 @@ class DeployTasks extends TaskAbstract $result = str_replace(' ', '_', $string); // Remov...
[TASK] allow dot in release-name
netz98_n98-deployer
train
php
97131f53b18e1d532fe8c8e5497e945900b1497e
diff --git a/src/ui/box/multisize_slide.js b/src/ui/box/multisize_slide.js index <HASH>..<HASH> 100644 --- a/src/ui/box/multisize_slide.js +++ b/src/ui/box/multisize_slide.js @@ -157,6 +157,10 @@ class Child extends React.Component { cb({height: parseInt(size, 10), reverse: this.reverse}); } + componentWillU...
Stop slide animation when component is unmounted
auth0_lock
train
js
664c00b62e4be27d5995667f16f219836b3b6a44
diff --git a/src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php b/src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Command/DropDatabaseDoctrineCommand.php +++ b/src/Symfony/Bundle/DoctrineBundle/Command/D...
[DoctrineBundle] Removed useless sprintf
symfony_symfony
train
php
54a37331597f03a36e7ddd9126467105a841e6eb
diff --git a/etrago/cluster/disaggregation.py b/etrago/cluster/disaggregation.py index <HASH>..<HASH> 100644 --- a/etrago/cluster/disaggregation.py +++ b/etrago/cluster/disaggregation.py @@ -209,9 +209,13 @@ class Disaggregation: profile.enable() self.solve_partial_network(cluster, partial_net...
Print more fine grained timing information Sometimes it's important to know how long the call to `solve_partial_network` took by itself, without the time spend in `transfer_results`. Now the information for those two calls is gathered and printed individually.
openego_eTraGo
train
py
881e3cc22a280a3b44a51912ff0738db9a38a4bb
diff --git a/lib/shipit.rb b/lib/shipit.rb index <HASH>..<HASH> 100644 --- a/lib/shipit.rb +++ b/lib/shipit.rb @@ -75,7 +75,13 @@ module Shipit end def redis(namespace = nil) - @redis ||= Redis.new(url: redis_url.to_s.presence, logger: Rails.logger) + @redis ||= Redis.new( + url: redis_url.to_s.prese...
Increase number of connection retries Increase number of connection retries from 1 to 3. Add support to delay between retries (available only on version <I>+)
Shopify_shipit-engine
train
rb
a79c8740ee58b0c53b0ac25a762854b92029ddc6
diff --git a/tensorflow_probability/python/distributions/onehot_categorical_test.py b/tensorflow_probability/python/distributions/onehot_categorical_test.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/onehot_categorical_test.py +++ b/tensorflow_probability/python/distributions/onehot_c...
Remove test case causing out-of-memory errors in TravisCI. PiperOrigin-RevId: <I>
tensorflow_probability
train
py
e55707befcadb74c87c4b196056032d0a30da2cb
diff --git a/lib/tkellem/models/network_user.rb b/lib/tkellem/models/network_user.rb index <HASH>..<HASH> 100644 --- a/lib/tkellem/models/network_user.rb +++ b/lib/tkellem/models/network_user.rb @@ -13,7 +13,7 @@ class NetworkUser < ActiveRecord::Base # we use the network's at_connect until it is modified and overwr...
combine at_connects, rather than replace
codekitchen_tkellem
train
rb
075afe23dd67cce4b87a9d06c1f23b82fea062c3
diff --git a/src/Driver/StatusCachingFile.php b/src/Driver/StatusCachingFile.php index <HASH>..<HASH> 100644 --- a/src/Driver/StatusCachingFile.php +++ b/src/Driver/StatusCachingFile.php @@ -14,6 +14,12 @@ final class StatusCachingFile implements File /** @var callable */ private $invalidateCallback; + /...
Mark StatusCachingFile constructor as internal
amphp_file
train
php
bbe37ed51ea36c9c0372cc16041efba8458d5866
diff --git a/tests/test_progress.py b/tests/test_progress.py index <HASH>..<HASH> 100644 --- a/tests/test_progress.py +++ b/tests/test_progress.py @@ -7,7 +7,7 @@ import pyvips class TestProgress: def test_progress(self): - # py27 reques this pattern for non-local modification + # py27 requires th...
docs: Fix simple typo, reques -> requires There is a small typo in tests/test_progress.py. Should read `requires` rather than `reques`.
libvips_pyvips
train
py
b3345c9abf7c4d14bdaa5d2086220c1dfc736a47
diff --git a/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php b/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php +++ b/src/Symfony/Component/Config/Definition/Builder/A...
[Config] added some phpdocs
symfony_symfony
train
php
ba20547b2aa31deeccf128f0fe12b44b9ddf8836
diff --git a/gifi/git_hub.py b/gifi/git_hub.py index <HASH>..<HASH> 100644 --- a/gifi/git_hub.py +++ b/gifi/git_hub.py @@ -30,7 +30,10 @@ def _create_authorization(config, config_level, gh): def _handle_github_exception(e, event): logging.warn('%s raised an exception: %s' % (event, e)) - error = ', '.join(ma...
github: nice UX message when wrong credentials are passed to authorize
kokosing_git-gifi
train
py
4fdb4dee2e1913fc0f7fda0689c6f76a3b67f854
diff --git a/mapstructure.go b/mapstructure.go index <HASH>..<HASH> 100644 --- a/mapstructure.go +++ b/mapstructure.go @@ -480,7 +480,7 @@ func (d *Decoder) decodeStruct(name string, data interface{}, val reflect.Value) } dataValType := dataVal.Type() - if dataValType.Key().Kind() != reflect.String { + if kind :=...
Allow decoding from map[interface{}]interface{} Mapstructure would fail if decoding from map[interface{}]interface{} expecting a map of map[string]interface{}, but if all the keys are strings, Decode should still work.
mitchellh_mapstructure
train
go
d32101fd9215c704721aac637e44f5b3cdbfffb3
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -216,7 +216,7 @@ const configureGrunt = function (grunt) { git submodule update if ! git diff --exit-code --quiet --ignore-submodules=untracked; then - ...
Fixed typo in Gruntfile no issue
TryGhost_Ghost
train
js
1fa728003e50bd0f2bd1d897798ed51f51ce2708
diff --git a/lib/router.js b/lib/router.js index <HASH>..<HASH> 100644 --- a/lib/router.js +++ b/lib/router.js @@ -4,7 +4,6 @@ var debug = require('debug')('koa-router') , methods = require('methods') - , parse = require('url').parse , Route = require('./route'); /**
delete unused url.parse
ZijianHe_koa-router
train
js
872202251744bd5c45005c7a3537b9ba08375d47
diff --git a/reflections/shape/shape-test.js b/reflections/shape/shape-test.js index <HASH>..<HASH> 100644 --- a/reflections/shape/shape-test.js +++ b/reflections/shape/shape-test.js @@ -571,7 +571,8 @@ QUnit.test(".size", function(){ QUnit.equal( shapeReflections.size({}), 0, "empty object"); QUnit.equal( shapeRef...
null and undefined are size 0
canjs_can-reflect
train
js,js
89a6edb687670f520b49c20f71c39519eb85e0f4
diff --git a/src/js/picker.js b/src/js/picker.js index <HASH>..<HASH> 100644 --- a/src/js/picker.js +++ b/src/js/picker.js @@ -1303,9 +1303,17 @@ } that.scrollEventTimer = $.zui.asap(function() { that.scrollEventTimer = null; - if (that.dropListShowed) { + if (!that....
* auto hide drop list when selections element invisible on scrolling.
easysoft_zui
train
js
220436184d00651be72c5641e4d981911fc2097e
diff --git a/ldapdb/models/base.py b/ldapdb/models/base.py index <HASH>..<HASH> 100644 --- a/ldapdb/models/base.py +++ b/ldapdb/models/base.py @@ -163,12 +163,12 @@ class Model(django.db.models.base.Model): """ class Meta: proxy = True + verbose_name = base_class._meta.verbose_...
make Model.scope over verbose name from base model
django-ldapdb_django-ldapdb
train
py
fd571f864c58f97dd720967ebc2ee25acd9a6236
diff --git a/lib/mail_room/arbitration/redis.rb b/lib/mail_room/arbitration/redis.rb index <HASH>..<HASH> 100644 --- a/lib/mail_room/arbitration/redis.rb +++ b/lib/mail_room/arbitration/redis.rb @@ -26,12 +26,12 @@ module MailRoom key = "delivered:#{uid}" incr = nil - redis.multi do |client| ...
Make consistent with sidekiq delivery Do not reuse the local variable matching the method name.
tpitale_mail_room
train
rb
3d983ddc340b43fbd6d76e9be18b3b46d44e2ef6
diff --git a/lib/oauthenticator/signable_request.rb b/lib/oauthenticator/signable_request.rb index <HASH>..<HASH> 100644 --- a/lib/oauthenticator/signable_request.rb +++ b/lib/oauthenticator/signable_request.rb @@ -124,7 +124,7 @@ module OAuthenticator # # @return [Hash<String, String>] protocol params d...
dup authorization before handing it off to the caller
notEthan_oauthenticator
train
rb
265a333a0b50c0fbdd12b024314158b13332486e
diff --git a/db/seeds.rb b/db/seeds.rb index <HASH>..<HASH> 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -49,6 +49,5 @@ end # one time set up for delayed_job/promises, override only needed # if DELAYED_JOB_PATH is not bin/delayed_job -Marty::Config["DELAYED_JOB_PARAMS"] = "-n 4" unless - Marty::Config["DELAYED_JO...
More idiomatic Ruby; default sleep-delay too
arman000_marty
train
rb
204bdfc06a2d2660ecce58123fbcdb87e75d5cb3
diff --git a/includes/modules/import/wordpress/class-pb-wxr.php b/includes/modules/import/wordpress/class-pb-wxr.php index <HASH>..<HASH> 100644 --- a/includes/modules/import/wordpress/class-pb-wxr.php +++ b/includes/modules/import/wordpress/class-pb-wxr.php @@ -132,7 +132,7 @@ class Wxr extends Import { */ protec...
Fix: Checking for array is redundat, PHP will throw fatal before we reach this.
pressbooks_pressbooks
train
php
4b79758ad048e503fb8e84aca8b308399f75601f
diff --git a/lib/Polynomial.js b/lib/Polynomial.js index <HASH>..<HASH> 100644 --- a/lib/Polynomial.js +++ b/lib/Polynomial.js @@ -16,6 +16,9 @@ Polynomial.ACCURACY = 15; /** * interpolate * + * Based on code from "Numerical Recipes in C, 2nd Edition" + * Section 3.1, pages 109-110 + * * @param {Array<Numbe...
[Fix #5] Throw on error condition According to the code in “Numerical Recipes in C”, if we get a zero as an intermediate value during interpolation, we cannot interpolate. We throw an error in this situation.
thelonious_kld-polynomial
train
js
2fe1cdcead1b9af8c9a9818f5f393164503dd61b
diff --git a/ocpp/websocket-json/src/main/java/io/motown/ocpp/websocketjson/OcppJsonService.java b/ocpp/websocket-json/src/main/java/io/motown/ocpp/websocketjson/OcppJsonService.java index <HASH>..<HASH> 100644 --- a/ocpp/websocket-json/src/main/java/io/motown/ocpp/websocketjson/OcppJsonService.java +++ b/ocpp/websocke...
Fixed an issue with sending GetDiagnostics.req Changed parameters from a primitive int to an Integer so null values are allowed. fixes #<I>
motown-io_motown
train
java
02c9d33ca44130b15082ec0a4a635ef1f938eedc
diff --git a/src/auth/User.php b/src/auth/User.php index <HASH>..<HASH> 100644 --- a/src/auth/User.php +++ b/src/auth/User.php @@ -33,14 +33,19 @@ class User extends ORM{ } - public function has_role($role_name) + public function has_role($role_names) { $roles = $this->get_roles(); + ...
has_role now can handle list of roles
levmorozov_mii
train
php
b5eca5f0cc8091147bf8b882e2ce847d7f5a2901
diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb index <HASH>..<HASH> 100644 --- a/spec/integration_spec.rb +++ b/spec/integration_spec.rb @@ -230,11 +230,19 @@ describe PDF::Reader, "integration specs" do end - it "should correctly extract text from an encrypted PDF with no user password and re...
improve structure of integration specs for this sample file
yob_pdf-reader
train
rb
cb2357294ac3f3cd4316f0dc8247f23b5c6ed245
diff --git a/testing/setup.go b/testing/setup.go index <HASH>..<HASH> 100644 --- a/testing/setup.go +++ b/testing/setup.go @@ -71,7 +71,7 @@ func StartGandalfTestServer(h http.Handler) *httptest.Server { return ts } -func SetTargetFile(c *gocheck.C) []string { +func SetTargetFile(c *gocheck.C, target []byte) []str...
testing: add capability to define the target on SetTargetFile
tsuru_tsuru
train
go
7da49ff6e769bd3da84421f2617ac85d7796c114
diff --git a/pinax/points/tests/tests.py b/pinax/points/tests/tests.py index <HASH>..<HASH> 100644 --- a/pinax/points/tests/tests.py +++ b/pinax/points/tests/tests.py @@ -33,8 +33,8 @@ class BasePointsTestCase(object): ] def setup_points(self, value): - for k, v in value.iteritems(): - ...
Do not use iteritems in Python 3
pinax_pinax-points
train
py
08d08580c8d2e9dc4e18ce165c66c01a88731505
diff --git a/tests/unit/DbTest.php b/tests/unit/DbTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/DbTest.php +++ b/tests/unit/DbTest.php @@ -1741,5 +1741,19 @@ class DbTest extends TestCase $this->assertEquals(4, $members->length()); } + + public function testSetDataWithProperty() + { ...
added test for set data with propery name value
twinh_wei
train
php
cdfe06a772a1107557f74a18fab88a82314d7efc
diff --git a/ibis/backends/conftest.py b/ibis/backends/conftest.py index <HASH>..<HASH> 100644 --- a/ibis/backends/conftest.py +++ b/ibis/backends/conftest.py @@ -486,7 +486,9 @@ def ddl_con(ddl_backend): ), scope='session', ) -def alchemy_backend(request, data_directory, tmp_path_factory): +def alchemy_back...
chore: pass in script_directory
ibis-project_ibis
train
py
0931bfff19e195cd42fd42111bb7b1657716af71
diff --git a/pyblish_nuke/plugins/select_current_file.py b/pyblish_nuke/plugins/select_current_file.py index <HASH>..<HASH> 100644 --- a/pyblish_nuke/plugins/select_current_file.py +++ b/pyblish_nuke/plugins/select_current_file.py @@ -24,4 +24,5 @@ class SelectCurrentFile(pyblish.api.Selector): # Maya returns ...
Adding `current_file` for backwards compatibility.
pyblish_pyblish-nuke
train
py
f523341a8c49155e4035f263a9e2ab320208303c
diff --git a/PyFunceble/cli/processes/base.py b/PyFunceble/cli/processes/base.py index <HASH>..<HASH> 100644 --- a/PyFunceble/cli/processes/base.py +++ b/PyFunceble/cli/processes/base.py @@ -183,6 +183,21 @@ class ProcessesManagerBase: return wrapper + def ignore_if_running(func): # pylint: disable=no-...
Ensure that we don't start if workers are running. Indeed, before this patch, it was possible to try to restart the workers even if they were already running. This patch introduce a decorator which ignore the execution of the decorated method if all workers are already running. Contributors: * @spirillen
funilrys_PyFunceble
train
py
d2e295c668a12cd634b6d3e3e913eefbf4e66962
diff --git a/asks/request.py b/asks/request.py index <HASH>..<HASH> 100644 --- a/asks/request.py +++ b/asks/request.py @@ -14,7 +14,6 @@ from .auth import PreResponseAuth, PostResponseAuth from .req_structs import CaseInsensitiveDict as c_i_Dict from .response_objects import Response from .http_req_parser import Htt...
old faithful pylist appeasement
theelous3_asks
train
py,py
b4b660c83ed6713e83ed4d8f6220d0a9ca04dc2e
diff --git a/addon/helpers/if-can.js b/addon/helpers/if-can.js index <HASH>..<HASH> 100644 --- a/addon/helpers/if-can.js +++ b/addon/helpers/if-can.js @@ -123,7 +123,7 @@ function makeHelper(isUnless) { var propName = ["_abilities", id, names.ability].join("."); if (isHTMLBars) { - env.helpers.boundIf....
Fix against latest Canary - boundIf has been removed
minutebase_ember-can
train
js
409939bf8292ed85df3fc2255b6e204f4768938b
diff --git a/lib/scripts.php b/lib/scripts.php index <HASH>..<HASH> 100644 --- a/lib/scripts.php +++ b/lib/scripts.php @@ -61,6 +61,6 @@ function roots_google_analytics() { ?> </script> <?php } -if (GOOGLE_ANALYTICS_ID) { +if (GOOGLE_ANALYTICS_ID && !current_user_can('manage_options')) { add_action('wp_footer', ...
Hide Google Analytics to admins to prevent obscured data.
roots_sage
train
php
ec636dcb29c3c99fca39bc4b6d84c7995b556a30
diff --git a/rllib/evaluation/rollout_worker.py b/rllib/evaluation/rollout_worker.py index <HASH>..<HASH> 100644 --- a/rllib/evaluation/rollout_worker.py +++ b/rllib/evaluation/rollout_worker.py @@ -1809,17 +1809,18 @@ class RolloutWorker(ParallelIteratorWorker): env = env_creator(env_ctx) # V...
[RLlib] Do not print warning message during env pre-checking, if there is nothing wrong with user envs. (#<I>)
ray-project_ray
train
py
e2dfb2ebb4b9bc2c0b376ae616db6567e80d50d9
diff --git a/src/Module.php b/src/Module.php index <HASH>..<HASH> 100644 --- a/src/Module.php +++ b/src/Module.php @@ -10,7 +10,7 @@ class Module extends \luya\base\Module * @link https://github.com/zephir/luya/blob/master/CHANGELOG.md * @var string */ - const VERSION = '1.0.0-alpha15'; + const ...
added suffix -dev to version when not yet released.
luyadev_luya
train
php
eee05ff5f1e45686b4b1928f39d04537553504d2
diff --git a/modules/core/src/main/java/org/torquebox/core/injection/analysis/InjectionRubyByteCodeVisitor.java b/modules/core/src/main/java/org/torquebox/core/injection/analysis/InjectionRubyByteCodeVisitor.java index <HASH>..<HASH> 100644 --- a/modules/core/src/main/java/org/torquebox/core/injection/analysis/Injectio...
Supposed fix for TORQUE-<I>, by bailing with the empty string in the argument fails our expected casting.
torquebox_torquebox
train
java
9f1695f465245d28b815e95f1922116d622cb3a2
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -54,19 +54,24 @@ $('.infoHash span').text(infoHash) $('.displayName span').text(displayName) var dht = new DHT(infoHash) -dht.findPeers(MAX_PEERS) - -var swarm = new Swarm(infoHash, peerId) dht.on('node', function (node...
show # of connected peers in UI
webtorrent_webtorrent
train
js
6b385a36f9750b7a66300bbb2167ea5a4d26a61f
diff --git a/modules/caddyhttp/autohttps.go b/modules/caddyhttp/autohttps.go index <HASH>..<HASH> 100644 --- a/modules/caddyhttp/autohttps.go +++ b/modules/caddyhttp/autohttps.go @@ -152,7 +152,9 @@ func (app *App) automaticHTTPSPhase1(ctx caddy.Context, repl *caddy.Replacer) er return fmt.Errorf("%s: route %d...
caddyhttp: Don't attempt to manage Tailscale certs If .ts.net domains are explicitly added to config, don't try to manage a cert for them (it will fail, and our implicit Tailscale module will get those certs at run-time).
mholt_caddy
train
go
915b3c13345b847a71aac137165c02743747c3a0
diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index <HASH>..<HASH> 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -113,6 +113,8 @@ def isolate(pathlib_tmpdir): os.environ["GIT_AUTHOR_EMAIL"] = fs_str("pipenv@pipenv.org") mkdir_p(os.path.join(home...
ignore PIPENV_ACTIVE in testing
pypa_pipenv
train
py
633e5d850374694cbe788216dafb22cee788ebc1
diff --git a/script/verify-chromedriver.py b/script/verify-chromedriver.py index <HASH>..<HASH> 100644 --- a/script/verify-chromedriver.py +++ b/script/verify-chromedriver.py @@ -35,7 +35,7 @@ def main(): match = re.search( '^Starting ChromeDriver [0-9]+.[0-9]+.[0-9]+.[0-9]+ .* on port [0-9]+$', output) - if...
chore: change `== None` to `is None` (#<I>) According to LGTM, this change will improve code efficiency. <URL>
electron_electron
train
py
c0450de54ab513dbc35d6434e2c64c2f4f0ea7ee
diff --git a/test/base.py b/test/base.py index <HASH>..<HASH> 100644 --- a/test/base.py +++ b/test/base.py @@ -1,9 +1,6 @@ -import json from unittest import TestCase from mock import patch -import requests import json -import sys from linode import LinodeClient from .fixtures import TestFixtures @@ -11,9 +8,11 @...
add headers to mock repsonse
linode_linode_api4-python
train
py
9d0fdacedf00ac5635c77210247003fc8a286fa7
diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index <HASH>..<HASH> 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -3,7 +3,6 @@ package common import ( "errors" "fmt" - "github.com/mitchellh/goamz/ec2" "time" ) @@ -19,7 +18...
removed Tags definition from RunConfig
hashicorp_packer
train
go
3af16339069302ab82900696de7fc532cf2db7d3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='gomatic', - version='0.4.4', + version='0.4.5', description='API for configuring GoCD', url='https://github.com/SpringerSBM/gomat...
Ivan - create new version of gomatic
gocd-contrib_gomatic
train
py
8ba1f67bcfbba099594248336be775055e6199e5
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/Version.java b/findbugs/src/java/edu/umd/cs/findbugs/Version.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/Version.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/Version.java @@ -27,16 +27,16 @@ public class Version { public static fi...
Tentative release date of <I>: October 7, <I>. git-svn-id: <URL>
spotbugs_spotbugs
train
java
fbe2b6b730d3558c2107b2ea778a0190168d59ec
diff --git a/lib/sugar-high/regexp.rb b/lib/sugar-high/regexp.rb index <HASH>..<HASH> 100644 --- a/lib/sugar-high/regexp.rb +++ b/lib/sugar-high/regexp.rb @@ -8,4 +8,11 @@ class Regexp def to_regexp self end +end + +class Array + def grep_it expr + return self if !expr + self.grep(expr.to_regexp) + e...
added grep_it to Array in regexp pack
kristianmandrup_sugar-high
train
rb,rb
9f89738cd117c329082456f95cb0063aaeb141eb
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom'; import createStore from './store'; import { reducers } from './reducers'; -import { readJSON, newKernel, save } from './actions'; +import { readJSON, newKernel...
Problem: we should be able to kill the kernel Solution: attach a listener for menu:kill-kernel events
nteract_nteract
train
js
865df8dd2514dec4e88a247994047b5438831d76
diff --git a/examples/putFile.php b/examples/putFile.php index <HASH>..<HASH> 100644 --- a/examples/putFile.php +++ b/examples/putFile.php @@ -10,7 +10,7 @@ require_once('bootstrap.php'); // Create a temporary file and write some data to it $tmp = tempnam('/tmp', 'dropbox'); -$data = 'This file was uploaded at '. d...
Removed date call from example - Dropbox will provide this information
BenExile_Dropbox
train
php
c7294a01c1fd6b82494a1ae798499702ec0fa616
diff --git a/src/main/java/net/malisis/core/renderer/font/StringWalker.java b/src/main/java/net/malisis/core/renderer/font/StringWalker.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/malisis/core/renderer/font/StringWalker.java +++ b/src/main/java/net/malisis/core/renderer/font/StringWalker.java @@ -91,17 +91...
Added null check on FRO
Ordinastie_MalisisCore
train
java
42efab346df698530a1ab1c9e4ab50b9b6d716b8
diff --git a/src/main/java/view/reporting/ReportingDialog.java b/src/main/java/view/reporting/ReportingDialog.java index <HASH>..<HASH> 100644 --- a/src/main/java/view/reporting/ReportingDialog.java +++ b/src/main/java/view/reporting/ReportingDialog.java @@ -135,7 +135,6 @@ public class ReportingDialog { @Suppre...
Fixed multithreading issue when creating the screenshot
vatbub_common
train
java
ad0f2051e210376520bea913875c30146aa8f856
diff --git a/tests/test_driver.py b/tests/test_driver.py index <HASH>..<HASH> 100644 --- a/tests/test_driver.py +++ b/tests/test_driver.py @@ -40,7 +40,8 @@ class TestBigchainDB: assert 'api' in response assert 'docs' in response assert response['keyring'] == [] - assert response['publ...
Problem: public key is currently not exposed in BigchainDB Server (#<I>) Solutions: remove the public key from tests
bigchaindb_bigchaindb-driver
train
py
d06305186aed8b389a50a789630d366351b750cf
diff --git a/tests/integration/test_nspawn_backend.py b/tests/integration/test_nspawn_backend.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_nspawn_backend.py +++ b/tests/integration/test_nspawn_backend.py @@ -29,7 +29,7 @@ from conu.backend.nspawn.backend import NspawnBackend from conu.utils import mkdte...
tests: use conu.tests logger
user-cont_conu
train
py
3153c4a87d1a6dff7f36d2b269463a6d5d037cda
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index <HASH>..<HASH> 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -15,7 +15,7 @@ import header from 'gulp-header'; import autoprefixer from 'gulp-autoprefixer'; import eslint from 'gulp-eslint'; import phpcs from 'gulp-phpcs'; -import phpcd from 'gulp-p...
Fix import typo in gulp file
wp-papi_papi
train
js
991880dcfeb6f04b2b67243e719024a9336249f4
diff --git a/rzslider.js b/rzslider.js index <HASH>..<HASH> 100644 --- a/rzslider.js +++ b/rzslider.js @@ -4,7 +4,7 @@ * (c) Rafal Zajac <rzajac@gmail.com> * http://github.com/rzajac/angularjs-slider * - * Version: v0.1.6 + * Version: v0.1.6r * * Licensed under the MIT license */ @@ -652,7 +652,7 @@ functio...
Step rounding should be based on precision By dividing the step by the precision you can make it so the slider jumps to the next most precise step as opposed to only whole numbers. (It doesn't make sense to have precision if it will always be forced to a whole number).
angular-slider_angularjs-slider
train
js
cc6388d399f44359be82d19b9679ef2a59a77dfd
diff --git a/pgpy/reg.py b/pgpy/reg.py index <HASH>..<HASH> 100644 --- a/pgpy/reg.py +++ b/pgpy/reg.py @@ -5,6 +5,7 @@ regex helpers from enum import Enum class Magic(Enum): + Magic = r'-----BEGIN PGP ([A-Z ]*)-----' Signature = r'^-----BEGIN PGP SIGNATURE-----' PubKey = r'^-----BEGIN PGP PUBLIC KEY BL...
added basic magic regex to reg.Magic
SecurityInnovation_PGPy
train
py
964e4a1fad93e757dfd6d483aea77c6c34af75e7
diff --git a/test/2_consumer.js b/test/2_consumer.js index <HASH>..<HASH> 100644 --- a/test/2_consumer.js +++ b/test/2_consumer.js @@ -18,7 +18,7 @@ describe("#consumer", function() { var message = []; var leftReconsume = true; - this.timeout(0); + this.timeout(1000); function listener(_message...
test: add a new test case for consumer with no option
XadillaX_aliyun-ons
train
js
c9aa83b63e2306f75ea8f76a6235ac99ca9bbf54
diff --git a/sites/docs/conf.py b/sites/docs/conf.py index <HASH>..<HASH> 100644 --- a/sites/docs/conf.py +++ b/sites/docs/conf.py @@ -14,3 +14,8 @@ autodoc_default_flags = ['members', 'special-members'] intersphinx_mapping = { 'python': ('http://docs.python.org/2.6', None), } + +# Sister-site links to WWW +html...
Link back to WWW in docs sidebar
paramiko_paramiko
train
py
ae1955a74cb0812bbc7187d0a3bdf1014cd43a4d
diff --git a/pyblish_qml/control.py b/pyblish_qml/control.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/control.py +++ b/pyblish_qml/control.py @@ -757,13 +757,14 @@ class Controller(QtCore.QObject): self.host.emit("reset", context=None) - def on_run(plugins): - """Fetch instances ...
More visually pleasing with having the sections hiding after the instances compatibility check.
pyblish_pyblish-qml
train
py
d6c6f45b413dd22546eb94dd5550946141f2ec4f
diff --git a/lib/shashi.js b/lib/shashi.js index <HASH>..<HASH> 100644 --- a/lib/shashi.js +++ b/lib/shashi.js @@ -9,8 +9,7 @@ exports.version = require( '../package' ).version; exports.Shashi = ( function () { - var log = console.log - , abs = Math.abs + var abs = Math.abs , ceil = Math.ceil ...
some fixes.. On branch master modified: lib/shashi.js
rootslab_shashi
train
js
c3a78eb05c0b146b2eb37b50c1668b9430b8f50a
diff --git a/tests/fixtures.py b/tests/fixtures.py index <HASH>..<HASH> 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -61,8 +61,8 @@ def make_app_client( @pytest.fixture(scope="session") -def app_client(**kwargs): - yield from make_app_client(**kwargs) +def app_client(): + yield from make_app_cli...
app_client() fixture doesn't need to take **kwargs
simonw_datasette
train
py
7821db4fb30bc013f8ae71c779faae5f6864da1d
diff --git a/falafel/__init__.py b/falafel/__init__.py index <HASH>..<HASH> 100644 --- a/falafel/__init__.py +++ b/falafel/__init__.py @@ -17,3 +17,19 @@ with open(os.path.join(__here__, "COMMIT")) as f: def get_nvr(): return "{0}-{1}-{2}".format(NAME, VERSION, RELEASE) + +RULES_STATUS = {} +""" +Mapping of dic...
Allow rule repos to provide version information Added a new method to the root package `add_status`. Rule repos should use it during initialization: import falafel falafel.add_status(name="my_rule_repo", nvr="my-rules-<I>-1", commit="abcdef")
RedHatInsights_insights-core
train
py
3a908ff791fc3b0bd4e1e854210bbc9774290947
diff --git a/classes/Kohana/Exception/Payment.php b/classes/Kohana/Exception/Payment.php index <HASH>..<HASH> 100644 --- a/classes/Kohana/Exception/Payment.php +++ b/classes/Kohana/Exception/Payment.php @@ -19,7 +19,10 @@ class Kohana_Exception_Payment extends Kohana_Exception { parent::__construct($message, $vari...
Set Exception_Payment data only when it is converted to array
OpenBuildings_purchases
train
php
38230b0911da5b072d969e91080efb40d6af62aa
diff --git a/TYPO3.Flow/Classes/Reflection/ObjectAccess.php b/TYPO3.Flow/Classes/Reflection/ObjectAccess.php index <HASH>..<HASH> 100644 --- a/TYPO3.Flow/Classes/Reflection/ObjectAccess.php +++ b/TYPO3.Flow/Classes/Reflection/ObjectAccess.php @@ -118,7 +118,7 @@ class ObjectAccess { if (is_object($subject) && self:...
[+BUGFIX] FLOW3 (Reflection): ObjectAccess->getPropertyPath() now correctly processes Closures located in an array or object implementing ArrayAccess. Original-Commit-Hash: 6e0ced<I>d<I>b4c<I>abd8da<I>be<I>
neos_flow-development-collection
train
php
78915cfffaadcd65ba3f0b0473c52788aa40531d
diff --git a/src/Mixins/OauthTrait.php b/src/Mixins/OauthTrait.php index <HASH>..<HASH> 100644 --- a/src/Mixins/OauthTrait.php +++ b/src/Mixins/OauthTrait.php @@ -43,7 +43,7 @@ use Nosto\OAuth\AuthorizationCode; use Nosto\Operation\OAuth\ExchangeTokens; use Nosto\Types\Signup\AccountInterface; -trait Nosto_Mixins_O...
Fixed the name of the new OAuth mixin trait.
Nosto_nosto-php-sdk
train
php
fad48020cb7a4984c86c16b7c15137e0feb9455e
diff --git a/src/QueryBuilder/TokenSequencer.php b/src/QueryBuilder/TokenSequencer.php index <HASH>..<HASH> 100644 --- a/src/QueryBuilder/TokenSequencer.php +++ b/src/QueryBuilder/TokenSequencer.php @@ -169,7 +169,7 @@ class TokenSequencer implements TokenSequencerInterface $childAlias = empty($collectionAlias...
When getting the collection name to prepend to sort fields, account for cases where there is no entity metadata to get the collection name from.
lexide_reposition
train
php