diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/byebug/commands/set.rb b/lib/byebug/commands/set.rb
index <HASH>..<HASH> 100644
--- a/lib/byebug/commands/set.rb
+++ b/lib/byebug/commands/set.rb
@@ -54,7 +54,7 @@ module Byebug
if setting_value == true
Byebug.post_mortem
else
- return print 'Sorry... not implement... | Allow disabling post_mortem mode |
diff --git a/bika/lims/upgrade/to1115.py b/bika/lims/upgrade/to1115.py
index <HASH>..<HASH> 100644
--- a/bika/lims/upgrade/to1115.py
+++ b/bika/lims/upgrade/to1115.py
@@ -16,5 +16,4 @@ def upgrade(tool):
bc.delIndex('getSamplePointTitle')
bc.addIndex('getSampleTypeTitle', 'KeywordIndex')
bc.addIndex('get... | Fix upgrade step <I>: rebuild catalog |
diff --git a/src/Bridge/NetteDI/OrmExtension.php b/src/Bridge/NetteDI/OrmExtension.php
index <HASH>..<HASH> 100644
--- a/src/Bridge/NetteDI/OrmExtension.php
+++ b/src/Bridge/NetteDI/OrmExtension.php
@@ -29,12 +29,7 @@ class OrmExtension extends CompilerExtension
if (!isset($config['model'])) {
throw new InvalidS... | nette di: fixed late service definition in compiler extension |
diff --git a/src/Console/SchemaUpdateCommand.php b/src/Console/SchemaUpdateCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/SchemaUpdateCommand.php
+++ b/src/Console/SchemaUpdateCommand.php
@@ -84,8 +84,10 @@ class SchemaUpdateCommand extends Command
$this->getName()));
$this->com... | [FIX] Fix exit codes for SchemaUpdateCommand (#<I>)
* Fix exit codes for SchemaUpdateCommand
* Fix StyleCI issue |
diff --git a/biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/core/QuatSymmetryResults.java b/biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/core/QuatSymmetryResults.java
index <HASH>..<HASH> 100644
--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/symmetry/core/Qu... | Better fix for null subunits as advised by @lafita |
diff --git a/htdocs/api/v1/alert-dbapi.py b/htdocs/api/v1/alert-dbapi.py
index <HASH>..<HASH> 100755
--- a/htdocs/api/v1/alert-dbapi.py
+++ b/htdocs/api/v1/alert-dbapi.py
@@ -21,7 +21,7 @@ import logging
import pytz
import re
-__version__ = '1.9.5'
+__version__ = '1.9.6'
BROKER_LIST = [('localhost', 61613)] # l... | Wrong brackets in regex |
diff --git a/app/scripts/Insets2dTrack.js b/app/scripts/Insets2dTrack.js
index <HASH>..<HASH> 100644
--- a/app/scripts/Insets2dTrack.js
+++ b/app/scripts/Insets2dTrack.js
@@ -555,6 +555,13 @@ export default class Insets2dTrack extends PixiTrack {
return base64ToCanvas(data);
}
+ remove() {
+ // Make sure ... | Destroy insets on track removal to avoid memory leaks |
diff --git a/dalesbred/src/main/java/fi/evident/dalesbred/Database.java b/dalesbred/src/main/java/fi/evident/dalesbred/Database.java
index <HASH>..<HASH> 100644
--- a/dalesbred/src/main/java/fi/evident/dalesbred/Database.java
+++ b/dalesbred/src/main/java/fi/evident/dalesbred/Database.java
@@ -172,6 +172,13 @@ public f... | Added method for checking if there's an active transaction. |
diff --git a/keyring/backend.py b/keyring/backend.py
index <HASH>..<HASH> 100644
--- a/keyring/backend.py
+++ b/keyring/backend.py
@@ -28,11 +28,6 @@ except ImportError:
def abstractproperty(funcobj):
return property(funcobj)
-try:
- import gnomekeyring
-except ImportError:
- pass
-
_KEYRING_SETT... | Remove the try import that has not point. |
diff --git a/insteonplm/plm.py b/insteonplm/plm.py
index <HASH>..<HASH> 100644
--- a/insteonplm/plm.py
+++ b/insteonplm/plm.py
@@ -273,13 +273,14 @@ class PLM(asyncio.Protocol):
# we can use that as the device type for this record
# Otherwise we need to request the device ID.
if d... | Fixed adding complex devices from ALDB data |
diff --git a/Helper/Order.php b/Helper/Order.php
index <HASH>..<HASH> 100644
--- a/Helper/Order.php
+++ b/Helper/Order.php
@@ -979,10 +979,6 @@ class Order extends AbstractHelper
$this->setShippingMethod($quote, $transaction);
$this->quoteAfterChange($quote);
- $email = @$transaction->order->... | Ensure customer email is set to the quote before saving the order (#<I>) |
diff --git a/media/boom/js/boom/wysihtml5.js b/media/boom/js/boom/wysihtml5.js
index <HASH>..<HASH> 100644
--- a/media/boom/js/boom/wysihtml5.js
+++ b/media/boom/js/boom/wysihtml5.js
@@ -187,10 +187,13 @@ $.widget('wysihtml5.editor', $.boom.textEditor,
_insert_toolbar : function(element) {
var self = this;
- r... | Don't cache text editor toolbars |
diff --git a/lib/http-client.js b/lib/http-client.js
index <HASH>..<HASH> 100644
--- a/lib/http-client.js
+++ b/lib/http-client.js
@@ -60,7 +60,7 @@ function onCommand(question, cb) {
}
).on("error", function(err) {
body = err;
- onCallback(err, body, res, cb);
+ onCallback(err, bod... | fix error handling for client & run |
diff --git a/Adapter/PlentymarketsAdapter/ResponseParser/OrderStatus/OrderStatusResponseParser.php b/Adapter/PlentymarketsAdapter/ResponseParser/OrderStatus/OrderStatusResponseParser.php
index <HASH>..<HASH> 100644
--- a/Adapter/PlentymarketsAdapter/ResponseParser/OrderStatus/OrderStatusResponseParser.php
+++ b/Adapter... | extra safety check for order statuses from plentymarkets |
diff --git a/theanets/layers.py b/theanets/layers.py
index <HASH>..<HASH> 100644
--- a/theanets/layers.py
+++ b/theanets/layers.py
@@ -1006,7 +1006,7 @@ class MRNN(Recurrent):
x = inputs['out']
h = TT.dot(x, self.find('xh')) + self.find('b')
f = TT.dot(x, self.find('xf'))
- (pre, facto... | We don't return factors from scan! |
diff --git a/config/webpack.js b/config/webpack.js
index <HASH>..<HASH> 100644
--- a/config/webpack.js
+++ b/config/webpack.js
@@ -116,7 +116,8 @@ const shared = {
},
timeout: 80000,
plugins: [
- new webpack.DefinePlugin({'fs.writeSync': false})
+ new webpack.DefinePlugin({'fs.writeSync': false}),
+ n... | feat(webpack): enable dedupe plugin |
diff --git a/lib/http/request/writer.rb b/lib/http/request/writer.rb
index <HASH>..<HASH> 100644
--- a/lib/http/request/writer.rb
+++ b/lib/http/request/writer.rb
@@ -68,7 +68,7 @@ module HTTP
elsif @body.is_a?(Enumerable)
@body.each do |chunk|
@socket << chunk.bytesize.to_s(16) << CRLF... | Added missing CRLF for chunked bodies |
diff --git a/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go b/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go
index <HASH>..<HASH> 100644
--- a/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go
+++ b/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go
@@ -19,6 +19,7 @@ package phases
import (
"fmt"
"io"... | kubeadm: delete boostrap-kubelet.conf after TLS bootstrap on init |
diff --git a/src/CoandaCMS/Coanda/Pages/PagesModuleProvider.php b/src/CoandaCMS/Coanda/Pages/PagesModuleProvider.php
index <HASH>..<HASH> 100644
--- a/src/CoandaCMS/Coanda/Pages/PagesModuleProvider.php
+++ b/src/CoandaCMS/Coanda/Pages/PagesModuleProvider.php
@@ -445,6 +445,18 @@ class PagesModuleProvider implements \Co... | Reinstated the renderAttributes method in the pages module. This is in case there is no location, in the case of the home page. |
diff --git a/pavement.py b/pavement.py
index <HASH>..<HASH> 100644
--- a/pavement.py
+++ b/pavement.py
@@ -70,6 +70,13 @@ def test_install():
sh('%s setup.py install' % VPYEXEC)
@task
+def build_version_files(options):
+ from common import write_version
+ write_version(os.path.join("scikits", "audiolab", ... | Automatically build version file for doc. |
diff --git a/moto/logs/models.py b/moto/logs/models.py
index <HASH>..<HASH> 100644
--- a/moto/logs/models.py
+++ b/moto/logs/models.py
@@ -19,7 +19,7 @@ class LogEvent:
def to_filter_dict(self):
return {
- "eventId": self.eventId,
+ "eventId": str(self.eventId),
"inges... | Filter event log ids should be strings
Based on the boto docs, eventId should be returned as a string.
<URL> |
diff --git a/library/Controller/BaseController.php b/library/Controller/BaseController.php
index <HASH>..<HASH> 100644
--- a/library/Controller/BaseController.php
+++ b/library/Controller/BaseController.php
@@ -12,7 +12,6 @@ class BaseController
public function __construct()
{
- add_filter('HbgBlade/... | Correted code error for blade data filter |
diff --git a/mutagen/id3.py b/mutagen/id3.py
index <HASH>..<HASH> 100644
--- a/mutagen/id3.py
+++ b/mutagen/id3.py
@@ -623,13 +623,16 @@ class ID3(DictProxy, mutagen.Metadata):
# TDAT, TYER, and TIME have been turned into TDRC.
try:
- if str(self.get("TYER", "")).strip("\x00"):
- ... | id3.py: modified TDAT/TYER/TIME upgrade algorithm to work with Python 3. |
diff --git a/test/e2e/hooks_test.go b/test/e2e/hooks_test.go
index <HASH>..<HASH> 100644
--- a/test/e2e/hooks_test.go
+++ b/test/e2e/hooks_test.go
@@ -120,6 +120,7 @@ spec:
}).ExpectWorkflowNode(func(status v1alpha1.NodeStatus) bool {
return strings.Contains(status.Name, "hook")
}, func(t *testing.T, status *v1... | fix: Temporarily fix CI build. Fixes #<I>. (#<I>)
* fix: Temporarily fix CI build |
diff --git a/examples/official-storybook/image-snapshots/storyshots-image.runner.js b/examples/official-storybook/image-snapshots/storyshots-image.runner.js
index <HASH>..<HASH> 100644
--- a/examples/official-storybook/image-snapshots/storyshots-image.runner.js
+++ b/examples/official-storybook/image-snapshots/storysho... | Image snapshots: raise threshold, skip too flaky stories |
diff --git a/src/field.js b/src/field.js
index <HASH>..<HASH> 100644
--- a/src/field.js
+++ b/src/field.js
@@ -363,7 +363,7 @@ export default class Field {
};
} else {
fn = (...args) => {
- if (args.length === 0 || args[0] instanceof Event) {
+ if (args.length === 0 || (isCallable(Event... | make sure event is a ctor closes #<I> |
diff --git a/examples/wms/script.js b/examples/wms/script.js
index <HASH>..<HASH> 100644
--- a/examples/wms/script.js
+++ b/examples/wms/script.js
@@ -16,7 +16,7 @@ L.tileLayer.wms('http://geodata.havochvatten.se/geoservices/hav-bakgrundskartor/
format: 'image/png',
maxZoom: 14,
minZoom: 0,
- attribution: '©... | change attribution for wms example |
diff --git a/lib/chartkick/helper.rb b/lib/chartkick/helper.rb
index <HASH>..<HASH> 100644
--- a/lib/chartkick/helper.rb
+++ b/lib/chartkick/helper.rb
@@ -74,7 +74,7 @@ module Chartkick
# js vars
js_vars = {
- type: klass, # don't convert to JSON, but still escape
+ type: klass.to_json,
... | klass always trusted, but safer pattern |
diff --git a/lib/haibu/drone/drone.js b/lib/haibu/drone/drone.js
index <HASH>..<HASH> 100644
--- a/lib/haibu/drone/drone.js
+++ b/lib/haibu/drone/drone.js
@@ -353,6 +353,7 @@ Drone.prototype._add = function (app, drone, callback) {
//
drone.monitor.on('restart', function (_, data) {
self._update(record, pid,... | [drone] don't forget to update pid |
diff --git a/spyder_notebook/notebookplugin.py b/spyder_notebook/notebookplugin.py
index <HASH>..<HASH> 100644
--- a/spyder_notebook/notebookplugin.py
+++ b/spyder_notebook/notebookplugin.py
@@ -23,7 +23,7 @@ import nbformat
# Spyder imports
from spyder.config.base import _
from spyder.utils import icon_manager as... | Added button to open new notebooks. |
diff --git a/core/src/main/java/com/digitalpebble/stormcrawler/filtering/depth/MaxDepthFilter.java b/core/src/main/java/com/digitalpebble/stormcrawler/filtering/depth/MaxDepthFilter.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/digitalpebble/stormcrawler/filtering/depth/MaxDepthFilter.java
+++ b/core/sr... | minor - addnig more logs to depth filter |
diff --git a/Generator/Tests.php b/Generator/Tests.php
index <HASH>..<HASH> 100644
--- a/Generator/Tests.php
+++ b/Generator/Tests.php
@@ -35,7 +35,7 @@ class Tests extends PHPFile {
$test_file_name = $module_root_name . "Test.php";
// The key is arbitrary (at least so far!).
- $files['module.test'] = ar... | Changed key in file info array for Tests component to follow de facto pattern. |
diff --git a/src/Http/Controllers/UserController.php b/src/Http/Controllers/UserController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/UserController.php
+++ b/src/Http/Controllers/UserController.php
@@ -34,16 +34,15 @@ class UserController
*/
public function login($userId, $guard = null)
... | Use configured UserProvider instead of Eloquent to retrieve user instance |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -356,5 +356,8 @@ setup(name='jpy',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
... | Update supported Python versions in setup.py |
diff --git a/src/state.js b/src/state.js
index <HASH>..<HASH> 100644
--- a/src/state.js
+++ b/src/state.js
@@ -161,7 +161,9 @@ function run(state) {
return state.runChain(SETUP);
}
}).then(function() {
- if (refer.stage) return refer.runChain(CLOSE);
+ if (refer.stage && !samePathname) {
+ return ref... | Do not run close when pathname is the same |
diff --git a/lib/db.js b/lib/db.js
index <HASH>..<HASH> 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -49,8 +49,8 @@ function updateIndexes(entry, callback)
db.indexes.updated.set(torrent.infoHash, torrent.updated);
if (torrent.files) torrent.files.forEach(function(x) {
getHashes(x).forEach(function(hash) {
- ( (m... | DB: fix bug with double-indexing torrents |
diff --git a/internal/gamepaddb/gamepaddb.go b/internal/gamepaddb/gamepaddb.go
index <HASH>..<HASH> 100644
--- a/internal/gamepaddb/gamepaddb.go
+++ b/internal/gamepaddb/gamepaddb.go
@@ -14,7 +14,10 @@
// gamecontrollerdb.txt is downloaded at https://github.com/gabomdq/SDL_GameControllerDB.
-//go:generate curl --l... | internal/gamepaddb: Do not fetch the database file on go:generate
This is too aggressive and sometimes risky to update the database
file always when go-generate is executed. |
diff --git a/tornado/httpserver.py b/tornado/httpserver.py
index <HASH>..<HASH> 100644
--- a/tornado/httpserver.py
+++ b/tornado/httpserver.py
@@ -26,6 +26,7 @@ import logging
import os
import socket
import time
+import urllib
import urlparse
try:
@@ -398,7 +399,8 @@ class HTTPRequest(object):
self._fin... | Parse percent escapes in the path component of the uri, to be more
consistent with our handling of query parameters (especially important
when capturing groups are used in the URLSpec regex).
This change is slightly backwards-incompatible: applications that have
already added an unquote() call on arguments to Request... |
diff --git a/tika/src/main/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaInstance.java b/tika/src/main/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaInstance.java
index <HASH>..<HASH> 100644
--- a/tika/src/main/java/fr/pilato/elasticsearch/crawler/fs/tika/TikaInstance.java
+++ b/tika/src/main/java/fr/pilato/elast... | Exclude the PDFParser from the DefaultParser
After [a discussion](<URL>) with @tballison, I realized that I did not exclude the PDFParser from the DefaultParser while I'm using a custom AutoDetectParser which is using the DefaultParser and the PDFParser.
This change removes the PDFParser from the DefaultParser. |
diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -621,8 +621,6 @@ class DFColumns(DataColumns):
element_kwargs = dict(util.get_param_values(columns),
kdims=element_dims)
... | Removed unused variable definition in DFColumns.groupby |
diff --git a/library.js b/library.js
index <HASH>..<HASH> 100644
--- a/library.js
+++ b/library.js
@@ -112,7 +112,7 @@ function getGroupMemberUids(groupRecipients, callback) {
return callback(err);
}
async.map(groups, function(group, next) {
- Groups.getMembers(group, next);
+ Groups.getMembers(group, 0, ... | getMembers takes start end now |
diff --git a/rqalpha/main.py b/rqalpha/main.py
index <HASH>..<HASH> 100644
--- a/rqalpha/main.py
+++ b/rqalpha/main.py
@@ -335,10 +335,10 @@ def _exception_handler(e):
user_system_log.error(e.error)
if not is_user_exc(e.error.exc_val):
code = const.EXIT_CODE.EXIT_INTERNAL_ERROR
- system_log.ex... | fix exc_info is replace when trigger __repr__ |
diff --git a/ldapdomaindump/__init__.py b/ldapdomaindump/__init__.py
index <HASH>..<HASH> 100644
--- a/ldapdomaindump/__init__.py
+++ b/ldapdomaindump/__init__.py
@@ -457,7 +457,7 @@ class reportWriter(object):
if attr is None:
return outflags
for flag, val in iteritems(flags_def):
- ... | #<I> Skip flags whose attribute values are of None |
diff --git a/src/SectionField/Generator/EntityGenerator.php b/src/SectionField/Generator/EntityGenerator.php
index <HASH>..<HASH> 100644
--- a/src/SectionField/Generator/EntityGenerator.php
+++ b/src/SectionField/Generator/EntityGenerator.php
@@ -224,6 +224,8 @@ class EntityGenerator extends Generator implements Genera... | Fix issue where referenced variable causes issues
<URL> |
diff --git a/Generator/Module.php b/Generator/Module.php
index <HASH>..<HASH> 100644
--- a/Generator/Module.php
+++ b/Generator/Module.php
@@ -338,9 +338,6 @@ class Module extends RootComponent {
// Modules always have a .info file.
$components['info'] = 'Info';
- // TODO: this should only be on D7 and l... | Fixed empty .module being generated on D8. |
diff --git a/examples/CustomArrows.js b/examples/CustomArrows.js
index <HASH>..<HASH> 100644
--- a/examples/CustomArrows.js
+++ b/examples/CustomArrows.js
@@ -4,14 +4,26 @@ import Slider from '../src/slider'
var SampleNextArrow = createReactClass({
render: function() {
- return <div {...this.props} style={{dis... | Fix an issue with custom arrows example |
diff --git a/blockstack/lib/rpc.py b/blockstack/lib/rpc.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/rpc.py
+++ b/blockstack/lib/rpc.py
@@ -587,10 +587,6 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
if 'zonefile' in name_rec:
zonefile_txt = base64.b64decode(name_rec['z... | don't even try to decode the zone file on GET /v1/names. It's not necessary. |
diff --git a/src/api.js b/src/api.js
index <HASH>..<HASH> 100644
--- a/src/api.js
+++ b/src/api.js
@@ -155,12 +155,8 @@ API.get = function(cfg, name, inheriting) {
API.set = function(cfg, name, value, parentName) {
var api = cfg._fn,
subname = parentName+(name.charAt(0)==='.'?'':'.')+name;
- // always... | respect falsey values (except undefined) |
diff --git a/examples/qidle/qidle.py b/examples/qidle/qidle.py
index <HASH>..<HASH> 100644
--- a/examples/qidle/qidle.py
+++ b/examples/qidle/qidle.py
@@ -1,13 +1,13 @@
#! /usr/bin/python3
# -*- coding: utf-8 -*-
+import logging
import sys
+filename = None
+if sys.platform == 'win32':
+ filename = 'qidle.log'
+lo... | QIdle: setup logging before importing pyqode
so that the qt api log appears |
diff --git a/javascript/atoms/html5/html5_browser.js b/javascript/atoms/html5/html5_browser.js
index <HASH>..<HASH> 100644
--- a/javascript/atoms/html5/html5_browser.js
+++ b/javascript/atoms/html5/html5_browser.js
@@ -129,7 +129,7 @@ bot.html5.isSupported = function(api, opt_window) {
// supports this.
/... | SimonStewart: Ignore geo tests for all versions of Firefox until we know how to enable them without prompting the user.
r<I> |
diff --git a/marrow/schema/compat.py b/marrow/schema/compat.py
index <HASH>..<HASH> 100644
--- a/marrow/schema/compat.py
+++ b/marrow/schema/compat.py
@@ -2,10 +2,15 @@
import sys
-if sys.version_info > (3, ): # pragma: no cover
+py2 = sys.version_info < (3, )
+py3 = sys.version_info > (3, )
+
+if py3: # pragma:... | Added simple boolean helpers and added missing builtins. |
diff --git a/algoliasearch/index_iterator.go b/algoliasearch/index_iterator.go
index <HASH>..<HASH> 100644
--- a/algoliasearch/index_iterator.go
+++ b/algoliasearch/index_iterator.go
@@ -28,7 +28,6 @@ func (it *indexIterator) Next() (res Map, err error) {
// Abort if the user call `Next()` on a IndexIterator that has... | refactor: Remove commented dead code |
diff --git a/spec/network/tcp_spec.rb b/spec/network/tcp_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/network/tcp_spec.rb
+++ b/spec/network/tcp_spec.rb
@@ -113,13 +113,13 @@ describe Network::TCP do
end
describe "#tcp_banner" do
- let(:host) { 'smtp.gmail.com' }
- let(:port) { 25 }
+ let(:... | Add specs for when no banner could be read. |
diff --git a/models/classes/runner/QtiRunnerServiceContext.php b/models/classes/runner/QtiRunnerServiceContext.php
index <HASH>..<HASH> 100644
--- a/models/classes/runner/QtiRunnerServiceContext.php
+++ b/models/classes/runner/QtiRunnerServiceContext.php
@@ -143,11 +143,6 @@ class QtiRunnerServiceContext extends Runner... | Do not resume paused session on runner actions |
diff --git a/lib/hamlit/attribute_builder.rb b/lib/hamlit/attribute_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/hamlit/attribute_builder.rb
+++ b/lib/hamlit/attribute_builder.rb
@@ -80,7 +80,12 @@ module Hamlit::AttributeBuilder
def build_data_attribute(key, escape_attrs, quote, *hashes)
attrs = ... | Deal with multiple data attrs correctly |
diff --git a/lxd/device/disk.go b/lxd/device/disk.go
index <HASH>..<HASH> 100644
--- a/lxd/device/disk.go
+++ b/lxd/device/disk.go
@@ -69,7 +69,7 @@ type diskSourceNotFoundError struct {
}
func (e diskSourceNotFoundError) Error() string {
- return e.msg
+ return fmt.Sprintf("%s: %v", e.msg, e.err)
}
func (e dis... | lxd/device/disk: Included wrapped error in diskSourceNotFoundError |
diff --git a/tests/test_stemmers.py b/tests/test_stemmers.py
index <HASH>..<HASH> 100644
--- a/tests/test_stemmers.py
+++ b/tests/test_stemmers.py
@@ -44,3 +44,10 @@ def test_slovak_stemmer():
assert type(actual) is type(expected)
assert expected.__dict__ == actual.__dict__
+
+
+def test_greek_stemmer():
+ ... | Add test that reproduces the empty stem bug in the greek stemmer |
diff --git a/pachyderm/generic_config.py b/pachyderm/generic_config.py
index <HASH>..<HASH> 100644
--- a/pachyderm/generic_config.py
+++ b/pachyderm/generic_config.py
@@ -350,7 +350,6 @@ def unrollNestedDict(d, keys = None):
As an example, consider the input:
- ```
>>> d = {
... "a1" : {
.... | Fix docs formatting
It wasn't displaying correctly due to the mix of md and rst |
diff --git a/libnetwork/controller.go b/libnetwork/controller.go
index <HASH>..<HASH> 100644
--- a/libnetwork/controller.go
+++ b/libnetwork/controller.go
@@ -801,7 +801,7 @@ func (c *controller) NewSandbox(containerID string, options ...SandboxOption) (s
// If not a stub, then we already have a complete sandbox.
... | Return proper error types on sandbox creation |
diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -70,7 +70,7 @@ def spoof(tmpdir_factory, **kwargs):
"""
env = os.environ.copy()
slug = '-'.join(v.replace('.py', '') for v in sorted(kwargs.values()))
- spoofer_base = Path... | conftest: py<I> path issue |
diff --git a/provision/provisiontest/fake_provisioner.go b/provision/provisiontest/fake_provisioner.go
index <HASH>..<HASH> 100644
--- a/provision/provisiontest/fake_provisioner.go
+++ b/provision/provisiontest/fake_provisioner.go
@@ -53,6 +53,7 @@ func NewFakeApp(name, platform string, units int) *FakeApp {
platfor... | provision/provisiontest: adding default processes to a fake app |
diff --git a/scserver.js b/scserver.js
index <HASH>..<HASH> 100644
--- a/scserver.js
+++ b/scserver.js
@@ -877,7 +877,10 @@ SCServer.prototype._passThroughHandshakeSCMiddleware = function (options, cb) {
statusCode = 4008;
}
if (err) {
- if (err === true) {
+ if (err.statu... | Add support for custom disconnect status code in handshake middleware when using async function |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -63,7 +63,7 @@ module.exports = function dnsmonctor(cfg, cb) {
function(err, oldrecords) { if (err) return cb(err);
// If the old ones aren't the same as the new ones
- if (!equal(records,JSON.parse(... | Handle processing of first-time records |
diff --git a/torchvision/datasets/cifar.py b/torchvision/datasets/cifar.py
index <HASH>..<HASH> 100644
--- a/torchvision/datasets/cifar.py
+++ b/torchvision/datasets/cifar.py
@@ -128,9 +128,9 @@ class CIFAR10(data.Dataset):
def __len__(self):
if self.train:
- return 50000
+ return ... | Cifar also returns real data length (#<I>) |
diff --git a/cpt/__init__.py b/cpt/__init__.py
index <HASH>..<HASH> 100644
--- a/cpt/__init__.py
+++ b/cpt/__init__.py
@@ -1,5 +1,5 @@
-__version__ = '0.32.0-dev'
+__version__ = '0.31.0'
NEWEST_CONAN_SUPPORTED = "1.22.000" | Bump CPT version to <I> |
diff --git a/mbuild/bond.py b/mbuild/bond.py
index <HASH>..<HASH> 100755
--- a/mbuild/bond.py
+++ b/mbuild/bond.py
@@ -46,18 +46,10 @@ class Bond(object):
def atom1(self):
return self._atom1
- @atom1.setter
- def atom1(self, v):
- raise TypeError # what's going on here?
-
@prop... | bond's atom1 and atom2 properties are read-only |
diff --git a/plugin/geomajas-plugin-rasterizing/rasterizing/src/main/java/org/geomajas/plugin/rasterizing/RasterizingController.java b/plugin/geomajas-plugin-rasterizing/rasterizing/src/main/java/org/geomajas/plugin/rasterizing/RasterizingController.java
index <HASH>..<HASH> 100644
--- a/plugin/geomajas-plugin-rasteriz... | RAST-3 always png, remove commented code |
diff --git a/src/Controller/Component/PostTypesComponent.php b/src/Controller/Component/PostTypesComponent.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Component/PostTypesComponent.php
+++ b/src/Controller/Component/PostTypesComponent.php
@@ -127,8 +127,8 @@ class PostTypesComponent extends Component
... | Typo in singularAlias |
diff --git a/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/internal/hpel/HpelBaseTraceService.java b/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/internal/hpel/HpelBaseTraceService.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/internal/hpel/HpelBaseTraceService.jav... | Add recursion counters to avoid infinite loop in trace for hpelbts |
diff --git a/timeside/server/models.py b/timeside/server/models.py
index <HASH>..<HASH> 100644
--- a/timeside/server/models.py
+++ b/timeside/server/models.py
@@ -209,6 +209,7 @@ class UUID(models.Model):
created = True
return obj, created
+
@classmethod
def get_first(cls, **kwargs):
... | [server] avoid hdf5 storage in Item |
diff --git a/tests/ConfigServiceProviderTest.php b/tests/ConfigServiceProviderTest.php
index <HASH>..<HASH> 100644
--- a/tests/ConfigServiceProviderTest.php
+++ b/tests/ConfigServiceProviderTest.php
@@ -95,10 +95,12 @@ class ConfigServiceProviderTest extends TestCase
{
$root = realpath(__DIR__ . '/..');
... | Testing resolve of non string environment vars |
diff --git a/src/errors/command-format.js b/src/errors/command-format.js
index <HASH>..<HASH> 100644
--- a/src/errors/command-format.js
+++ b/src/errors/command-format.js
@@ -10,11 +10,11 @@ class CommandFormatError extends FriendlyError {
*/
constructor(msg) {
super(
- `Invalid command format. Use ${msg.anyU... | Make CommandFormatError more descriptive |
diff --git a/cast_test.go b/cast_test.go
index <HASH>..<HASH> 100644
--- a/cast_test.go
+++ b/cast_test.go
@@ -53,7 +53,7 @@ func TestToBool(t *testing.T) {
assert.Equal(t, ToBool("F"), false)
assert.Equal(t, ToBool(false), false)
assert.Equal(t, ToBool("foo"), false)
-
+
assert.Equal(t, ToBool("true"), true)
... | Updated to return bool false only for zero |
diff --git a/symphony/lib/toolkit/fields/field.taglist.php b/symphony/lib/toolkit/fields/field.taglist.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/fields/field.taglist.php
+++ b/symphony/lib/toolkit/fields/field.taglist.php
@@ -91,7 +91,7 @@ class FieldTagList extends Field implements ExportableField, Im... | Make sure array_map does not create warnings
In PHP7, passing a global function results in passing a undefined
constant, which is then turned into a string, which then works with
array_map.
It is best to remove this and directly pass a string or a lambda.
Fixes #<I>
Picked from 4d<I>a<I>
Picked from abf<I> |
diff --git a/pyinfra/facts/apt.py b/pyinfra/facts/apt.py
index <HASH>..<HASH> 100644
--- a/pyinfra/facts/apt.py
+++ b/pyinfra/facts/apt.py
@@ -95,7 +95,7 @@ class DebPackage(FactBase):
_regexes = {
'name': r'^Package: ([a-zA-Z0-9\-]+)$',
- 'version': r'^Version: ([0-9\.\-]+)$',
+ 'version'... | Add : to apt regex versioning search and don't fail with no version
Some versions include colons and these were ignored by the regex
If no version was found then the the module would fail- by doing get
this is avoided |
diff --git a/test/status_builder_test.rb b/test/status_builder_test.rb
index <HASH>..<HASH> 100644
--- a/test/status_builder_test.rb
+++ b/test/status_builder_test.rb
@@ -268,6 +268,24 @@ def test_rev_history_status_merge_commit_bypass_remote_branch
end
end
+def test_status_works_on_bare_repository
+ src = e... | Added test for status on bare repository. |
diff --git a/screamshot/utils.py b/screamshot/utils.py
index <HASH>..<HASH> 100644
--- a/screamshot/utils.py
+++ b/screamshot/utils.py
@@ -13,7 +13,7 @@ except ImportError:
from django.core.exceptions import ImproperlyConfigured, ValidationError
from django.core.urlresolvers import reverse
from django.core.validator... | Fixes for rendering templates (library-usage):
- use BytesIO instead of StringIO (python was complaining about bytes)
- encode the middleware template to utf-8 |
diff --git a/src/ImageShortcodeHandler.php b/src/ImageShortcodeHandler.php
index <HASH>..<HASH> 100644
--- a/src/ImageShortcodeHandler.php
+++ b/src/ImageShortcodeHandler.php
@@ -72,7 +72,10 @@ class ImageShortcodeHandler
$density = (int)$density;
$resized = $record->ResizedImage((int)... | FIX: Prevent fatal errors when assets are missing |
diff --git a/dpark/pymesos/scheduler.py b/dpark/pymesos/scheduler.py
index <HASH>..<HASH> 100644
--- a/dpark/pymesos/scheduler.py
+++ b/dpark/pymesos/scheduler.py
@@ -59,6 +59,7 @@ class MesosSchedulerDriver(Process):
@async # called by detector
def onNewMasterDetectedMessage(self, pid):
self.master ... | fix re-register to master after failover |
diff --git a/src/models/elements.model.mongodb.js b/src/models/elements.model.mongodb.js
index <HASH>..<HASH> 100644
--- a/src/models/elements.model.mongodb.js
+++ b/src/models/elements.model.mongodb.js
@@ -6,6 +6,8 @@ module.exports = function (forecast, element, app, options) {
options.Model.ensureIndex({ forecast... | Added standard index on element geometry to increase performances |
diff --git a/src/DatabaseQuery.php b/src/DatabaseQuery.php
index <HASH>..<HASH> 100644
--- a/src/DatabaseQuery.php
+++ b/src/DatabaseQuery.php
@@ -1419,7 +1419,7 @@ abstract class DatabaseQuery
* @param mixed $conditions A string or array of WHERE conditions.
* @param string $innerGlue The glue by which... | Update doc blocks to match other changes |
diff --git a/fuse.py b/fuse.py
index <HASH>..<HASH> 100644
--- a/fuse.py
+++ b/fuse.py
@@ -383,7 +383,9 @@ def time_of_timespec(ts):
def set_st_attrs(st, attrs):
for key, val in attrs.items():
if key in ('st_atime', 'st_mtime', 'st_ctime', 'st_birthtime'):
- timespec = getattr(st, key + 'spec'... | Ignore input time field if it doesn't exist on stat |
diff --git a/ClosureCompiler.js b/ClosureCompiler.js
index <HASH>..<HASH> 100644
--- a/ClosureCompiler.js
+++ b/ClosureCompiler.js
@@ -156,7 +156,10 @@
delete options["js"];
delete options["js_output_file"];
- var args = '-client -jar "'+__dirname+'/compiler/compiler.jar"'; // -d32 do... | Speed up compiler compilation for Java <I>
Manually tested on Mac, Win, Linux platforms. |
diff --git a/packages/d3fc-data-join/src/dataJoin.js b/packages/d3fc-data-join/src/dataJoin.js
index <HASH>..<HASH> 100644
--- a/packages/d3fc-data-join/src/dataJoin.js
+++ b/packages/d3fc-data-join/src/dataJoin.js
@@ -23,9 +23,8 @@ export default (element, className) => {
const dataJoin = function(container, data... | refactor: improve performance of child-only selector
Select children then post-filter to matching selector rather than select all matching descendents then post-filter to children. |
diff --git a/webapps/webapp/src/main/webapp/app/tasklist/services/EngineApi.js b/webapps/webapp/src/main/webapp/app/tasklist/services/EngineApi.js
index <HASH>..<HASH> 100644
--- a/webapps/webapp/src/main/webapp/app/tasklist/services/EngineApi.js
+++ b/webapps/webapp/src/main/webapp/app/tasklist/services/EngineApi.js
@... | fix(tasklist): resolve task form using correct uri
Related to CAM-<I> |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,15 +5,16 @@ See LICENSE at the top-level of this distribution for more information
or write to emin.martinian@gmail.com for more information.
"""
-from setuptools import setup, find_packages
from os import path
+from s... | Cleaned up pylint warnings |
diff --git a/pages/models.py b/pages/models.py
index <HASH>..<HASH> 100644
--- a/pages/models.py
+++ b/pages/models.py
@@ -144,6 +144,8 @@ if settings.PAGE_PERMISSION:
def get_page_id_list(cls, user):
"""Give a list of page where the user as rights or the string "All" if
the user has... | The admin user can now do everything : PagePermission is ignored for him
git-svn-id: <URL> |
diff --git a/tests/utils.py b/tests/utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -7,6 +7,7 @@ from collections import Mapping
from urllib.parse import urlparse
import redis
+from hestia.auth import AuthenticationTypes
from mock import patch
from rest_framework import status
... | Update ephemeral client |
diff --git a/src/cornerstone/seoAssessor.js b/src/cornerstone/seoAssessor.js
index <HASH>..<HASH> 100644
--- a/src/cornerstone/seoAssessor.js
+++ b/src/cornerstone/seoAssessor.js
@@ -66,7 +66,6 @@ const CornerstoneSEOAssessor = function( i18n, options ) {
recommendedMinimum: 900,
slightlyBelowMinimum: 400,
... | Remove the passing of a non-existing config value |
diff --git a/sanic/request.py b/sanic/request.py
index <HASH>..<HASH> 100644
--- a/sanic/request.py
+++ b/sanic/request.py
@@ -312,11 +312,11 @@ def parse_multipart_form(body, boundary):
if field_name:
post_data = form_part[line_index:-4]
if file_name:
- file = File(typ... | changed 'file' variable to 'form_file' to prevent overwriting the reserved word |
diff --git a/salt/runners/vault.py b/salt/runners/vault.py
index <HASH>..<HASH> 100644
--- a/salt/runners/vault.py
+++ b/salt/runners/vault.py
@@ -55,6 +55,9 @@ def generate_token(minion_id, signature, impersonated_by_master=False):
'num_uses': 1,
'metadata': audit_data
... | Fix bug with vault runner creating token on empty policy |
diff --git a/js/lib/mediawiki.WikitextSerializer.js b/js/lib/mediawiki.WikitextSerializer.js
index <HASH>..<HASH> 100644
--- a/js/lib/mediawiki.WikitextSerializer.js
+++ b/js/lib/mediawiki.WikitextSerializer.js
@@ -1480,6 +1480,14 @@ WSP._serializeToken = function ( state, token ) {
if (! dropContent || ! state.dro... | Work around a serializer crash exposed by rt tests
Change-Id: I<I>e5cd3d<I>cb<I>c6a4c<I>b<I> |
diff --git a/src/main/java/org/eobjects/datacleaner/widgets/table/DCTable.java b/src/main/java/org/eobjects/datacleaner/widgets/table/DCTable.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/eobjects/datacleaner/widgets/table/DCTable.java
+++ b/src/main/java/org/eobjects/datacleaner/widgets/table/DCTable.java
@... | Added @Override's to mouselistener methods on DCTable. |
diff --git a/lib/tower_cli/models/base.py b/lib/tower_cli/models/base.py
index <HASH>..<HASH> 100644
--- a/lib/tower_cli/models/base.py
+++ b/lib/tower_cli/models/base.py
@@ -210,7 +210,7 @@ class BaseResource(six.with_metaclass(ResourceMeta)):
code = six.get_function_code(method)
if '... | Change [PK] in autodoc to [ID]. |
diff --git a/svc/server.go b/svc/server.go
index <HASH>..<HASH> 100644
--- a/svc/server.go
+++ b/svc/server.go
@@ -43,8 +43,8 @@ func NewServer(h http.Handler, opts ...NewServerOpt) *http.Server {
// RunServer handles the biolerplate of starting an http server and handling
// signals gracefully.
-func RunServer(srv... | Add ability to pass shutdown functions to svc.RunServer |
diff --git a/controller/src/main/java/org/jboss/as/controller/ServiceVerificationHelper.java b/controller/src/main/java/org/jboss/as/controller/ServiceVerificationHelper.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/ServiceVerificationHelper.java
+++ b/controller/src/main/java/... | [WFCORE-<I>]: Unneeded part of failure-description is printed in CLI for Elytron subsystem.
If the list is empty don't report it. |
diff --git a/tests/for-server/test-functionOps.js b/tests/for-server/test-functionOps.js
index <HASH>..<HASH> 100644
--- a/tests/for-server/test-functionOps.js
+++ b/tests/for-server/test-functionOps.js
@@ -9,7 +9,7 @@
import {assert, expect} from 'chai';
import {apply} from '../../src/function/apply';
import {call}... | Added tests for 'id'. |
diff --git a/lib/utils/job-utils/ipmitool.js b/lib/utils/job-utils/ipmitool.js
index <HASH>..<HASH> 100755
--- a/lib/utils/job-utils/ipmitool.js
+++ b/lib/utils/job-utils/ipmitool.js
@@ -32,12 +32,15 @@ function ipmitoolFactory(Promise) {
" at /usr/bin/ipmitool");
... | Added timeout value for ipmitool child process |
diff --git a/salt/states/virtualenv.py b/salt/states/virtualenv.py
index <HASH>..<HASH> 100644
--- a/salt/states/virtualenv.py
+++ b/salt/states/virtualenv.py
@@ -7,7 +7,7 @@ import os
logger = logging.getLogger(__name__)
-def manage(name,
+def managed(name,
venv_bin='virtualenv',
requirements=''... | Rename virtualenv.manage to managed for consistency with file.managed |
diff --git a/upload/system/library/cache.php b/upload/system/library/cache.php
index <HASH>..<HASH> 100644
--- a/upload/system/library/cache.php
+++ b/upload/system/library/cache.php
@@ -33,7 +33,7 @@ class Cache {
fwrite($handle, serialize($value));
- close($handle);
+ fclose($handle);
}
public f... | Update upload/system/library/cache.php
close($handle); changed to fclose($handle); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.