diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/angr/analyses/sse.py b/angr/analyses/sse.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/sse.py
+++ b/angr/analyses/sse.py
@@ -394,12 +394,12 @@ class SSE(Analysis):
# FIXME: cfg._nodes should also be updated when calling cfg.normalize()
size_of_next_irs... | Removed unnecessary exception outputs. Keep calm |
diff --git a/src/shims/range-ui.js b/src/shims/range-ui.js
index <HASH>..<HASH> 100644
--- a/src/shims/range-ui.js
+++ b/src/shims/range-ui.js
@@ -456,6 +456,12 @@
}
};
+ var oCreate = function (o) {
+ function F() {}
+ F.prototype = o;
+ return new F();
+ };
+
$.fn.rangeUI = function(opts){
opts = $.e... | don't use object.create in range ui for old browsers |
diff --git a/db/seeds/main.go b/db/seeds/main.go
index <HASH>..<HASH> 100644
--- a/db/seeds/main.go
+++ b/db/seeds/main.go
@@ -19,6 +19,7 @@ import (
"github.com/qor/qor-example/db"
"github.com/qor/qor-example/db/seeds"
"github.com/qor/qor/admin"
+ "github.com/qor/qor/i18n"
"github.com/qor/qor/publish"
"githu... | reset the translations in the deploy script |
diff --git a/sievelib/tests/parser.py b/sievelib/tests/parser.py
index <HASH>..<HASH> 100644
--- a/sievelib/tests/parser.py
+++ b/sievelib/tests/parser.py
@@ -49,13 +49,13 @@ class SieveTest(unittest.TestCase):
class AdditionalCommands(SieveTest):
def test_add_command(self):
+ self.assertRaises(sievelib.... | changed test_add_command to check for UnknownCommand before injection |
diff --git a/openquake/commonlib/calc.py b/openquake/commonlib/calc.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/calc.py
+++ b/openquake/commonlib/calc.py
@@ -621,8 +621,8 @@ class EBRupture(object):
class RuptureSerializer(object):
"""
- Serialize event based ruptures on an HDF5 files. Populates... | Added some docstring [skip CI] |
diff --git a/lib/sugarcrm/attributes/attribute_methods.rb b/lib/sugarcrm/attributes/attribute_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/sugarcrm/attributes/attribute_methods.rb
+++ b/lib/sugarcrm/attributes/attribute_methods.rb
@@ -32,7 +32,12 @@ module SugarCRM; module AttributeMethods
# Default to = i... | typecast boolean attributes to string
enables users to do (e.g.) SugarCRM::Note.all(:conditions => {:complaint_c => true}), where complaint_c is a checkbox field |
diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -5231,7 +5231,11 @@ function setupCallEventHandler(client) {
// This call has previously been answered or hung up: ignore it
return;
}
- ... | Catch exception from call event handler
Otherwise they leak out ot the sync loop. It's unfortunate that
exceptions from event handlers leak out to the emitter, and this
seems a bit clumsy, but having to wrap eveery event emit in a try
block seems worse. |
diff --git a/RAPIDpy/dataset.py b/RAPIDpy/dataset.py
index <HASH>..<HASH> 100644
--- a/RAPIDpy/dataset.py
+++ b/RAPIDpy/dataset.py
@@ -617,6 +617,8 @@ class RAPIDDataset(object):
mode="mean"):
"""
Write out RAPID output to GSSHA time series ihg file
+ ... | added metadata fore ihg file in function description |
diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java b/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/AutoValueImmutableFields.java
+++ b/core/src/main/ja... | Remove an unnecessary indefinite article.
As it stands, this produces messages like this:
"AutoValue instances should be deeply immutable. Therefore, we recommend returning a ImmutableMap instead." Saying "...return ImmutableMap" reads just as well in addition to being grammatically correct.
-------------
Created by ... |
diff --git a/requirements.txt b/requirements.txt
index <HASH>..<HASH> 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,6 +2,7 @@ matplotlib>=2.0.2
numpy==1.14.2
pyrddl>=0.1.0
rddlgym>=0.2.8
+rddl2tf>=0.2.0
Sphinx==1.7.6
tensorflow==1.5.0
tensorflow-tensorboard==1.5.1
diff --git a/setup.py b/setup.py
ind... | Add rddl2tf as a dependency in requirements.txt and setup.py |
diff --git a/code/libraries/koowa/database/table/abstract.php b/code/libraries/koowa/database/table/abstract.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/database/table/abstract.php
+++ b/code/libraries/koowa/database/table/abstract.php
@@ -580,13 +580,16 @@ abstract class KDatabaseTableAbstract extends K... | Don't map columns if we are selecting a field or a field list. |
diff --git a/src/type/definition.js b/src/type/definition.js
index <HASH>..<HASH> 100644
--- a/src/type/definition.js
+++ b/src/type/definition.js
@@ -903,9 +903,6 @@ type GraphQLObjectTypeNormalizedConfig = {
extensionASTNodes: $ReadOnlyArray<ObjectTypeExtensionNode>,
};
-/**
- * Note: returning GraphQLObjectTyp... | definition: Remove deprecation comment (#<I>) |
diff --git a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
index <HASH>..<HASH> 100644
--- a/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
+++ b/tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
@@ -216,7 +216,8 @@ JSON;
ar... | it looks like php <I> might not have openssl extension? |
diff --git a/lib/topics/topic.js b/lib/topics/topic.js
index <HASH>..<HASH> 100644
--- a/lib/topics/topic.js
+++ b/lib/topics/topic.js
@@ -251,9 +251,10 @@ module.exports = function (mongoose) {
// Private function to score the topics by TF-IDF
var _score = function (msg) {
var docs = [];
-
+ var tas = ms... | Add a little more debugging to TF-IDF score |
diff --git a/ccmlib/cmds/node_cmds.py b/ccmlib/cmds/node_cmds.py
index <HASH>..<HASH> 100644
--- a/ccmlib/cmds/node_cmds.py
+++ b/ccmlib/cmds/node_cmds.py
@@ -222,7 +222,7 @@ class _NodeToolCmd(Cmd):
Cmd.validate(self, parser, options, args, node_name=True, load_cluster=True)
def run(self):
- sel... | options of nodetool commands are now taken into account
before this commit:
ccm node1 ring myKS
=> myKS is not used (see the Note, on the beginning of the output of the
command)
after this commit:
ccm node1 ring myKS
=> myKS is used (no Note, and ownership is correct) |
diff --git a/lib/datalib.php b/lib/datalib.php
index <HASH>..<HASH> 100644
--- a/lib/datalib.php
+++ b/lib/datalib.php
@@ -1237,8 +1237,12 @@ function fix_course_sortorder($categoryid=0, $n=0, $safe=0, $depth=0, $path='')
$path = $path . '/' . $categoryid;
$depth = $depth + 1;
- set_field('... | datalib: fix_course_sortorder() - minor optimisation
Don't update fields unnecessarily. Cuts 3 DB queries per category
on course/index page (<I> in a <I> category setup).
fix_course_sortorder() should be fixed to avoid recursion. |
diff --git a/tests/Drivers/FacebookDriverTest.php b/tests/Drivers/FacebookDriverTest.php
index <HASH>..<HASH> 100644
--- a/tests/Drivers/FacebookDriverTest.php
+++ b/tests/Drivers/FacebookDriverTest.php
@@ -25,7 +25,6 @@ use Mpociot\BotMan\DriverEvents\Facebook\MessagingCheckoutUpdates;
class FacebookDriverTest exte... | Apply fixes from StyleCI (#<I>) |
diff --git a/js/binance.js b/js/binance.js
index <HASH>..<HASH> 100644
--- a/js/binance.js
+++ b/js/binance.js
@@ -492,7 +492,12 @@ module.exports = class binance extends Exchange {
async fetchTime (params = {}) {
const type = this.safeString2 (this.options, 'fetchTime', 'defaultType', 'spot');
- ... | Use api matching type for binance fetchTime
- Adds support for the coin-margined delivery api (dapi).
- Uses publicGetTime for type = margin (rather than fapi_). |
diff --git a/src/PSolr/Request/SolrRequest.php b/src/PSolr/Request/SolrRequest.php
index <HASH>..<HASH> 100644
--- a/src/PSolr/Request/SolrRequest.php
+++ b/src/PSolr/Request/SolrRequest.php
@@ -134,9 +134,17 @@ class SolrRequest extends QueryString
* @param array $options
*
* @return \PSolr\Response\... | Added exception if component has no handler [skip ci] |
diff --git a/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java b/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java
index <HASH>..<HASH> 100644
--- a/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java
+++ b/base/src/main/java/uk/ac/ebi/atlas/web/ApplicationProperties.java
@... | Good merge of: Don’t include the default HTTP port in the server URL |
diff --git a/pymc/tests/test_distributions.py b/pymc/tests/test_distributions.py
index <HASH>..<HASH> 100644
--- a/pymc/tests/test_distributions.py
+++ b/pymc/tests/test_distributions.py
@@ -161,8 +161,10 @@ def test_constantdist():
def test_zeroinflatedpoisson():
checkd(ZeroInflatedPoisson, Nat, {'theta': Rplus,... | Split up test in hopes that travis does not timeout. |
diff --git a/grunt.js b/grunt.js
index <HASH>..<HASH> 100644
--- a/grunt.js
+++ b/grunt.js
@@ -1,3 +1,6 @@
+// Resources
+// https://gist.github.com/2489540
+
/*global config:true, task:true*/
module.exports = function( grunt ) { | Add resource by @mikesherov to gruntfile |
diff --git a/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java b/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java
+++ b/structr-ui/src/main/java/org/structr/web/entity/dom/DOMNode.java
@@ -9... | Bug fix: Avoid NPE in public mode if shadow page is not visible to public users (which is the default). |
diff --git a/java/src/main/java/org/msgpack/UnpackerImpl.java b/java/src/main/java/org/msgpack/UnpackerImpl.java
index <HASH>..<HASH> 100644
--- a/java/src/main/java/org/msgpack/UnpackerImpl.java
+++ b/java/src/main/java/org/msgpack/UnpackerImpl.java
@@ -157,7 +157,10 @@ public class UnpackerImpl {
count = b & 0... | java: fixed problem that empty array and empty map don't check Schema |
diff --git a/tools/c7n_mailer/c7n_mailer/record.py b/tools/c7n_mailer/c7n_mailer/record.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_mailer/c7n_mailer/record.py
+++ b/tools/c7n_mailer/c7n_mailer/record.py
@@ -131,6 +131,14 @@ def resource_format(resource, resource_type):
return "name: %s date: %s" % (
... | Added subnet resource type for record format (#<I>)
* Added subnet resource type for record format |
diff --git a/script/upload.py b/script/upload.py
index <HASH>..<HASH> 100755
--- a/script/upload.py
+++ b/script/upload.py
@@ -130,6 +130,10 @@ def publish_release(github, release_id):
def upload_node(bucket, access_key, secret_key, version):
os.chdir(DIST_DIR)
+ # TODO(zcbenz): Remove me when Atom starts to use... | Still upload distribution file to S3 since Atom hasn't used Releases API yet. |
diff --git a/lib/response.js b/lib/response.js
index <HASH>..<HASH> 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -70,7 +70,7 @@ res.send = function(body, status){
}
// populate Content-Length
- if (!this.header('Content-Length')) {
+ if (undefined !== body && !this.header('Content-Length')) {
th... | Fixed [<I>]<I> support |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -149,4 +149,4 @@ module.exports = {
}
);
}
-};
\ No newline at end of file
+}; | added an extra line at EOF |
diff --git a/cloudfoundry-client-lib/src/test/java/org/cloudfoundry/client/lib/AbstractCloudFoundryClientTest.java b/cloudfoundry-client-lib/src/test/java/org/cloudfoundry/client/lib/AbstractCloudFoundryClientTest.java
index <HASH>..<HASH> 100644
--- a/cloudfoundry-client-lib/src/test/java/org/cloudfoundry/client/lib/A... | Wait for application to start before trying to pull logs |
diff --git a/app/assets/javascripts/pageflow/widgets/page_navigation_list.js b/app/assets/javascripts/pageflow/widgets/page_navigation_list.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/pageflow/widgets/page_navigation_list.js
+++ b/app/assets/javascripts/pageflow/widgets/page_navigation_list.js
@@ -25,10... | Improve page navigation list widget
Highlight current chapter even if current page is not displayed in
navigation bar. |
diff --git a/master/buildbot/scripts/logwatcher.py b/master/buildbot/scripts/logwatcher.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/scripts/logwatcher.py
+++ b/master/buildbot/scripts/logwatcher.py
@@ -132,8 +132,7 @@ class LogWatcher(LineOnlyReceiver):
break
if "message from master... | rename LogWatcher result "buildslave" to "worker"
LogWatcher success result is not used actually. |
diff --git a/sos/sos_executor.py b/sos/sos_executor.py
index <HASH>..<HASH> 100755
--- a/sos/sos_executor.py
+++ b/sos/sos_executor.py
@@ -157,7 +157,8 @@ class SoS_Worker(mp.Process):
self.args = args
self.reset_dict()
# we are in a separate process and need to set verbosity from workflow co... | Fix tests caused by the verbosity change |
diff --git a/ignite/contrib/handlers/tqdm_logger.py b/ignite/contrib/handlers/tqdm_logger.py
index <HASH>..<HASH> 100644
--- a/ignite/contrib/handlers/tqdm_logger.py
+++ b/ignite/contrib/handlers/tqdm_logger.py
@@ -161,7 +161,7 @@ class ProgressBar(BaseLogger):
def attach( # type: ignore[override]
self,
... | fix: Corrects type hint for ProgressBar (#<I>) |
diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -7,8 +7,7 @@ var options = {
browser: true,
node: true,
es6: true
- },
- globals: {
+ }, globals: {
"Promise": true,
"ArrayBuffer": true,
"ArrayBufferView": true,
@@ -42,7 +41,1... | Disable eslint new-cap for Authorize/Discover |
diff --git a/dougrain/document.py b/dougrain/document.py
index <HASH>..<HASH> 100644
--- a/dougrain/document.py
+++ b/dougrain/document.py
@@ -310,7 +310,7 @@ class Document(object):
href_filter = lambda x: x == href
links = self.o['_links']
- links_for_rel = links[rel]
+ links_for... | Stop KeyError when deleting links for non-existent rel. |
diff --git a/doc/_ext/aafig.py b/doc/_ext/aafig.py
index <HASH>..<HASH> 100644
--- a/doc/_ext/aafig.py
+++ b/doc/_ext/aafig.py
@@ -183,7 +183,7 @@ def render_aafigure(app, text, options):
try:
f = open(metadata_fname, 'r')
extra = f.read()
- ... | flake8: Fix bare except in try/catch |
diff --git a/src/ol/format/TextFeature.js b/src/ol/format/TextFeature.js
index <HASH>..<HASH> 100644
--- a/src/ol/format/TextFeature.js
+++ b/src/ol/format/TextFeature.js
@@ -1,7 +1,6 @@
/**
* @module ol/format/TextFeature
*/
-import {inherits} from '../util.js';
import FeatureFormat from '../format/Feature.js';
... | Use extends and super for format/TextFeature |
diff --git a/pixmaps.py b/pixmaps.py
index <HASH>..<HASH> 100644
--- a/pixmaps.py
+++ b/pixmaps.py
@@ -28,7 +28,7 @@
from PyQt4.Qt import *
PYSIGNAL = SIGNAL;
-from Timba.utils import verbosity
+from utils import verbosity
import sys | Some fixes to the startupWizard() -- paths weren't always handled correctly in the "create"
case.
Made the startupWizard() have a modeless option, used when starting from within scripts. |
diff --git a/test/integration/requester-spec/timing.test.js b/test/integration/requester-spec/timing.test.js
index <HASH>..<HASH> 100644
--- a/test/integration/requester-spec/timing.test.js
+++ b/test/integration/requester-spec/timing.test.js
@@ -26,7 +26,7 @@ describe('Requester Spec: timings', function () {
... | Minor grammer change in timing.test.js |
diff --git a/salt/output/nested.py b/salt/output/nested.py
index <HASH>..<HASH> 100644
--- a/salt/output/nested.py
+++ b/salt/output/nested.py
@@ -1,6 +1,8 @@
'''
Recursively display nested data, this is the default outputter.
'''
+# Import python libs
+from numbers import Number
# Import salt libs
import salt.u... | Improve nested outputter to check all number types |
diff --git a/lib/event_source/expected_version.rb b/lib/event_source/expected_version.rb
index <HASH>..<HASH> 100644
--- a/lib/event_source/expected_version.rb
+++ b/lib/event_source/expected_version.rb
@@ -3,6 +3,7 @@ module EventSource
class Error < RuntimeError; end
def self.canonize(expected_version)
+ ... | Expected version is incremented for each event in a batch |
diff --git a/mmtf/__init__.py b/mmtf/__init__.py
index <HASH>..<HASH> 100644
--- a/mmtf/__init__.py
+++ b/mmtf/__init__.py
@@ -64,8 +64,8 @@ class MMTFDecoder():
else:
self.seq_res_group_list = []
# Get the number of chains per model
- self.chains_per_model = int(input_data[b"chain... | Undo a bad cast to int |
diff --git a/config.go b/config.go
index <HASH>..<HASH> 100644
--- a/config.go
+++ b/config.go
@@ -175,7 +175,7 @@ func (c *config) discoverSingle(glob string, m *map[string]string) error {
// One Windows, ignore any plugins that don't end in .exe.
// We could do a full PATHEXT parse, but this is probably good ... | lowercase the extension of plugins just in case |
diff --git a/admin/tool/dataprivacy/classes/api.php b/admin/tool/dataprivacy/classes/api.php
index <HASH>..<HASH> 100644
--- a/admin/tool/dataprivacy/classes/api.php
+++ b/admin/tool/dataprivacy/classes/api.php
@@ -418,7 +418,7 @@ class api {
$message->courseid = $SITE->id;
$message->componen... | MDL-<I> tool_privacy: pass correct user to message_send |
diff --git a/src/components/body/body.js b/src/components/body/body.js
index <HASH>..<HASH> 100644
--- a/src/components/body/body.js
+++ b/src/components/body/body.js
@@ -128,6 +128,10 @@ var Body = {
update: function (prevData) {
var data = this.data;
+ if (data.type !== prevData.type) {
+ console.wa... | add warning if changing the body type, since its technically not supported in CannonJS |
diff --git a/src/Foundation/Bootstrap/LoadConfiguration.php b/src/Foundation/Bootstrap/LoadConfiguration.php
index <HASH>..<HASH> 100644
--- a/src/Foundation/Bootstrap/LoadConfiguration.php
+++ b/src/Foundation/Bootstrap/LoadConfiguration.php
@@ -37,7 +37,7 @@ class LoadConfiguration
$this->loadConfiguration... | Fixes a bug introduced in #<I> |
diff --git a/lib/hub/context.rb b/lib/hub/context.rb
index <HASH>..<HASH> 100644
--- a/lib/hub/context.rb
+++ b/lib/hub/context.rb
@@ -233,8 +233,9 @@ module Hub
end
def project
- if urls.find { |u| u =~ %r{\bgithub\.com[:/](.+)/(.+).git$} }
- GithubProject.new local_repo, $1, $2
+ ... | GitHub remote urls don't have to necessarily end in ".git" |
diff --git a/src/ExportMap.js b/src/ExportMap.js
index <HASH>..<HASH> 100644
--- a/src/ExportMap.js
+++ b/src/ExportMap.js
@@ -330,17 +330,19 @@ ExportMap.parse = function (path, content, context) {
})
// attempt to collect module doc
- ast.comments.some(c => {
- if (c.type !== 'Block') return false
- tr... | #<I> Fixes Cannot read property 'some' of undefined |
diff --git a/lib/crash_log/logging.rb b/lib/crash_log/logging.rb
index <HASH>..<HASH> 100644
--- a/lib/crash_log/logging.rb
+++ b/lib/crash_log/logging.rb
@@ -1,5 +1,3 @@
-require 'active_support/core_ext/module/delegation'
-require 'active_support/core_ext/module/aliasing'
require 'logger'
module CrashLog
@@ -16,7... | Removed active support dependencies in Logger |
diff --git a/controller/CompatibilityChecker.php b/controller/CompatibilityChecker.php
index <HASH>..<HASH> 100644
--- a/controller/CompatibilityChecker.php
+++ b/controller/CompatibilityChecker.php
@@ -151,7 +151,7 @@ class CompatibilityChecker extends \tao_actions_CommonModule{
else{
$data['logi... | if empty ip adress mark it as unknown |
diff --git a/moment-timezone.js b/moment-timezone.js
index <HASH>..<HASH> 100644
--- a/moment-timezone.js
+++ b/moment-timezone.js
@@ -150,7 +150,7 @@
// console.log('adding last zone', lastZone.until.format());
lastZoneRule = new RuleYear(year - 1, lastZone.lastRule());
lastZoneRule.start = lastZone.unt... | Only setting the lastZoneRule.isLast if its ruleset is different than the current ruleset (<I>/<I>) |
diff --git a/shutit_global.py b/shutit_global.py
index <HASH>..<HASH> 100644
--- a/shutit_global.py
+++ b/shutit_global.py
@@ -466,7 +466,7 @@ class ShutIt(object):
# - otherwise, default to doing the check
if check_exit == None:
# If we are in video mode, ignore exit value
- if cfg['build']['video']:
+ i... | exit checking in video/walkthrough/training |
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
index <HASH>..<HASH> 100644
--- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
+++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
@@ -298,6 +298,8 @@ public class Ecli... | Starting eclipse with an open file containing an enum with @Getter on it would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed. |
diff --git a/concrete/src/Cache/CacheServiceProvider.php b/concrete/src/Cache/CacheServiceProvider.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Cache/CacheServiceProvider.php
+++ b/concrete/src/Cache/CacheServiceProvider.php
@@ -9,11 +9,16 @@ class CacheServiceProvider extends ServiceProvider
{
public funct... | Be sure that caches are singletons |
diff --git a/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java b/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java
+++ b/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java
@@ -2... | Null check node engine before creating MockConnection |
diff --git a/bin/cumulus.rb b/bin/cumulus.rb
index <HASH>..<HASH> 100755
--- a/bin/cumulus.rb
+++ b/bin/cumulus.rb
@@ -539,7 +539,7 @@ end
# read in the optional path to the configuration file to use
options = {
- :config => File.expand_path(File.join(File.dirname(__FILE__), "../conf")),
+ :config => Dir.pwd,
... | Use working directory as config directory by default |
diff --git a/test/test_project.py b/test/test_project.py
index <HASH>..<HASH> 100644
--- a/test/test_project.py
+++ b/test/test_project.py
@@ -2,16 +2,7 @@ import os
import unittest
-
class ProjectTests(unittest.TestCase):
- # ./docker
- def test_docker_dir(self):
- self.assertTrue(os.path.isfile("./... | fix: drop the silly docker file tests |
diff --git a/kafka/conn.py b/kafka/conn.py
index <HASH>..<HASH> 100644
--- a/kafka/conn.py
+++ b/kafka/conn.py
@@ -278,7 +278,7 @@ class BrokerConnection(object):
def connect(self):
"""Attempt to connect and return ConnectionState"""
- if self.state is ConnectionStates.DISCONNECTED:
+ if s... | Honor reconnect_backoff in conn.connect() (#<I>)
* Honor reconnect_backoff in conn.connect() |
diff --git a/nsq/connection.py b/nsq/connection.py
index <HASH>..<HASH> 100644
--- a/nsq/connection.py
+++ b/nsq/connection.py
@@ -26,6 +26,11 @@ class Connection(object):
# Establish our connection
self.connect()
+ def __str__(self):
+ state = 'alive' if self.alive() else 'dead'
+ ... | Nicer string representation of a connection |
diff --git a/txaws/testing/ec2.py b/txaws/testing/ec2.py
index <HASH>..<HASH> 100644
--- a/txaws/testing/ec2.py
+++ b/txaws/testing/ec2.py
@@ -13,12 +13,13 @@ from txaws.ec2.model import Keypair, SecurityGroup
class FakeEC2Client(object):
- def __init__(self, creds, endpoint, instances=None, keypairs=None,
- ... | Add query_factory to FakeEC2Client since it is in the real EC2Client. |
diff --git a/src/internal_coordinates.py b/src/internal_coordinates.py
index <HASH>..<HASH> 100644
--- a/src/internal_coordinates.py
+++ b/src/internal_coordinates.py
@@ -522,7 +522,10 @@ class Collection(object):
def yield_related_internal_coordinates(self, tag1, tag2, order_related=2):
for ic1 in self[t... | Safer code for taking related coordinates. |
diff --git a/tests/php/ProtectedFileControllerTest.php b/tests/php/ProtectedFileControllerTest.php
index <HASH>..<HASH> 100644
--- a/tests/php/ProtectedFileControllerTest.php
+++ b/tests/php/ProtectedFileControllerTest.php
@@ -186,8 +186,8 @@ class ProtectedFileControllerTest extends FunctionalTest
public functi... | Revert filename for fixtured text file in testAccessWithCanViewAccess() |
diff --git a/spec/balance_spec.rb b/spec/balance_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/balance_spec.rb
+++ b/spec/balance_spec.rb
@@ -40,9 +40,9 @@ describe Monzo::Balance do
account_id = "acc_123"
- @stub = stub_request(:get, "https://api.monzo.com/balance?account_id=#{account_id}").
- ... | Tidy up balance spec. |
diff --git a/src/InstallerServiceProvider.php b/src/InstallerServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/InstallerServiceProvider.php
+++ b/src/InstallerServiceProvider.php
@@ -33,6 +33,8 @@ class InstallerServiceProvider extends ServiceProvider
$this->addViewComponent('orchestra/installer', 'o... | Should be able to cache routes. Closes #2 |
diff --git a/openprovider/models.py b/openprovider/models.py
index <HASH>..<HASH> 100644
--- a/openprovider/models.py
+++ b/openprovider/models.py
@@ -216,6 +216,7 @@ class Customer(Model):
email
"""
+ name = submodel(Name, "name")
address = submodel(Address, "address")
phone = submodel(Phone, ... | Map Customer.name to the Name model |
diff --git a/lib/ServerlessComponent.js b/lib/ServerlessComponent.js
index <HASH>..<HASH> 100644
--- a/lib/ServerlessComponent.js
+++ b/lib/ServerlessComponent.js
@@ -29,7 +29,7 @@ class ServerlessComponent {
// Default Properties
_this.name = _this._config.component || 'component' + SUtils.genera... | Use a passed-in runtime, but default to nodejs |
diff --git a/scot/connectivity.py b/scot/connectivity.py
index <HASH>..<HASH> 100644
--- a/scot/connectivity.py
+++ b/scot/connectivity.py
@@ -270,7 +270,7 @@ class Connectivity(object):
def sPDC(self):
"""Squared partial directed coherence.
- .. math:: \mathrm{sPDC}{ij}(f) = \frac{\left| A{ij}(f... | Fixed sPDC equation docstring |
diff --git a/src/store.overflow.js b/src/store.overflow.js
index <HASH>..<HASH> 100644
--- a/src/store.overflow.js
+++ b/src/store.overflow.js
@@ -9,7 +9,7 @@
*
* Status: EXPERIMENTAL - not likely to serve any useful purpose
*/
-;(function(_) {
+;(function(store, _) {
var set = _.set, get = _.get, remove = _... | make overflow pass lint |
diff --git a/lib/plain_old_model/version.rb b/lib/plain_old_model/version.rb
index <HASH>..<HASH> 100644
--- a/lib/plain_old_model/version.rb
+++ b/lib/plain_old_model/version.rb
@@ -1,3 +1,3 @@
module PlainOldModel
- VERSION = "0.1.6"
+ VERSION = "0.1.7"
end | bumped version to <I> |
diff --git a/Classes/IndexQueue/Queue.php b/Classes/IndexQueue/Queue.php
index <HASH>..<HASH> 100644
--- a/Classes/IndexQueue/Queue.php
+++ b/Classes/IndexQueue/Queue.php
@@ -378,7 +378,7 @@ class Tx_Solr_IndexQueue_Queue {
# temporary until we have a query builder to take care of this
$additionalRecordFields = ... | [FIX] IndexQueue doesn’t get filled if new page with allowed doktype is created via backend
check for allowed page types is missing uid of new created record
Resolves: #<I>
Releases: <I>
Change-Id: I<I>a<I>b<I>ce<I>ced<I>a<I>a0ce4c<I>b1ddce
Reviewed-on: <URL> |
diff --git a/jws/jwt.go b/jws/jwt.go
index <HASH>..<HASH> 100644
--- a/jws/jwt.go
+++ b/jws/jwt.go
@@ -10,6 +10,7 @@ import (
// NewJWT creates a new JWT with the given claims.
func NewJWT(claims Claims, method crypto.SigningMethod) jwt.JWT {
j := New(claims, method).(*jws)
+ j.sb[0].protected.Set("typ", "JWT")
j... | jws: jwt.go - added "typ":"JWT" to protected header. |
diff --git a/nats.go b/nats.go
index <HASH>..<HASH> 100644
--- a/nats.go
+++ b/nats.go
@@ -265,7 +265,7 @@ type Conn struct {
urls map[string]struct{} // Keep track of all known URLs (used by processInfo)
bw *bufio.Writer
pending *bytes.Buffer
- fch chan bool
+ fch chan struct{}
info serverIn... | Use empty struct for signaling flusher |
diff --git a/libkbfs/kbfs_cr_test.go b/libkbfs/kbfs_cr_test.go
index <HASH>..<HASH> 100644
--- a/libkbfs/kbfs_cr_test.go
+++ b/libkbfs/kbfs_cr_test.go
@@ -331,12 +331,12 @@ func TestUnmergedAfterRestart(t *testing.T) {
select {
case <-c:
default:
- t.Fatalf("No update!")
+ t.Fatal("No update!")
}
select {
... | kbfs_cr_test: fix Fatal call, suggested by @akalin-keybase
Issue: #<I> |
diff --git a/lib/webhookr/engine.rb b/lib/webhookr/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/webhookr/engine.rb
+++ b/lib/webhookr/engine.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/kernel/singleton_class'
+
module Webhookr
class Engine < ::Rails::Engine
isolate_namespace Webhookr | Added include for compat with Ruby <I> |
diff --git a/pedant/decorators.py b/pedant/decorators.py
index <HASH>..<HASH> 100644
--- a/pedant/decorators.py
+++ b/pedant/decorators.py
@@ -37,6 +37,14 @@ def patch_string_if_invalid(new):
)
+def get_string_if_invalid():
+ if django.VERSION < (1, 8):
+ return settings.TEMPLATE_STRING_IF_INVALI... | Get value of invalid template string in version agnostic way. |
diff --git a/src/main/java/org/dasein/cloud/aws/AWSCloud.java b/src/main/java/org/dasein/cloud/aws/AWSCloud.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/aws/AWSCloud.java
+++ b/src/main/java/org/dasein/cloud/aws/AWSCloud.java
@@ -867,7 +867,7 @@ public class AWSCloud extends AbstractCloud {
... | Removed String toLower during signing process |
diff --git a/js/btcchina.js b/js/btcchina.js
index <HASH>..<HASH> 100644
--- a/js/btcchina.js
+++ b/js/btcchina.js
@@ -153,6 +153,7 @@ module.exports = class btcchina extends Exchange {
parseTicker (ticker, market) {
let timestamp = ticker['date'] * 1000;
+ let last = parseFloat (ticker['last']);... | restored btcchina close = last, added previousClose #<I> |
diff --git a/pkg/engine/events.go b/pkg/engine/events.go
index <HASH>..<HASH> 100644
--- a/pkg/engine/events.go
+++ b/pkg/engine/events.go
@@ -114,16 +114,23 @@ func makeEventEmitter(events chan<- Event, update Update) eventEmitter {
if !v.Secure() {
continue
}
+ secret, err := v.Value(target.Decrypter)
... | Only replace secret text if it is longer than 2 characters
This is inline with what Travis does. Otherwise, for very short
secrets our regex based approach will throw `[secret]` all over the
place. |
diff --git a/reference.go b/reference.go
index <HASH>..<HASH> 100644
--- a/reference.go
+++ b/reference.go
@@ -46,6 +46,16 @@ func New(jsonReferenceString string) (Ref, error) {
}
+// MustCreateRef parses the ref string and panics when it's invalid.
+// Use the New method for a version that returns an error
+func ... | refactor to use jsonreference.Ref |
diff --git a/core/src/test/java/com/orientechnologies/orient/core/record/impl/DefaultValueSerializationTest.java b/core/src/test/java/com/orientechnologies/orient/core/record/impl/DefaultValueSerializationTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/orientechnologies/orient/core/record/impl/Defaul... | attempt to fix assert with java8 |
diff --git a/buildozer/__init__.py b/buildozer/__init__.py
index <HASH>..<HASH> 100644
--- a/buildozer/__init__.py
+++ b/buildozer/__init__.py
@@ -6,7 +6,7 @@ Generic Python packager for Android / iOS. Desktop later.
'''
-__version__ = '0.36'
+__version__ = '0.37.dev0'
import os
import re | Bump to <I>.dev0 |
diff --git a/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.java b/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.java
index <HASH>..<HASH> 100644
--- a/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.java
+++ b/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.ja... | Remove comment from self-explanatory private constructor
PiperOrigin-RevId: <I> |
diff --git a/vcspull/repo/base.py b/vcspull/repo/base.py
index <HASH>..<HASH> 100644
--- a/vcspull/repo/base.py
+++ b/vcspull/repo/base.py
@@ -167,7 +167,7 @@ class BaseRepo(collections.MutableMapping, RepoLoggingAdapter):
mkdir_p(self['parent_dir'])
else:
if not os.path.exists(self['... | set check_destination log to debug |
diff --git a/examples/solvers/functional_basic_example_solver.py b/examples/solvers/functional_basic_example_solver.py
index <HASH>..<HASH> 100644
--- a/examples/solvers/functional_basic_example_solver.py
+++ b/examples/solvers/functional_basic_example_solver.py
@@ -40,7 +40,7 @@ n = 10
space = odl.rn(n)
# Create p... | BUG: fix minor bug in functional_basic_example_solvers |
diff --git a/lib/rib/runner.rb b/lib/rib/runner.rb
index <HASH>..<HASH> 100644
--- a/lib/rib/runner.rb
+++ b/lib/rib/runner.rb
@@ -4,7 +4,8 @@ require 'rib'
module Rib::Runner
module_function
def options
- [['-e, --eval LINE' ,
+ [['ruby options:', ''] ... | runner.rb: adding separation lines (ruby options and rib options) |
diff --git a/packages/blueprint-sequelize/app/services/sequelize.js b/packages/blueprint-sequelize/app/services/sequelize.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint-sequelize/app/services/sequelize.js
+++ b/packages/blueprint-sequelize/app/services/sequelize.js
@@ -190,7 +190,8 @@ module.exports = Service.... | fix: always cleared the database, even when false |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,19 @@
+import os
from distutils.core import setup
from setuptools import find_packages
-version = '1.1.7'
+version = '1.1.8'
long_description = """
With this package you can convert dicom images to nifti files.
... | MSMET-<I>:
Include testdata in installation |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ def readfile(filename):
setup(
name='Metatools',
- version='0.1',
+ version='0.1.1',
author='Kevin L. Mitchell',
author_email='klmitch@mit.edu',
url='http://github.com/klmitch/metato... | Bump the metatools version number. |
diff --git a/packages/mobx-little-router/src/scheduling/Scheduler.js b/packages/mobx-little-router/src/scheduling/Scheduler.js
index <HASH>..<HASH> 100644
--- a/packages/mobx-little-router/src/scheduling/Scheduler.js
+++ b/packages/mobx-little-router/src/scheduling/Scheduler.js
@@ -68,7 +68,7 @@ export default class Sc... | uses done flag in Scheduler for determining whether to cancel current navigation or not |
diff --git a/lib/rosemary/api.rb b/lib/rosemary/api.rb
index <HASH>..<HASH> 100644
--- a/lib/rosemary/api.rb
+++ b/lib/rosemary/api.rb
@@ -242,7 +242,7 @@ module Rosemary
content_type = Parser.format_from_mimetype(result.content_type)
parsed_response = Parser.call(result.body... | Wrap parsed object into block to work with latest httparty. |
diff --git a/src/utils/fs.js b/src/utils/fs.js
index <HASH>..<HASH> 100644
--- a/src/utils/fs.js
+++ b/src/utils/fs.js
@@ -1,10 +1,22 @@
import Promise from 'es6-promise/lib/es6-promise/promise';
import * as fs from 'fs';
-import { resolve } from './path';
+import { dirname } from './path';
+
+function mkdirpath ( pa... | make intermediate dirs in writeFile helper |
diff --git a/lib/Thelia/Controller/BaseController.php b/lib/Thelia/Controller/BaseController.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Controller/BaseController.php
+++ b/lib/Thelia/Controller/BaseController.php
@@ -320,13 +320,13 @@ abstract class BaseController extends ContainerAware
$e->g... | Moved the throw to the right place. |
diff --git a/src/components/_examples/bubble-chart/bubble-chart.js b/src/components/_examples/bubble-chart/bubble-chart.js
index <HASH>..<HASH> 100644
--- a/src/components/_examples/bubble-chart/bubble-chart.js
+++ b/src/components/_examples/bubble-chart/bubble-chart.js
@@ -115,6 +115,14 @@ define([
... | Help to find wrong dispatching of events |
diff --git a/xdot.py b/xdot.py
index <HASH>..<HASH> 100755
--- a/xdot.py
+++ b/xdot.py
@@ -1615,9 +1615,8 @@ class DotWidget(gtk.DrawingArea):
width = abs(x1 - x2)
height = abs(y1 - y2)
if width == 0 and height == 0:
- self.zoom_ratio /= 2
+ self.zoom_ratio *= self.ZOOM_... | Zoom instead.
Seems more consistent with Shift-drag. |
diff --git a/tests/Pagination/PaginatorAdapterTest.php b/tests/Pagination/PaginatorAdapterTest.php
index <HASH>..<HASH> 100644
--- a/tests/Pagination/PaginatorAdapterTest.php
+++ b/tests/Pagination/PaginatorAdapterTest.php
@@ -81,6 +81,13 @@ class PaginatorAdapterTest extends PHPUnit_Framework_TestCase
$metada... | table was null, causing a test failiure on PHP <I> |
diff --git a/web/concrete/src/Application/Application.php b/web/concrete/src/Application/Application.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Application/Application.php
+++ b/web/concrete/src/Application/Application.php
@@ -411,6 +411,7 @@ class Application extends Container
$url = Url::createFr... | Make running c5 on a non-standard port work
Former-commit-id: <I>eb<I>fc0ec<I>ae<I>f1c0b<I>cce<I>dc<I> |
diff --git a/library/Soliant/SimpleFM/Adapter.php b/library/Soliant/SimpleFM/Adapter.php
index <HASH>..<HASH> 100644
--- a/library/Soliant/SimpleFM/Adapter.php
+++ b/library/Soliant/SimpleFM/Adapter.php
@@ -306,7 +306,7 @@ class Adapter
return (boolean) $this->sslverifypeer;
}
- /**
+ /**
* @pa... | Allow for datetime objects when persisting |
diff --git a/orderer/common/cluster/comm_test.go b/orderer/common/cluster/comm_test.go
index <HASH>..<HASH> 100644
--- a/orderer/common/cluster/comm_test.go
+++ b/orderer/common/cluster/comm_test.go
@@ -1220,8 +1220,8 @@ func TestMetrics(t *testing.T) {
assert.NoError(t, err)
stream := assertEventualEstabli... | FAB-<I> Fix TestMetrics flake
Ensure that too many messages are actually
sent.
FAB-<I> #done
Change-Id: If<I>de<I>d<I>c1a6afe<I>d<I>eeccc<I>f<I>d3f2 |
diff --git a/gherkin/ruby/lib/gherkin/errors.rb b/gherkin/ruby/lib/gherkin/errors.rb
index <HASH>..<HASH> 100644
--- a/gherkin/ruby/lib/gherkin/errors.rb
+++ b/gherkin/ruby/lib/gherkin/errors.rb
@@ -1,6 +1,6 @@
module Gherkin
class ParserError < StandardError; end
- class AstNodeNotLocatedException < Exception; en... | AstNodeNotLocatedException now inherits from StandardError |
diff --git a/src/edeposit/amqp/aleph/export.py b/src/edeposit/amqp/aleph/export.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/aleph/export.py
+++ b/src/edeposit/amqp/aleph/export.py
@@ -30,8 +30,9 @@ import isbn_validator
from httpkie import Downloader
import settings
+from datastructures import Author
fr... | export.py: Imports splitted to own lines. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.