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
d5a13423c4087cd2f1c1712430eed6b033319586
diff --git a/src/replace.js b/src/replace.js index <HASH>..<HASH> 100644 --- a/src/replace.js +++ b/src/replace.js @@ -78,8 +78,10 @@ function join(left, leftDepth, right, rightDepth) { } for (var i = iLeft; i >= 0; i--) { let other = leftNodes[i], before, after - // FIXME this allows list items f...
Refine block-joining test in replace
ProseMirror_prosemirror-markdown
train
js
6e8a8b5390c88207bb7292784ca3c76c158abb88
diff --git a/spec/adapter/faraday_spec.rb b/spec/adapter/faraday_spec.rb index <HASH>..<HASH> 100644 --- a/spec/adapter/faraday_spec.rb +++ b/spec/adapter/faraday_spec.rb @@ -94,4 +94,12 @@ describe Faraday::Adapter::RackClient do end end + + describe 'PATCH' do + + it 'send url encoded params' do + ...
Add tests for faraday's PATCH support.
halorgium_rack-client
train
rb
d7a6b01d8a45a9b816a87ca5b9d15d4784ac29e9
diff --git a/lark/exceptions.py b/lark/exceptions.py index <HASH>..<HASH> 100644 --- a/lark/exceptions.py +++ b/lark/exceptions.py @@ -66,7 +66,7 @@ class UnexpectedCharacters(LexError, UnexpectedInput): if allowed: message += '\nExpecting: %s\n' % allowed - super(UnexpectedCharacters, se...
Ensure that Exceptions with Unicode content display correctly
lark-parser_lark
train
py
725484490e15b3a9940a619ec83676a88de85a48
diff --git a/multiqc/modules/mosdepth/mosdepth.py b/multiqc/modules/mosdepth/mosdepth.py index <HASH>..<HASH> 100755 --- a/multiqc/modules/mosdepth/mosdepth.py +++ b/multiqc/modules/mosdepth/mosdepth.py @@ -285,9 +285,10 @@ class MultiqcModule(BaseMultiqcModule): # Correct per-contig average, since mosdept...
Only adjust regional perchrom coverage, not global
ewels_MultiQC
train
py
ba69c4815625bc754c3d5e3fdfc442644ca0bf64
diff --git a/scapy/route6.py b/scapy/route6.py index <HASH>..<HASH> 100644 --- a/scapy/route6.py +++ b/scapy/route6.py @@ -271,10 +271,7 @@ class Route6: return res[0][1] conf.route6 = Route6() - -_res = conf.route6.route("::/0") -if _res: - iff, gw, addr = _res - conf.iface6 = iff -del(_res) - +try: ...
Some variables were not deleted and remained in the namespace
secdev_scapy
train
py
f1d53787edcfa3109f40aa82b17dab82b73d2a54
diff --git a/loadtyped/dataloader.py b/loadtyped/dataloader.py index <HASH>..<HASH> 100644 --- a/loadtyped/dataloader.py +++ b/loadtyped/dataloader.py @@ -17,5 +17,42 @@ # author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it> +from typing import * + + class Loader: - pass + + def __init__(self): + # ...
Handle loading basic types Basically returning the value itself, doing some simple casting and raising errors if the types do not match.
ltworf_typedload
train
py
ff0e6a18ff594bf84050670c4f1594708454f5b9
diff --git a/lib/xcode/install/command.rb b/lib/xcode/install/command.rb index <HASH>..<HASH> 100644 --- a/lib/xcode/install/command.rb +++ b/lib/xcode/install/command.rb @@ -8,7 +8,7 @@ module XcodeInstall class Informative < PlainInformative def message - "[!] #{super}".red + "[!] #{super}".ansi.r...
Don't error when trying to show error in red
xcpretty_xcode-install
train
rb
7bdfe2f0972822fac63b16637008c78580830750
diff --git a/lib/fb_graph/connections/feed.rb b/lib/fb_graph/connections/feed.rb index <HASH>..<HASH> 100644 --- a/lib/fb_graph/connections/feed.rb +++ b/lib/fb_graph/connections/feed.rb @@ -5,6 +5,7 @@ module FbGraph posts = self.connection(:feed, options) posts.map! do |post| Post.new(pos...
accept Event, Group and Application as Post#to
nov_fb_graph
train
rb,rb
06896a8e3cad8719e30dfb4d0c64aee2cacd3309
diff --git a/spec/addressable/uri_spec.rb b/spec/addressable/uri_spec.rb index <HASH>..<HASH> 100644 --- a/spec/addressable/uri_spec.rb +++ b/spec/addressable/uri_spec.rb @@ -5434,6 +5434,24 @@ describe Addressable::URI, "when form encoding a non-Array object" do end end +# See https://tools.ietf.org/html/rfc6749...
Adding test to prove Addressable form encodes precisely as required by OAuth 2.
sporkmonger_addressable
train
rb
d6011e6f77e890135f4899b8a30d2a51f70a8734
diff --git a/closure/goog/positioning/positioning_test.js b/closure/goog/positioning/positioning_test.js index <HASH>..<HASH> 100644 --- a/closure/goog/positioning/positioning_test.js +++ b/closure/goog/positioning/positioning_test.js @@ -696,7 +696,15 @@ function testPositionAtAnchorWithResizeHeight() { viewpor...
Add some tolerance for subpixel positioning on IE<I>/<I>. ------------- Created by MOE: <URL>
google_closure-library
train
js
3e1aba0fbb0a56da4ef95211a478d4edf5a420f5
diff --git a/src/main/org/openscience/cdk/inchi/InChIToStructure.java b/src/main/org/openscience/cdk/inchi/InChIToStructure.java index <HASH>..<HASH> 100644 --- a/src/main/org/openscience/cdk/inchi/InChIToStructure.java +++ b/src/main/org/openscience/cdk/inchi/InChIToStructure.java @@ -58,7 +58,9 @@ import org.openscie...
Updated the JavaDoc for an API changed a while ago: the getInChIToStructure() method now takes an IChemObjectBuilder as second argument (fixes #<I>)
cdk_cdk
train
java
edd03aaa26da8c80a1b0a0077c8394a3e7a6b6c1
diff --git a/lib/split/experiment.rb b/lib/split/experiment.rb index <HASH>..<HASH> 100644 --- a/lib/split/experiment.rb +++ b/lib/split/experiment.rb @@ -106,7 +106,7 @@ module Split end def self.find_or_create(key, *alternatives) - name = key.split(':')[0] + name = key.to_s.split(':')[0] ...
Edited lib/split/experiment.rb via GitHub
splitrb_split
train
rb
3cd7b77397e752a8e4e67ca567ec630aee0dbe99
diff --git a/lxc/remote.go b/lxc/remote.go index <HASH>..<HASH> 100644 --- a/lxc/remote.go +++ b/lxc/remote.go @@ -229,7 +229,7 @@ func (c *remoteCmd) addServer(config *lxd.Config, server string, addr string, ac if !acceptCert { digest := shared.CertFingerprint(certificate) - fmt.Printf(i18n.G("Certificate f...
lxc/remote: Show the fingerprint as string not hex Closes #<I>
lxc_lxd
train
go
705a5927e21110ff339d5f9a81897635707f95bb
diff --git a/app/presenters/renalware/medications/prescription_presenter.rb b/app/presenters/renalware/medications/prescription_presenter.rb index <HASH>..<HASH> 100644 --- a/app/presenters/renalware/medications/prescription_presenter.rb +++ b/app/presenters/renalware/medications/prescription_presenter.rb @@ -13,7 +13,...
Call #to_s rather then #name on modality
airslie_renalware-core
train
rb
fc6a1dac85ca6dc2fc4495a105066a3bcb4e8830
diff --git a/examples/aml_check/app.rb b/examples/aml_check/app.rb index <HASH>..<HASH> 100644 --- a/examples/aml_check/app.rb +++ b/examples/aml_check/app.rb @@ -23,7 +23,7 @@ puts Yoti::Client.aml_check(aml_profile) first_name = 'Edward Richard George' last_name = 'Heath' country_code = 'USA' -post_code = '012345'...
SDK-<I>: Correct zip code
getyoti_yoti-ruby-sdk
train
rb
eb64ff7f9a98705fd2d0bef03fc38904f10510ff
diff --git a/aws/resource_aws_dx_public_virtual_interface_test.go b/aws/resource_aws_dx_public_virtual_interface_test.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_dx_public_virtual_interface_test.go +++ b/aws/resource_aws_dx_public_virtual_interface_test.go @@ -35,6 +35,7 @@ func TestAccAwsDxPublicVirtualInter...
tests/r/dx_public_virtual_interface: Add ErrorCheck
terraform-providers_terraform-provider-aws
train
go
0bdc57d7883d7b2b5fd91951990f898e083e4b91
diff --git a/lib/j2119/readlines.js b/lib/j2119/readlines.js index <HASH>..<HASH> 100644 --- a/lib/j2119/readlines.js +++ b/lib/j2119/readlines.js @@ -4,7 +4,7 @@ function * readlines (source) { const reader = new LineReader(source) let line while ((line = reader.next())) { - yield line.toString('utf-8') + ...
fix: Trim extraneous trailing whitespace. I'm looking at you Windows.
wmfs_j2119
train
js
74b01488d4acb4d0181e6c7c228fcbac9c2cd3c0
diff --git a/src/DataSource/DoctrineDataSource.php b/src/DataSource/DoctrineDataSource.php index <HASH>..<HASH> 100644 --- a/src/DataSource/DoctrineDataSource.php +++ b/src/DataSource/DoctrineDataSource.php @@ -170,10 +170,11 @@ class DoctrineDataSource implements IDataSource $words = explode(' ', $value); fo...
DoctrineDataSource: implemented filtering - text (COLLATE statement still remaining)
contributte_datagrid
train
php
b0907bb3fb96d5f9bbd22d6c5ca644af9ad2d719
diff --git a/src/Aimeos/Shop/Base/Context.php b/src/Aimeos/Shop/Base/Context.php index <HASH>..<HASH> 100644 --- a/src/Aimeos/Shop/Base/Context.php +++ b/src/Aimeos/Shop/Base/Context.php @@ -70,7 +70,7 @@ class Context $dbm = new \MW_DB_Manager_PDO( $config ); $context->setDatabaseManager( $dbm ); - $mail =...
Delay creating mail object for performance reasons
aimeos_aimeos-laravel
train
php
ea0399edbe7b68e9469ec792a0c9f97a3c11a411
diff --git a/src/views/bill/view.php b/src/views/bill/view.php index <HASH>..<HASH> 100644 --- a/src/views/bill/view.php +++ b/src/views/bill/view.php @@ -56,7 +56,7 @@ Pjax::begin(Yii::$app->params['pjax']) ?> 'boxOptions' => ['bodyOptions' => ['class' => 'no-padding']], 'columns' => [ ...
Feature. Add `description` for bill view page
hiqdev_hipanel-module-finance
train
php
924a81363e5d76efd35c17fd8760a97b0baaf9fc
diff --git a/armstrong/cli/templates/standard/urls/defaults.py b/armstrong/cli/templates/standard/urls/defaults.py index <HASH>..<HASH> 100644 --- a/armstrong/cli/templates/standard/urls/defaults.py +++ b/armstrong/cli/templates/standard/urls/defaults.py @@ -58,10 +58,10 @@ urlpatterns = patterns('', name=...
Pull these back in so they're not at an odd indention
armstrong_armstrong.cli
train
py
ae96a0caa4731fc415facee602d46593025a49a8
diff --git a/src/BeanHandler.php b/src/BeanHandler.php index <HASH>..<HASH> 100644 --- a/src/BeanHandler.php +++ b/src/BeanHandler.php @@ -1,9 +1,7 @@ <?php declare(strict_types=1); - namespace Swoft; - use Swoft\Aop\Aop; use Swoft\Aop\Proxy; use Swoft\Bean\Definition\ObjectDefinition; @@ -111,6 +109,7 @@ clas...
update some logic for parse bean. add new class for ws server
swoft-cloud_swoft-framework
train
php
b9c115eb92f36e08efe4d0052a78dc5b3577cb8b
diff --git a/run.go b/run.go index <HASH>..<HASH> 100644 --- a/run.go +++ b/run.go @@ -57,11 +57,17 @@ func setRunningSlowly(slow bool) { // The typical code with IsRunningSlowly is this: // // func update(screen *ebiten.Image) error { -// // update the state +// +// // Update the state. +// +// ...
docs: Add comment to IsRunningSlowly (again)
hajimehoshi_ebiten
train
go
28408e9c5c0c6d4ee2933a2d4fb31012c5e331d9
diff --git a/scripts.go b/scripts.go index <HASH>..<HASH> 100644 --- a/scripts.go +++ b/scripts.go @@ -70,7 +70,7 @@ func writeScriptFile(content []byte) (file gitos.File, err error) { // gitWrapperScript forms content for git.sh script func gitWrapperScript() []byte { - scriptTemplate := `#!/bin/{shell} + scriptTe...
Replace hardcoded path with something smarter. This unbreaks a problem where caddy-git can't execute generated scripts because of a faulty shebang path on non-Linux operating systems that store shells in /usr/local.
abiosoft_caddy-git
train
go
312b12ea0cfd0ee2b28b2cf2a4aa8dc515c1843b
diff --git a/core-bundle/src/Resources/contao/library/Contao/RequestToken.php b/core-bundle/src/Resources/contao/library/Contao/RequestToken.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/library/Contao/RequestToken.php +++ b/core-bundle/src/Resources/contao/library/Contao/RequestToken.php @@ -1...
[Core] Use `initialize()` method instead of missing `setup()` in `RequestToken` constructor method
contao_contao
train
php
5710e16122a5ee2fe5233037799549de2fa4993b
diff --git a/src/gdpr/OptInManager.js b/src/gdpr/OptInManager.js index <HASH>..<HASH> 100644 --- a/src/gdpr/OptInManager.js +++ b/src/gdpr/OptInManager.js @@ -56,7 +56,7 @@ class OptInManager { setTrackingAccepted() { this.setCookies(this.cookieName, STATUS.ACCEPTED, { - expires: this.acceptE...
ADEN-<I> thanks Kuba :D
Wikia_tracking-opt-in
train
js
3ec0976f5d9bc5e8291e4e70864b8559f082cf3c
diff --git a/modules/es/bases/es.DocumentViewLeafNode.js b/modules/es/bases/es.DocumentViewLeafNode.js index <HASH>..<HASH> 100644 --- a/modules/es/bases/es.DocumentViewLeafNode.js +++ b/modules/es/bases/es.DocumentViewLeafNode.js @@ -17,6 +17,9 @@ es.DocumentViewLeafNode = function( model, $element ) { // Properties...
Made leaf nodes listen for updates from their content views and emit updates themselves in response.
wikimedia_parsoid
train
js
084acc1347016b446adb14cfdb9af1e255919f57
diff --git a/src/Support/helpers.php b/src/Support/helpers.php index <HASH>..<HASH> 100644 --- a/src/Support/helpers.php +++ b/src/Support/helpers.php @@ -210,7 +210,7 @@ if (! function_exists('get_access_area')) { function get_access_area(): string { if ($route = Route::current()) { - // 1...
Apply fixes from StyleCI (#<I>)
rinvex_laravel-support
train
php
c343b403ae09bdd05c614036c39efaff4f574d43
diff --git a/Swat/SwatImageButton.php b/Swat/SwatImageButton.php index <HASH>..<HASH> 100644 --- a/Swat/SwatImageButton.php +++ b/Swat/SwatImageButton.php @@ -11,7 +11,7 @@ require_once 'Swat/SwatButton.php'; * within {@link SwatForm}. * * @package Swat - * @copyright 2008 silverorange + * @copyright 2008-2011 ...
Update copyright date. svn commit r<I>
silverorange_swat
train
php
87af3358534833ae2109a7061e51df8b68c76926
diff --git a/src/frontend/org/voltdb/VoltSystemProcedure.java b/src/frontend/org/voltdb/VoltSystemProcedure.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/VoltSystemProcedure.java +++ b/src/frontend/org/voltdb/VoltSystemProcedure.java @@ -218,8 +218,7 @@ public abstract class VoltSystemProcedure extends...
revert VoltSystemProcedure.
VoltDB_voltdb
train
java
823b4dd931094e002b949303219c8a79766a1b2a
diff --git a/web3/providers/eth_tester/middleware.py b/web3/providers/eth_tester/middleware.py index <HASH>..<HASH> 100644 --- a/web3/providers/eth_tester/middleware.py +++ b/web3/providers/eth_tester/middleware.py @@ -263,7 +263,7 @@ def guess_from(web3, transaction): def guess_gas(web3, transaction): - return...
ugly, temporary patch until gas estimates improve
ethereum_web3.py
train
py
f0ce2c3e103fdf6df51b89f3f6f49c335e169ea0
diff --git a/lib/isono/node_modules/rpc_channel.rb b/lib/isono/node_modules/rpc_channel.rb index <HASH>..<HASH> 100644 --- a/lib/isono/node_modules/rpc_channel.rb +++ b/lib/isono/node_modules/rpc_channel.rb @@ -66,7 +66,7 @@ module Isono tnow = Time.now @active_requests.each { |k,req| ...
fix timeout condition for RPC request.
axsh_isono
train
rb
7b4dfb9a32c0d443087d313c25457a44a42ddb7c
diff --git a/lib/byebug/commands/catch.rb b/lib/byebug/commands/catch.rb index <HASH>..<HASH> 100644 --- a/lib/byebug/commands/catch.rb +++ b/lib/byebug/commands/catch.rb @@ -7,8 +7,6 @@ module Byebug # Enables the user to catch unhandled assertion when they happen. # class CatchCommand < Command - self.all...
Not necessary to explicitly state this And we don't do it anywhere else.
deivid-rodriguez_byebug
train
rb
4906494edf7fdd9202f90f7215e3112c2beb1c4b
diff --git a/src/Picqer/Financials/Exact/Connection.php b/src/Picqer/Financials/Exact/Connection.php index <HASH>..<HASH> 100644 --- a/src/Picqer/Financials/Exact/Connection.php +++ b/src/Picqer/Financials/Exact/Connection.php @@ -485,7 +485,7 @@ class Connection return true; } - return $...
Bugfix: Minor clock drift can cause expired toten usage.
picqer_exact-php-client
train
php
ed8edf3fee572b0cbc404884c576f0c95ec8d636
diff --git a/lib/cloud_formation_tool/cli/main.rb b/lib/cloud_formation_tool/cli/main.rb index <HASH>..<HASH> 100644 --- a/lib/cloud_formation_tool/cli/main.rb +++ b/lib/cloud_formation_tool/cli/main.rb @@ -31,7 +31,7 @@ module CloudFormationTool option [ "-d", "--debug" ], :flag, "Enable debug logging" ...
use default formatter by unsetting my custom formatter
GreenfieldTech_cloudformation-tool
train
rb
4520cf64963ca608eb5500581a5f9109b3d5579c
diff --git a/src/Facades/JsonApi.php b/src/Facades/JsonApi.php index <HASH>..<HASH> 100644 --- a/src/Facades/JsonApi.php +++ b/src/Facades/JsonApi.php @@ -20,17 +20,17 @@ namespace CloudCreativity\LaravelJsonApi\Facades; use CloudCreativity\LaravelJsonApi\Routing\ApiRegistration; use CloudCreativity\LaravelJsonApi\...
[Cleanup] Update docblock and simplify import in facade
cloudcreativity_laravel-json-api
train
php
66fa89c226000b671fbc05685abf41c8dfc1efcd
diff --git a/lib/danger_plugin.rb b/lib/danger_plugin.rb index <HASH>..<HASH> 100755 --- a/lib/danger_plugin.rb +++ b/lib/danger_plugin.rb @@ -25,13 +25,17 @@ module Danger # @return [void] # def lint(files = nil) - files_to_lint = files ? Dir.glob(files) : (git.modified_files + git.added_files) + ...
Add offending_file public method Added `offending_file` public method to be possible use `github.api` (src.: <URL>) in dangerfile (to add comments via Github API).
ashfurrow_danger-rubocop
train
rb
32d9fbf786c7b5029d6bd09703d6b00d9d7f94fb
diff --git a/src/Ddeboer/DataImport/Workflow.php b/src/Ddeboer/DataImport/Workflow.php index <HASH>..<HASH> 100644 --- a/src/Ddeboer/DataImport/Workflow.php +++ b/src/Ddeboer/DataImport/Workflow.php @@ -240,7 +240,7 @@ class Workflow } // Read all items - foreach ($this->reader as $item) { + ...
Match Exceptions to the rows they came from When importing it may be nice to be able to tell the user that a particular row is where the exception occurred. This allows us to use the loop index to map an exception to a particular row so that programs could provide additional information to the users if desired.
portphp_portphp
train
php
6e6454537256a09655d75d4da651cb9137b66e51
diff --git a/git2json/__init__.py b/git2json/__init__.py index <HASH>..<HASH> 100644 --- a/git2json/__init__.py +++ b/git2json/__init__.py @@ -177,11 +177,11 @@ def parse_commits(lines): def git2jsons(s): lines = s.split('\n') - return json.dumps(parse_commits(lines)) + return json.dumps(parse_commits(lin...
Use ensure_ascii=False in json.load[s] This makes it work with non-ascii characters, which appear in some git logs (such as sympy's). Fixes #3.
tarmstrong_git2json
train
py
620e7b42a50d3d08e348eb5b1e8ef3ad65c49f40
diff --git a/lib/dive.js b/lib/dive.js index <HASH>..<HASH> 100644 --- a/lib/dive.js +++ b/lib/dive.js @@ -6,6 +6,36 @@ * Licensed under the MIT license. */ -exports.awesome = function() { - return 'awesome'; -}; +(function () { + // Initial setup + // -------------- + + // save a reference to the globa...
Reformatting library setup to work for both commonjs and the browser
nyxtom_dive
train
js
40daafd86bc10c7cb93ed0e4367dd03a6587b42f
diff --git a/publify_core/spec/lib/theme_spec.rb b/publify_core/spec/lib/theme_spec.rb index <HASH>..<HASH> 100644 --- a/publify_core/spec/lib/theme_spec.rb +++ b/publify_core/spec/lib/theme_spec.rb @@ -5,6 +5,7 @@ require "rails_helper" describe Theme, type: :model do let(:blog) { build_stubbed :blog } let(:def...
Move engine_root spec helper method to a let definition
publify_publify
train
rb,rb
ce07af4d4227888008b1571ce1f56fe0a59f1de2
diff --git a/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py b/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py index <HASH>..<HASH> 100644 --- a/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py +++ b/RAPIDpy/inflow/CreateInflowFileFromLDASRunoff.py @@ -135,7 +135,8 @@ class CreateInflowFileFromLDASRunoff(CreateInflow...
added infiltration factor to snow runoff
erdc_RAPIDpy
train
py
b482fc797e4d9a09d200bda480868f4085158b62
diff --git a/js/theocean.js b/js/theocean.js index <HASH>..<HASH> 100644 --- a/js/theocean.js +++ b/js/theocean.js @@ -5,6 +5,7 @@ const { ExchangeError, ArgumentsRequired, BadRequest, AuthenticationError, Inval module.exports = class theocean extends Exchange { describe () { + this.checkRequiredDependen...
theocean check required dependencies upon instantiation
ccxt_ccxt
train
js
3eb59eb1d2a04533922f48bc27b3bc8e8f203334
diff --git a/src/main/java/uk/co/real_logic/agrona/collections/IntHashSet.java b/src/main/java/uk/co/real_logic/agrona/collections/IntHashSet.java index <HASH>..<HASH> 100644 --- a/src/main/java/uk/co/real_logic/agrona/collections/IntHashSet.java +++ b/src/main/java/uk/co/real_logic/agrona/collections/IntHashSet.java @...
[Java]: Remove unnecessary cast and make toArray(T[]) throw an UnsupportedOperationException until a more suitable implementation can be decided upon.
real-logic_agrona
train
java
adce9c0ba067be3f965e23cff377a94cb6fa416b
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py index <HASH>..<HASH> 100644 --- a/holoviews/core/dimension.py +++ b/holoviews/core/dimension.py @@ -94,6 +94,7 @@ class Dimension(param.Parameterized): # Defines default formatting by type type_formatters = {} + unit_formatter = ' ({u...
Added unit_formatter class attribute to Dimension
pyviz_holoviews
train
py
5b004001983d72c142da8216d2bd50ef0d5bf74a
diff --git a/src/transformers/models/auto/tokenization_auto.py b/src/transformers/models/auto/tokenization_auto.py index <HASH>..<HASH> 100644 --- a/src/transformers/models/auto/tokenization_auto.py +++ b/src/transformers/models/auto/tokenization_auto.py @@ -223,6 +223,13 @@ else: "CLIPTokenizerFas...
Adding `Perceiver` to `AutoTokenizer`. (#<I>)
huggingface_pytorch-pretrained-BERT
train
py
e0d29e2d03cd6b31178f0c6fb8fb2d843265a608
diff --git a/lib/register.js b/lib/register.js index <HASH>..<HASH> 100644 --- a/lib/register.js +++ b/lib/register.js @@ -135,12 +135,18 @@ function register(req, res) { // Handle incoming POST requests from an API-like clients (something like // Angular / React / REST). if (req.method === 'POST' && accepts =...
Modifying our API for `/register` to handle field validation. This means that if you've defined custom, required fields -- they'll be asserted during POST requests to the registration API. This would typically happen from something like an Angular.js or React.js client creating a new account on a website.
stormpath_express-stormpath
train
js
8d42eec94d57a6dc6fc4d70b5c3d5ad1c0572ead
diff --git a/pdfminer/cmapdb.py b/pdfminer/cmapdb.py index <HASH>..<HASH> 100644 --- a/pdfminer/cmapdb.py +++ b/pdfminer/cmapdb.py @@ -286,7 +286,8 @@ class CMapParser(PSStackParser): def __init__(self, cmap, fp): PSStackParser.__init__(self, fp) self.cmap = cmap - self._in_cmap = False + ...
in_cmap is on by default.
euske_pdfminer
train
py
a026c442d73bd9b4688efdcd30eeec505197a328
diff --git a/tests/test_modules.py b/tests/test_modules.py index <HASH>..<HASH> 100644 --- a/tests/test_modules.py +++ b/tests/test_modules.py @@ -54,7 +54,11 @@ def make_operation_tests(arg): )) or [] except Exception as e: if allowed_exception: - ...
Allow multiple exception types to be raised in a test.
Fizzadar_pyinfra
train
py
cf6777e7c71031ce06a3ad7f1218f9ecfee2b31d
diff --git a/kerncraft/models/ecm.py b/kerncraft/models/ecm.py index <HASH>..<HASH> 100755 --- a/kerncraft/models/ecm.py +++ b/kerncraft/models/ecm.py @@ -365,7 +365,7 @@ class ECM(object): # Full caching in higher cache level self.results['scaling cores'] = float('inf') else: - ...
more accurate core saturateion output
RRZE-HPC_kerncraft
train
py
2ca398539f8970e8adb1267b064e2e673f3302bb
diff --git a/test_reconnect/index.js b/test_reconnect/index.js index <HASH>..<HASH> 100755 --- a/test_reconnect/index.js +++ b/test_reconnect/index.js @@ -41,8 +41,18 @@ QUnit.load(); var kurentoClient = require('..'); +// Get ws_port +var ws_port = "" +if (process.argv.length == 3) { + ws_port = process.argv[2];...
Add the possibility to choose the ws_port for the test Change-Id: Iec<I>c<I>de<I>d5c<I>e<I>af8ea<I>a<I>ddf
Kurento_kurento-client-js
train
js
55c55bdff30f76cfbe7ca6b8a446c9f7570a31f9
diff --git a/tests/suppression/test_suppression.py b/tests/suppression/test_suppression.py index <HASH>..<HASH> 100644 --- a/tests/suppression/test_suppression.py +++ b/tests/suppression/test_suppression.py @@ -18,9 +18,9 @@ class SuppressionTest(unittest.TestCase): def test_ignore_lines(self): file_conte...
Some tests relied on line-numbers which changed when reoving unecessary pragma declarations
PyCQA_prospector
train
py
6f261bf8f797a4158f85ddfc84e2f21e9681ce1f
diff --git a/src/Rateable/Rating.php b/src/Rateable/Rating.php index <HASH>..<HASH> 100644 --- a/src/Rateable/Rating.php +++ b/src/Rateable/Rating.php @@ -27,6 +27,6 @@ class Rating extends Model */ public function user() { - return $this->belongsTo(Config::get('auth.model')); + return $th...
Fix User relation Minor fix, since the old provided config key doesn't exist anymore
willvincent_laravel-rateable
train
php
4ef2fe1e034b8d17b9ccda4c16a94627a73e3306
diff --git a/mongo_connector/connector.py b/mongo_connector/connector.py index <HASH>..<HASH> 100644 --- a/mongo_connector/connector.py +++ b/mongo_connector/connector.py @@ -298,7 +298,7 @@ class Connector(threading.Thread): while self.can_run: shard_thread = self.shard_set[0] - ...
Fix bug: remove extraneous index from shard_thread ref
yougov_mongo-connector
train
py
fce37b254eae572f8732f8def743bf3dd0959c14
diff --git a/lib/moodlelib.php b/lib/moodlelib.php index <HASH>..<HASH> 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -4015,6 +4015,12 @@ function remove_course_contents($courseid, $showfeedback=true) { } } +/// Remove all data from gradebook - this needs to be done before course modules +//...
course MDL-<I>: Fixed order of deleting entire course to delete grades before course-modules, avoiding dependency problem
moodle_moodle
train
php
31409c55076f04204735308ee6ac7742fb30b133
diff --git a/src/main/config/portal/default/redbox/scripts/actions/workflow.py b/src/main/config/portal/default/redbox/scripts/actions/workflow.py index <HASH>..<HASH> 100644 --- a/src/main/config/portal/default/redbox/scripts/actions/workflow.py +++ b/src/main/config/portal/default/redbox/scripts/actions/workflow.py @...
Fixed attach file error in IE 8
redbox-mint_redbox
train
py
e9f4a4e0bae01d26ab5f77b0c7bcafc23b82f1fe
diff --git a/handler.go b/handler.go index <HASH>..<HASH> 100644 --- a/handler.go +++ b/handler.go @@ -103,24 +103,19 @@ func (h *Handler) serveUpstream(w http.ResponseWriter, r *http.Request) { } func (h *Handler) storeResource(r *http.Request, res *Resource) { - Writes.Add(1) - - go func() { - defer Writes.Done(...
Change saving to cache to synchronous for the time being This makes debugging easier and performance optimization can happen later.
lox_httpcache
train
go
5e7ed679bf138229f2c803da371a48ce2546db3f
diff --git a/lib/sauce/connect.rb b/lib/sauce/connect.rb index <HASH>..<HASH> 100644 --- a/lib/sauce/connect.rb +++ b/lib/sauce/connect.rb @@ -1,6 +1,6 @@ module Sauce class Connect - TIMEOUT = 300 + TIMEOUT = 90 attr_reader :status, :error @@ -53,7 +53,7 @@ module Sauce def wait_until_ready ...
Lower the connect timeout, 5 minutes is far too long to wait to find an error
saucelabs_sauce_ruby
train
rb
72cb6e9b56a9e6fdfbb1bf041fa8709a94c3ef3e
diff --git a/lib/identificamex/nombre/razon_social.rb b/lib/identificamex/nombre/razon_social.rb index <HASH>..<HASH> 100644 --- a/lib/identificamex/nombre/razon_social.rb +++ b/lib/identificamex/nombre/razon_social.rb @@ -71,19 +71,19 @@ module Identificamex /CIA/, /\ASOCIEDAD/, /\ASOC...
Add the space before the match pattern.
LogicalBricks_identificamex
train
rb
56834cdfd6fa7e3abcaf88eba0f0c3c231be5402
diff --git a/steam/items.py b/steam/items.py index <HASH>..<HASH> 100644 --- a/steam/items.py +++ b/steam/items.py @@ -828,7 +828,10 @@ class backpack(base.json_request): res = super(backpack, self)._deserialize(data) obj = {} - status = res["result"]["status"] + try: + stat...
Handle empty backpack data in first party API
Lagg_steamodd
train
py
ff487e6871d26d6877ce8d4c1bda534ccaaab26b
diff --git a/box.go b/box.go index <HASH>..<HASH> 100644 --- a/box.go +++ b/box.go @@ -105,6 +105,14 @@ var resolveAbsolutePathFromCaller = func(name string, nStackFrames int) (string, // resolve to proper path pkgDir := filepath.Dir(callingGoFile) + // fix for go cover + const coverPath = "_test/_obj_test" + if ...
Make FindBox working when calling from go coverage tool. Fix #<I>
GeertJohan_go.rice
train
go
c9be41b6a6c091f000d444c6c61276e8587c7363
diff --git a/merb-core/lib/merb-core/dispatch/router/route.rb b/merb-core/lib/merb-core/dispatch/router/route.rb index <HASH>..<HASH> 100644 --- a/merb-core/lib/merb-core/dispatch/router/route.rb +++ b/merb-core/lib/merb-core/dispatch/router/route.rb @@ -244,8 +244,7 @@ module Merb def compiled ruby...
simplified the support for anchor/fragment
wycats_merb
train
rb
a562449a11221c26d976165eadf59ee6ad606ded
diff --git a/gutenberg/gutenberg.py b/gutenberg/gutenberg.py index <HASH>..<HASH> 100644 --- a/gutenberg/gutenberg.py +++ b/gutenberg/gutenberg.py @@ -152,13 +152,13 @@ class GutenbergCorpus(object): session.commit() def __len__(self): - return self._dbsession().query(EText).distinct().count() + ...
Define corpus size as number of authors
c-w_gutenberg
train
py
440089520d28dbbe2afc96cbc678a5a2b31f3487
diff --git a/src/SoapActions.php b/src/SoapActions.php index <HASH>..<HASH> 100644 --- a/src/SoapActions.php +++ b/src/SoapActions.php @@ -70,7 +70,7 @@ class SoapActions { } $cache = $this->client->cache; - $cache->set( $service . "_soap_actions", $soapActions ); + $cache->set( $servi...
Cache WSDL operations for an extended amount of time
AlexaCRM_php-crm-toolkit
train
php
bdb6930e9f0cc39e67f94155392e8e1bc8c40fb7
diff --git a/stats.py b/stats.py index <HASH>..<HASH> 100644 --- a/stats.py +++ b/stats.py @@ -79,13 +79,14 @@ def sample_mn(Sigma,M,K): right = np.linalg.cholesky(K) return M + left.dot(np.random.normal(size=M.shape)).dot(right.T) -def sample_mniw(dof,kappa,lmbda,M,K): +def sample_mniw(dof,lmbda,M,K): ...
added comments about a new sample_invwishart function needed
mattjj_pyhsmm
train
py
8050b8c2d1914f6558dfaf0619da8d0f72832b11
diff --git a/src/nfc/clf/device.py b/src/nfc/clf/device.py index <HASH>..<HASH> 100644 --- a/src/nfc/clf/device.py +++ b/src/nfc/clf/device.py @@ -121,7 +121,7 @@ def connect(path): if path.startswith("udp"): path = path.split(':') - host = str(path[1]) if len(path) > 1 and path[1] else '127.0.0....
Return to localhost as default ] doctest failed on OSX tried <I> but fixed by mocking uname in sphinx config
nfcpy_nfcpy
train
py
4473cbe4389c15f249de6ac6327963e14545eeff
diff --git a/src/Analyser/Header/Useragent/Browser.php b/src/Analyser/Header/Useragent/Browser.php index <HASH>..<HASH> 100644 --- a/src/Analyser/Header/Useragent/Browser.php +++ b/src/Analyser/Header/Useragent/Browser.php @@ -1560,6 +1560,8 @@ trait Browser $this->data->browser->name = 'MiniBrowser'; ...
MiniBrowser is always mobile
WhichBrowser_Parser-PHP
train
php
64a5f75f2b2363c18705965d5cf0ba0c25271dbb
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup( author_email="wal-e@googlegroups.com", maintainer="Daniel Farina", maintainer_email="daniel@heroku.com", - description="PostgreSQL WAL-shipping for S3", + description="Simple Continuo...
Edit PyPI metadata title to be more accurate No longer is this an S3 only tool. The title has been made the same as the mailing list's title.
wal-e_wal-e
train
py
d560a18a7c72cd123f429f2571d6783d18352b23
diff --git a/xmantissa/website.py b/xmantissa/website.py index <HASH>..<HASH> 100644 --- a/xmantissa/website.py +++ b/xmantissa/website.py @@ -158,6 +158,9 @@ class PrefixURLMixin(InstallableMixin): sessioned = False sessionless = False + def __str__(self): + return '/%s => item(%s)' % (self.prefi...
A few __str__ implementations
twisted_mantissa
train
py
bcf8b27fdca39fe8cd292ccd58c143c54193fa57
diff --git a/test/test_brochure.rb b/test/test_brochure.rb index <HASH>..<HASH> 100644 --- a/test/test_brochure.rb +++ b/test/test_brochure.rb @@ -2,6 +2,8 @@ require "brochure" require "rack/test" require "test/unit" +ENV['RACK_ENV'] = 'test' + module Brochure class TestApplication < Application def warn(...
Set RACK_ENV in tests
sstephenson_brochure
train
rb
0199c5d51aa7d34b7e3e8e6aad73ab80b6018e8b
diff --git a/airflow/www/views.py b/airflow/www/views.py index <HASH>..<HASH> 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -464,7 +464,7 @@ class AirflowBaseView(BaseView): if not conf.getboolean('core', 'unit_test_mode'): extra_args['sqlite_warning'] = settings.Session.bind.dialect.n...
Bugfix: Don't warn on using ``LocalExecutor`` (#<I>) The webserver showed the following error when using ``LocalExecutor``: ``` Do not use SequentialExecutor in production. Click here for more information. ```
apache_airflow
train
py
bc20966bfbb3947583060883b61484c5fa83a035
diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceStreamTask.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceStreamTask.java index <HASH>..<HASH> 100644 --- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks...
[FLINK-<I>][checkpointing] Reset OperatorChain.isStoppingBySyncSavepoint properly Reset OperatorChain.isStoppingBySyncSavepoint from LegacySourceFunctionThread so that StreamTask can read it without relying on completionFuture callbacks which can fire later.
apache_flink
train
java
abda3a66dc85b485318e9780543b090e665128ee
diff --git a/asn1crypto/core.py b/asn1crypto/core.py index <HASH>..<HASH> 100644 --- a/asn1crypto/core.py +++ b/asn1crypto/core.py @@ -1924,8 +1924,16 @@ class Sequence(Asn1Value): field += 1 total_fields = len(self._fields) - while len(self.children) < total_fields: - ...
Make sure trailing default fields in a Sequence get initialized
wbond_asn1crypto
train
py
e85f0de9242a48786c9c5a25e72af0f5421f64ad
diff --git a/pyqode/python/folding.py b/pyqode/python/folding.py index <HASH>..<HASH> 100644 --- a/pyqode/python/folding.py +++ b/pyqode/python/folding.py @@ -27,7 +27,7 @@ class PythonFoldDetector(IndentFoldDetector): # find block that starts the docstring p = prev_block.previous() ...
Fix tests (infinite loop when detecting docstring fold indent)
pyQode_pyqode.python
train
py
bdcf54030f9f3d821b1fa9ffdbbd105e0ad1769f
diff --git a/src/connection.js b/src/connection.js index <HASH>..<HASH> 100644 --- a/src/connection.js +++ b/src/connection.js @@ -658,7 +658,7 @@ const GetParsedTokenAccountsByOwner = jsonRpcResultAndContext( executable: 'boolean', owner: 'string', lamports: 'number', - data: struct.o...
fix: ignore extra space field in parsed accounts
solana-labs_solana-web3.js
train
js
2904cd32552dc4e25acaf6ff0573a81ce4136cc1
diff --git a/src/sagemaker/estimator.py b/src/sagemaker/estimator.py index <HASH>..<HASH> 100644 --- a/src/sagemaker/estimator.py +++ b/src/sagemaker/estimator.py @@ -349,6 +349,9 @@ class EstimatorBase(with_metaclass(ABCMeta, object)): # pylint: disable=too-man self.profiler_config = profiler_config ...
fix: disable profiler by default for regions not support it (#<I>)
aws_sagemaker-python-sdk
train
py
2c3d85e234c12aa9982bfe9cf07eb63f0862b627
diff --git a/leveldb/db_compaction.go b/leveldb/db_compaction.go index <HASH>..<HASH> 100644 --- a/leveldb/db_compaction.go +++ b/leveldb/db_compaction.go @@ -406,7 +406,8 @@ func (d *DB) compaction() { d.ewg.Done() }() - for s := d.s; true; { + s := d.s + for { var creq *cReq select { case signal := <-...
leveldb: db_compaction: cleanups and simplify the logic
syndtr_goleveldb
train
go
03721df1cbfe9b5dc8ed7f76eb396dc861aa8571
diff --git a/src/microkernel-4-state.js b/src/microkernel-4-state.js index <HASH>..<HASH> 100644 --- a/src/microkernel-4-state.js +++ b/src/microkernel-4-state.js @@ -100,12 +100,8 @@ export default class MicrokernelState { /* publish internal event (for use by an application) */ let publish...
switch internal processing from publish() to hook() and provide before/after hooks for method call
rse_microkernel
train
js
db4ee15a7de3dda8633f0dd19c5deab85aad6653
diff --git a/spec/lib/opml_writer_spec.rb b/spec/lib/opml_writer_spec.rb index <HASH>..<HASH> 100644 --- a/spec/lib/opml_writer_spec.rb +++ b/spec/lib/opml_writer_spec.rb @@ -17,7 +17,7 @@ describe Feed2Email::OPMLWriter do } before do - expect(Time).to receive(:now).and_return(Time.parse('2015-11-28 1...
Stub Time.now to return time as string Trying to fix failing specs possibly due to timezone mismatch in OPML.
agorf_feed2email
train
rb
51c941f59d7e527445e77043142e33ad405d8e34
diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/ec2.py +++ b/salt/cloud/clouds/ec2.py @@ -1165,8 +1165,7 @@ def _create_eni(interface): 'No such subnet <{0}>'.format(interface['SubnetId']) ) - params = {'Action': 'CreateNetw...
Also fix cleanup of interfaces when using AssociatePublicIpAddress in #<I>
saltstack_salt
train
py
d768677d4f446dbcd953fe9ba071950429e31f1f
diff --git a/pedemath/vec3.py b/pedemath/vec3.py index <HASH>..<HASH> 100644 --- a/pedemath/vec3.py +++ b/pedemath/vec3.py @@ -265,6 +265,14 @@ class Vec3(object): hasattr(v2, "x") and self.x == v2.x and self.y == v2.y and self.z == v2.z) + def __hash__(self): + """Because we defin...
Add __hash__ to allow Vec3 as dictionary key
olsoneric_pedemath
train
py
b29811d5ad1189767efe59d75343f5db42ee2202
diff --git a/lib/octopress/page.rb b/lib/octopress/page.rb index <HASH>..<HASH> 100644 --- a/lib/octopress/page.rb +++ b/lib/octopress/page.rb @@ -86,7 +86,7 @@ module Octopress # If YAML front-matter dashes aren't present parse the whole # template and add dashes. # - parsed = if input =~ /^...
The regex for detecting YAML front matter should now meet @parkr's standards.
octopress_octopress
train
rb
6cc6e5b83b97ba276484667a7db27be9869cec2c
diff --git a/presto-orc/src/main/java/com/facebook/presto/orc/stream/ByteInputStream.java b/presto-orc/src/main/java/com/facebook/presto/orc/stream/ByteInputStream.java index <HASH>..<HASH> 100644 --- a/presto-orc/src/main/java/com/facebook/presto/orc/stream/ByteInputStream.java +++ b/presto-orc/src/main/java/com/faceb...
Fix the build broken by <I> Fix the build broken by <I> Improve ORC byte reader.
prestodb_presto
train
java
974f548b85ec26ba27c615741b94bd125d4767dd
diff --git a/plugins/UsersManager/Menu.php b/plugins/UsersManager/Menu.php index <HASH>..<HASH> 100644 --- a/plugins/UsersManager/Menu.php +++ b/plugins/UsersManager/Menu.php @@ -21,7 +21,7 @@ class Menu extends \Piwik\Plugin\Menu $menu->addSettingsItem('UsersManager_PersonalSettings', $this->urlForAction(...
refs #<I> show link to anonymous user settings only if anonymous user has view access
matomo-org_matomo
train
php
03efb49e4c8e45768f8d6135f6dead1a82f830b1
diff --git a/analyzers/DomainTools/domaintools_analyzer.py b/analyzers/DomainTools/domaintools_analyzer.py index <HASH>..<HASH> 100755 --- a/analyzers/DomainTools/domaintools_analyzer.py +++ b/analyzers/DomainTools/domaintools_analyzer.py @@ -78,6 +78,9 @@ class DomainToolsAnalyzer(Analyzer): "doma...
#<I> fix short report in summary()
TheHive-Project_Cortex-Analyzers
train
py
e97647b41a4a68473571a3ecf766511289be9bb7
diff --git a/java/client/test/org/openqa/selenium/PageLoadingTest.java b/java/client/test/org/openqa/selenium/PageLoadingTest.java index <HASH>..<HASH> 100644 --- a/java/client/test/org/openqa/selenium/PageLoadingTest.java +++ b/java/client/test/org/openqa/selenium/PageLoadingTest.java @@ -282,7 +282,7 @@ public class ...
Unignoring a couple more tests in marionette
SeleniumHQ_selenium
train
java
c59e90ac317015ceceef3ff7fd1bd3967476d438
diff --git a/onnx/test/shape_inference_test.py b/onnx/test/shape_inference_test.py index <HASH>..<HASH> 100644 --- a/onnx/test/shape_inference_test.py +++ b/onnx/test/shape_inference_test.py @@ -409,6 +409,14 @@ class TestShapeInference(unittest.TestCase): []) self._assert_inferred(graph, [make_te...
add a shape inference test for group conv (#<I>)
onnx_onnx
train
py
4a2566c646cd8116550507219f8cd9f4e98907a1
diff --git a/plugins/communicators/winrm/communicator.rb b/plugins/communicators/winrm/communicator.rb index <HASH>..<HASH> 100644 --- a/plugins/communicators/winrm/communicator.rb +++ b/plugins/communicators/winrm/communicator.rb @@ -125,7 +125,7 @@ module VagrantPlugins script = Vagrant::Util::TemplateRender...
Fixes <I> When the winrm communicator executes a command in an elevated shell, this patch causes it to escape double quotes. This is necessary as the first line in the file that it produces and then executes it puts the command into a variable called command that is delimited by double quotes.
hashicorp_vagrant
train
rb
268cedf1bfdc789f8a50c8fd0ec90f8268138260
diff --git a/napalm/ios.py b/napalm/ios.py index <HASH>..<HASH> 100644 --- a/napalm/ios.py +++ b/napalm/ios.py @@ -1223,8 +1223,8 @@ class IOSDriver(NetworkDriver): 'vlan': int(vlan), 'static': static, 'active': active, - 'moves': None, -...
get_mac_address_table for IOS change default 'moves' and 'last_move' from None to -1 and -<I>
napalm-automation_napalm
train
py
c47bf5d79fe2f79ef60de8f9d7233c275668b177
diff --git a/pkg/models/fundingoffer/fundingoffer_test.go b/pkg/models/fundingoffer/fundingoffer_test.go index <HASH>..<HASH> 100644 --- a/pkg/models/fundingoffer/fundingoffer_test.go +++ b/pkg/models/fundingoffer/fundingoffer_test.go @@ -1,6 +1,7 @@ package fundingoffer_test import ( + "reflect" "testing" "g...
funcdingoffer CancelFromRaw test coverage
bitfinexcom_bitfinex-api-go
train
go
e4f649faddb13ca83035611fd5f01c3fb6fdcf9a
diff --git a/lxd/cluster/connect.go b/lxd/cluster/connect.go index <HASH>..<HASH> 100644 --- a/lxd/cluster/connect.go +++ b/lxd/cluster/connect.go @@ -21,6 +21,9 @@ import ( "github.com/lxc/lxd/shared/version" ) +// ErrCertificateExists indicates that a certificate already exists. +var ErrCertificateExists error =...
lxd/cluster/connect: Adds ErrCertificateExists var
lxc_lxd
train
go
8579e156172b843e04982b8026668112bf042dca
diff --git a/mod/quiz/quizfile.php b/mod/quiz/quizfile.php index <HASH>..<HASH> 100644 --- a/mod/quiz/quizfile.php +++ b/mod/quiz/quizfile.php @@ -41,6 +41,9 @@ if (! ($filename = $regs[5])) { error("No valid file name supplied"); } + if (detect_munged_arguments($relativefilepath)) { + erro...
Merged fix SC<I> from STABLE, even though this file will be rewritten with Petr's new file handling soon! :-)
moodle_moodle
train
php
c7e476a141c30d12a0850ee138b20e6f72272c8a
diff --git a/lib/winrm/shells/power_shell.rb b/lib/winrm/shells/power_shell.rb index <HASH>..<HASH> 100644 --- a/lib/winrm/shells/power_shell.rb +++ b/lib/winrm/shells/power_shell.rb @@ -32,7 +32,7 @@ module WinRM class << self def finalize(connection_opts, transport, shell_id) - proc { Power...
fix powershell finalizer and stop leaking powershell processes
WinRb_WinRM
train
rb
4d25194aacb477f3420ca1373d85b4610e0a89af
diff --git a/shinken/modules/livestatus_broker/mapping.py b/shinken/modules/livestatus_broker/mapping.py index <HASH>..<HASH> 100644 --- a/shinken/modules/livestatus_broker/mapping.py +++ b/shinken/modules/livestatus_broker/mapping.py @@ -4288,7 +4288,8 @@ livestatus_attribute_map = { }, 'options': { ...
Fix a bug in livestatus "GET log" for python <I> (no partition method for strings)
Alignak-monitoring_alignak
train
py
c5739a4308e34cfe30f061dd040d8c0527cebd75
diff --git a/Controller/GluggiController.php b/Controller/GluggiController.php index <HASH>..<HASH> 100644 --- a/Controller/GluggiController.php +++ b/Controller/GluggiController.php @@ -87,18 +87,9 @@ class GluggiController extends Controller throw $this->createNotFoundException(sprintf($message, $typ...
Allow setting template configuration in all single component views
Becklyn_GluggiBundle
train
php
5c83180c10d67ae9961b161ec98942cdd5bb04d7
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,6 @@ require 'rubygems' # Use local dm-core if running from a typical dev checkout. lib = File.join('..', '..', 'dm-core', 'lib') $LOAD_PATH.unshift(lib) if File.directory...
[all] Only require the gem under test in spec_helpers This will make sure that all the gems require everything they need to be fully functional.
datamapper_dm-sweatshop
train
rb
3aea10405c5cce07faf0ebb1530200b313c9684e
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -2,12 +2,15 @@ var YuidocCompiler = require('broccoli-yuidoc'); var mergeTrees = require('broccoli-merge-trees'); +var fs = require('fs'); module.exports = { name: 'ember-cli-yuidoc', - postprocessTree: function(t...
If /addon exists, watch it. If not, watch /app
cibernox_ember-cli-yuidoc
train
js
da527ad334760e1371085fef674c8bd401de6ba7
diff --git a/Tests/AbstractFrameworkTestCase.php b/Tests/AbstractFrameworkTestCase.php index <HASH>..<HASH> 100644 --- a/Tests/AbstractFrameworkTestCase.php +++ b/Tests/AbstractFrameworkTestCase.php @@ -146,7 +146,7 @@ abstract class AbstractFrameworkTestCase extends BaseFrameworkTestCase { parent::setUp(); ...
Replace route and route arguments by url
webeweb_jquery-datatables-bundle
train
php
c94bc1d7e66c341f9e6a3b944754eb8d24c806c6
diff --git a/core/sawtooth/cli/main.py b/core/sawtooth/cli/main.py index <HASH>..<HASH> 100644 --- a/core/sawtooth/cli/main.py +++ b/core/sawtooth/cli/main.py @@ -38,9 +38,6 @@ from sawtooth.cli.transaction import add_transaction_parser from sawtooth.cli.transaction import do_transaction -LOGGER = logging.getLogge...
Remove unused LOGGER from sawtooth.cli.main
hyperledger_sawtooth-core
train
py
b5d3f7d71bd38cbf924740b279781de992897466
diff --git a/lib/puppet.rb b/lib/puppet.rb index <HASH>..<HASH> 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -208,6 +208,11 @@ module Puppet Puppet::Network::HTTP::NoCachePool.new }, :ssl_host => proc { Puppet::SSL::Host.localhost }, + # The indirector needs to disable certificate_revoc...
(maint) Explain why certificate_revocation is in base_context It is non-obvious from a simple pass over the code that certificate_revocation is in the base_context so that the indirector may disable CRL checking when downloading the CRL for the first time. This adds a comment to the base_context's certificate_revocat...
puppetlabs_puppet
train
rb