diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/test/integration/10-cluster-broker-dynamic.js b/test/integration/10-cluster-broker-dynamic.js
index <HASH>..<HASH> 100644
--- a/test/integration/10-cluster-broker-dynamic.js
+++ b/test/integration/10-cluster-broker-dynamic.js
@@ -226,7 +226,7 @@ describe(require('../_lib/test-helper').testName(__filename, ... | test: removed only from test <I> |
diff --git a/test/read_test.py b/test/read_test.py
index <HASH>..<HASH> 100644
--- a/test/read_test.py
+++ b/test/read_test.py
@@ -124,4 +124,29 @@ async def test_streaming_read(event_loop):
assert events_read == 3
+@pytest.mark.asyncio
+async def test_async_comprehension(event_loop):
+
+
+ async def em... | added test for async generators |
diff --git a/dvc/scm.py b/dvc/scm.py
index <HASH>..<HASH> 100644
--- a/dvc/scm.py
+++ b/dvc/scm.py
@@ -45,6 +45,10 @@ class Base(object):
pass
def brancher(self, branches=None, all_branches=False):
+ if not branches and not all_branches:
+ yield ''
+ return
+
saved ... | brancher: don't checkout if no branches is specified |
diff --git a/src/org/jgroups/protocols/TP.java b/src/org/jgroups/protocols/TP.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/TP.java
+++ b/src/org/jgroups/protocols/TP.java
@@ -47,7 +47,7 @@ import java.util.concurrent.locks.ReentrantLock;
* The {@link #receive(Address, byte[], int, int)} method mus... | allow core thread in the default and OOB pools to time out |
diff --git a/spec/main-spec.js b/spec/main-spec.js
index <HASH>..<HASH> 100644
--- a/spec/main-spec.js
+++ b/spec/main-spec.js
@@ -28,4 +28,34 @@ describe('Promisify', function() {
})
})
})
+ it('works when Array.from is available', function() {
+ const _ = Array.from
+ Array.from = function(array... | :new: Add specs for both envs |
diff --git a/lib/perpetuity/postgres/table/attribute.rb b/lib/perpetuity/postgres/table/attribute.rb
index <HASH>..<HASH> 100644
--- a/lib/perpetuity/postgres/table/attribute.rb
+++ b/lib/perpetuity/postgres/table/attribute.rb
@@ -1,3 +1,5 @@
+require "bigdecimal"
+
module Perpetuity
class Postgres
class Table | Require bigdecimal library to avoid undefined constant error |
diff --git a/src/ObjectManager.php b/src/ObjectManager.php
index <HASH>..<HASH> 100755
--- a/src/ObjectManager.php
+++ b/src/ObjectManager.php
@@ -66,6 +66,7 @@ class ObjectManager
if (isset($this->objectsRepository[$oid])) {
$repository = $this->objectsRepository[$oid];
$data = $repo... | Fix clear of repository on unpersist |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name='trezor',
- version='0.5.3',
+ version='0.5.4',
author='Bitcoin TREZOR',
author_email='info@bitcointrezor.com',
description='Python library for... | pin protobuf dependency to <I> |
diff --git a/terraform/context_import_test.go b/terraform/context_import_test.go
index <HASH>..<HASH> 100644
--- a/terraform/context_import_test.go
+++ b/terraform/context_import_test.go
@@ -39,6 +39,33 @@ func TestContextImport_basic(t *testing.T) {
}
}
+func TestContextImport_missingType(t *testing.T) {
+ p := t... | terraform: test that missing type results in error on import |
diff --git a/src/Patchwork/Controller/FrontController.php b/src/Patchwork/Controller/FrontController.php
index <HASH>..<HASH> 100644
--- a/src/Patchwork/Controller/FrontController.php
+++ b/src/Patchwork/Controller/FrontController.php
@@ -43,7 +43,7 @@ class FrontController extends AbstractController
funct... | got rid of native request uri check |
diff --git a/pyspider/database/mongodb/taskdb.py b/pyspider/database/mongodb/taskdb.py
index <HASH>..<HASH> 100644
--- a/pyspider/database/mongodb/taskdb.py
+++ b/pyspider/database/mongodb/taskdb.py
@@ -86,10 +86,10 @@ class TaskDB(SplitTableMixin, BaseTaskDB):
}
}])
result = {}
- ... | fix aggregate for pymongo |
diff --git a/core/src/jlibs/core/util/i18n/I18N.java b/core/src/jlibs/core/util/i18n/I18N.java
index <HASH>..<HASH> 100644
--- a/core/src/jlibs/core/util/i18n/I18N.java
+++ b/core/src/jlibs/core/util/i18n/I18N.java
@@ -22,7 +22,7 @@ import jlibs.core.lang.model.ModelUtil;
*/
public class I18N{
@SuppressWarnings... | changed newInstance() to getImplementation() |
diff --git a/src/jquery.slotmachine.js b/src/jquery.slotmachine.js
index <HASH>..<HASH> 100644
--- a/src/jquery.slotmachine.js
+++ b/src/jquery.slotmachine.js
@@ -422,7 +422,7 @@
*/
function _isVisible(){
if(self.settings.stopHidden === false){
- return false;
+ return true;
}
//Stop animation i... | Fixing bug with stopHidden option.
The logic around the 'stopHidden' option was reversed — if stopHidden is false, we don't want it to stop when it's hidden, thus _isVisible() should return true even though it's not, since we want the animation to continue. It's a bit confusing semantically, which could be improved by... |
diff --git a/lib/mongoid/contextual/mongo.rb b/lib/mongoid/contextual/mongo.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/contextual/mongo.rb
+++ b/lib/mongoid/contextual/mongo.rb
@@ -337,7 +337,7 @@ module Mongoid
# @since 3.1.0
def pluck(field)
normalized = klass.database_field_name(field)
-... | dup the query so the existing query is not modified |
diff --git a/bika/lims/content/bikasetup.py b/bika/lims/content/bikasetup.py
index <HASH>..<HASH> 100644
--- a/bika/lims/content/bikasetup.py
+++ b/bika/lims/content/bikasetup.py
@@ -24,7 +24,7 @@ class PrefixesField(RecordsField):
'prefix': 'Prefix',
'padding': '... | Allow Prefixes to be edited. |
diff --git a/src/Exception/ConnectionException.php b/src/Exception/ConnectionException.php
index <HASH>..<HASH> 100644
--- a/src/Exception/ConnectionException.php
+++ b/src/Exception/ConnectionException.php
@@ -2,4 +2,4 @@
namespace PHPFastCGI\FastCGIDaemon\Exception;
-class ConnectionException extends \Exception ... | Extended RuntimeException rather than Exception |
diff --git a/oidc_provider/models.py b/oidc_provider/models.py
index <HASH>..<HASH> 100644
--- a/oidc_provider/models.py
+++ b/oidc_provider/models.py
@@ -90,6 +90,11 @@ class UserInfo(models.Model):
family_name = models.CharField(max_length=255, blank=True, null=True)
middle_name = models.CharField(max_lengt... | Adding removed fields that are required by the specs |
diff --git a/library/client.js b/library/client.js
index <HASH>..<HASH> 100644
--- a/library/client.js
+++ b/library/client.js
@@ -961,10 +961,19 @@ for(var methodName in databaseMethods) {
client.prototype[methodName]=databaseMethods[methodName];
}
-var twitchMethods = require('./api/twitch');
-for(var methodN... | Load api and utils directories. |
diff --git a/lib/appy.js b/lib/appy.js
index <HASH>..<HASH> 100644
--- a/lib/appy.js
+++ b/lib/appy.js
@@ -58,9 +58,13 @@ module.exports = function(self) {
// of req and res to be able to do i18n magic
passReq: true,
// Set the redirect for after login passing req.user from Appy l.~208
- ... | redirect option takes req, callback |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ setup(
'tqdm',
'array_split',
'pytrax',
- 'pyevtk',
+# 'pyevtk',
'numba',
... | removing pyevtk from setup temporarily |
diff --git a/test/phantom-test.js b/test/phantom-test.js
index <HASH>..<HASH> 100644
--- a/test/phantom-test.js
+++ b/test/phantom-test.js
@@ -13,7 +13,7 @@ var run = require('./fixture/run');
describe('phantom', function () {
- this.timeout(3000);
+ this.timeout(5000);
it('passes', function (done) {
... | Increase timeout for travis builds |
diff --git a/src/sap.m/src/sap/m/Token.js b/src/sap.m/src/sap/m/Token.js
index <HASH>..<HASH> 100644
--- a/src/sap.m/src/sap/m/Token.js
+++ b/src/sap.m/src/sap/m/Token.js
@@ -129,8 +129,11 @@ sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control'],
*/
Token.prototype.ontouchstart = function(oEvent)... | [FIX] sap.m.Token: token delete in combi device is fixed
Change-Id: I9de3bb<I>d5de7f9ec<I>f<I>b<I>e<I>d0af1
BCP: <I> |
diff --git a/hypervisor/vm.go b/hypervisor/vm.go
index <HASH>..<HASH> 100644
--- a/hypervisor/vm.go
+++ b/hypervisor/vm.go
@@ -645,11 +645,13 @@ func (vm *Vm) Stats() *types.PodStats {
ctx := vm.ctx
if ctx.current != StateRunning {
+ vm.ctx.Log(WARNING, "could not get stats from non-running pod")
return nil
... | print log if get vm stats failed |
diff --git a/src/message.js b/src/message.js
index <HASH>..<HASH> 100644
--- a/src/message.js
+++ b/src/message.js
@@ -240,19 +240,19 @@ Message.prototype.encrypt = function(keys, passwords) {
* @param {(Array<String>|String)} password(s) for message encryption
* @return {Array<module:message~Message>} new message... | Rename keys to publicKeys in message.encrypt() |
diff --git a/src/BoomCMS/Database/Models/URL.php b/src/BoomCMS/Database/Models/URL.php
index <HASH>..<HASH> 100644
--- a/src/BoomCMS/Database/Models/URL.php
+++ b/src/BoomCMS/Database/Models/URL.php
@@ -71,7 +71,7 @@ class URL extends Model implements URLInterface
public function getPage()
{
if ($thi... | Bugfix: URL::getPage() needs to return trashed pages for moving a URL to work |
diff --git a/src/wordcloud2.js b/src/wordcloud2.js
index <HASH>..<HASH> 100644
--- a/src/wordcloud2.js
+++ b/src/wordcloud2.js
@@ -544,7 +544,7 @@ if (!window.clearImmediate) {
};
/* Actually draw the text on the grid */
- var fillText = function fillText(gx, gy, info, word, weight,
+ var drawText = f... | fillText() -> drawText() |
diff --git a/test/util.js b/test/util.js
index <HASH>..<HASH> 100644
--- a/test/util.js
+++ b/test/util.js
@@ -5,12 +5,10 @@ const chai = require('chai');
const assert = chai.assert;
function testRender(template, data, expected) {
- return done => {
+ return () =>
mustachio.string(template).render(data).string()... | Cleanup. Give promises directly to Mocha |
diff --git a/trustroot.py b/trustroot.py
index <HASH>..<HASH> 100644
--- a/trustroot.py
+++ b/trustroot.py
@@ -214,6 +214,7 @@ def _test():
assertValid('http://*.b.foo.com', 'http://b.foo.com', True)
assertValid('http://*.b.foo.com', 'http://x.b.foo.com', True)
assertValid('http://*.bar.co.uk', 'http://w... | [project @ added a test to trustroot] |
diff --git a/src/Anonym/Bootstrap/AliasNotFoundException.php b/src/Anonym/Bootstrap/AliasNotFoundException.php
index <HASH>..<HASH> 100644
--- a/src/Anonym/Bootstrap/AliasNotFoundException.php
+++ b/src/Anonym/Bootstrap/AliasNotFoundException.php
@@ -15,6 +15,11 @@ use Exception;
class AliasNotFoundException extends E... | added comment lines to __construct method |
diff --git a/test/e2e/deployment.go b/test/e2e/deployment.go
index <HASH>..<HASH> 100644
--- a/test/e2e/deployment.go
+++ b/test/e2e/deployment.go
@@ -183,8 +183,9 @@ func stopDeployment(c *clientset.Clientset, oldC client.Interface, ns, deploymen
Expect(err).NotTo(HaveOccurred())
Expect(rss.Items).Should(HaveLen(0... | Print the remaining pods to debug test flake |
diff --git a/src/transports/flash_transport.js b/src/transports/flash_transport.js
index <HASH>..<HASH> 100644
--- a/src/transports/flash_transport.js
+++ b/src/transports/flash_transport.js
@@ -35,7 +35,11 @@
try {
return !!(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'));
} catch (e) {
- ret... | Change the Flash check if mimeTypes are absent |
diff --git a/src/main/java/de/btobastian/javacord/utils/DiscordWebSocketAdapter.java b/src/main/java/de/btobastian/javacord/utils/DiscordWebSocketAdapter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/btobastian/javacord/utils/DiscordWebSocketAdapter.java
+++ b/src/main/java/de/btobastian/javacord/utils/Discor... | Log an error that happens during invocation of callback methods |
diff --git a/lib/yql_query.rb b/lib/yql_query.rb
index <HASH>..<HASH> 100644
--- a/lib/yql_query.rb
+++ b/lib/yql_query.rb
@@ -131,6 +131,10 @@ module YqlQuery
self.query.conditions << conditions
elsif conditions.kind_of?(Array)
self.query.conditions += conditions
+ elsif conditions.kind_o... | allow conditions to be passed as a hash |
diff --git a/indra/biopax/processor.py b/indra/biopax/processor.py
index <HASH>..<HASH> 100644
--- a/indra/biopax/processor.py
+++ b/indra/biopax/processor.py
@@ -24,11 +24,16 @@ class BiopaxProcessor(object):
bpe = cast_biopax_element(obj)
if not is_complex(bpe):
continue
+ ... | Fill Evidence object for Complex statements in BioPAX |
diff --git a/test/request.test.js b/test/request.test.js
index <HASH>..<HASH> 100644
--- a/test/request.test.js
+++ b/test/request.test.js
@@ -61,10 +61,23 @@ module.exports = {
res.send('ok');
});
+ app.get('/type', function(req, res){
+ assert.strictEqual(true, req.ac... | Added more tests for req.accepts() |
diff --git a/cmd/juju/constraints.go b/cmd/juju/constraints.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/constraints.go
+++ b/cmd/juju/constraints.go
@@ -37,8 +37,8 @@ precedence.
Examples:
- set-constraints mem=8G (all new machines in the environment must have at least 8GB of RAM)
- set-constra... | fix for bug <I>: bad set-constraints example. |
diff --git a/lib/memcached/rails.rb b/lib/memcached/rails.rb
index <HASH>..<HASH> 100644
--- a/lib/memcached/rails.rb
+++ b/lib/memcached/rails.rb
@@ -1,7 +1,8 @@
-
class Memcached
alias :get_multi :get #:nodoc:
+ alias :servers= :set_servers #:nodoc:
+ public :servers=
# A legacy compatibility wrapper for... | memcache-client allows (forces?) you to set servers with a `servers=` setter |
diff --git a/features/step_definitions/cli_steps.rb b/features/step_definitions/cli_steps.rb
index <HASH>..<HASH> 100644
--- a/features/step_definitions/cli_steps.rb
+++ b/features/step_definitions/cli_steps.rb
@@ -3,8 +3,9 @@ Given /^the environment variable (.+) is "(.+)"$/ do |variable, value|
end
Then /^the exi... | Wow Ruby <I>, you suck |
diff --git a/fi/validation.php b/fi/validation.php
index <HASH>..<HASH> 100644
--- a/fi/validation.php
+++ b/fi/validation.php
@@ -28,10 +28,10 @@ return array(
"array" => "The :attribute must have between :min - :max items."
),
"confirmed" => ":attribute vahvistus ei täsmää.",
- "date" ... | Update validation.php
Fixing some lines in the fi lang file. |
diff --git a/test/browser/routes-test.js b/test/browser/routes-test.js
index <HASH>..<HASH> 100644
--- a/test/browser/routes-test.js
+++ b/test/browser/routes-test.js
@@ -630,3 +630,18 @@ createTest('setRoute with a single parameter should change location correctly',
self.finish();
}, 14)
});
+
+createTest('r... | [test] Test `_` and `.` in browser routes test |
diff --git a/lib/wiston-honeybadger.js b/lib/wiston-honeybadger.js
index <HASH>..<HASH> 100644
--- a/lib/wiston-honeybadger.js
+++ b/lib/wiston-honeybadger.js
@@ -63,7 +63,11 @@ Honey.prototype.log = function(level, msg, meta, callback) {
}
if (level === 'error') {
- callback(null, true);
+
+ ... | LIB: Update how we handle post updates |
diff --git a/src/Admin/AbstractAdmin.php b/src/Admin/AbstractAdmin.php
index <HASH>..<HASH> 100644
--- a/src/Admin/AbstractAdmin.php
+++ b/src/Admin/AbstractAdmin.php
@@ -2914,7 +2914,7 @@ EOT;
$mapper = new ListMapper($this->getListBuilder(), $this->list, $this);
- if (\count($this->getBatchActions... | Fix batch checkbox display when list page is loaded through Ajax |
diff --git a/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php b/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
+++ b/src/Symfony/Bridge/Monolog/Handler/ChromePhpHandler.php
@@ -11,7 +11,7 @@
namespace Symfony\Br... | [MonologBridge] updated the class name from Monolog |
diff --git a/lib/fernet/token.rb b/lib/fernet/token.rb
index <HASH>..<HASH> 100644
--- a/lib/fernet/token.rb
+++ b/lib/fernet/token.rb
@@ -92,13 +92,12 @@ module Fernet
if valid_base64?
if unknown_token_version?
errors.add :version, "is unknown"
+ elsif enforce_ttl? && !issued_recent_e... | Check TTL as soon as possible during validation |
diff --git a/lib/suite.js b/lib/suite.js
index <HASH>..<HASH> 100644
--- a/lib/suite.js
+++ b/lib/suite.js
@@ -102,6 +102,7 @@ Suite.prototype.clone = function() {
var suite = new Suite(this.title);
debug('clone');
suite.ctx = this.ctx;
+ suite.root = this.root;
suite.timeout(this.timeout());
suite.retr... | Copy Suite property "root" when cloning; closes #<I> (#<I>) |
diff --git a/tests/Notifications/NotificationMailChannelTest.php b/tests/Notifications/NotificationMailChannelTest.php
index <HASH>..<HASH> 100644
--- a/tests/Notifications/NotificationMailChannelTest.php
+++ b/tests/Notifications/NotificationMailChannelTest.php
@@ -294,7 +294,7 @@ class NotificationMailChannelTestNoti... | remove leading slash and extra brackets |
diff --git a/alarmdecoder/decoder.py b/alarmdecoder/decoder.py
index <HASH>..<HASH> 100644
--- a/alarmdecoder/decoder.py
+++ b/alarmdecoder/decoder.py
@@ -793,7 +793,7 @@ class AlarmDecoder(object):
exit = self._exit
if self.mode == DSC:
- i... | Added 'EXIT DELAY' pattern test to DSC arming panel state logic |
diff --git a/jss/jss.py b/jss/jss.py
index <HASH>..<HASH> 100755
--- a/jss/jss.py
+++ b/jss/jss.py
@@ -1458,7 +1458,7 @@ class Package(JSSContainerObject):
feu = ElementTree.SubElement(self, "fill_existing_users")
feu.text = "false"
boot_volume = ElementTree.SubElement(self, "boot_volume_requ... | Set all packages to install on reboot. |
diff --git a/src/Awjudd/FeedReader/FeedReader.php b/src/Awjudd/FeedReader/FeedReader.php
index <HASH>..<HASH> 100644
--- a/src/Awjudd/FeedReader/FeedReader.php
+++ b/src/Awjudd/FeedReader/FeedReader.php
@@ -66,6 +66,13 @@ class FeedReader
// Grab the cache location
$cache_location = storage_path($this... | Fixing a minor bug where the feed reader wasn't dropping the .gitignore file into the storage folder |
diff --git a/tests/src/ApiTest.php b/tests/src/ApiTest.php
index <HASH>..<HASH> 100644
--- a/tests/src/ApiTest.php
+++ b/tests/src/ApiTest.php
@@ -155,9 +155,11 @@ class ApiTest extends PHPUnit_Framework_TestCase
{
$api_mock = new Mock\Api_Uri('POSTMARK_API_TEST');
+ // Either: Postmark delivery ... | Fix wrong URI test to work both locally and on Travis |
diff --git a/tests/karma.conf.js b/tests/karma.conf.js
index <HASH>..<HASH> 100644
--- a/tests/karma.conf.js
+++ b/tests/karma.conf.js
@@ -14,10 +14,9 @@ module.exports = function (config) {
// list of files / patterns to load in the browser
- // TODO: changing this to .ts files causes the test to become le... | tests: mocha reporter and include ts files (#<I>) |
diff --git a/spyder/plugins/ipythonconsole/widgets/control.py b/spyder/plugins/ipythonconsole/widgets/control.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole/widgets/control.py
+++ b/spyder/plugins/ipythonconsole/widgets/control.py
@@ -113,6 +113,7 @@ class ControlWidget(TracebackLinksMixin, GetHelpM... | IPython console: Process mouseMoveEvent's in control widget
Without this it was not possible to select text in the console. |
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js b/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js
@@ -70,16 +70,11 @@ define([
... | BCD & DI AVT - Some popup panels can't be closed by keyboard org-ids/web-ide-issues#<I> |
diff --git a/database/migrations/2018_08_25_102000_create_uploads_table.php b/database/migrations/2018_08_25_102000_create_uploads_table.php
index <HASH>..<HASH> 100644
--- a/database/migrations/2018_08_25_102000_create_uploads_table.php
+++ b/database/migrations/2018_08_25_102000_create_uploads_table.php
@@ -11,6 +11,... | adds file_id in uploads table; |
diff --git a/segments/cwd.py b/segments/cwd.py
index <HASH>..<HASH> 100644
--- a/segments/cwd.py
+++ b/segments/cwd.py
@@ -47,6 +47,8 @@ def get_fg_bg(name):
def add_cwd_segment():
cwd = powerline.cwd or os.getenv('PWD')
+ if not py3:
+ cwd = cwd.decode("utf-8")
cwd = replace_home_dir(cwd)
... | fix unicode issue in cwd |
diff --git a/libmachine/provision/utils.go b/libmachine/provision/utils.go
index <HASH>..<HASH> 100644
--- a/libmachine/provision/utils.go
+++ b/libmachine/provision/utils.go
@@ -95,7 +95,7 @@ func ConfigureAuth(p Provisioner) error {
// TODO: Switch to passing just authOptions to this func
// instead of all these ... | Adding localhost to the list of alt_names
When attempting to connect to the docker api from the machine itself,
the TLS verification of the certificate checked against the public
IP address of the primary interface. This is undesirable on hosts
which have NAT rules that block access to that address by default.
Addin... |
diff --git a/chainer_ui/register.py b/chainer_ui/register.py
index <HASH>..<HASH> 100644
--- a/chainer_ui/register.py
+++ b/chainer_ui/register.py
@@ -24,7 +24,7 @@ def main():
arguments = parser.parse_args()
- result_path = arguments.result
+ result_path = os.path.abspath(arguments.result)
if con... | allow logs to be aliased |
diff --git a/lib/sailthru.rb b/lib/sailthru.rb
index <HASH>..<HASH> 100644
--- a/lib/sailthru.rb
+++ b/lib/sailthru.rb
@@ -126,7 +126,7 @@ module Sailthru
# http://docs.sailthru.com/api/send
def send(template_name, email, vars={}, options = {}, schedule_time = nil)
warn "[DEPRECATION] `send` is depreca... | Removing assignment of vars in deprecated #send method |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -4,13 +4,14 @@ var xml2js = require('xml2js');
var xmlParser = new xml2js.Parser({explicitArray: false});
module.exports = function (callback) {
- return function xmlHttpResponse(res) {
+ return function xmlHttpRespo... | Added `res.end()` call to the `req.on('end', ...` call to close the connection instantly instead of after a (long) timeout period. |
diff --git a/src/InfoViz/Native/HistogramSelector/index.js b/src/InfoViz/Native/HistogramSelector/index.js
index <HASH>..<HASH> 100644
--- a/src/InfoViz/Native/HistogramSelector/index.js
+++ b/src/InfoViz/Native/HistogramSelector/index.js
@@ -674,8 +674,7 @@ function histogramSelector(publicAPI, model) {
model.con... | fix(HistogramSelector): Prevent HistogramSelector from editing its container style element |
diff --git a/comments-bundle/src/Resources/contao/Comments.php b/comments-bundle/src/Resources/contao/Comments.php
index <HASH>..<HASH> 100644
--- a/comments-bundle/src/Resources/contao/Comments.php
+++ b/comments-bundle/src/Resources/contao/Comments.php
@@ -94,7 +94,7 @@ class Comments extends Frontend
{
$obj... | [Comments] Various minor issues |
diff --git a/rundeckapp/grails-app/assets/javascripts/optionEditKO.js b/rundeckapp/grails-app/assets/javascripts/optionEditKO.js
index <HASH>..<HASH> 100644
--- a/rundeckapp/grails-app/assets/javascripts/optionEditKO.js
+++ b/rundeckapp/grails-app/assets/javascripts/optionEditKO.js
@@ -25,9 +25,10 @@ function OptionEdi... | when playing around with option type, original input type and default value type is holded |
diff --git a/src/Factory/MetamorphFactory.php b/src/Factory/MetamorphFactory.php
index <HASH>..<HASH> 100644
--- a/src/Factory/MetamorphFactory.php
+++ b/src/Factory/MetamorphFactory.php
@@ -10,7 +10,7 @@ final class MetamorphFactory
{
public function __invoke(ContainerInterface $container): Metamorph
{
- ... | fix what gets grabbed from the container |
diff --git a/syn/base/b/wrapper.py b/syn/base/b/wrapper.py
index <HASH>..<HASH> 100644
--- a/syn/base/b/wrapper.py
+++ b/syn/base/b/wrapper.py
@@ -65,7 +65,10 @@ class ListWrapper(Base, Harvester):
attrs = super(ListWrapper, self)._istr_attrs(base, pretty, indent)
strs = [istr(val, pretty, indent) for... | Fixing ListWrapper display when there are no list elements |
diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -86,6 +86,33 @@ func (s *server) handleFuseRequest(fuseReq bazilfuse.Request) {
s.logger.Println("Responding:", fuseResp)
typed.Respond(fuseResp)
+ case *bazilfuse.LookupRequest:
+ // Convert the request.
+ req :... | Added server support for lookup. |
diff --git a/src/section/SectionBuilder.php b/src/section/SectionBuilder.php
index <HASH>..<HASH> 100644
--- a/src/section/SectionBuilder.php
+++ b/src/section/SectionBuilder.php
@@ -47,7 +47,7 @@ class SectionBuilder extends AbstractBuilder
if (($content instanceof SafeString) === false) {
$conte... | Designate content as safe after nl2br. |
diff --git a/Kwf/Util/Setup.php b/Kwf/Util/Setup.php
index <HASH>..<HASH> 100644
--- a/Kwf/Util/Setup.php
+++ b/Kwf/Util/Setup.php
@@ -86,10 +86,8 @@ class Kwf_Util_Setup
$ret .= "if (!defined('KWF_PATH')) define('KWF_PATH', '".KWF_PATH."');\n";
$ret .= "if (!defined('VENDOR_PATH')) define('VENDOR_PAT... | don't just add zf to include_path, add all libraries from composer include_paths
fixes phpunit autoloading |
diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py
index <HASH>..<HASH> 100644
--- a/salt/modules/iptables.py
+++ b/salt/modules/iptables.py
@@ -507,6 +507,9 @@ def check(table='filter', chain=None, rule=None, family='ipv4'):
ipt_cmd = _iptables_cmd(family)
if _has_option('--check', family):
+... | check for check then check, not check twice
fixes #<I>; if --check is available, use it rather than use the more
elaborate logic in the check function to workaround older iptables that
don't have --check. |
diff --git a/lib/grizzly.js b/lib/grizzly.js
index <HASH>..<HASH> 100644
--- a/lib/grizzly.js
+++ b/lib/grizzly.js
@@ -3,7 +3,7 @@
const {promisify} = require('util');
const path = require('path');
-const github = require('@octokit/rest')();
+const Octokit= require('@octokit/rest');
const log = require('debug')('g... | feature(grizzly) octokit |
diff --git a/src/expressions/sceneExpression.js b/src/expressions/sceneExpression.js
index <HASH>..<HASH> 100644
--- a/src/expressions/sceneExpression.js
+++ b/src/expressions/sceneExpression.js
@@ -73,12 +73,13 @@ export function evaluateScene(_sceneId, _dynamicState, _context) {
}
}
- ... | Set desc even if scene has no content. |
diff --git a/ucms_tree/src/Form/TreeEditForm.php b/ucms_tree/src/Form/TreeEditForm.php
index <HASH>..<HASH> 100644
--- a/ucms_tree/src/Form/TreeEditForm.php
+++ b/ucms_tree/src/Form/TreeEditForm.php
@@ -76,6 +76,18 @@ class TreeEditForm extends FormBase
$form['is_creation'] = ['#type' => 'value', '#value' =>... | tree: added support for umenu.role property if configured for |
diff --git a/hpcbench/benchmark/iossd.py b/hpcbench/benchmark/iossd.py
index <HASH>..<HASH> 100644
--- a/hpcbench/benchmark/iossd.py
+++ b/hpcbench/benchmark/iossd.py
@@ -31,6 +31,9 @@ class IOSSDExtractor(MetricsExtractor):
BANDWIDTH_OSX_RE = \
re.compile(r'^\s*\d+\s\w+\s\w+\s\w+\s\d*\.?\d+\s\w+\s[(](\d+... | Fix: Initialize member variable in class the uses it. |
diff --git a/jira/exceptions.py b/jira/exceptions.py
index <HASH>..<HASH> 100644
--- a/jira/exceptions.py
+++ b/jira/exceptions.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
import os
import tempfile | added unicode literals to exceptions |
diff --git a/hitch/key.py b/hitch/key.py
index <HASH>..<HASH> 100644
--- a/hitch/key.py
+++ b/hitch/key.py
@@ -215,6 +215,20 @@ def bdd(*keywords):
.shortcut(*keywords).play()
+
+@expected(HitchStoryException)
+def rbdd(*keywords):
+ """
+ Run stories matching keywords.
+ """
+ settings = _pers... | HITCH : Rewrite bdd command. |
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -841,9 +841,8 @@ def qsub(func, allargs, authkey=None):
listener = Listener((host, 0), backlog=5, authkey=authkey)
try:
hos... | Used subprocess.call for compatibility with Python 2 |
diff --git a/src/acdhOeaw/schema/file/File.php b/src/acdhOeaw/schema/file/File.php
index <HASH>..<HASH> 100644
--- a/src/acdhOeaw/schema/file/File.php
+++ b/src/acdhOeaw/schema/file/File.php
@@ -187,7 +187,10 @@ class File extends SchemaObject {
$meta->addLiteral(RC::titleProp(), basename($this->path));
... | File class hardened against mime_content_type() returning a warning |
diff --git a/src/commands/sites/sites-create.js b/src/commands/sites/sites-create.js
index <HASH>..<HASH> 100644
--- a/src/commands/sites/sites-create.js
+++ b/src/commands/sites/sites-create.js
@@ -50,7 +50,7 @@ const getSiteNameInput = async (name, user, api) => {
validate: (input) => /^[a-zA-Z\d-]+$/.test(i... | fix: make site suggestion flow consistent (#<I>) |
diff --git a/ocupy/measures.py b/ocupy/measures.py
index <HASH>..<HASH> 100644
--- a/ocupy/measures.py
+++ b/ocupy/measures.py
@@ -344,7 +344,7 @@ def faster_roc(actuals, controls):
# (add the missing triangle)
if false_pos_rate[-2] == 1:
auc += ((1-true_pos_rate[-3])*.5*(1-false_pos_rate[-3]))
- ... | Return only auc, tpr and fpr for faster_roc |
diff --git a/lib/core/src/server/manager/manager-webpack.config.js b/lib/core/src/server/manager/manager-webpack.config.js
index <HASH>..<HASH> 100644
--- a/lib/core/src/server/manager/manager-webpack.config.js
+++ b/lib/core/src/server/manager/manager-webpack.config.js
@@ -10,7 +10,7 @@ import { version } from '../../... | Update lib/core/src/server/manager/manager-webpack.config.js |
diff --git a/peewee.py b/peewee.py
index <HASH>..<HASH> 100644
--- a/peewee.py
+++ b/peewee.py
@@ -1266,8 +1266,9 @@ class SelectQuery(BaseQuery):
if model not in q:
continue
- if q[model] == ['*']:
- q[model] = model._meta.get_field_names()
+ ... | Smarter replacement of '*' in query |
diff --git a/src/js/components/Topology.js b/src/js/components/Topology.js
index <HASH>..<HASH> 100644
--- a/src/js/components/Topology.js
+++ b/src/js/components/Topology.js
@@ -312,7 +312,7 @@ export default class Topology extends Component {
let cp1xDelta =
Math.max(linkOffset, (delta[0] ... | Fixed undefined variable issue in Topology. |
diff --git a/monascaclient/common/http.py b/monascaclient/common/http.py
index <HASH>..<HASH> 100644
--- a/monascaclient/common/http.py
+++ b/monascaclient/common/http.py
@@ -221,8 +221,8 @@ class HTTPClient(object):
resp = self._make_request(method, url, allow_redirects,
... | Correct reraising of exception
When an exception was caught and rethrown, it should
call 'raise' without any arguments because it shows
the place where an exception occured initially instead
of place where the exception re-raised
Change-Id: Ida<I>fc<I>eebea<I>c3caa0efc8f7f4c9b<I>f2 |
diff --git a/app/helpers/binco/bootstrap_form_builder.rb b/app/helpers/binco/bootstrap_form_builder.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/binco/bootstrap_form_builder.rb
+++ b/app/helpers/binco/bootstrap_form_builder.rb
@@ -34,8 +34,8 @@ module Binco
# Since select2 support multiple choices (checkboxe... | Update collection_select2 html_options |
diff --git a/pkg/auth/ldaputil/query_test.go b/pkg/auth/ldaputil/query_test.go
index <HASH>..<HASH> 100644
--- a/pkg/auth/ldaputil/query_test.go
+++ b/pkg/auth/ldaputil/query_test.go
@@ -21,8 +21,8 @@ const (
DefaultQueryAttribute string = "uid"
)
-var DefaultAttributes []string = []string{"dn", "cn", "uid"}... | fix typo and drop = nil drop []string |
diff --git a/src/terminal-utils.js b/src/terminal-utils.js
index <HASH>..<HASH> 100644
--- a/src/terminal-utils.js
+++ b/src/terminal-utils.js
@@ -1,11 +1,19 @@
const readline = require('readline');
+const isCI = !!process.env.CI;
+
const utils = {
clearLine() {
+ if (isCI) {
+ return;
+ }
readli... | skip logging on CI
In a CI env the logging on same line
is not reported correctly in ui |
diff --git a/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php b/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php
index <HASH>..<HASH> 100644
--- a/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php
+++ b/src/Trident/Module/FrameworkModule/Listener/ExceptionListener.php
@... | Changed pre-esque font size. |
diff --git a/lib/speakerdeck-scraper.js b/lib/speakerdeck-scraper.js
index <HASH>..<HASH> 100644
--- a/lib/speakerdeck-scraper.js
+++ b/lib/speakerdeck-scraper.js
@@ -25,7 +25,7 @@ function fetchPath(path) {
function getUser(userId, page) {
if(!userId) { throw new Error("User id needed to scrape"); }
- page ... | Ensure page param is a Number |
diff --git a/lib/component.js b/lib/component.js
index <HASH>..<HASH> 100644
--- a/lib/component.js
+++ b/lib/component.js
@@ -58,7 +58,7 @@
*/
Backbone.React.Component.extend = function () {
var Clazz = arguments[0];
- var ReactComponent = React.createClass(_.extend({}, Backbone.React.Component.prototyp... | getModel method that crawls to the owner and gets the model |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -22,8 +22,8 @@ function hash(filepath, bits, format) {
resolve(imageFromBuffer(content));
});
})
- .then(image => hashRaw(getImageData(image), bits))
- .then(hexHash => {
+ .then((image) => hashRaw(getI... | fix(chore): prettier check |
diff --git a/django_libs/raven_default_settings.py b/django_libs/raven_default_settings.py
index <HASH>..<HASH> 100644
--- a/django_libs/raven_default_settings.py
+++ b/django_libs/raven_default_settings.py
@@ -2,6 +2,7 @@
RAVEN_IGNORABLE_USER_AGENTS = [
r'^.*AhrefsBot.*$',
r'^.*EasouSpider.*$',
+ r'^.*Fa... | Added FacebookBot to ignorable user agents |
diff --git a/fish_crawler/fish_crawler/items.py b/fish_crawler/fish_crawler/items.py
index <HASH>..<HASH> 100644
--- a/fish_crawler/fish_crawler/items.py
+++ b/fish_crawler/fish_crawler/items.py
@@ -8,11 +8,13 @@
import scrapy
-class FishCrawlerItem(scrapy.Item):
+class CommonItem(scrapy.Item):
title = scrapy... | Alter fish_crawler module: amend field of CommonItem in the items.py |
diff --git a/LiSE/character.py b/LiSE/character.py
index <HASH>..<HASH> 100644
--- a/LiSE/character.py
+++ b/LiSE/character.py
@@ -126,13 +126,15 @@ class StatSet(object):
def _stat_set(self, k, v):
if hasattr(self, '_on_stat_set'):
+ (branch, tick) = self.engine.time
for fun in ... | more informative way to call the callbacks |
diff --git a/usbiss/spi.py b/usbiss/spi.py
index <HASH>..<HASH> 100644
--- a/usbiss/spi.py
+++ b/usbiss/spi.py
@@ -75,14 +75,18 @@ class SPI(USBISS):
self.sck_divisor = self.iss_spi_divisor(val)
def xfer(self, data):
- """Spidev function for transferring bytes to port
+ """
+ Perfor... | Enforce the rule that first element of received SPIS data is ACK and
discard it if it is 0. |
diff --git a/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java b/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java
+++ b/src/de/mrapp/android/preference/activity/view/ToolbarLarge.java
@@ -362,6... | The removed the dark overlay of the toolbar on tablets, when the navigation is hidden. |
diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/hls/hls.js
+++ b/src/playbacks/hls/hls.js
@@ -115,7 +115,7 @@ export default class HLS extends HTML5VideoPlayback {
this._extrapolatedWindowNumSegments = !this.options.playback || typeof (this.options.p... | refactor(hls): change _lasTimeUpdate initial value |
diff --git a/public_methods.go b/public_methods.go
index <HASH>..<HASH> 100644
--- a/public_methods.go
+++ b/public_methods.go
@@ -17,6 +17,18 @@ func (fig figure) Print() {
}
}
+// returns a colored string
+func (fig figure) ColorString() string {
+ s := ""
+ for _, printRow := range fig.Slicify() {
+ if fig.col... | Add a ColorString method (#<I>)
Example use cases
- Use the colored string and use it in a template |
diff --git a/gwpy/timeseries/core.py b/gwpy/timeseries/core.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/core.py
+++ b/gwpy/timeseries/core.py
@@ -1159,15 +1159,17 @@ class TimeSeriesBaseDict(OrderedDict):
# -- find frametype(s)
if frametype is None:
- frametypes = dict()
- ... | TimeSeriesDict.find: use multi-channel find_frametype
most of the time a user wants to find many channels in a single type, so should optimise to search for all in one |
diff --git a/vendor/shims/chai.js b/vendor/shims/chai.js
index <HASH>..<HASH> 100644
--- a/vendor/shims/chai.js
+++ b/vendor/shims/chai.js
@@ -1,5 +1,9 @@
/* global self, define */
+// Declare `expect` as a global here instead of as a var in individual tests.
+// This avoids jshint warnings re: `Redefinition of 'exp... | shims/chai: Create "expect" global
"ember-cli-mocha" does this as well, and while I don't agree with it we should keep it for legacy reasons for now and eventually deprecate. |
diff --git a/pyani/pyani_graphics.py b/pyani/pyani_graphics.py
index <HASH>..<HASH> 100644
--- a/pyani/pyani_graphics.py
+++ b/pyani/pyani_graphics.py
@@ -235,16 +235,19 @@ def add_mpl_colorbar(dfr, fig, dend, params, orientation='row'):
cblist.append(classdict[name])
cbar = pd.Series(cblist)
- #... | fix colorbar bug introduced in refactor |
diff --git a/IPython/html/tests/widgets/widget.js b/IPython/html/tests/widgets/widget.js
index <HASH>..<HASH> 100644
--- a/IPython/html/tests/widgets/widget.js
+++ b/IPython/html/tests/widgets/widget.js
@@ -216,7 +216,7 @@ casper.notebook_test(function () {
' self.msg = [content, buffers]',
'x=... | Convert some test code to python2/3 (add parens for print) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.