diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/cloudmesh/common/util.py b/cloudmesh/common/util.py
index <HASH>..<HASH> 100644
--- a/cloudmesh/common/util.py
+++ b/cloudmesh/common/util.py
@@ -163,14 +163,14 @@ def str_banner(txt=None, c="#", debug=True):
:param c: the character used instead of c
:type c: character
"""
- str = ""
+ ... | chg:usr: replace str with line to avoid buildin conflict |
diff --git a/pypet/tests/integration/merge_test.py b/pypet/tests/integration/merge_test.py
index <HASH>..<HASH> 100644
--- a/pypet/tests/integration/merge_test.py
+++ b/pypet/tests/integration/merge_test.py
@@ -226,15 +226,15 @@ class MergeTest(TrajectoryComparator):
self.filenames = [make_temp_dir(os.path.joi... | FIX: fixed test battery to avoid deleting of used files; |
diff --git a/lazyconf/lazyconf.py b/lazyconf/lazyconf.py
index <HASH>..<HASH> 100644
--- a/lazyconf/lazyconf.py
+++ b/lazyconf/lazyconf.py
@@ -172,30 +172,6 @@ class Lazyconf():
print(green('Saved data to file: ' + f))
### Prompt/Deprompt functions ###
- def prompt_db_engine(self, p):
- fo... | Removed old prompt functions now handled by lists |
diff --git a/fixtures/fixtures.go b/fixtures/fixtures.go
index <HASH>..<HASH> 100644
--- a/fixtures/fixtures.go
+++ b/fixtures/fixtures.go
@@ -264,20 +264,34 @@ func (g Fixtures) Exclude(tag string) Fixtures {
return r
}
-type Suite struct{}
-
-func (s *Suite) SetUpSuite(c *check.C) {
+// Init set the correct path... | fixtures: initialize fixtures into separated methods (#<I>)
To be able to use fixtures with other test frameworks than go-check,
we created two methods, one to set fixtures path correctly, and
another to remove all the temporal data created when testing. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -67,11 +67,13 @@ if isWindows or isMac:
cmake_build = 'external/lensfun/cmake_build'
install_dir = os.path.join(cmake_build, 'install')
- include_dirs += ['external/stdint',
- os.path.jo... | don't include stdint header for Mac builds |
diff --git a/lib/cucumber/configuration.rb b/lib/cucumber/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/configuration.rb
+++ b/lib/cucumber/configuration.rb
@@ -4,9 +4,17 @@ module Cucumber
new
end
+ def initialize(options = {})
+ @options = options
+ end
+
+ def dr... | Making specs pass: get StepMother to accept a Hash or a Configuration object in her constructor |
diff --git a/src/invoice2data/input/tesseract.py b/src/invoice2data/input/tesseract.py
index <HASH>..<HASH> 100644
--- a/src/invoice2data/input/tesseract.py
+++ b/src/invoice2data/input/tesseract.py
@@ -25,7 +25,7 @@ def to_text(path):
raise EnvironmentError('imagemagick not installed.')
# convert = "co... | allow reading of text with background by tesseract (#<I>) |
diff --git a/src/Symfony/Components/DependencyInjection/BuilderConfiguration.php b/src/Symfony/Components/DependencyInjection/BuilderConfiguration.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Components/DependencyInjection/BuilderConfiguration.php
+++ b/src/Symfony/Components/DependencyInjection/BuilderConfigurati... | [DependencyInjection] added some missing accessors |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -64,7 +64,7 @@ release = '0.0'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
-exclude_patterns = []
+exclude_patterns = ['buil... | Added the build directory to list of exclusion patterns since it's a subdirectory in the Sphinx source directory. |
diff --git a/src/functions.php b/src/functions.php
index <HASH>..<HASH> 100644
--- a/src/functions.php
+++ b/src/functions.php
@@ -220,7 +220,7 @@ function unwrap($promises)
function all($promises, $recursive = false)
{
$results = [];
- $promise = each(
+ $promise = \GuzzleHttp\Promise\each(
$prom... | help code analysers not confuse each function with the deprecated php global one |
diff --git a/src/Symfony/Component/Yaml/Tests/ParserTest.php b/src/Symfony/Component/Yaml/Tests/ParserTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Yaml/Tests/ParserTest.php
+++ b/src/Symfony/Component/Yaml/Tests/ParserTest.php
@@ -896,10 +896,10 @@ EOF;
$this->parser->parse($yaml);
+ ... | [Yaml] always restore the error handler in tests
The error handler must be restored even when assertions failed. |
diff --git a/locales/sw/auth.php b/locales/sw/auth.php
index <HASH>..<HASH> 100644
--- a/locales/sw/auth.php
+++ b/locales/sw/auth.php
@@ -14,5 +14,5 @@
return [
'failed' => 'Hii hati tambulishi hailingani na rekodi zetu.',
'password' => 'Nenosiri lililotolewa si sahihi.',
- 'throttle' => 'Majaribio men... | Update auth.php
I have updated the translation, for the placeholders |
diff --git a/lib/search-index/index.js b/lib/search-index/index.js
index <HASH>..<HASH> 100644
--- a/lib/search-index/index.js
+++ b/lib/search-index/index.js
@@ -24,7 +24,7 @@ exports.init = function(options) {
stats = fs.existsSync(home);
// Is it a directory?
- if (!stats.isDirectory()) {
+ if (!stats || !... | make sure stats is not falsy |
diff --git a/client/my-sites/checkout/composite-checkout/components/wp-checkout-order-summary.js b/client/my-sites/checkout/composite-checkout/components/wp-checkout-order-summary.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/checkout/composite-checkout/components/wp-checkout-order-summary.js
+++ b/client/my-sit... | Don't show "switch to annual plan" link for monthly renewals (#<I>) |
diff --git a/src/selectors/index.js b/src/selectors/index.js
index <HASH>..<HASH> 100644
--- a/src/selectors/index.js
+++ b/src/selectors/index.js
@@ -411,7 +411,7 @@ export const getFailedImports = createSelector(
const burnHash = get(tx, 'meta.metronome.export.currentBurnHash', null)
const wasImportRe... | Fix crash when one of enabled chains has no transactions |
diff --git a/openjscad.js b/openjscad.js
index <HASH>..<HASH> 100644
--- a/openjscad.js
+++ b/openjscad.js
@@ -1055,6 +1055,7 @@ OpenJsCad.Processor.prototype = {
{
this.worker = OpenJsCad.parseJsCadScriptASync(this.script, paramValues, this.options, function(err, obj) {
that.processing = false;
+ ... | terminate unused workers - they make later workers queue in firefox if count ><I> |
diff --git a/resources/lang/sq-AL/cachet.php b/resources/lang/sq-AL/cachet.php
index <HASH>..<HASH> 100644
--- a/resources/lang/sq-AL/cachet.php
+++ b/resources/lang/sq-AL/cachet.php
@@ -117,9 +117,18 @@ return [
],
],
+ // Meta descriptions
+ 'meta' => [
+ 'description' => [
+ '... | New translations cachet.php (Albanian) |
diff --git a/tornado/testing.py b/tornado/testing.py
index <HASH>..<HASH> 100644
--- a/tornado/testing.py
+++ b/tornado/testing.py
@@ -656,7 +656,9 @@ def main(**kwargs):
This test runner is essentially equivalent to `unittest.main` from
the standard library, but adds support for tornado-style option
- p... | testing: Clarify docs of testing.main() |
diff --git a/ofblockmeshdicthelper/__init__.py b/ofblockmeshdicthelper/__init__.py
index <HASH>..<HASH> 100644
--- a/ofblockmeshdicthelper/__init__.py
+++ b/ofblockmeshdicthelper/__init__.py
@@ -259,7 +259,7 @@ class ArcEdge(object):
"""
index = ' '.join(str(vertices[vn].index) for vn in self.vnames)
... | Corrected format in ArcEdge. Now the interVertex is written with more accuracy. Otherwise it can give error in planar faces for wedge |
diff --git a/java/messaging/messaging-common/src/main/java/io/joynr/arbitration/ArbitrationStrategyFunction.java b/java/messaging/messaging-common/src/main/java/io/joynr/arbitration/ArbitrationStrategyFunction.java
index <HASH>..<HASH> 100644
--- a/java/messaging/messaging-common/src/main/java/io/joynr/arbitration/Arbi... | [Java] fix abstract class ArbitrationStrategyFunction
to allow custom ArbitrationStrategyFunction in packages different
from io.joynr.arbitration
Change-Id: Ic3d<I>fc<I>a4b2e7c<I>de<I>de |
diff --git a/src/ScnSocialAuth/Options/ModuleOptions.php b/src/ScnSocialAuth/Options/ModuleOptions.php
index <HASH>..<HASH> 100644
--- a/src/ScnSocialAuth/Options/ModuleOptions.php
+++ b/src/ScnSocialAuth/Options/ModuleOptions.php
@@ -274,7 +274,7 @@ class ModuleOptions extends AbstractOptions
/**
* @var boo... | #<I> Debug configuration for Hybrid_Auth |
diff --git a/src/Result.php b/src/Result.php
index <HASH>..<HASH> 100644
--- a/src/Result.php
+++ b/src/Result.php
@@ -102,10 +102,13 @@ class Result extends ResultInterface
return;
}
+ if ($style === Sql::FETCH_RAW) {
+ return $data;
+ }
+
$row = [];
... | Added a new fetch style of raw
This is to replace public calls to _fetch() which should be an internal method |
diff --git a/backlash/utils.py b/backlash/utils.py
index <HASH>..<HASH> 100644
--- a/backlash/utils.py
+++ b/backlash/utils.py
@@ -21,6 +21,11 @@ def escape(s, quote=False):
return s.__html__()
if not isinstance(s, (text_type, binary_type)):
s = text_type(s)
+ if isinstance(s, binary_type):
+ ... | This should fix issue with utf8 exceptions |
diff --git a/cmp/compare.go b/cmp/compare.go
index <HASH>..<HASH> 100644
--- a/cmp/compare.go
+++ b/cmp/compare.go
@@ -491,6 +491,9 @@ func (s *state) compareStruct(vx, vy reflect.Value, t reflect.Type) {
step.idx = i
step.unexported = !isExported(step.name)
if step.unexported {
+ if step.name == "_" {
+ ... | Always ignore _ fields (#<I>)
The _ field in Go is special in that it cannot be read from or written to.
Thus, skip it by default. It is pointless to require the user to use
cmpopts.IgnoreUnexported just for the _ field. |
diff --git a/js/plugins.js b/js/plugins.js
index <HASH>..<HASH> 100644
--- a/js/plugins.js
+++ b/js/plugins.js
@@ -6,16 +6,15 @@ window.log = function(){
log.history.push(arguments);
if(this.console) {
arguments.callee = arguments.callee.caller;
- if(typeof console.log === 'object'){
- Function.proto... | golf down the size of @kirbysayshi's log() improvement. ref #<I>.
I steal log's apply method instead of reaching all the way into Function.prototype.apply.. timesaver and bytesaver. just really ugly.
And then a nasty ( omg ? ternary : action); as a statement. But hey.. sometimes you feel like a nut.
kirby, plz code r... |
diff --git a/test/function.combinators.js b/test/function.combinators.js
index <HASH>..<HASH> 100644
--- a/test/function.combinators.js
+++ b/test/function.combinators.js
@@ -53,6 +53,16 @@ $(document).ready(function() {
equal(obj.numIsNotPositive(), false, 'should function as a method combinator');
});
+ te... | Added unit test for _.splat |
diff --git a/Util/Data.php b/Util/Data.php
index <HASH>..<HASH> 100755
--- a/Util/Data.php
+++ b/Util/Data.php
@@ -125,7 +125,7 @@ class Data
$this->milestonesData .= '},';
}
- return null;
+ return rtrim($this->milestonesData, ',');
}
public function getMilestonesMarki... | #CE-<I> put back milestone data |
diff --git a/lib/Less/Parser.php b/lib/Less/Parser.php
index <HASH>..<HASH> 100755
--- a/lib/Less/Parser.php
+++ b/lib/Less/Parser.php
@@ -35,6 +35,8 @@ class Less_Parser{
'sourceMapWriteTo' => null,
'sourceMapURL' => null,
+ 'indentation' => ' ',
+
'plugins' => array(),
); | Added indentation option
THis adds the option to set (overrule) the indentation.
By default it will indent with 2 spaces.
You can now make the output use 4 spaces, or tabs, like:
[code]$less = new Less_Parser(array('indentation' => "\t"));[/code] |
diff --git a/salt/modules/defaults.py b/salt/modules/defaults.py
index <HASH>..<HASH> 100644
--- a/salt/modules/defaults.py
+++ b/salt/modules/defaults.py
@@ -14,7 +14,7 @@ def _mk_client():
'''
Create a file client and add it to the context
'''
- if not 'cp.fileclient' in __context__:
+ if 'cp.fil... | Fix PEP8 E<I> - test for membership should be "not in" |
diff --git a/src/debounce.js b/src/debounce.js
index <HASH>..<HASH> 100644
--- a/src/debounce.js
+++ b/src/debounce.js
@@ -3,6 +3,11 @@ const pending = {}
export default function (time = 100, acceptedChain = null, options = null) {
const id = Symbol('id')
+ if (options === null && !Array.isArray(acceptedChain)) ... | debounce inputs are now more flexible |
diff --git a/mbuild/formats/cassandramcf.py b/mbuild/formats/cassandramcf.py
index <HASH>..<HASH> 100644
--- a/mbuild/formats/cassandramcf.py
+++ b/mbuild/formats/cassandramcf.py
@@ -174,6 +174,14 @@ def _id_rings_fragments(structure):
bond_graph.add_edges_from([ [bond.atom1.idx, bond.atom2.idx]
... | Adding support for systems with no defined bonds (e.g., rigid lattices) |
diff --git a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js b/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js
index <HASH>..<HASH> 100755
--- a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js
+++ b/lib/gollum/frontend/public/gollum/javascript/editor/gollum... | Fix editor to work with “base_url” |
diff --git a/src/Select.js b/src/Select.js
index <HASH>..<HASH> 100644
--- a/src/Select.js
+++ b/src/Select.js
@@ -1179,6 +1179,11 @@ export default class Select extends Component<Props, State> {
this.selectOption(focusedOption);
break;
case 'Enter':
+ if (event.keyCode === 229) {
+ ... | ignore keydown events on Enter, which come from IME |
diff --git a/utp.go b/utp.go
index <HASH>..<HASH> 100644
--- a/utp.go
+++ b/utp.go
@@ -1158,8 +1158,21 @@ func (c *Conn) Write(p []byte) (n int, err error) {
err = io.ErrClosedPipe
return
}
- for (c.cur_window() > c.peerWndSize || len(c.unackedSends) >= 0x400) && c.cs == csConnected {
- // log.Printf("cur... | Make use of deadline in Conn.Write |
diff --git a/etrago/tools/utilities.py b/etrago/tools/utilities.py
index <HASH>..<HASH> 100644
--- a/etrago/tools/utilities.py
+++ b/etrago/tools/utilities.py
@@ -1441,6 +1441,6 @@ def check_args(etrago):
etrago.args['start_snapshot'] % 24 == 0,\
("Please select snapshots covering whole days w... | modify check_args due to implementation of segmentation |
diff --git a/lib/jammit/uglifier.rb b/lib/jammit/uglifier.rb
index <HASH>..<HASH> 100644
--- a/lib/jammit/uglifier.rb
+++ b/lib/jammit/uglifier.rb
@@ -1,3 +1,3 @@
-class Jammit::Uglifier < Uglifier
+class Jammit::Uglifier < ::Uglifier
alias :compress :compile
end
\ No newline at end of file | added :: to uglify superclass for reliability |
diff --git a/src/before/index.js b/src/before/index.js
index <HASH>..<HASH> 100644
--- a/src/before/index.js
+++ b/src/before/index.js
@@ -3,8 +3,7 @@ let ensureCreds = require('./01-ensure-creds')
let maybeBanner = require('./02-maybe-banner')
module.exports = function before() {
- let options = process.argv
- b... | Fixes env (and possibly other commands) sending bootstrap unnecessary args |
diff --git a/censys/asm/assets/assets.py b/censys/asm/assets/assets.py
index <HASH>..<HASH> 100644
--- a/censys/asm/assets/assets.py
+++ b/censys/asm/assets/assets.py
@@ -29,6 +29,7 @@ class Assets(CensysAsmAPI):
tag: Optional[List[str]] = None,
tag_operator: Optional[str] = None,
source: Opt... | feat: Add API support for asset discovery trails
The Censys API offers a parameter that allows pulling back discovery
trails, but this parameter is not currently exposed via this library.
This commit adds support for this parameter. |
diff --git a/homebrew/gh.rb b/homebrew/gh.rb
index <HASH>..<HASH> 100644
--- a/homebrew/gh.rb
+++ b/homebrew/gh.rb
@@ -11,6 +11,7 @@ class Gh < Formula
homepage "https://github.com/jingweno/gh"
head "https://github.com/jingweno/gh.git"
url "https://github.com/jingweno/gh/releases/download/v#{VERSION}/gh_#{VERS... | Add sha1 to homebrew recipe |
diff --git a/spyderlib/plugins/__init__.py b/spyderlib/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/__init__.py
+++ b/spyderlib/plugins/__init__.py
@@ -20,7 +20,7 @@ These plugins inherit the following classes
from spyderlib.qt.QtGui import (QDockWidget, QWidget, QShortcut, QCursor,
... | Spyder plugin mixin/widget - bugfix: signal 'sig_option_changed' was not working due to missing type conversion (PyQt API #1 only) |
diff --git a/src/deprecated.js b/src/deprecated.js
index <HASH>..<HASH> 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -6,7 +6,7 @@ const deprecated = {
Prettier now treats your configuration as:
{
- ${"\"parser\""}: ${config.seFlowParser ? "\"flow\"" : "\"babylon\""}
+ ${"\"parser\""}: ${confi... | Fix typo in variable name (#<I>) |
diff --git a/nsqd/channel_test.go b/nsqd/channel_test.go
index <HASH>..<HASH> 100644
--- a/nsqd/channel_test.go
+++ b/nsqd/channel_test.go
@@ -63,7 +63,7 @@ func TestInFlightWorker(t *testing.T) {
defer log.SetOutput(os.Stdout)
options := NewNsqdOptions()
- options.msgTimeout = 300 * time.Millisecond
+ options.ms... | improve a flakey test (<I>ms is the resolution for channel workers) |
diff --git a/pymc3/sampling.py b/pymc3/sampling.py
index <HASH>..<HASH> 100644
--- a/pymc3/sampling.py
+++ b/pymc3/sampling.py
@@ -1999,7 +1999,7 @@ def init_nuts(
elif init == "adapt_full":
start = [model.test_point] * chains
mean = np.mean([model.dict_to_array(vals) for vals in start], axis=0)
... | BUG Initialize adapt_full with a diagonal covariance matrix rather than ones. (#<I>) |
diff --git a/plugin/geomajas-widget-featureinfo/featureinfo-gwt/src/main/java/org/geomajas/widget/featureinfo/client/action/toolbar/MultiLayerFeatureInfoModalAction.java b/plugin/geomajas-widget-featureinfo/featureinfo-gwt/src/main/java/org/geomajas/widget/featureinfo/client/action/toolbar/MultiLayerFeatureInfoModalAct... | * FIT-<I>
Create different mode for Multilayerfeatureinfo as listener and controller |
diff --git a/pysoundfile.py b/pysoundfile.py
index <HASH>..<HASH> 100644
--- a/pysoundfile.py
+++ b/pysoundfile.py
@@ -276,6 +276,7 @@ class SoundFile(object):
raise RuntimeError(msg)
self._vio = self._init_vio(self._fObj, info)
vio = ffi.new("SF_VIRTUAL_IO*", self._vio)
+... | Persist struct representation inside `self._vio`. |
diff --git a/Annis-web/src/main/java/annis/frontend/servlets/visualizers/tree/AnnisGraphTools.java b/Annis-web/src/main/java/annis/frontend/servlets/visualizers/tree/AnnisGraphTools.java
index <HASH>..<HASH> 100644
--- a/Annis-web/src/main/java/annis/frontend/servlets/visualizers/tree/AnnisGraphTools.java
+++ b/Annis-w... | Fix crasher bug in visualization
* do not copy nonterminal nodes without any terminal successors, dropped from visualization |
diff --git a/activesupport/lib/active_support/core_ext/class/attribute.rb b/activesupport/lib/active_support/core_ext/class/attribute.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/class/attribute.rb
+++ b/activesupport/lib/active_support/core_ext/class/attribute.rb
@@ -72,11 +72,20 @@ c... | Creating singleton class for every object whenever the instance-level accessor is used quite is expensive. |
diff --git a/core-bundle/src/Image/PictureFactory.php b/core-bundle/src/Image/PictureFactory.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Image/PictureFactory.php
+++ b/core-bundle/src/Image/PictureFactory.php
@@ -11,7 +11,6 @@
namespace Contao\CoreBundle\Image;
use Contao\CoreBundle\Framework\ContaoFramew... | [Core] Fix an issue found by Scrutinizer. |
diff --git a/lib/chef/knife/cookbook_upload.rb b/lib/chef/knife/cookbook_upload.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/cookbook_upload.rb
+++ b/lib/chef/knife/cookbook_upload.rb
@@ -260,7 +260,7 @@ WARNING
# the version is in the cookbooks being uploaded. If not, exit and warn the user.
c... | Quote cookbook name/version in error message
User was getting an error message:
> ERROR: Cookbook git depends on cookbook runit, version >= <I>,
Issue was the metadata for git had a dependency on 'runit,'. Should
probably also add validation to metadata depends for cookbook names, but
generally quoting user-supplied v... |
diff --git a/src/LeagueWrap/StaticOptimizer.php b/src/LeagueWrap/StaticOptimizer.php
index <HASH>..<HASH> 100644
--- a/src/LeagueWrap/StaticOptimizer.php
+++ b/src/LeagueWrap/StaticOptimizer.php
@@ -73,7 +73,7 @@ class StaticOptimizer {
if (count($ids) > 1)
{
// group up the calls
- if ( substr($method,... | replaced condition with regex from tommcdo
y at the end of methodname now only replaced if preceeded by vowel |
diff --git a/lib/deuces.js b/lib/deuces.js
index <HASH>..<HASH> 100644
--- a/lib/deuces.js
+++ b/lib/deuces.js
@@ -38,7 +38,7 @@ exports.Deuces = ( function () {
// Redis default address
host : '127.0.0.1'
, port : 6379
- , family : null... | On branch master
modified: lib/deuces.js
modified: test/auth-fail-test.js |
diff --git a/core/state/snapshot/difflayer_test.go b/core/state/snapshot/difflayer_test.go
index <HASH>..<HASH> 100644
--- a/core/state/snapshot/difflayer_test.go
+++ b/core/state/snapshot/difflayer_test.go
@@ -388,7 +388,7 @@ func BenchmarkJournal(b *testing.B) {
}
return newDiffLayer(parent, common.Hash{}, dest... | core/state/snapshot: fix benchmarks (#<I>) |
diff --git a/luigi/scheduler.py b/luigi/scheduler.py
index <HASH>..<HASH> 100644
--- a/luigi/scheduler.py
+++ b/luigi/scheduler.py
@@ -534,6 +534,11 @@ class CentralPlannerScheduler(Scheduler):
def prune(self):
logger.info("Starting pruning of task graph")
+ self._prune_workers()
+ self._p... | scheduler.py: Refactor Scheduler.prune()
Split it into two methods. Making their symmetric structure a bit more
obvious and decreasing the average complexity per method. |
diff --git a/PhpCheckstyle/src/PHPCheckstyle.php b/PhpCheckstyle/src/PHPCheckstyle.php
index <HASH>..<HASH> 100644
--- a/PhpCheckstyle/src/PHPCheckstyle.php
+++ b/PhpCheckstyle/src/PHPCheckstyle.php
@@ -546,8 +546,10 @@ class PHPCheckstyle {
// its position when it is a beginning of a control structure
// or... | Issue <I>: Wrong indentation level for curly braces on new line |
diff --git a/src/API.php b/src/API.php
index <HASH>..<HASH> 100644
--- a/src/API.php
+++ b/src/API.php
@@ -137,6 +137,7 @@ class API
private function get_time_period_map() {
return array(
'canterbury' => array(
+ '2021' => '5f91f0c7ee6ec',
'2020' => '5de52d41dc... | Update API.php
Add <I> Canterbury and Medway time period mappings |
diff --git a/lib/mediawiki.DOMUtils.js b/lib/mediawiki.DOMUtils.js
index <HASH>..<HASH> 100644
--- a/lib/mediawiki.DOMUtils.js
+++ b/lib/mediawiki.DOMUtils.js
@@ -2069,7 +2069,7 @@ DOMUtils = DU = {
if (docDp.ids.hasOwnProperty(uid)) {
uid = null;
// FIXME: Protect mw ids while tokenizing to avoid false posi... | Downgrade the duplicate id warnings
* We aren't acting on this information; it's just noise in logstash.
Change-Id: I<I>dc<I>e<I>e4e1e<I>a0ae<I>a5cf0dc3dc<I> |
diff --git a/tests/utils.py b/tests/utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -210,7 +210,11 @@ def is_inherited_from(member_name, derived_class, base_class):
derived_member = getattr(derived_class, member_name)
base_member = getattr(base_class, member_name)
- if i... | Added support for cythonized code to test is_inherited_from() |
diff --git a/spec/restify/features/request_headers_spec.rb b/spec/restify/features/request_headers_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/restify/features/request_headers_spec.rb
+++ b/spec/restify/features/request_headers_spec.rb
@@ -51,5 +51,21 @@ describe Restify do
request_stub.with(headers: {'Acce... | Spec out overwriting request headers |
diff --git a/bokeh/charts/_charts.py b/bokeh/charts/_charts.py
index <HASH>..<HASH> 100644
--- a/bokeh/charts/_charts.py
+++ b/bokeh/charts/_charts.py
@@ -475,7 +475,8 @@ class Chart(object):
if self.server:
self.session.store_document(self.doc)
link = self.session.object_link(self.do... | fix show behaviour to not show server object when server and notebook args are specified |
diff --git a/src/Context/RawWordpressContext.php b/src/Context/RawWordpressContext.php
index <HASH>..<HASH> 100644
--- a/src/Context/RawWordpressContext.php
+++ b/src/Context/RawWordpressContext.php
@@ -29,6 +29,12 @@ class RawWordpressContext extends RawMinkContext implements WordpressAwareInterf
/**
+ * ... | Add a constructor to the RawWPContext to keep the Behat-generated subclass happy. |
diff --git a/admin/controllers/Payment.php b/admin/controllers/Payment.php
index <HASH>..<HASH> 100644
--- a/admin/controllers/Payment.php
+++ b/admin/controllers/Payment.php
@@ -224,7 +224,7 @@ class Payment extends BaseAdmin
$oInput = Factory::service('Input');
$oPaymentModel = Factory::model... | Refunds are more resiliant to non-numeric values |
diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ApplicationGatewayBackendImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ApplicationGatewayBackendImpl.java
index <HASH>..<HASH> 100644
--- a/azure-mgmt-network/src/main... | backend state should not change in withoutAddress if NOP |
diff --git a/src/test/java/one/util/streamex/StreamExTest.java b/src/test/java/one/util/streamex/StreamExTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/one/util/streamex/StreamExTest.java
+++ b/src/test/java/one/util/streamex/StreamExTest.java
@@ -1570,7 +1570,7 @@ public class StreamExTest {
Atomic... | [#<I>] javac compilation errors fixed in tests |
diff --git a/src/main/java/services/moleculer/transporter/FileSystemTransporter.java b/src/main/java/services/moleculer/transporter/FileSystemTransporter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/services/moleculer/transporter/FileSystemTransporter.java
+++ b/src/main/java/services/moleculer/transporter/File... | Fixed constructor of FileSystemTransporter + more comments |
diff --git a/lib/python/dxpy/bindings/dxgtable.py b/lib/python/dxpy/bindings/dxgtable.py
index <HASH>..<HASH> 100644
--- a/lib/python/dxpy/bindings/dxgtable.py
+++ b/lib/python/dxpy/bindings/dxgtable.py
@@ -523,14 +523,14 @@ class DXGTable(DXDataObject):
self._http_threadpool_futures.add(future)
def _ge... | cosmetic change to dxgtable |
diff --git a/sos/sos_step.py b/sos/sos_step.py
index <HASH>..<HASH> 100755
--- a/sos/sos_step.py
+++ b/sos/sos_step.py
@@ -845,7 +845,14 @@ class Base_Step_Executor:
env.sos_dict.set('_input', g)
self.log('_input')
env.sos_dict.set('_index', idx)
- for s... | Fix a bug that prevents generation of signatures of some auxiliary steps |
diff --git a/vaex/test/dataset.py b/vaex/test/dataset.py
index <HASH>..<HASH> 100644
--- a/vaex/test/dataset.py
+++ b/vaex/test/dataset.py
@@ -13,7 +13,7 @@ import vaex.execution
a = vaex.execution.buffer_size_default # will crash if we decide to rename it
# this will make the test execute more code and may show up... | testing with smaller bffer size reveals errors more quickly |
diff --git a/AegeanTools/source_finder.py b/AegeanTools/source_finder.py
index <HASH>..<HASH> 100755
--- a/AegeanTools/source_finder.py
+++ b/AegeanTools/source_finder.py
@@ -106,7 +106,7 @@ def find_islands(im, bkg, rms,
if np.any(snr[xmin:xmax, ymin:ymax] > seed_clip): # obey seed clip constraint
... | fix bug where seed_clip was used instead of flood_clip in the calculation of islands for fitting. |
diff --git a/api-put-object.go b/api-put-object.go
index <HASH>..<HASH> 100644
--- a/api-put-object.go
+++ b/api-put-object.go
@@ -43,6 +43,8 @@ const (
ReplicationStatusComplete ReplicationStatus = "COMPLETE"
// ReplicationStatusFailed indicates replication failed
ReplicationStatusFailed ReplicationStatus = "FAI... | Add `Replica` type to replication status (#<I>) |
diff --git a/src/main/lombok/com/restfb/types/ads/ProductItem.java b/src/main/lombok/com/restfb/types/ads/ProductItem.java
index <HASH>..<HASH> 100644
--- a/src/main/lombok/com/restfb/types/ads/ProductItem.java
+++ b/src/main/lombok/com/restfb/types/ads/ProductItem.java
@@ -83,6 +83,11 @@ public class ProductItem exten... | NoIssue: added missed required ProductItem fields |
diff --git a/lib/kamerling/repos.rb b/lib/kamerling/repos.rb
index <HASH>..<HASH> 100644
--- a/lib/kamerling/repos.rb
+++ b/lib/kamerling/repos.rb
@@ -8,6 +8,7 @@ module Kamerling class Repos
def << object
repos[object.class] << object
+ self
end
def [] klass
diff --git a/spec/kamerling/r... | Repos.<<: allow chaining |
diff --git a/bluepy_devices/devices/eq3btsmart.py b/bluepy_devices/devices/eq3btsmart.py
index <HASH>..<HASH> 100644
--- a/bluepy_devices/devices/eq3btsmart.py
+++ b/bluepy_devices/devices/eq3btsmart.py
@@ -67,6 +67,7 @@ class EQ3BTSmartThermostat:
self._target_temperature = EQ3BTSMART_UNKOWN
self._ra... | eq3btsmart: report valve state |
diff --git a/py3status/modules/lm_sensors.py b/py3status/modules/lm_sensors.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/lm_sensors.py
+++ b/py3status/modules/lm_sensors.py
@@ -91,7 +91,7 @@ Examples:
lm_sensors {
chips = ['coretemp-isa-0000'] # full
OR
- chips = ['coretemp*'] # fnmatch
+ ... | lm_sensors module: fix an issue when sensors disconnect and are not detected again (#<I>) |
diff --git a/src/Psalm/Internal/Codebase/ClassLikes.php b/src/Psalm/Internal/Codebase/ClassLikes.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Codebase/ClassLikes.php
+++ b/src/Psalm/Internal/Codebase/ClassLikes.php
@@ -852,7 +852,12 @@ class ClassLikes
return $alias_name;
}
- ... | bugfix: resolve recursive aliases |
diff --git a/lib/template.js b/lib/template.js
index <HASH>..<HASH> 100644
--- a/lib/template.js
+++ b/lib/template.js
@@ -4,7 +4,7 @@ function dieRoll (min, max) {
function processDirective (directive, model, cb) {
if (directive[0] === ':') {
- return cb(directive.slice(1));
+ return cb(directive.slice(1),... | Fix model not being passed in snippet recursion |
diff --git a/Tone/source/UserMedia.js b/Tone/source/UserMedia.js
index <HASH>..<HASH> 100644
--- a/Tone/source/UserMedia.js
+++ b/Tone/source/UserMedia.js
@@ -127,7 +127,7 @@ Tone.UserMedia.prototype.open = function(labelOrId){
//Wrap a MediaStreamSourceNode around the live input stream.
this._mediaStream = t... | using Tone.connect for native nodes |
diff --git a/lib/worker.js b/lib/worker.js
index <HASH>..<HASH> 100644
--- a/lib/worker.js
+++ b/lib/worker.js
@@ -6,7 +6,7 @@ global.worker = {
process.send({err: err.message || err, stack: err.stack || new Error().stack});
},
fatal: function(err) {
- process.send({err: err.message || err, stack: err.sta... | Generate missing stack on fatal as well |
diff --git a/src/Plugin/WebformHandler/strawberryFieldharvester.php b/src/Plugin/WebformHandler/strawberryFieldharvester.php
index <HASH>..<HASH> 100644
--- a/src/Plugin/WebformHandler/strawberryFieldharvester.php
+++ b/src/Plugin/WebformHandler/strawberryFieldharvester.php
@@ -383,7 +383,8 @@ class strawberryFieldharv... | Change URL for dr:url
This is storage URL, so probable better to namespace a copy of it to
dr: as in drupal. TODO: Create a context suitable for this new
namespaces that includes also as: as in activitystreams |
diff --git a/spec/helper.rb b/spec/helper.rb
index <HASH>..<HASH> 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -97,6 +97,18 @@ class MonetaSpecs
self.class.new({specs: specs, key: key, value: value}.merge(options))
end
+ def without_keys(*keys)
+ new(key: self.key - keys.map(&:to_s))
+ end
+
+ de... | specs: add methods for skipping certain key/value tests
This is needed because some adapters/transformers are limited in what
they can accurately store (e.g. size constraints, or issues with the
storage medium) |
diff --git a/tests/test_configmanager.py b/tests/test_configmanager.py
index <HASH>..<HASH> 100644
--- a/tests/test_configmanager.py
+++ b/tests/test_configmanager.py
@@ -25,6 +25,7 @@ from tests.engine_helpers import *
import autokey.model.folder
from autokey.configmanager.configmanager import ConfigManager
+impor... | test: Add tests for creating predefined_user_files |
diff --git a/test-utilities/src/main/java/org/h2gis/spatialut/GeometryAsserts.java b/test-utilities/src/main/java/org/h2gis/spatialut/GeometryAsserts.java
index <HASH>..<HASH> 100644
--- a/test-utilities/src/main/java/org/h2gis/spatialut/GeometryAsserts.java
+++ b/test-utilities/src/main/java/org/h2gis/spatialut/Geomet... | Normilise geometries before testing them as it depends on java version |
diff --git a/lib/Doctrine/Common/DataFixtures/AbstractFixture.php b/lib/Doctrine/Common/DataFixtures/AbstractFixture.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Common/DataFixtures/AbstractFixture.php
+++ b/lib/Doctrine/Common/DataFixtures/AbstractFixture.php
@@ -35,7 +35,7 @@ abstract class AbstractFixture impl... | Change accessibility of referenceRepository to protected |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,9 @@ setup_args.update(dict(
platforms=['Windows', 'Mac OS X', 'Linux'],
license='BSD',
url='http://ioam.github.com/dataviews/',
- packages = ["dataviews"],
+ packages = ["dataviews",
+ ... | Fixed package declaration in setup.py |
diff --git a/lib/sass/engine.rb b/lib/sass/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/engine.rb
+++ b/lib/sass/engine.rb
@@ -440,15 +440,9 @@ END
new_filename = find_full_path("#{filename}.sass", load_paths)
- if new_filename.nil?
- if was_sass
- raise Exception.new("File to im... | Sass::Engine should raise a syntax error when it can't find a file to @import. |
diff --git a/treeherder/client/thclient/client.py b/treeherder/client/thclient/client.py
index <HASH>..<HASH> 100644
--- a/treeherder/client/thclient/client.py
+++ b/treeherder/client/thclient/client.py
@@ -9,7 +9,7 @@ from requests_hawk import HawkAuth
# The Python client release process is documented here:
# http... | Bug <I> - Bump treeherder python client to version <I> (#<I>) |
diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -90,6 +90,22 @@ type serverEntryPoint struct {
onDemandListener func(string) (*tls.Certificate, error)
}
+// tcpKeepAliveListener sets TCP keep-alive timeouts on accepted
+// connections.
+... | Set keepalive on TCP socket so idleTimeout works |
diff --git a/src/base.js b/src/base.js
index <HASH>..<HASH> 100644
--- a/src/base.js
+++ b/src/base.js
@@ -416,30 +416,6 @@ this.base = (function() {
}
/**
- * Counter for use with createUid
- */
- var uidCounter = 1;
-
- /**
- * @return {number} A new unique ID.
- */
- function createUid() {
- re... | Remove uid from base. We have guid. |
diff --git a/spec/integration/decorator_spec.rb b/spec/integration/decorator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/decorator_spec.rb
+++ b/spec/integration/decorator_spec.rb
@@ -31,7 +31,7 @@ RSpec.describe 'decorator' do
describe 'custom decorator and part classes' do
it 'supports wrapping... | Update args for part_class in spec |
diff --git a/lib/simply_authorized/user_model.rb b/lib/simply_authorized/user_model.rb
index <HASH>..<HASH> 100644
--- a/lib/simply_authorized/user_model.rb
+++ b/lib/simply_authorized/user_model.rb
@@ -15,7 +15,11 @@ module UserModel
include SimplyAuthorized::UserModel::InstanceMethods
extend SimplyAuthorized... | Added hooks for before/after addition and removoal of roles. |
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/libyajl2/extconf.rb
+++ b/ext/libyajl2/extconf.rb
@@ -29,9 +29,9 @@ end
prefix=File.expand_path(File.join(File.dirname(__FILE__), "..", ".."))
unless libyajl2_ok
- ENV['CFLAGS'] = $CFLAGS
- ENV['LDFLAGS'] = $LDFLA... | don't export ruby's environment |
diff --git a/weld/src/main/java/org/jboss/weld/context/WeldAlterableContext.java b/weld/src/main/java/org/jboss/weld/context/WeldAlterableContext.java
index <HASH>..<HASH> 100644
--- a/weld/src/main/java/org/jboss/weld/context/WeldAlterableContext.java
+++ b/weld/src/main/java/org/jboss/weld/context/WeldAlterableContex... | WELD-<I> Methods on WeldAlterableContext should have less strict type requirements. |
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -32,11 +32,8 @@ class General(Plugin):
"/etc/os-release"
])
- self.add_cmd_output(
- "hostname -f",
- root_symlink="h... | [general] collect 'hostname' as well as 'hostname -f'
The --fqdn option to hostname depends on the system resolver
configuration. On hosts where the fqdn is undefined the command
may return:
"hostname: Name or service not known"
Since hostname will at least give the locally configured name
regardless of resolver o... |
diff --git a/lib/geokit/geocoders.rb b/lib/geokit/geocoders.rb
index <HASH>..<HASH> 100644
--- a/lib/geokit/geocoders.rb
+++ b/lib/geokit/geocoders.rb
@@ -162,8 +162,7 @@ module Geokit
res = Net::HTTP::Proxy(GeoKit::Geocoders::proxy_addr,
GeoKit::Geocoders::proxy_port,
GeoKit:... | changed Net::HTTP call when proxies are used... old code didn't work with some proxies |
diff --git a/floodsub.go b/floodsub.go
index <HASH>..<HASH> 100644
--- a/floodsub.go
+++ b/floodsub.go
@@ -377,6 +377,9 @@ func (p *PubSub) pushMsg(subs []*Subscription, src peer.ID, msg *Message) {
// validate performs validation and only sends the message if all validators succeed
func (p *PubSub) validate(subs [... | add validation context for cancelation on aborts |
diff --git a/client/state/data-layer/wpcom/wordads/settings/index.js b/client/state/data-layer/wpcom/wordads/settings/index.js
index <HASH>..<HASH> 100644
--- a/client/state/data-layer/wpcom/wordads/settings/index.js
+++ b/client/state/data-layer/wpcom/wordads/settings/index.js
@@ -90,13 +90,23 @@ export const handleSa... | WordAds Settings: Add better error notice for missing PayPal (#<I>)
* WordAds Settings: Add better error notice for PayPal
The form won't save if the PayPal field isn't set. This will alert the user that they need to enter a valid PayPal email.
* A little clearer parameter setting. |
diff --git a/qiskit/aqua/operators/weighted_pauli_operator.py b/qiskit/aqua/operators/weighted_pauli_operator.py
index <HASH>..<HASH> 100644
--- a/qiskit/aqua/operators/weighted_pauli_operator.py
+++ b/qiskit/aqua/operators/weighted_pauli_operator.py
@@ -753,8 +753,11 @@ class WeightedPauliOperator(BaseOperator):
... | Fix weighted_pauli_operator for Aer <I>
Fixes change in the complex format of snapshot values in Aer <I> from a list [re, im] to a type complex. |
diff --git a/test/lib/app.js b/test/lib/app.js
index <HASH>..<HASH> 100644
--- a/test/lib/app.js
+++ b/test/lib/app.js
@@ -59,6 +59,7 @@ var setupAppConfig = function(config, callback) {
config.port = config.port || 4815;
config.hostname = config.hostname || "localhost";
+ config.secret = config.secret |... | Set the secret in tests' setupAppConfig()
Fixes the app crashing at test startup. |
diff --git a/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java b/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java
+++ b/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java
@@ -173,8 +173,8 @@ public class MatrixUtils ... | PUBDEV-<I> - refactoring |
diff --git a/benchmarks/bench.py b/benchmarks/bench.py
index <HASH>..<HASH> 100644
--- a/benchmarks/bench.py
+++ b/benchmarks/bench.py
@@ -123,10 +123,10 @@ def main(args):
else:
if args.use_green_threads:
- subprocess_args = ["dramatiq", "bench", "-p", "8"]
+ subpr... | fix: handle --use-green-threads properly in bench |
diff --git a/lib/mementus/mutators.rb b/lib/mementus/mutators.rb
index <HASH>..<HASH> 100644
--- a/lib/mementus/mutators.rb
+++ b/lib/mementus/mutators.rb
@@ -33,5 +33,13 @@ module Mementus
builder.id = @edge_ids.next_id unless builder.id
set_edge(builder.to_edge)
end
+
+ def remove_node(node)
+ ... | Introduce `#remove_node` and `#remove_edge` to mutable graph |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.