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
cac4ef03087a4e8ffdc3139291919dcb48a12374
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,7 +20,8 @@ import mock MOCK_MODULES = ['numpy', 'scipy', 'matplotlib', 'matplotlib.pyplot', 'scipy.linalg', 'numpy.linalg', 'matplotlib.pyplot', - 'numpy.random'] + ...
Added mocks for scipy and matplotlib so docs will build.
rlabbe_filterpy
train
py
3b96355b6275da1eb2ddead1bb670ac84a775b67
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -100,7 +100,7 @@ function initJobDirs(base, job, cache, done) { Runner.prototype = { id: 'simple-runner', - + // public API loadExtensions: function (dirs, done) { var self = this @@ -350,6 +...
Pass emitter through to core so that it can be used in plugins
Strider-CD_strider-simple-runner
train
js
d312d8f6cc53d19a21fda2a0900deac089439cae
diff --git a/src/Mouf/Reflection/MoufReflectionProxy.php b/src/Mouf/Reflection/MoufReflectionProxy.php index <HASH>..<HASH> 100755 --- a/src/Mouf/Reflection/MoufReflectionProxy.php +++ b/src/Mouf/Reflection/MoufReflectionProxy.php @@ -1,12 +1,12 @@ <?php -/* - * This file is part of the Mouf core package. - * - * (c)...
Force arg_separator.output in Proxy
thecodingmachine_mouf
train
php
1ced9d7b73193273373544f3c8ddf4ed3ebc81bc
diff --git a/lib/datalib.php b/lib/datalib.php index <HASH>..<HASH> 100644 --- a/lib/datalib.php +++ b/lib/datalib.php @@ -1763,7 +1763,7 @@ function get_all_instances_in_course($modulename, $course, $userid=NULL, $includ if ($includeinvisible) { $invisible = -1; - } else if (has_capability('moodle/c...
MDL-<I> - Wrong capability checked in get_all_instances_in_course should be moodle/course:viewhiddenactivities, not moodle/course:viewhiddencourses. Merged from MOODLE_<I>_STABLE.
moodle_moodle
train
php
cd8926779d2bab12434881973d2483b82c915b55
diff --git a/lib/jquery-ui-rails-cdn.rb b/lib/jquery-ui-rails-cdn.rb index <HASH>..<HASH> 100644 --- a/lib/jquery-ui-rails-cdn.rb +++ b/lib/jquery-ui-rails-cdn.rb @@ -19,10 +19,10 @@ module Jquery::Ui::Rails::Cdn end def jquery_ui_include_tag(name, options = {}) - return javascript_include_tag(:'jquery...
Always remove force from options hash This avoids force="true" on the script tags if force: true is set outside of OFFLINE environments.
styx_jquery-ui-rails-cdn
train
rb
3541e049e1298db53efc4f63245768353001c3bf
diff --git a/plotnine/stats/stat_quantile.py b/plotnine/stats/stat_quantile.py index <HASH>..<HASH> 100644 --- a/plotnine/stats/stat_quantile.py +++ b/plotnine/stats/stat_quantile.py @@ -20,7 +20,7 @@ class stat_quantile(stat): Parameters ---------- {common_parameters} - quatiles : tuple, optional (de...
DOC: Fix Mispelling of quantile (#<I>)
has2k1_plotnine
train
py
becbc148471c7f3d488574ccd616216f79f4b61f
diff --git a/tensorlayer/layers.py b/tensorlayer/layers.py index <HASH>..<HASH> 100755 --- a/tensorlayer/layers.py +++ b/tensorlayer/layers.py @@ -2202,6 +2202,9 @@ class DynamicRNNLayer(Layer): your state at the begining of each epoch or iteration according to your training procedure. + sequence...
[LAYER] dynamic rnn advanced opt for computing the sequence length
tensorlayer_tensorlayer
train
py
7d1ffff1463738eba0ef9a08fec050a3ed8946a2
diff --git a/src/services/Export.php b/src/services/Export.php index <HASH>..<HASH> 100644 --- a/src/services/Export.php +++ b/src/services/Export.php @@ -2,6 +2,7 @@ namespace verbb\fieldmanager\services; use Craft; +use craft\helpers\ArrayHelper; use craft\helpers\Json; use yii\base\Component; @@ -76,6 +77,15...
Add width property to export for Matrix
verbb_field-manager
train
php
ad0f935e1799112b9740c6fadfe5df429950916b
diff --git a/lib/jira/resource/sprint.rb b/lib/jira/resource/sprint.rb index <HASH>..<HASH> 100644 --- a/lib/jira/resource/sprint.rb +++ b/lib/jira/resource/sprint.rb @@ -16,7 +16,7 @@ module JIRA def self.find(client, key, options = {}) options[:maxResults] ||= 100 fields = options[:fields].jo...
Fixed a bug where the startAt field wasn’t being used for paginated sprint results.
sumoheavy_jira-ruby
train
rb
e0a07d9b2859e46748ff3a7f2190afe6b571d431
diff --git a/src/Client.php b/src/Client.php index <HASH>..<HASH> 100644 --- a/src/Client.php +++ b/src/Client.php @@ -161,7 +161,7 @@ class Client { */ public function setCookiePath($cookiePath) { - $this->cookiePath = $cookiePath; + $this->cookiePath = rtrim($cookiePath, '/') . '/'; ...
[TASK] Ensure trailing slash on cookie path
xperseguers_doodle_client
train
php
2f8328eab2e9ee928af3ae0d1ff51f9c3bc7dbe4
diff --git a/tests/test_web.py b/tests/test_web.py index <HASH>..<HASH> 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -121,8 +121,8 @@ class TestHttps(unittest2.TestCase): options = {} if https: options = { - 'PSDASH_HTTPS_KEYFILE': 'keyfile', - '...
Now properly specifying HTTPS option paths in tests.
Jahaja_psdash
train
py
396622e00607cc886b64269ab50adc7ff4879be4
diff --git a/commands/command_filter_process.go b/commands/command_filter_process.go index <HASH>..<HASH> 100644 --- a/commands/command_filter_process.go +++ b/commands/command_filter_process.go @@ -167,19 +167,26 @@ func filterCommand(cmd *cobra.Command, args []string) { malformedOnWindows = append(malformedOnWind...
commands: clarify err to status conversion
git-lfs_git-lfs
train
go
95602c43f890c40e5269a536c93979372f89ab6f
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -327,7 +327,6 @@ class CrawlKit { * @return {(Stream|Promise.<Object>)} By default a Promise object is returned that resolves to the result. If streaming is enabled it returns a JSON stream of the results....
style: no need to put nanoTimer in symbol
crawlkit_crawlkit
train
js
24fa09b83749bbdd1a5b3eb563afc71f7d1f65e4
diff --git a/lib/ethon/easy/http/actionable.rb b/lib/ethon/easy/http/actionable.rb index <HASH>..<HASH> 100644 --- a/lib/ethon/easy/http/actionable.rb +++ b/lib/ethon/easy/http/actionable.rb @@ -8,6 +8,8 @@ module Ethon # for more real actions like GET, HEAD, POST and PUT. module Actionable + QUE...
Refactor: set query options in a Constant
typhoeus_ethon
train
rb
7edf89c54f37a4df960dd1af1e3ca688b6644ad6
diff --git a/src/Wrep/Notificato/Apns/Message.php b/src/Wrep/Notificato/Apns/Message.php index <HASH>..<HASH> 100644 --- a/src/Wrep/Notificato/Apns/Message.php +++ b/src/Wrep/Notificato/Apns/Message.php @@ -2,6 +2,10 @@ namespace Wrep\Notificato\Apns; +/** + * An APNS Message representation. + * Note: All strings ...
JSON output check and documented Message must be used with UTF-8 strings Fixes #<I>
mac-cain13_notificato
train
php
b0c1a8560617fd2ac04eff64d10c16d9244a1dc1
diff --git a/browserscripts/performance/resourceTimings.js b/browserscripts/performance/resourceTimings.js index <HASH>..<HASH> 100644 --- a/browserscripts/performance/resourceTimings.js +++ b/browserscripts/performance/resourceTimings.js @@ -1,21 +1,18 @@ (function() { - /** - * Browsertime (http://www.browsertime...
use the same pattern as user timings
sitespeedio_browsertime
train
js
67da0581b193b62498927a6ba8b410c9977e5455
diff --git a/digitalocean/Metadata.py b/digitalocean/Metadata.py index <HASH>..<HASH> 100644 --- a/digitalocean/Metadata.py +++ b/digitalocean/Metadata.py @@ -19,7 +19,7 @@ class Metadata(BaseAPI): super(Metadata, self).__init__(*args, **kwargs) self.end_point = "http://169.254.169.254/metadata/v1" ...
A new option will force or not the json rendering of the response.
koalalorenzo_python-digitalocean
train
py
ef0fad8ab85a98a2662328382b46b2cfd116737d
diff --git a/lib/sensu/config.rb b/lib/sensu/config.rb index <HASH>..<HASH> 100644 --- a/lib/sensu/config.rb +++ b/lib/sensu/config.rb @@ -197,7 +197,7 @@ module Sensu opts.on('-b', '--background', 'Fork into backgaround (daemon mode) (default: false)') do options[:daemonize] = true end - ...
[fix-config-test] just needed to remove nonexistent constant from optparse
sensu_sensu
train
rb
d7962e8308d7fb7b96e0d0cae6c7075f8a4923fe
diff --git a/src/basis/animation.js b/src/basis/animation.js index <HASH>..<HASH> 100644 --- a/src/basis/animation.js +++ b/src/basis/animation.js @@ -50,7 +50,7 @@ } ); - var cancelAnimationFrame = createMethod('cancelRequestAnimationFrame') || createMethod('cancelAnimationFrame', + var cancelAnimationFram...
basis.animation: try to use `cancelAnimationFrame` first, instead of deprecated `cancelRequestAnimationFrame`
basisjs_basisjs
train
js
aabe4461ff3fae9ffa2fca43f83f53e0d874f3ae
diff --git a/scanpy/tests/test_read_10x.py b/scanpy/tests/test_read_10x.py index <HASH>..<HASH> 100644 --- a/scanpy/tests/test_read_10x.py +++ b/scanpy/tests/test_read_10x.py @@ -10,8 +10,8 @@ ROOT = os.path.join(ROOT, '_data', '10x_data') def assert_anndata_equal(a1, a2): assert a1.shape == a2.shape - asser...
I had forgotten what `all(dataframe)` does (#<I>)
theislab_scanpy
train
py
35978f237f38d9d80ad5a08d937eb48ee5e20ff8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,8 @@ setup( author_email='support@algorithmia.com', packages=['Algorithmia'], install_requires=[ - 'requests' + 'requests', + 'six' ], include_package_data=True, cla...
add six as one of the dependencies for the project
algorithmiaio_algorithmia-python
train
py
8dd1657be7790a05775f4ddf9d01c27a4c22030b
diff --git a/uliweb/form/uliform.py b/uliweb/form/uliform.py index <HASH>..<HASH> 100644 --- a/uliweb/form/uliform.py +++ b/uliweb/form/uliform.py @@ -424,7 +424,7 @@ class IntField(BaseField): BaseField.__init__(self, label=label, default=default, required=required, validators=validators, name=name, html_attr...
Form int field will convert value to float first
limodou_uliweb
train
py
0a10f2fab98ee3f920aad5a7efde9babc296a6c2
diff --git a/src/test/java/org/jooq/lambda/SeqTest.java b/src/test/java/org/jooq/lambda/SeqTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/jooq/lambda/SeqTest.java +++ b/src/test/java/org/jooq/lambda/SeqTest.java @@ -78,6 +78,7 @@ public class SeqTest { assertTrue(it1.hasNext()); Tuple...
[#<I>] Failing test with Iterator.hasNext()
jOOQ_jOOL
train
java
2817865ddb4560be85570f35c8ca7d72452b46db
diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go index <HASH>..<HASH> 100644 --- a/pkg/minikube/constants/constants.go +++ b/pkg/minikube/constants/constants.go @@ -119,7 +119,7 @@ const ( var DefaultIsoUrl = fmt.Sprintf("https://storage.googleapis.com/%s/minikube-%s.iso", minikub...
Keep <I> as default for now
kubernetes_minikube
train
go
45634f87f81eb9f2242c5ec4f74995fbc618bf1a
diff --git a/examples/distillation/run_squad_w_distillation.py b/examples/distillation/run_squad_w_distillation.py index <HASH>..<HASH> 100644 --- a/examples/distillation/run_squad_w_distillation.py +++ b/examples/distillation/run_squad_w_distillation.py @@ -264,7 +264,7 @@ def evaluate(args, model, tokenizer, prefix="...
fix Sampler in distributed training - evaluation
huggingface_pytorch-pretrained-BERT
train
py
e049d542b8f178c1e89504b71d5b16ad5d51202a
diff --git a/lib/pork/test.rb b/lib/pork/test.rb index <HASH>..<HASH> 100644 --- a/lib/pork/test.rb +++ b/lib/pork/test.rb @@ -1,21 +1,16 @@ require 'pork/auto' -Pork.autorun(false) +Pork.autorun Pork.show_source Pork.Rainbows! if rand(10) == 0 -at_exit do - Pork.module_eval do - execute_mode(ENV['PORK_MOD...
so that we don't copy and paste
godfat_pork
train
rb
592382b5f30aa5d4f3a215bb79f909349f7771c8
diff --git a/tests/risk_job_unittest.py b/tests/risk_job_unittest.py index <HASH>..<HASH> 100644 --- a/tests/risk_job_unittest.py +++ b/tests/risk_job_unittest.py @@ -343,7 +343,7 @@ class RiskCalculatorTestCase(unittest.TestCase): GRID_ASSETS[gcoo] = asset self.grid = shapes.Grid(shapes.Region....
all tests pass Former-commit-id: 5dd<I>bafacfae7dc6a<I>d7a<I>b5db<I>f
gem_oq-engine
train
py
1bdcf29e7141165009fe642d95950f3038b8e13e
diff --git a/src/Tokenizer.php b/src/Tokenizer.php index <HASH>..<HASH> 100644 --- a/src/Tokenizer.php +++ b/src/Tokenizer.php @@ -115,7 +115,7 @@ class Tokenizer } if ($prepend !== '' || $html[$i] !== '') { - $newTokens[] = new Token($prepend, '', $html[$i], clone $this->defaultCompresso...
Don't reinject $html[$i] into the HTML again
WyriHaximus_HtmlCompress
train
php
67ebfa0e80f4711bd19f99525b3c47bbfd71ad91
diff --git a/validate.go b/validate.go index <HASH>..<HASH> 100644 --- a/validate.go +++ b/validate.go @@ -552,13 +552,9 @@ func isTransactionSpent(txD *TxData) bool { func (b *BlockChain) checkBIP0030(node *blockNode, block *btcutil.Block) error { // Attempt to fetch duplicate transactions for all of the transactio...
Update checkBIP<I> to not use deprecated function. Rather than using the deprecated TxShas function on a btcutil.Block, convert the checkBIP<I> to use the newer preferred method of ranging over the Transactions to obtain the cached hash of each transaction. This is also a little more efficient since it can avoid crea...
btcsuite_btcd
train
go
c10e18c0eb497588f0f2e27590a6f6c6a9d23563
diff --git a/flink-tests/src/test/java/org/apache/flink/test/recovery/TaskManagerProcessFailureBatchRecoveryITCase.java b/flink-tests/src/test/java/org/apache/flink/test/recovery/TaskManagerProcessFailureBatchRecoveryITCase.java index <HASH>..<HASH> 100644 --- a/flink-tests/src/test/java/org/apache/flink/test/recovery/...
[FLINK-<I>][tests] Allow multiple restarts For some reason this test could fail multiple times, instead of just once.
apache_flink
train
java
75de099261c5c50cd7fa68edd280f63345b9e676
diff --git a/src/Aggregate/AggregateRepository.php b/src/Aggregate/AggregateRepository.php index <HASH>..<HASH> 100644 --- a/src/Aggregate/AggregateRepository.php +++ b/src/Aggregate/AggregateRepository.php @@ -184,6 +184,11 @@ class AggregateRepository return $eventSourcedAggregateRoot; } + public f...
fix snapshotting resolves <URL>
prooph_event-sourcing
train
php,php
deedd0313203c1c8331f199d2d3a08b8dec43d4b
diff --git a/openid/server/server.py b/openid/server/server.py index <HASH>..<HASH> 100644 --- a/openid/server/server.py +++ b/openid/server/server.py @@ -814,7 +814,11 @@ class LowLevelServer(object): modulus = args.get('openid.dh_modulus') generator = args.get('openid.dh_gen') - ...
[project @ Handle badly-encoded bigintegers better]
openid_python-openid
train
py
000d66ece6e17fda2256d4ed58393ca498dd051d
diff --git a/src/Calendar/Calendar.php b/src/Calendar/Calendar.php index <HASH>..<HASH> 100644 --- a/src/Calendar/Calendar.php +++ b/src/Calendar/Calendar.php @@ -60,6 +60,11 @@ class Calendar implements CalendarInterface, \IteratorAggregate public function sort() { - + usort($this->events, function($event1, $ev...
Provide sorting implementation for the calendar class.
benplummer_calendarful
train
php
ce3a61d5128cb4367f2aa39ea23c583e5c6abd3b
diff --git a/src/brackets.js b/src/brackets.js index <HASH>..<HASH> 100644 --- a/src/brackets.js +++ b/src/brackets.js @@ -254,6 +254,11 @@ define(function (require, exports, module) { // check once a day, plus 2 minutes, // as the check will skip if the last check was not -24h ago ...
Moved the app ready block to the previous location
adobe_brackets
train
js,js
e246a55a42330bd493bbc346a22188c052451a47
diff --git a/test/full_test.py b/test/full_test.py index <HASH>..<HASH> 100755 --- a/test/full_test.py +++ b/test/full_test.py @@ -314,7 +314,7 @@ def run_all_tests(mode, checker, protocol, cores, slices): "cores" : cores, "slices" : slices, ...
Increased the timeout of memcached_suite still more, because it still seems to be timing out.
rethinkdb_rethinkdb
train
py,py
4200804a98d7063505c59a06ef7f381e45287502
diff --git a/holoviews/core/settings.py b/holoviews/core/settings.py index <HASH>..<HASH> 100644 --- a/holoviews/core/settings.py +++ b/holoviews/core/settings.py @@ -173,9 +173,9 @@ class SettingsTree(AttrTree): if groups is None: raise ValueError('Please supply groups dictionary') self....
Renamed instantiated to _instantiated
pyviz_holoviews
train
py
f125ca02f20fd011bee9a9cd801a47ce1e82409e
diff --git a/src/controllers/IpController.php b/src/controllers/IpController.php index <HASH>..<HASH> 100644 --- a/src/controllers/IpController.php +++ b/src/controllers/IpController.php @@ -149,6 +149,11 @@ class IpController extends \hipanel\base\CrudController 'class' => SmartUpdateAction::class, ...
Added set-note action to IpController
hiqdev_hipanel-module-hosting
train
php
21be02a9ba7065f880d0f1f2dabc7e2c381e0d74
diff --git a/pyfastaq/runners/to_random_subset.py b/pyfastaq/runners/to_random_subset.py index <HASH>..<HASH> 100644 --- a/pyfastaq/runners/to_random_subset.py +++ b/pyfastaq/runners/to_random_subset.py @@ -11,7 +11,7 @@ def run(description): parser.add_argument('--mate_file', help='Name of mates file') parse...
Allow percent to be float, not just int
sanger-pathogens_Fastaq
train
py
d013b42ab1234585ec5285ed21fef119d23fac8c
diff --git a/src/binwalk/core/settings.py b/src/binwalk/core/settings.py index <HASH>..<HASH> 100644 --- a/src/binwalk/core/settings.py +++ b/src/binwalk/core/settings.py @@ -66,8 +66,8 @@ class Settings: system_binarch = self._system_path(self.BINWALK_MAGIC_DIR, self.BINARCH_MAGIC_FILE) def list_fi...
Ignore dotfiles only while discovering magic files Some programs (which?) might create temporary files like `~name` or `_name`, but maybe there are people who actually rely on names like `_name`. Let's restrict the filter to just dotfiles for now.
ReFirmLabs_binwalk
train
py
cb7b7847c3324bb5dbbea5b9e185cece8eaf2b96
diff --git a/lib/mincer.js b/lib/mincer.js index <HASH>..<HASH> 100644 --- a/lib/mincer.js +++ b/lib/mincer.js @@ -2,7 +2,8 @@ // internal -var mixin = require('./mincer/common'); +var mixin = require('./mincer/common').mixin; +var prop = require('./mincer/common').prop; module.exports = { @@ -14,5 +15,8 @@ ...
Add some mixins to main lib
nodeca_mincer
train
js
4eb2778defb489e5489ad082b7b91a806d87c2d4
diff --git a/src/Concerns/InteractsWithWebsocket.php b/src/Concerns/InteractsWithWebsocket.php index <HASH>..<HASH> 100644 --- a/src/Concerns/InteractsWithWebsocket.php +++ b/src/Concerns/InteractsWithWebsocket.php @@ -277,7 +277,7 @@ trait InteractsWithWebsocket protected function bindWebsocket() { ...
fix pipeline in websocket
swooletw_laravel-swoole
train
php
7f8e4fa74d241d14746b17be1ed0d7d5c8c96d20
diff --git a/lib/mapnik.js b/lib/mapnik.js index <HASH>..<HASH> 100644 --- a/lib/mapnik.js +++ b/lib/mapnik.js @@ -32,6 +32,10 @@ function MapnikSource(uri, callback) { var source = cache[key]; if (!source.open) { source.once('open', callback); + source.once('error', function(err) { + ...
Clear cache key on error to prevent dud source objects.
mapbox_tilelive-mapnik
train
js
2640d2f30c3d851b831343bec6dbf528f630a1fe
diff --git a/src/Output/QRImage.php b/src/Output/QRImage.php index <HASH>..<HASH> 100644 --- a/src/Output/QRImage.php +++ b/src/Output/QRImage.php @@ -32,20 +32,6 @@ use function array_values, base64_encode, call_user_func, count, extension_loade class QRImage extends QROutputAbstract{ /** - * @inheritDoc - * - ...
:shower: why is this where?
chillerlan_php-qrcode
train
php
9460f427dcd715cc77aa5fdae983dc6d88cf5fcc
diff --git a/mockserver-integration-testing/src/main/java/org/mockserver/integration/server/AbstractMockingIntegrationTestBase.java b/mockserver-integration-testing/src/main/java/org/mockserver/integration/server/AbstractMockingIntegrationTestBase.java index <HASH>..<HASH> 100644 --- a/mockserver-integration-testing/sr...
added extra output to attempt to resolve race conditions only affecting WAR deployments
jamesdbloom_mockserver
train
java
513563644e175e1bfccbaaa0b1d89e7f2613ce0a
diff --git a/lib/alchemy/upgrader/tasks/cells_upgrader.rb b/lib/alchemy/upgrader/tasks/cells_upgrader.rb index <HASH>..<HASH> 100644 --- a/lib/alchemy/upgrader/tasks/cells_upgrader.rb +++ b/lib/alchemy/upgrader/tasks/cells_upgrader.rb @@ -129,6 +129,7 @@ module Alchemy::Upgrader::Tasks Dir.glob("#{alchemy_views_...
Enhance cells upgrader to deal with render_elements from_page: x This helps deal with some more complicated calls to `render_elements`.
AlchemyCMS_alchemy_cms
train
rb
c3b38fdc87402c46ac0d29b8696b75cd19ffa32d
diff --git a/pkg/moq/testpackages/samenameimport/samename.go b/pkg/moq/testpackages/samenameimport/samename.go index <HASH>..<HASH> 100644 --- a/pkg/moq/testpackages/samenameimport/samename.go +++ b/pkg/moq/testpackages/samenameimport/samename.go @@ -1,6 +1,6 @@ package samename -import samename "github.com/fvosberg...
[FIX] import path of test package
matryer_moq
train
go
20458b19121ab48ae870e5bb7bac3bae06e4ab30
diff --git a/lib/elastomer/version.rb b/lib/elastomer/version.rb index <HASH>..<HASH> 100644 --- a/lib/elastomer/version.rb +++ b/lib/elastomer/version.rb @@ -1,5 +1,5 @@ module Elastomer - VERSION = "0.9.0" + VERSION = "2.0.0" def self.version VERSION
Preparing release <I> This release of `elastomer-client` is now compatible with the ES 2.X main major version. The decision was made to sync up the client version number with the Elasticsearch version number - at least the major number. Hence the jump from <I> to <I>
github_elastomer-client
train
rb
09acfae48e4c14c392c7acde98d653c20c710506
diff --git a/tests/unit/modules/boto_secgroup.py b/tests/unit/modules/boto_secgroup.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/boto_secgroup.py +++ b/tests/unit/modules/boto_secgroup.py @@ -6,17 +6,16 @@ import string from collections import OrderedDict from copy import deepcopy -HAS_BOTO = True -HAS_M...
Bring the global variables more into their context
saltstack_salt
train
py,py
37160335b6c2b65b4d14e8fe6c77df21ddafac01
diff --git a/src/spec/gocli/integration/orphaned_disks_spec.rb b/src/spec/gocli/integration/orphaned_disks_spec.rb index <HASH>..<HASH> 100644 --- a/src/spec/gocli/integration/orphaned_disks_spec.rb +++ b/src/spec/gocli/integration/orphaned_disks_spec.rb @@ -99,7 +99,9 @@ describe 'orphaned disks', type: :integration d...
Add additional detach_disk call to expectation - Previously we relied on the IaaS to detach disks during VM deletion - We now detach the disk before deleting VM, to allow shared paths with hotswap, and enable IaaSes that want disks detached before deleting VMs [#<I>](<URL>)
cloudfoundry_bosh
train
rb
7d4f4261eb7e664bd58af3288fe6043e46d6a4ac
diff --git a/src/components/number.js b/src/components/number.js index <HASH>..<HASH> 100644 --- a/src/components/number.js +++ b/src/components/number.js @@ -48,6 +48,8 @@ module.exports = function(app) { '<form-builder-option property="customClass"></form-builder-option>' + '<form-builder-option...
FOR-<I> - Adding protected and persistent field to number components.
formio_ngFormBuilder
train
js
910794d3fe14b08b5699fdd377d8493fe71abb29
diff --git a/src/Codeception/Module/WordPress.php b/src/Codeception/Module/WordPress.php index <HASH>..<HASH> 100644 --- a/src/Codeception/Module/WordPress.php +++ b/src/Codeception/Module/WordPress.php @@ -167,6 +167,7 @@ EOF; public function _failed(TestInterface $test, $fail) { + parent::_failed($...
Added parent call in _failed hook
lucatume_wp-browser
train
php
d99d6faef0b00b256c69889fb112aa15277c1f37
diff --git a/structr/structr-rest/src/test/java/org/structr/rest/test/CollectionResourceBasicTest.java b/structr/structr-rest/src/test/java/org/structr/rest/test/CollectionResourceBasicTest.java index <HASH>..<HASH> 100644 --- a/structr/structr-rest/src/test/java/org/structr/rest/test/CollectionResourceBasicTest.java +...
Relaxed query time requirement in basic collection test.
structr_structr
train
java
346a4e626c6ec454475f5dd11482af0ca67ccddf
diff --git a/hazelcast/src/main/java/com/hazelcast/map/impl/client/MapClearRequest.java b/hazelcast/src/main/java/com/hazelcast/map/impl/client/MapClearRequest.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/map/impl/client/MapClearRequest.java +++ b/hazelcast/src/main/java/com/hazelcast/ma...
Removed shadow name since it is already defined in MapAllPartitionsClientRequest
hazelcast_hazelcast
train
java,java
ff7724ad069a558873541edd025d314ab4f83ae3
diff --git a/src/Common/AppInjectableInterface.php b/src/Common/AppInjectableInterface.php index <HASH>..<HASH> 100644 --- a/src/Common/AppInjectableInterface.php +++ b/src/Common/AppInjectableInterface.php @@ -4,8 +4,7 @@ namespace Anax\Common; /** * Interface for classes needing injection of the $app object - * ...
Minor edit of docblock comment.
canax_common
train
php,php
1c429b27bc425aa8ba0f8cc6b43887cfb91dcd15
diff --git a/superset/models.py b/superset/models.py index <HASH>..<HASH> 100644 --- a/superset/models.py +++ b/superset/models.py @@ -1063,9 +1063,9 @@ class SqlaTable(Model, Queryable, AuditMixinNullable, ImportMixin): dttm_col = cols[granularity] time_grain = extras.get('time_grain_sqla')...
Fixing issue #<I> (#<I>)
apache_incubator-superset
train
py
857949575022946cc60c7cd1d0d088246d3f7540
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index <HASH>..<HASH> 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -627,7 +627,7 @@ class easy_install(Command): ) def easy_install(self, spec, deps=False): - tmp...
Ensure that tmpdir is unicode. Fixes #<I>.
pypa_setuptools
train
py
9d3d390ae641e8ebc289b1d1173f741a21bd5bc9
diff --git a/test/utils/clearStorage.js b/test/utils/clearStorage.js index <HASH>..<HASH> 100644 --- a/test/utils/clearStorage.js +++ b/test/utils/clearStorage.js @@ -9,7 +9,10 @@ module.exports = function clearStorage(domain) { var localStorageFilename = myDomain.replace('://', '_').replace('/', '') + '_0.loc...
Adding OSX support for clearStorage on PhantomJS
Countly_countly-sdk-web
train
js
da79f386f6e825afde9dad2f3708fd8287aad695
diff --git a/lib/assets/javascripts/_modules/search.js b/lib/assets/javascripts/_modules/search.js index <HASH>..<HASH> 100644 --- a/lib/assets/javascripts/_modules/search.js +++ b/lib/assets/javascripts/_modules/search.js @@ -71,6 +71,11 @@ $searchInput.focus(); hideResults(); }); + + // ...
Close search results on heading navigation. Fixes alphagov/tech-docs-template/issues/<I>.
alphagov_tech-docs-gem
train
js
74da384ce040521bf63e2fa003114943e5478191
diff --git a/scripts/build-storybooks.js b/scripts/build-storybooks.js index <HASH>..<HASH> 100755 --- a/scripts/build-storybooks.js +++ b/scripts/build-storybooks.js @@ -127,7 +127,11 @@ const handleExamples = async (deployables) => { } await exec(`yarn`, [`build-storybook`, `--output-dir=${out}`, '--quiet...
Don't generate stories.json if we don't have to
storybooks_storybook
train
js
0ac3fe300714da4f667c5244b7bd190383840d13
diff --git a/src/Oci8/Schema/OracleBuilder.php b/src/Oci8/Schema/OracleBuilder.php index <HASH>..<HASH> 100644 --- a/src/Oci8/Schema/OracleBuilder.php +++ b/src/Oci8/Schema/OracleBuilder.php @@ -64,6 +64,14 @@ class OracleBuilder extends Builder $callback($blueprint); + foreach($blueprint->getComman...
Drop sequence if table is dropped through Blueprint
yajra_laravel-oci8
train
php
af5ef66f9936d63191a5a857f2aed4227aedb3bc
diff --git a/lib/zold/metronome.rb b/lib/zold/metronome.rb index <HASH>..<HASH> 100644 --- a/lib/zold/metronome.rb +++ b/lib/zold/metronome.rb @@ -75,8 +75,12 @@ module Zold start = Time.now @threads.each do |t| tstart = Time.now - t.join - @log.info("Thread #{t.name} fini...
#<I> kill metronome threads in 1 minute
zold-io_zold
train
rb
ba94780802be9c8e9bcb7b2f06101fc11385b460
diff --git a/src/humaninput.js b/src/humaninput.js index <HASH>..<HASH> 100644 --- a/src/humaninput.js +++ b/src/humaninput.js @@ -115,8 +115,8 @@ class HumanInput extends EventHandler { } // These functions need to be bound to work properly ('this' will be window or this.elem which isn't what we wa...
Added _resetSeqTimeout() to the list of functions that get bound to the HumanInput instance when it gets instantiated. The reason being that it *may* matter depending on how and when a plugin calls that function. Best to be safe.
liftoff_HumanInput
train
js
ed68ba7de0687850eb7778d8f9ca3052fad9193b
diff --git a/lib/adhearsion/initializer/punchblock.rb b/lib/adhearsion/initializer/punchblock.rb index <HASH>..<HASH> 100644 --- a/lib/adhearsion/initializer/punchblock.rb +++ b/lib/adhearsion/initializer/punchblock.rb @@ -1,5 +1,3 @@ -require 'timeout' - module Adhearsion class Initializer class Punchblock
Remove a require we don't need
adhearsion_adhearsion
train
rb
f3d82ce3e23012be4223f16b1c18b8e3fcb288e6
diff --git a/cli/src/index.js b/cli/src/index.js index <HASH>..<HASH> 100644 --- a/cli/src/index.js +++ b/cli/src/index.js @@ -1,3 +1,7 @@ +/** + * @flow + */ + import {ArgumentParser} from 'argparse'; import loadConfig from './config'; @@ -64,6 +68,7 @@ function loadPlugins(config: Config): {[key: string]: SubComm...
Enable Flow for all files in cli
silklabs_silk
train
js
e3ca9570a5da118fbf1f5a89ee6c5dfc6d1f9e37
diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index <HASH>..<HASH> 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -3814,6 +3814,7 @@ func IssueSSHCommand(cmd, provider string, node *v1.Node) error { // NewHostExecPodSpec returns the pod spec of hostexec pod func N...
Delete host exec pods rapidly For some tests this makes namespace deletion faster (we poll for resources at 1/2 their innate termination grace period), thus speeding up the test.
kubernetes_kubernetes
train
go
f2b4957f6d118bc18402f2a6d963c4d75e0a133f
diff --git a/src/builders/polylines.js b/src/builders/polylines.js index <HASH>..<HASH> 100644 --- a/src/builders/polylines.js +++ b/src/builders/polylines.js @@ -21,7 +21,7 @@ const JOIN_TYPE = { const DEFAULT_MITER_LIMIT = 3; const MIN_FAN_WIDTH = 5; // Width of line in tile units to place 1 triangle per fan -con...
don't overflow line texture U coordinate
tangrams_tangram
train
js
d16203a89ed9ac8af19f92a11e4c2cea48744d99
diff --git a/common/py_utils/PRESUBMIT.py b/common/py_utils/PRESUBMIT.py index <HASH>..<HASH> 100644 --- a/common/py_utils/PRESUBMIT.py +++ b/common/py_utils/PRESUBMIT.py @@ -3,6 +3,10 @@ # found in the LICENSE file. # pylint: disable=invalid-name + +USE_PYTHON3 = True + + def CheckChangeOnUpload(input_api, output...
[code-health] Run common/py_utils/PRESUBMIT.py under Python 3 The code is already Python 3-compatible, this makes the presubmit itself run under Python 3. Bug: chromium:<I> Change-Id: I<I>d<I>e<I>e<I>d8ff<I>da<I>a7fc<I>aa<I>e3 Reviewed-on: <URL>
catapult-project_catapult
train
py
8b0b50e4943eaaf95632891dd3918dd577c29806
diff --git a/lib/draper.rb b/lib/draper.rb index <HASH>..<HASH> 100644 --- a/lib/draper.rb +++ b/lib/draper.rb @@ -9,13 +9,3 @@ require 'draper/decorated_enumerable_proxy' require 'draper/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure) require 'draper/railtie' if defined?(Rails) -if defined?...
Move that railtie to where it belongs
drapergem_draper
train
rb,rb
44720726b67b247071aba1c69f8bd16a7b3781ee
diff --git a/nodes/config-server/config-server.js b/nodes/config-server/config-server.js index <HASH>..<HASH> 100644 --- a/nodes/config-server/config-server.js +++ b/nodes/config-server/config-server.js @@ -212,6 +212,7 @@ module.exports = function(RED) { getFromContext(key) { let haCtx = this.c...
fix(config-server): trying to get global namespace before it created
zachowj_node-red-contrib-home-assistant-websocket
train
js
f7139defb81c3af0fa9e248c8e215e9229628393
diff --git a/src/modules/promise.js b/src/modules/promise.js index <HASH>..<HASH> 100755 --- a/src/modules/promise.js +++ b/src/modules/promise.js @@ -42,7 +42,7 @@ var propagateResults = function(callback, deferred) { }; }; -var createPromise = function(fn) { +var createPromise = function() { var deferred...
Removing an unused feature in promise.js.
ariatemplates_noder-js
train
js
d75adc27a02020d0ca1a78688b5edfe0b2a18dca
diff --git a/modules/custom/social_demo/src/DemoContentParser.php b/modules/custom/social_demo/src/DemoContentParser.php index <HASH>..<HASH> 100644 --- a/modules/custom/social_demo/src/DemoContentParser.php +++ b/modules/custom/social_demo/src/DemoContentParser.php @@ -25,7 +25,7 @@ class DemoContentParser extends Yam...
d<I> by jochemvn: Yml parser now expects yml instead of a yml file
goalgorilla_open_social
train
php
4c9973387932674f89f49276dfc26008dedeeb48
diff --git a/lib/cloud_formation_tool/cloud_formation/stack.rb b/lib/cloud_formation_tool/cloud_formation/stack.rb index <HASH>..<HASH> 100644 --- a/lib/cloud_formation_tool/cloud_formation/stack.rb +++ b/lib/cloud_formation_tool/cloud_formation/stack.rb @@ -101,6 +101,14 @@ module CloudFormationTool def asgroup...
expose group instasnce from asgroups resources
GreenfieldTech_cloudformation-tool
train
rb
3461e05c367e96c9035b1a1574c42753557efe7f
diff --git a/code/object/bootstrapper/bootstrapper.php b/code/object/bootstrapper/bootstrapper.php index <HASH>..<HASH> 100644 --- a/code/object/bootstrapper/bootstrapper.php +++ b/code/object/bootstrapper/bootstrapper.php @@ -192,7 +192,7 @@ final class KObjectBootstrapper extends KObject implements KObjectBootstrappe...
Use array_merge_recursive to prevent overwritting values.
timble_kodekit
train
php
ddfd4c08e536130809fdcb7e1b8f8d8b13df2cd7
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -12,6 +12,7 @@ const PostcssCompiler = require('broccoli-postcss-single') function PostcssPlugin (addon) { this.name = 'ember-cli-postcss' this.addon = addon + this.ext = ['css', 'less', 'styl', 'scss', 'sass'] } P...
allow more file extensions to be used and imported
jeffjewiss_ember-cli-postcss
train
js
22829434d4889d3e1b2c17b57ca5e575f3b87495
diff --git a/src/info.js b/src/info.js index <HASH>..<HASH> 100644 --- a/src/info.js +++ b/src/info.js @@ -107,6 +107,8 @@ const getInfoFromURL = (url) => { reject(new Error('[Mal-Scraper]: Invalid Url.')) } + url = encodeURI(url) + axios.get(url) .then(({data}) => { const res = pa...
Fixed a bug where getInfoFromURL would throw an UNESCAPEDCHAR error
Kylart_MalScraper
train
js
b043bfde0b419027c5a03e5181d5e5cfc38b985c
diff --git a/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php b/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php +++ b/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php @@ -128,7 +128,7 @@ class HttpKernel extends BaseHttpKernel ...
Do not catch subrequest exceptions, because it makes debugging hard.
symfony_symfony
train
php
29f01a71af4f58b609c4bac1c41fe9ae5c70a445
diff --git a/src/Web.php b/src/Web.php index <HASH>..<HASH> 100644 --- a/src/Web.php +++ b/src/Web.php @@ -160,10 +160,12 @@ class Web */ public function loadEnvironment($env_file) { + $env_file .= '.php'; if (!file_exists($env_file)) { return $this; } - $en...
not to use configure to load environments (which throws an exception); just include it.
TuumPHP_Web
train
php
1c894458064b8073767e6aa401eeac02f6765b72
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index <HASH>..<HASH> 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -1401,6 +1401,8 @@ inlineStyle = cssText ? htmlEscape(cssText) : '', optionClass = (option.className || '') + (config.optgroupClass || ''); ...
only add opt class to option if it's in an optgroup
snapappointments_bootstrap-select
train
js
50321d43ccd12e456eea32efe27e371de30ccd7e
diff --git a/lib/browser/managed-upload.js b/lib/browser/managed-upload.js index <HASH>..<HASH> 100644 --- a/lib/browser/managed-upload.js +++ b/lib/browser/managed-upload.js @@ -283,12 +283,6 @@ proto._createStream = function _createStream(file, start, end) { if (isBlob(file) || isFile(file)) { return new WebF...
feat(node): uploadPart support file stream (#<I>)
ali-sdk_ali-oss
train
js,js
61ee24f3471a6a479b9e3fa57944cbd6e4c6a46c
diff --git a/chess/engine.py b/chess/engine.py index <HASH>..<HASH> 100644 --- a/chess/engine.py +++ b/chess/engine.py @@ -1568,7 +1568,7 @@ class XBoardProtocol(EngineProtocol): def line_received(self, engine, line): if line == self.pong: self.set_finished() - ...
ignore xboard debug output while waiting for pong
niklasf_python-chess
train
py
cbae3f3da1cb9d7ac2b0e7b1d4c6bfc21ae0e79c
diff --git a/widgets.py b/widgets.py index <HASH>..<HASH> 100644 --- a/widgets.py +++ b/widgets.py @@ -48,9 +48,11 @@ class Dialog(Widget): return None, None def find_focusable_by_xy(self, x, y): + i = 0 for w in self.childs: if w.focusable and w.inside(x, y): - ...
widgets: Dialog: Properly update focus index for mouse navigation.
pfalcon_picotui
train
py
7eb92cd94112e886add146c50df6668959d4e977
diff --git a/lib/wed/modes/generic/generic.js b/lib/wed/modes/generic/generic.js index <HASH>..<HASH> 100644 --- a/lib/wed/modes/generic/generic.js +++ b/lib/wed/modes/generic/generic.js @@ -32,7 +32,7 @@ function GenericMode () { Mode.apply(this, arguments); this._resolver = new util.NameResolver(); thi...
Generic mode now uses _getTransformationRegistry to allow derived classes to provide their own registries.
mangalam-research_wed
train
js
7d1d786a45479300ae5b88ba5869d977cd5aee2d
diff --git a/openquake/calculators/post_risk.py b/openquake/calculators/post_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/post_risk.py +++ b/openquake/calculators/post_risk.py @@ -180,12 +180,12 @@ class PostRiskCalculator(base.RiskCalculator): self.build_datasets(builder, oq.aggregate_b...
Fixed a small regression in ebrisk
gem_oq-engine
train
py
4cbf9a8bb16aa9af8ec347156e5b44d9f5900a06
diff --git a/ella/photos/admin.py b/ella/photos/admin.py index <HASH>..<HASH> 100644 --- a/ella/photos/admin.py +++ b/ella/photos/admin.py @@ -74,6 +74,13 @@ class PhotoOptions(EllaAdminOptionsMixin, admin.ModelAdmin): return super(PhotoOptions, self).__call__(request, url) + + def queryset(self, reques...
PhotoOptions@admin: queryset to show only photos with {width, height}><I>px
ella_ella
train
py
cf78b862675a635a7acb4b3efd8faf718b65ecc9
diff --git a/config/ember-try.js b/config/ember-try.js index <HASH>..<HASH> 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -6,6 +6,12 @@ module.exports = { dependencies: { } }, { + name: 'ember 1.13.x series', + dependencies: { + 'ember': '1.13.x' + } + }, + {...
Added <I>.x scenario to ember-try
sethbrasile_ember-remodal
train
js
db43632907db9514e2b9051388fe1cf6482fcf7b
diff --git a/constance/apps.py b/constance/apps.py index <HASH>..<HASH> 100644 --- a/constance/apps.py +++ b/constance/apps.py @@ -1,6 +1,6 @@ from django.apps import AppConfig from constance.config import Config -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy a...
Fixed AppRegistryNotReady exception on runserver on Django <I>rc2.
jazzband_django-constance
train
py
35c2a7b33ae580f44dfda7788a07c5668f29b04a
diff --git a/geoviews/element/geo.py b/geoviews/element/geo.py index <HASH>..<HASH> 100644 --- a/geoviews/element/geo.py +++ b/geoviews/element/geo.py @@ -239,7 +239,6 @@ class Image(_Element, HvImage): group = param.String(default='Image') - class QuadMesh(_Element, HvQuadMesh): """ QuadMesh is a R...
Correctly subclassed QuadMesh.trimesh method
pyviz_geoviews
train
py
6c6b14f3bb45ffb9456c9d5e66e91d0bad5be950
diff --git a/src/main/webapp/js/Plugins/shapemenu.js b/src/main/webapp/js/Plugins/shapemenu.js index <HASH>..<HASH> 100644 --- a/src/main/webapp/js/Plugins/shapemenu.js +++ b/src/main/webapp/js/Plugins/shapemenu.js @@ -706,11 +706,14 @@ ORYX.Plugins.ShapeMenuPlugin = { stencil.properties().each((function(prop) { ...
rejecting type and tasktype during shape morphing
kiegroup_jbpm-designer
train
js
f076a8dc2c60edff62a93ddb1abd0b32801a44e5
diff --git a/core/spec/controllers/refinery/admin/dummy_controller_spec.rb b/core/spec/controllers/refinery/admin/dummy_controller_spec.rb index <HASH>..<HASH> 100644 --- a/core/spec/controllers/refinery/admin/dummy_controller_spec.rb +++ b/core/spec/controllers/refinery/admin/dummy_controller_spec.rb @@ -2,6 +2,14 @@ ...
Make dummy controller work without deprecation warnings
refinery_refinerycms
train
rb
79aac8872f7e3fc212d3849f6611ac23fe29e57e
diff --git a/view/attachments/tmpl/manage.html.php b/view/attachments/tmpl/manage.html.php index <HASH>..<HASH> 100644 --- a/view/attachments/tmpl/manage.html.php +++ b/view/attachments/tmpl/manage.html.php @@ -19,8 +19,7 @@ $component = isset($component) ? $component : substr($query['option'], 4); $callback = isset(...
Replace bootstrap.load calls with behavior.ui
joomlatools_joomlatools-framework
train
php
70ffdf6a4ea328745823c036f28596c1a946c181
diff --git a/taskforce/task.py b/taskforce/task.py index <HASH>..<HASH> 100644 --- a/taskforce/task.py +++ b/taskforce/task.py @@ -2365,9 +2365,9 @@ Params are: for event in self._config_running.get('events', []): ev_type = self._get(event.get('type')) if resetting and ev_type == 'restart': - restart_...
incorrect calls to _make_event_target() in task stop
akfullfo_taskforce
train
py
3d9d62628c4fb1a651118913a8d684ae95af514e
diff --git a/spyderlib/utils/icon_manager.py b/spyderlib/utils/icon_manager.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/icon_manager.py +++ b/spyderlib/utils/icon_manager.py @@ -73,7 +73,7 @@ _qtaargs = { 'terminated': [('fa.circle',), {}], 'cmdprompt': [('fa.terminal',), {...
Use python logo for console configuration
spyder-ide_spyder
train
py
2fb74325eb7369186a218c63f327d3428666c71d
diff --git a/tests/test_graph_api.py b/tests/test_graph_api.py index <HASH>..<HASH> 100644 --- a/tests/test_graph_api.py +++ b/tests/test_graph_api.py @@ -93,9 +93,6 @@ def test_get_with_appsecret(): graph.get('me') - def generate_appsecret_proof(appsecret, access_token): - return hmac.new(appsecret,...
Refactor tests to cover GraphAPI#_generate_appsecret_proof
jgorset_facepy
train
py
d309677f9dd631b6a956659dd45ef91e4944656d
diff --git a/pygerrit/stream.py b/pygerrit/stream.py index <HASH>..<HASH> 100644 --- a/pygerrit/stream.py +++ b/pygerrit/stream.py @@ -83,13 +83,12 @@ class GerritStream(Thread): while not self._stop.is_set(): data = poller.poll() for (handle, event) in data: - if handl...
Reduce nested `if` blocks in stream handling Change-Id: I<I>fb6b<I>da<I>ede<I>d<I>b5b7d0aff<I>
dpursehouse_pygerrit2
train
py
971d257cddd271e1faec8ae1762915c4c27b2908
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -161,8 +161,7 @@ module ActiveSupport ...
Removed RUBY_ENGINE checks for ruby<I>
rails_rails
train
rb
33240a6545efb42cc6d11ae27c92072f56fa610d
diff --git a/src/dependencies/_package.py b/src/dependencies/_package.py index <HASH>..<HASH> 100644 --- a/src/dependencies/_package.py +++ b/src/dependencies/_package.py @@ -5,15 +5,15 @@ from ._this import random_string class Package(object): def __init__(self, name): - self.__name = name + self...
Dependencies package is using dunder names.
dry-python_dependencies
train
py
5f1f31a39706ee3f4fe9079c93f14403337eaa85
diff --git a/lib/cronofy/client.rb b/lib/cronofy/client.rb index <HASH>..<HASH> 100644 --- a/lib/cronofy/client.rb +++ b/lib/cronofy/client.rb @@ -782,14 +782,9 @@ module Cronofy # Raises Cronofy::TooManyRequestsError if the request exceeds the rate # limits for the application. def add_to_calendar(args ...
Merge hash args rather than whitelisting
cronofy_cronofy-ruby
train
rb
5c46252e4468e5dcbf4b0cd5291392ebca033dcc
diff --git a/lib-app/src/main/java/xdroid/app/FragmentExt.java b/lib-app/src/main/java/xdroid/app/FragmentExt.java index <HASH>..<HASH> 100644 --- a/lib-app/src/main/java/xdroid/app/FragmentExt.java +++ b/lib-app/src/main/java/xdroid/app/FragmentExt.java @@ -87,4 +87,47 @@ public class FragmentExt extends Fragment impl...
Lib-App: added methods which allows to init ActionBar from Fragment.
shamanland_xdroid
train
java
4965c8660671a07db9daa7ca7e9fadc50ae073d6
diff --git a/cbamf/logger.py b/cbamf/logger.py index <HASH>..<HASH> 100644 --- a/cbamf/logger.py +++ b/cbamf/logger.py @@ -204,13 +204,19 @@ def add_handler(log, name='console-color', level='info', formatter='standard', * handler.setFormatter(logging.Formatter(formatters[formatter])) log.addHandler(handler) ...
sanitize verbosity to allowed values
peri-source_peri
train
py
24614137f8c2b5ea1f321878450a01bcb24aa949
diff --git a/http-server-netty/src/main/java/io/micronaut/http/server/netty/RoutingInBoundHandler.java b/http-server-netty/src/main/java/io/micronaut/http/server/netty/RoutingInBoundHandler.java index <HASH>..<HASH> 100644 --- a/http-server-netty/src/main/java/io/micronaut/http/server/netty/RoutingInBoundHandler.java +...
Also handle ignorable exceptions for no request state errors. Fixes #<I> (#<I>)
micronaut-projects_micronaut-core
train
java