diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
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
@@ -1769,14 +1769,15 @@ func DumpAllNamespaceInfo(c clientset.Interface, namespace string) {
// 2. there are so many of them that working with them are mos... | Reduce indents of DumpAllNamespaceInfo()
During cleanup of DumpAllNamespaceInfo(), the code was a little
unreadable. This reduces the indents for the code readability. |
diff --git a/lib/m4dbi/model.rb b/lib/m4dbi/model.rb
index <HASH>..<HASH> 100644
--- a/lib/m4dbi/model.rb
+++ b/lib/m4dbi/model.rb
@@ -384,6 +384,9 @@ module M4DBI
def save
nil
end
+ def save!
+ nil
+ end
end
# Define a new M4DBI::Model like this:
diff --git a/spec/model.rb b/spec/mo... | Added no-op Model#save! . |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,6 +4,14 @@ from setuptools import find_packages, setup
py_version = sys.version_info[:2]
+py_version_dotted = '{0.major}.{0.minor}'.format(sys.version_info)
+supported_py_versions = ('2.7', '3.3', '3.4', '3.5')
+
+
+if... | Warn when installing into an unsupported Python version |
diff --git a/applications/default/public/js/controllers.js b/applications/default/public/js/controllers.js
index <HASH>..<HASH> 100644
--- a/applications/default/public/js/controllers.js
+++ b/applications/default/public/js/controllers.js
@@ -277,7 +277,23 @@ function InlineReferenceElementController($scope, $location,... | Loading proper form for editing inline referenced items for polymorphic referenced types. |
diff --git a/wayback-core/src/main/java/org/archive/wayback/resourcestore/indexer/WarcIndexer.java b/wayback-core/src/main/java/org/archive/wayback/resourcestore/indexer/WarcIndexer.java
index <HASH>..<HASH> 100644
--- a/wayback-core/src/main/java/org/archive/wayback/resourcestore/indexer/WarcIndexer.java
+++ b/wayback... | BUGFIX(ACC-<I>): was not setting exit status to non-zero when exceptions were caught... Uhg.
git-svn-id: <URL> |
diff --git a/runtime/kubernetes/kubernetes.go b/runtime/kubernetes/kubernetes.go
index <HASH>..<HASH> 100644
--- a/runtime/kubernetes/kubernetes.go
+++ b/runtime/kubernetes/kubernetes.go
@@ -136,8 +136,12 @@ func (k *kubernetes) getService(labels map[string]string) ([]*service, error) {
for _, item := range podList... | Fix labels for k8s (#<I>) |
diff --git a/traverse.go b/traverse.go
index <HASH>..<HASH> 100644
--- a/traverse.go
+++ b/traverse.go
@@ -43,8 +43,11 @@ func (r *Reader) Networks() *Networks {
// in the database which are contained in a given network.
//
// Please note that a MaxMind DB may map IPv4 networks into several locations
-// in an IPv6 ... | Clarify behaviour of NetworksWithin()
in the case where the network being searched is contained within another
network. |
diff --git a/engine/src/test/java/com/stratio/streaming/utils/ZKUtilsTestIT.java b/engine/src/test/java/com/stratio/streaming/utils/ZKUtilsTestIT.java
index <HASH>..<HASH> 100644
--- a/engine/src/test/java/com/stratio/streaming/utils/ZKUtilsTestIT.java
+++ b/engine/src/test/java/com/stratio/streaming/utils/ZKUtilsTestI... | added RunWith to ZKUtilsTest |
diff --git a/media/boom/js/boom/page/settings.js b/media/boom/js/boom/page/settings.js
index <HASH>..<HASH> 100644
--- a/media/boom/js/boom/page/settings.js
+++ b/media/boom/js/boom/page/settings.js
@@ -612,11 +612,11 @@ $.widget('boom.page', $.boom.page, {
$.boom.page.settings.save(
'/cms/page/s... | Fixed bug with manually re-ordering child pages |
diff --git a/modules/Cockpit/Controller/Media.php b/modules/Cockpit/Controller/Media.php
index <HASH>..<HASH> 100755
--- a/modules/Cockpit/Controller/Media.php
+++ b/modules/Cockpit/Controller/Media.php
@@ -19,7 +19,11 @@ class Media extends \Cockpit\AuthController {
$cmd = $this->param('cmd', false);
... | fallback media/finder path to uploads folder if not set via config and is not admin |
diff --git a/aws/resource_aws_budgets_budget.go b/aws/resource_aws_budgets_budget.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_budgets_budget.go
+++ b/aws/resource_aws_budgets_budget.go
@@ -371,10 +371,10 @@ func resourceAwsBudgetsBudgetNotificationRead(d *schema.ResourceData, meta inter
for _, notificationO... | r/aws_budgets_budget: Make reading budget notifications safer |
diff --git a/droneapi/module/api.py b/droneapi/module/api.py
index <HASH>..<HASH> 100644
--- a/droneapi/module/api.py
+++ b/droneapi/module/api.py
@@ -386,11 +386,11 @@ class APIModule(mp_module.MPModule):
def fix_targets(self, message):
"""Set correct target IDs for our vehicle"""
- status = sel... | Fixed the error "AttributeError: 'MPStatus' object has no attribute
'target_system'" when trying to send a mavlink message. |
diff --git a/intranet/apps/eighth/notifications.py b/intranet/apps/eighth/notifications.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/eighth/notifications.py
+++ b/intranet/apps/eighth/notifications.py
@@ -59,7 +59,7 @@ def signup_status_email(user, next_blocks):
def absence_email(signup):
user = signup.us... | refactor(eighth): use user.notification_email for absence emails |
diff --git a/frasco/request_params.py b/frasco/request_params.py
index <HASH>..<HASH> 100644
--- a/frasco/request_params.py
+++ b/frasco/request_params.py
@@ -149,8 +149,7 @@ class RequestParam(object):
return value.lower() not in ('False', 'false', 'no', '0')
return bool(value)
... | Remove exception logging when coercing value in request params |
diff --git a/js/fcoin.js b/js/fcoin.js
index <HASH>..<HASH> 100644
--- a/js/fcoin.js
+++ b/js/fcoin.js
@@ -209,7 +209,7 @@ module.exports = class fcoin extends Exchange {
async fetchOrderBook (symbol = undefined, limit = undefined, params = {}) {
await this.loadMarkets ();
if (typeof limit !== 'u... | fcoin fetchOrderBook limit fix in the source js file |
diff --git a/website/pages/en/index.js b/website/pages/en/index.js
index <HASH>..<HASH> 100755
--- a/website/pages/en/index.js
+++ b/website/pages/en/index.js
@@ -400,7 +400,7 @@ const UsersSection = ({ language }) => {
<img src="/images/npm_grey.svg" style={{ height: "100px" }} />
</a>
... | Edit metrics as seen at NPM/GitHub network (#<I>) |
diff --git a/Logger/PropelLogger.php b/Logger/PropelLogger.php
index <HASH>..<HASH> 100644
--- a/Logger/PropelLogger.php
+++ b/Logger/PropelLogger.php
@@ -73,7 +73,7 @@ class PropelLogger
public function crit($message)
{
if (null !== $this->logger) {
- $this->logger->crit($message);
+ ... | [Monolog] Mark old non-PSR3 methods as deprecated |
diff --git a/src/components/Table/head/__test__/header.spec.js b/src/components/Table/head/__test__/header.spec.js
index <HASH>..<HASH> 100644
--- a/src/components/Table/head/__test__/header.spec.js
+++ b/src/components/Table/head/__test__/header.spec.js
@@ -10,7 +10,7 @@ document.addEventListener = jest.fn((event, cb)... | fix: fix some typo (#<I>) |
diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -422,6 +422,7 @@ class MinionBase(object):
' {0}'.format(opts['master']))
if opts['master_shuffle']:
shuffle(opts['master'])
+... | Set auth retry count to 0 if multimaster mode is failover |
diff --git a/builtin/providers/aws/resource_aws_cloudwatch_log_group.go b/builtin/providers/aws/resource_aws_cloudwatch_log_group.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_cloudwatch_log_group.go
+++ b/builtin/providers/aws/resource_aws_cloudwatch_log_group.go
@@ -117,17 +117,15 @@ func re... | provider/aws: Removal of duplicate error handling code in cloudwatch_log_group
cloudwatch_log_group |
diff --git a/chassis/util/validators.py b/chassis/util/validators.py
index <HASH>..<HASH> 100644
--- a/chassis/util/validators.py
+++ b/chassis/util/validators.py
@@ -1,7 +1,7 @@
"""Parameter Parsing and Validation for Chassis Applications."""
import re
-
+import six
class ValidationError(Exception):
"""Rai... | Use six to fix 2.x / 3.x compatibility issue |
diff --git a/platform/html5/html.js b/platform/html5/html.js
index <HASH>..<HASH> 100644
--- a/platform/html5/html.js
+++ b/platform/html5/html.js
@@ -233,7 +233,8 @@ ElementPrototype.updateStyle = function() {
'padding-left': 'px',
'padding-top': 'px',
'padding-right': 'px',
- 'padding-bottom': 'px'
+ 'padd... | paddings added to CSSUnits map |
diff --git a/fcm_django/apps.py b/fcm_django/apps.py
index <HASH>..<HASH> 100644
--- a/fcm_django/apps.py
+++ b/fcm_django/apps.py
@@ -6,3 +6,4 @@ from fcm_django.settings import FCM_DJANGO_SETTINGS as SETTINGS
class FcmDjangoConfig(AppConfig):
name = "fcm_django"
verbose_name = SETTINGS["APP_VERBOSE_NAME"]
... | Use BigAutoField as the default ID |
diff --git a/Library/Phalcon/Migrations.php b/Library/Phalcon/Migrations.php
index <HASH>..<HASH> 100644
--- a/Library/Phalcon/Migrations.php
+++ b/Library/Phalcon/Migrations.php
@@ -800,9 +800,7 @@ class " . $className . " extends Migration\n" .
$sqlInstructions = explode(';', $rawSql);
... | Create table - Duplicated SQL
Create table SQL is duplicated as many times as $sqlInstructions array count. We should add $instruction not $rawSql to $sql array.
Also remove unnecessary check " $rawSql !== '' " as we checked (above) that " $instruction !== '' " which is part of $rawSql |
diff --git a/eth/backend.go b/eth/backend.go
index <HASH>..<HASH> 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -200,10 +200,13 @@ func makeExtraData(extra []byte) []byte {
// CreateDB creates the chain database.
func CreateDB(ctx *node.ServiceContext, config *Config, name string) (ethdb.Database, error) {
db... | eth: gracefully error if database cannot be opened |
diff --git a/moban_handlebars/engine.py b/moban_handlebars/engine.py
index <HASH>..<HASH> 100644
--- a/moban_handlebars/engine.py
+++ b/moban_handlebars/engine.py
@@ -1,6 +1,6 @@
import sys
-from moban import utils, file_system
+from moban import file_system
from pybars import Compiler
PY2 = sys.version_info[0] ... | :green_heart: python file system 2 hates str |
diff --git a/java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java b/java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java
+++ b/java/server/src/org/openqa/grid/internal/ut... | Grid: Fixing timeout issue again... Why isn't it covered by tests? A rhetorical question... |
diff --git a/test/bibtex/test_bibliography.rb b/test/bibtex/test_bibliography.rb
index <HASH>..<HASH> 100644
--- a/test/bibtex/test_bibliography.rb
+++ b/test/bibtex/test_bibliography.rb
@@ -288,17 +288,21 @@ module BibTeX
@book{b1,
title = {FOO},
year = {2013},
- ... | Test Bibliography#uniq! with block |
diff --git a/spec/integration/environment_setup_spec.rb b/spec/integration/environment_setup_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/environment_setup_spec.rb
+++ b/spec/integration/environment_setup_spec.rb
@@ -17,6 +17,6 @@ describe 'Setting up environment' do
end
end
- expect(sche... | Update tests to pass with latest memory adapter |
diff --git a/lib/gollum/public/gollum/javascript/editor/gollum.editor.js b/lib/gollum/public/gollum/javascript/editor/gollum.editor.js
index <HASH>..<HASH> 100755
--- a/lib/gollum/public/gollum/javascript/editor/gollum.editor.js
+++ b/lib/gollum/public/gollum/javascript/editor/gollum.editor.js
@@ -217,7 +217,15 @@
... | Handle non-image uploads correctly |
diff --git a/src/DataSource.js b/src/DataSource.js
index <HASH>..<HASH> 100644
--- a/src/DataSource.js
+++ b/src/DataSource.js
@@ -167,6 +167,10 @@ function DataSourceInput(ds) {
ds._data = ds._data.concat(delta.add);
}
+ if (delta.sort) {
+ ds._data.sort(delta.sort);
+ }
+
// if reflowing... | DataSourceInput should apply sort function.
For example, if the delta is populated by DataSourceListener. |
diff --git a/go/vt/vtgate/planbuilder/route.go b/go/vt/vtgate/planbuilder/route.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtgate/planbuilder/route.go
+++ b/go/vt/vtgate/planbuilder/route.go
@@ -37,11 +37,6 @@ var _ logicalPlan = (*route)(nil)
type route struct {
gen4Plan
- // Redirect may point to another route i... | refactor: remove unused field |
diff --git a/test/test_server.rb b/test/test_server.rb
index <HASH>..<HASH> 100644
--- a/test/test_server.rb
+++ b/test/test_server.rb
@@ -1,7 +1,7 @@
require 'helper'
class TestServer < Test::Unit::TestCase
- should "probably rename this file and start testing for real" do
- flunk "hey buddy, you should probab... | Fixed unit test to assert true until I can start writing actual unit tests |
diff --git a/mapillary_tools/uploader.py b/mapillary_tools/uploader.py
index <HASH>..<HASH> 100644
--- a/mapillary_tools/uploader.py
+++ b/mapillary_tools/uploader.py
@@ -512,7 +512,7 @@ def upload_file(filepath, root, url, permission, signature, key=None):
else:
s3_key = key + s3_filename
- paramete... | fix: update key for s3 upload |
diff --git a/Service/Import/ImportManager.php b/Service/Import/ImportManager.php
index <HASH>..<HASH> 100644
--- a/Service/Import/ImportManager.php
+++ b/Service/Import/ImportManager.php
@@ -14,6 +14,7 @@ namespace ONGR\TranslationsBundle\Service\Import;
use Elasticsearch\Common\Exceptions\BadRequest400Exception;
use... | use search with match instead of query string |
diff --git a/cmd/minikube/cmd/config/config.go b/cmd/minikube/cmd/config/config.go
index <HASH>..<HASH> 100644
--- a/cmd/minikube/cmd/config/config.go
+++ b/cmd/minikube/cmd/config/config.go
@@ -176,6 +176,12 @@ var settings = []Setting{
callbacks: []setFn{EnableOrDisableAddon},
},
{
+ name: "insecure-... | [FEATURE] allow to set container-runtime via config |
diff --git a/lib/httpServer/transports/http/index.js b/lib/httpServer/transports/http/index.js
index <HASH>..<HASH> 100644
--- a/lib/httpServer/transports/http/index.js
+++ b/lib/httpServer/transports/http/index.js
@@ -626,7 +626,7 @@ function requestHandler(req, res) {
if (isAsterisk) {
path = '*';
} else {
- ... | url.parse: slashesDenoteHost should be false
URL paths should never include a host; therefore, this option is not
needed. Solves an issue where double-slashes prefixed calls would return
<I> instead of being properly routed. |
diff --git a/cirq/circuits/circuit.py b/cirq/circuits/circuit.py
index <HASH>..<HASH> 100644
--- a/cirq/circuits/circuit.py
+++ b/cirq/circuits/circuit.py
@@ -2004,8 +2004,8 @@ class Circuit(AbstractCircuit):
"""Inserts operations inline at frontier.
Args:
- operations: the operations to ... | Add docstring for cirq.QasmOutput (#<I>)
Adds docstring for `cirq.QasmOutput` and fixes formatting.
Fixes #<I>. |
diff --git a/lib/command/CommandClient.js b/lib/command/CommandClient.js
index <HASH>..<HASH> 100644
--- a/lib/command/CommandClient.js
+++ b/lib/command/CommandClient.js
@@ -237,7 +237,8 @@ class CommandClient extends Client {
} catch(err) {} // eslint-disable-line no-empty
br... | Handle un-typed reaction buttons |
diff --git a/src/main/java/org/opensextant/solrtexttagger/TermPrefixCursor.java b/src/main/java/org/opensextant/solrtexttagger/TermPrefixCursor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/opensextant/solrtexttagger/TermPrefixCursor.java
+++ b/src/main/java/org/opensextant/solrtexttagger/TermPrefixCursor.ja... | Fixed ArrayIndexOutOfBoundsException reported by @mubaldino due to the prefixBuf array not growing sufficiently large. |
diff --git a/src/Composer/Repository/Vcs/GitDriver.php b/src/Composer/Repository/Vcs/GitDriver.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/Vcs/GitDriver.php
+++ b/src/Composer/Repository/Vcs/GitDriver.php
@@ -154,9 +154,9 @@ class GitDriver extends VcsDriver
if (null === $this->tags) {
... | Fix handling of annotated tags and prefer them over lightweight tags, fixes #<I> |
diff --git a/src/Asserts/EloquentAsserts.php b/src/Asserts/EloquentAsserts.php
index <HASH>..<HASH> 100644
--- a/src/Asserts/EloquentAsserts.php
+++ b/src/Asserts/EloquentAsserts.php
@@ -92,7 +92,7 @@ trait EloquentAsserts
$this->assertInstanceOf(BelongsTo::class, $belongsToRelation);
$parentModel =... | ITT: `assertEloquentBelongsTo` minor refactorings. |
diff --git a/src/HTML5DOMDocument.php b/src/HTML5DOMDocument.php
index <HASH>..<HASH> 100644
--- a/src/HTML5DOMDocument.php
+++ b/src/HTML5DOMDocument.php
@@ -107,7 +107,7 @@ class HTML5DOMDocument extends \DOMDocument
$source = preg_replace('/&([a-zA-Z]*);/', 'html5-dom-document-internal-entity1-$1-end', $sou... | LIBXML_NOENT is now not added by default. |
diff --git a/js/browser.js b/js/browser.js
index <HASH>..<HASH> 100644
--- a/js/browser.js
+++ b/js/browser.js
@@ -1807,6 +1807,11 @@ Browser.prototype.xfrmTier = function(tier, x , xs) {
//
Browser.prototype.spaceCheck = function(dontRefresh) {
+ if (!this.knownSpace || this.knownSpace.chr !== this.chr) {
+ ... | setLocation now does a spaceCheck instead of a refresh. |
diff --git a/tilequeue/query/rawr.py b/tilequeue/query/rawr.py
index <HASH>..<HASH> 100644
--- a/tilequeue/query/rawr.py
+++ b/tilequeue/query/rawr.py
@@ -1,5 +1,6 @@
from collections import namedtuple, defaultdict
from shapely.geometry import box
+from shapely.geometry import MultiLineString
from shapely.geometry.p... | Move MultiLineString import to top. |
diff --git a/lib/weechat/utilities.rb b/lib/weechat/utilities.rb
index <HASH>..<HASH> 100644
--- a/lib/weechat/utilities.rb
+++ b/lib/weechat/utilities.rb
@@ -14,8 +14,17 @@ module Weechat
return Weechat::WEECHAT_RC_OK
end
def self.apply_transformation(property, value, transformations)
- transform... | refactored transformations to also support regexps |
diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go
index <HASH>..<HASH> 100644
--- a/cmd/torrent/main.go
+++ b/cmd/torrent/main.go
@@ -27,8 +27,16 @@ var (
upload = flag.Bool("upload", true, "upload data to peers")
)
+func usage() {
+ fmt.Fprintf(os.Stderr, "Usage: %s [flags] (magnet URI or .torrent f... | cmd/torrent: Nicer usage |
diff --git a/debugtools/templatetags/debug_tags.py b/debugtools/templatetags/debug_tags.py
index <HASH>..<HASH> 100644
--- a/debugtools/templatetags/debug_tags.py
+++ b/debugtools/templatetags/debug_tags.py
@@ -6,6 +6,7 @@ __author__ = "Diederik van der Boor"
__license__ = "Apache License, Version 2"
from django.co... | Trap ObjectDoesNotExist as well, to print inherited models properly. |
diff --git a/pymatgen/io/cif.py b/pymatgen/io/cif.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/cif.py
+++ b/pymatgen/io/cif.py
@@ -31,10 +31,6 @@ from pymatgen.electronic_structure.core import Magmom
from pymatgen.core.operations import MagSymmOp
from pymatgen.symmetry.maggroups import MagneticSpaceGroup
-try:
... | Move pybtex import into get_bibtex_string and simply fail instead of having a warning. Fixes #<I> |
diff --git a/galpy/df/quasiisothermaldf.py b/galpy/df/quasiisothermaldf.py
index <HASH>..<HASH> 100644
--- a/galpy/df/quasiisothermaldf.py
+++ b/galpy/df/quasiisothermaldf.py
@@ -1757,7 +1757,7 @@ class quasiisothermaldf(df):
if self._voSet:
out[:,2:5]= units.Quantity(out[:,2:5]*self._vo,u... | fixed an error with R in unit of kpc |
diff --git a/lib/middleware.js b/lib/middleware.js
index <HASH>..<HASH> 100644
--- a/lib/middleware.js
+++ b/lib/middleware.js
@@ -110,7 +110,7 @@ module.exports = function(options){
fs.writeFile(cssPath, css, 'utf8', next);
});
}, {
- include_paths: [ sassDir ].concat(... | added support for includePaths as well as include_paths to middleware.js |
diff --git a/lib/jss.rb b/lib/jss.rb
index <HASH>..<HASH> 100644
--- a/lib/jss.rb
+++ b/lib/jss.rb
@@ -52,7 +52,7 @@ module JSS
require 'digest'
require 'yaml'
require 'open3'
- require 'english'
+ require 'English'
###################
### Gems | Update jss.rb for immediate release |
diff --git a/rlp/encode.go b/rlp/encode.go
index <HASH>..<HASH> 100644
--- a/rlp/encode.go
+++ b/rlp/encode.go
@@ -45,12 +45,6 @@ type Encoder interface {
EncodeRLP(io.Writer) error
}
-// ListSize returns the encoded size of an RLP list with the given
-// content size.
-func ListSize(contentSize uint64) uint64 {
-... | rlp: move ListSize to raw.go |
diff --git a/build/transpile.js b/build/transpile.js
index <HASH>..<HASH> 100644
--- a/build/transpile.js
+++ b/build/transpile.js
@@ -33,12 +33,14 @@ const commonRegexes = [
[ /\.deepExtend\s/g, '.deep_extend'],
[ /\.safeFloat2\s/g, '.safe_float_2'],
[ /\.safeInteger2\s/g, '.safe_integer_2'],
+ [ /\.... | added safeIntegerProduct, safeIntegerProduct2 to build/transpile.js |
diff --git a/girder/models/item.py b/girder/models/item.py
index <HASH>..<HASH> 100644
--- a/girder/models/item.py
+++ b/girder/models/item.py
@@ -319,7 +319,8 @@ class Item(acl_mixin.AccessControlMixin, Model):
item['meta'] = {}
for field in fields:
- del item['meta'][field]
+ ... | Ignore deletion fields that are not present in the metadata |
diff --git a/src/Traits/HasTranslations.php b/src/Traits/HasTranslations.php
index <HASH>..<HASH> 100644
--- a/src/Traits/HasTranslations.php
+++ b/src/Traits/HasTranslations.php
@@ -70,4 +70,15 @@ trait HasTranslations
return array_replace(parent::attributesToArray(), array_combine($keys, $values));
}
... | Update HasTranslations.php (#<I>)
This method allow merge translatable from extend class. It works like mergeCasts or mergeFillable methods. |
diff --git a/lap/tests/test_arr_loop.py b/lap/tests/test_arr_loop.py
index <HASH>..<HASH> 100755
--- a/lap/tests/test_arr_loop.py
+++ b/lap/tests/test_arr_loop.py
@@ -34,6 +34,7 @@ def prepare_sparse_cost(shape, cc, ii, jj, cost_limit):
order = np.lexsort((jj_, ii_))
cc_ = cc_[order]
kk_ = jj_[order]
+ ... | Patch test failure on <I> bits. |
diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -385,7 +385,7 @@ describe('sendEmail', function(){
});
it('should callback an error', function(done){
- this.timeout(5000);
+ this.timeout(10000);
var calledTimes = 0;
em... | Increase remote AWS timeouts to allow tests to run on slower connections. |
diff --git a/gems/aws-sdk-core/spec/aws/plugins/region_endpoint_spec.rb b/gems/aws-sdk-core/spec/aws/plugins/region_endpoint_spec.rb
index <HASH>..<HASH> 100644
--- a/gems/aws-sdk-core/spec/aws/plugins/region_endpoint_spec.rb
+++ b/gems/aws-sdk-core/spec/aws/plugins/region_endpoint_spec.rb
@@ -35,7 +35,7 @@ module Aws
... | Fix the wrong description in spec test (#<I>) |
diff --git a/pyqode/core/modes/outline.py b/pyqode/core/modes/outline.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/modes/outline.py
+++ b/pyqode/core/modes/outline.py
@@ -53,8 +53,12 @@ class OutlineMode(Mode, QtCore.QObject):
self._jobRunner.request_job(self._run_analysis)
def _run_analysis(self):
... | Fix runtime error if editor got deleted before running the analysis
This happen in OpenCobolIDE if user quickly open and close the preferences dialog. |
diff --git a/glances/static_list.py b/glances/static_list.py
index <HASH>..<HASH> 100644
--- a/glances/static_list.py
+++ b/glances/static_list.py
@@ -54,7 +54,7 @@ class GlancesStaticServer(object):
for s in ['name', 'port', 'alias']:
new_server[s] = config.get_value(self._section... | docs: fix simple typo, optionnal -> optional
There is a small typo in glances/static_list.py.
Should read `optional` rather than `optionnal`. |
diff --git a/GCR.py b/GCR.py
index <HASH>..<HASH> 100644
--- a/GCR.py
+++ b/GCR.py
@@ -261,8 +261,10 @@ class BaseGenericCatalog(object):
Return the first available quantity in the input arguments.
Raise an error if none of them is available.
"""
- for q in quantities:
+ for i, ... | warn if first choice is not available |
diff --git a/examples/src/main/java/boofcv/examples/sfm/ExampleMultiviewSceneReconstruction.java b/examples/src/main/java/boofcv/examples/sfm/ExampleMultiviewSceneReconstruction.java
index <HASH>..<HASH> 100644
--- a/examples/src/main/java/boofcv/examples/sfm/ExampleMultiviewSceneReconstruction.java
+++ b/examples/src/... | updated for change in ddogleg |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,19 +5,19 @@ try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
- long_description = open('README.md').read()
+ long_description = ''
setup(
na... | Update to not use description if pandoc is not available |
diff --git a/lib/service/service.go b/lib/service/service.go
index <HASH>..<HASH> 100644
--- a/lib/service/service.go
+++ b/lib/service/service.go
@@ -1588,12 +1588,14 @@ func (process *TeleportProcess) initSSH() error {
warnOnErr(s.Shutdown(payloadContext(payload)))
}
}
- if conn.UseTunnel() {
+ if conn ... | Prevent nil pointer panic on node shutdown
If node hasn't fully initialized before getting stopped (such as when
join token isn't valid), most pointer vars in `initSSH` will be nil.
Handle that cleanly. |
diff --git a/org/xbill/DNS/Record.java b/org/xbill/DNS/Record.java
index <HASH>..<HASH> 100644
--- a/org/xbill/DNS/Record.java
+++ b/org/xbill/DNS/Record.java
@@ -523,25 +523,41 @@ hashCode() {
return array.hashCode();
}
+private Record
+cloneRecord() {
+ try {
+ return (Record) clone();
+ }
+ catch (CloneNotSupp... | Add a method to create a clone of a record with a different class.
git-svn-id: <URL> |
diff --git a/colo.js b/colo.js
index <HASH>..<HASH> 100644
--- a/colo.js
+++ b/colo.js
@@ -38,7 +38,7 @@
}
console.log.apply(console, args);
};
- if (typeof define === 'undefined' && define.amd) {
+ if (typeof define !== 'undefined' && define.amd) {
// amd
define(function() {
... | Fixes check for AMD support. |
diff --git a/check50.py b/check50.py
index <HASH>..<HASH> 100755
--- a/check50.py
+++ b/check50.py
@@ -346,8 +346,12 @@ class TestCase(unittest.TestCase):
def hash(self, filename):
"""Hashes a file using SHA-256."""
+
+ # Assert that file exists.
if type(filename) == File:
f... | Add assertion that file to be hashed exists |
diff --git a/siggen/cmd_fetch_data.py b/siggen/cmd_fetch_data.py
index <HASH>..<HASH> 100644
--- a/siggen/cmd_fetch_data.py
+++ b/siggen/cmd_fetch_data.py
@@ -192,6 +192,9 @@ def cmdline():
# list of text; e.g. ["browser"]
'additional_minidumps': glom(raw_crash, 'additional_minisumps', default=[]),
... | Add original_signature to crash_data
This will get ignored by signify and signature generation, but it'll make it
easier for us to compare one set of signatures to another set of signatures. |
diff --git a/rake-tasks/gecko_sdks.rb b/rake-tasks/gecko_sdks.rb
index <HASH>..<HASH> 100644
--- a/rake-tasks/gecko_sdks.rb
+++ b/rake-tasks/gecko_sdks.rb
@@ -40,7 +40,7 @@ class GeckoSDKs
next
ensure
- rm_rf path if path && File.exist?(path)
+ rm_rf sdk if sdk && File.exist?(sdk)
... | EranMes: Delete the temporary SDK file, not the one we just extracted.
r<I> |
diff --git a/Twig/SyliusResourceExtension.php b/Twig/SyliusResourceExtension.php
index <HASH>..<HASH> 100644
--- a/Twig/SyliusResourceExtension.php
+++ b/Twig/SyliusResourceExtension.php
@@ -63,7 +63,7 @@ class SyliusResourceExtension extends Twig_Extension
{
$label = null === $label ? $property : $label;... | Fixed failed to build the route parameters in Twig extension |
diff --git a/lib/active_scaffold/actions/mark.rb b/lib/active_scaffold/actions/mark.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/actions/mark.rb
+++ b/lib/active_scaffold/actions/mark.rb
@@ -13,10 +13,19 @@ module ActiveScaffold::Actions
else
do_demark_all
end
- do_list
- re... | mark_all action get s its own respond methods |
diff --git a/event.go b/event.go
index <HASH>..<HASH> 100644
--- a/event.go
+++ b/event.go
@@ -10,10 +10,10 @@ import (
const maxEventPayloadSize = 10240
type Event struct {
- Channel string `json:"channel"`
- Name string `json:"name"`
- Data string `json:"data"`
- SocketId *string `json:"socket_id,omit... | refactor TriggerBatch's Event.Data str->interface (#<I>)
- it refactors TriggerBatch's API regarding Event.Data to be consistent with the Trigger's API , moving from a `string` type to a `interface{}` type. This allows any matching type to be passed in as a Payload. |
diff --git a/lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooser.php b/lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooser.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooser.php
+++ b/lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooser.p... | Avoid exception when locale contains region
Strips the region from the locale code if only the country code has been configured |
diff --git a/lib/externallib.php b/lib/externallib.php
index <HASH>..<HASH> 100644
--- a/lib/externallib.php
+++ b/lib/externallib.php
@@ -644,7 +644,7 @@ class external_format_value extends external_value {
. FORMAT_PLAIN . ' = PLAIN or '
. FORMAT_MARKDOWN . ' = MARKDOWN)';
- ... | MDL-<I> Web services : should force type of external_format_value structure |
diff --git a/razorpay/utility/utility.py b/razorpay/utility/utility.py
index <HASH>..<HASH> 100644
--- a/razorpay/utility/utility.py
+++ b/razorpay/utility/utility.py
@@ -6,7 +6,10 @@ class Utility(object):
def __init__(self, client=None):
self.client = client
- def validate_signature(self, order_id,... | [python-sdk] take params instead of individual ids |
diff --git a/manticore/platforms/evm.py b/manticore/platforms/evm.py
index <HASH>..<HASH> 100644
--- a/manticore/platforms/evm.py
+++ b/manticore/platforms/evm.py
@@ -2493,6 +2493,7 @@ class EVMWorld(Platform):
raise TerminateState("REVERT", testcase=True)
self.current.last_exception = None
+ ... | Push 0 on internal revert (#<I>) |
diff --git a/packages/vaex-core/vaex/core/_version.py b/packages/vaex-core/vaex/core/_version.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/core/_version.py
+++ b/packages/vaex-core/vaex/core/_version.py
@@ -1,2 +1,2 @@
-__version_tuple__ = (0, 4, 4)
-__version__ = '0.4.4'
+__version_tuple__ = (0, 5, 0)
... | Release <I> of vaex-core |
diff --git a/diagnostics/diag.go b/diagnostics/diag.go
index <HASH>..<HASH> 100644
--- a/diagnostics/diag.go
+++ b/diagnostics/diag.go
@@ -191,7 +191,11 @@ func (d *Diagnostics) getDiagnosticFromPeers(ctx context.Context, peers map[peer
return
}
for d := range out {
- respdata <- d
+ select {
+ ca... | respect contexts when returning diagnostics responses
License: MIT |
diff --git a/qtmodern/windows.py b/qtmodern/windows.py
index <HASH>..<HASH> 100644
--- a/qtmodern/windows.py
+++ b/qtmodern/windows.py
@@ -67,8 +67,6 @@ class ModernWindow(QWidget):
self.setWindowTitle(w.windowTitle())
self.setGeometry(w.geometry())
- self.installEventFilter(self)
-
... | Set ModernWindow to set the event state equal to the child state |
diff --git a/tests/unit/utils/network_test.py b/tests/unit/utils/network_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/utils/network_test.py
+++ b/tests/unit/utils/network_test.py
@@ -251,8 +251,7 @@ class NetworkTestCase(TestCase):
:return:
'''
self.assertEqual(network._generate_minio... | Test fix: look for attribute name only when other socket checks had failed |
diff --git a/config/common.php b/config/common.php
index <HASH>..<HASH> 100644
--- a/config/common.php
+++ b/config/common.php
@@ -16,6 +16,7 @@ return [
'@vendor/bower' => '@vendor/bower-asset',
'@vendor/npm' => '@vendor/npm-asset',
'@file' => '/file',
+ '@HIAM_SITE' => 'https://' . $... | Added `@HIAM_SITE` alias for better links to HIAM |
diff --git a/vault/token_store.go b/vault/token_store.go
index <HASH>..<HASH> 100644
--- a/vault/token_store.go
+++ b/vault/token_store.go
@@ -1308,9 +1308,7 @@ func (ts *TokenStore) handleCreateCommon(
sysView := ts.System()
- if role != nil && role.Period > 0 {
- te.TTL = role.Period
- } else if te.Period > 0 ... | Don't check the role period again as we've checked it earlier and it may be greater than the te Period |
diff --git a/js/bam/bamUtils.js b/js/bam/bamUtils.js
index <HASH>..<HASH> 100644
--- a/js/bam/bamUtils.js
+++ b/js/bam/bamUtils.js
@@ -215,9 +215,11 @@ const BamUtils = {
}
if (refID < 0) {
offset = blockEnd;
- continue; // unmapped read
+ conti... | Possible workaround for issue #<I> |
diff --git a/cerberus/cerberus.py b/cerberus/cerberus.py
index <HASH>..<HASH> 100644
--- a/cerberus/cerberus.py
+++ b/cerberus/cerberus.py
@@ -285,10 +285,7 @@ class Validator(object):
error = errors.ValidationError(document_path, schema_path,
code, rule, constra... | Reduces boilerplate for submitting errors |
diff --git a/src/ChrisKonnertz/BBCode/BBCode.php b/src/ChrisKonnertz/BBCode/BBCode.php
index <HASH>..<HASH> 100644
--- a/src/ChrisKonnertz/BBCode/BBCode.php
+++ b/src/ChrisKonnertz/BBCode/BBCode.php
@@ -67,9 +67,10 @@ class BBCode {
*
* @param string $text The BBCode string
* @param bool $es... | Can now convert line breaks "n\r\" to HTML breaks "<br/>" |
diff --git a/commands/WebhookCommands.js b/commands/WebhookCommands.js
index <HASH>..<HASH> 100644
--- a/commands/WebhookCommands.js
+++ b/commands/WebhookCommands.js
@@ -162,7 +162,7 @@ WebhookCommand.prototype = extend(BaseCommand.prototype, {
data.event = eventName;
data.url = url;
data.deviceid = deviceID;... | use a bearer token header so we can send this request as a JSON request, so we won't 'stringify' native types in the request body. Fixes <URL> |
diff --git a/base62_test.go b/base62_test.go
index <HASH>..<HASH> 100644
--- a/base62_test.go
+++ b/base62_test.go
@@ -127,7 +127,9 @@ func BenchmarkAppendDecodeBase62(b *testing.B) {
id := []byte(New().String())
for i := 0; i != b.N; i++ {
- appendDecodeBase62(a[:0], id)
+ b := [stringEncodedLength]byte{}
+ c... | fix appendDecodeBase<I> benchmark so it doesn't cause a memory allocation |
diff --git a/activerecord/lib/active_record/associations/collection_association.rb b/activerecord/lib/active_record/associations/collection_association.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/collection_association.rb
+++ b/activerecord/lib/active_record/associations/collection_... | Instead of doing find(:all) which does scoped.find(:all) which does scoped.all, just do scoped.all. |
diff --git a/themes/pry-tepid-8.prytheme.rb b/themes/pry-tepid-8.prytheme.rb
index <HASH>..<HASH> 100644
--- a/themes/pry-tepid-8.prytheme.rb
+++ b/themes/pry-tepid-8.prytheme.rb
@@ -0,0 +1,48 @@
+t = PryTheme.create name: 'pry-tepid-8', color_model: 8 do
+ author name: 'Kyrylo Silin', email: 'kyrylosilin@gmail.com'
+... | Add "pry-tepid-8" theme |
diff --git a/js/x-api.js b/js/x-api.js
index <HASH>..<HASH> 100644
--- a/js/x-api.js
+++ b/js/x-api.js
@@ -62,6 +62,16 @@ H5P.XAPIEvent.prototype.setVerb = function(verb) {
// Else: Fail silently...
};
+H5P.XAPIEvent.prototype.getShortVerb = function() {
+ var statement = this.data.statement;
+ if ('verb' in st... | Add helper function to get verbs |
diff --git a/components/popup/popup.js b/components/popup/popup.js
index <HASH>..<HASH> 100644
--- a/components/popup/popup.js
+++ b/components/popup/popup.js
@@ -102,6 +102,7 @@ export default class Popup extends RingComponentWithShortcuts {
};
static defaultProps = {
+ ['data-test']: 'ring-popup',
sho... | RG-<I> Query assist popup always present in DOM with data-test='ring-popup' review fix
Former-commit-id: <I>d<I>c<I>d<I>e1dfe<I>afcf7fcd<I>f<I> |
diff --git a/src/view/helpers/contextMethods.js b/src/view/helpers/contextMethods.js
index <HASH>..<HASH> 100644
--- a/src/view/helpers/contextMethods.js
+++ b/src/view/helpers/contextMethods.js
@@ -89,7 +89,7 @@ function getBinding () {
}
function setBinding ( value ) {
- this.ractive.set( this.getBindingPath(), v... | return promise when setting bound value from context helper |
diff --git a/third_party/forked/golang/reflect/deep_equal.go b/third_party/forked/golang/reflect/deep_equal.go
index <HASH>..<HASH> 100644
--- a/third_party/forked/golang/reflect/deep_equal.go
+++ b/third_party/forked/golang/reflect/deep_equal.go
@@ -16,7 +16,7 @@ import (
// that type.
type Equalities map[reflect.Ty... | Fix Spelling error about [errrors] |
diff --git a/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java b/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java
index <HASH>..<HASH> 100644
--- a/rollbar-java/src/main/java/com/rollbar/notifier/util/ObjectsUtils.java
+++ b/rollbar-java/src/main/java/com/rollbar/notifier/util... | use a Logger for exceptions logging |
diff --git a/spec/scheduler_spec.rb b/spec/scheduler_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/scheduler_spec.rb
+++ b/spec/scheduler_spec.rb
@@ -373,10 +373,10 @@ describe Rufus::Scheduler do
it 'lists all the work threads in the pool' do
@scheduler.in '0s' do
- # nada
+ sleep(0.1)
... | fix scheduler_spec for Ruby <I> |
diff --git a/session_security/urls.py b/session_security/urls.py
index <HASH>..<HASH> 100644
--- a/session_security/urls.py
+++ b/session_security/urls.py
@@ -15,9 +15,12 @@ ie::
"""
try:
- from django.conf.urls import url
+ from django.urls import re_path as url
except ImportError:
- from django.conf.url... | django.conf.urls.url() deprecated in Django <I>
Results in the following warning:
RemovedInDjango<I>Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path(). |
diff --git a/modules/custom/activity_creator/src/ActivityNotifications.php b/modules/custom/activity_creator/src/ActivityNotifications.php
index <HASH>..<HASH> 100644
--- a/modules/custom/activity_creator/src/ActivityNotifications.php
+++ b/modules/custom/activity_creator/src/ActivityNotifications.php
@@ -106,7 +106,12... | Re-introduce an unneeded is NULL check
It appears there's something in Open Social (our our tests) that makes
`getEntity` return NULL even though it's not supposed to.
This breaks all of our tests so we re-introduce the check with a comment
for now and look at finding the root cause later. |
diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/src/test/java/com/azure/resourcemanager/redis/RedisCacheOperationsTests.java b/sdk/resourcemanager/azure-resourcemanager-redis/src/test/java/com/azure/resourcemanager/redis/RedisCacheOperationsTests.java
index <HASH>..<HASH> 100644
--- a/sdk/resourcemanager/a... | suppress random fail (#<I>) |
diff --git a/sramongo/sra2mongo.py b/sramongo/sra2mongo.py
index <HASH>..<HASH> 100644
--- a/sramongo/sra2mongo.py
+++ b/sramongo/sra2mongo.py
@@ -140,8 +140,7 @@ def fetch_sra(records, cache, runinfo_retmode='text', **kwargs):
cache_runinfo = cache.get_cache(start, 'runinfo')
if (cache_xml is not N... | Changes logging a little. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.