hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
a1d446b8e809f1e6488ce183ace93ab6693f827c | diff --git a/_pytest/python.py b/_pytest/python.py
index <HASH>..<HASH> 100644
--- a/_pytest/python.py
+++ b/_pytest/python.py
@@ -22,11 +22,16 @@ from _pytest.compat import (
getlocation, enum,
)
-cutdir2 = py.path.local(_pytest.__file__).dirpath()
cutdir1 = py.path.local(pluggy.__file__.rstrip("oc"))
+cutdir... | Display traceback from Import errors using pytest's short representation
Also omit pytest's own modules and internal libraries (py and pluggy) in low verbosity
Fix #<I> | pytest-dev_pytest | train |
34a5d7a4001fe08c26dd9951da586ba8509fea13 | diff --git a/topydo/commands/EditCommand.py b/topydo/commands/EditCommand.py
index <HASH>..<HASH> 100644
--- a/topydo/commands/EditCommand.py
+++ b/topydo/commands/EditCommand.py
@@ -118,7 +118,7 @@ class EditCommand(MultiCommand, ExpressionCommand):
return call([editor, archive]) == 0
... | Provide getter for the todos inside a view. | bram85_topydo | train |
733ae26837ffa470f18a46b548182f88e8473113 | diff --git a/lib/hooksUniversal.js b/lib/hooksUniversal.js
index <HASH>..<HASH> 100644
--- a/lib/hooksUniversal.js
+++ b/lib/hooksUniversal.js
@@ -36,7 +36,7 @@ module.exports = function(Sequelize) {
hierarchy.foreignKey = fieldName;
const primaryKey = hierarchy.primaryKey || model.primaryKeyAttribute;
i... | `uppercaseFirst` patch for Sequelize v5 | overlookmotel_sequelize-hierarchy | train |
da4837fd30ed2168019ff26214d021db17cb6d39 | diff --git a/src/org/jgroups/protocols/UNICAST.java b/src/org/jgroups/protocols/UNICAST.java
index <HASH>..<HASH> 100644
--- a/src/org/jgroups/protocols/UNICAST.java
+++ b/src/org/jgroups/protocols/UNICAST.java
@@ -32,7 +32,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* whenever a message is received: the n... | cannot drop message if conn-id == our conn-id: we might get multiple messages with conn-ids as a result of sending multiple RESEND_FIRST_SEQNO msgs | belaban_JGroups | train |
630f4cbf892a4c1cd6ef904cddbad31c6b87b46b | diff --git a/tests/test_queries.py b/tests/test_queries.py
index <HASH>..<HASH> 100644
--- a/tests/test_queries.py
+++ b/tests/test_queries.py
@@ -1032,6 +1032,11 @@ class TestCount(SingleCollectionTest):
yield self.coll.insert_many([{'x': 10}, {'x': 20}, {'x': 30}])
@defer.inlineCallbacks
+ def tear... | Fixed TestCount.test_hint test with MongoDB < <I> | twisted_txmongo | train |
e5f10b79578148500cf6139615f5a99a86aa4620 | diff --git a/lib/db_charmer/active_record/migration/multi_db_migrations.rb b/lib/db_charmer/active_record/migration/multi_db_migrations.rb
index <HASH>..<HASH> 100644
--- a/lib/db_charmer/active_record/migration/multi_db_migrations.rb
+++ b/lib/db_charmer/active_record/migration/multi_db_migrations.rb
@@ -2,14 +2,19 @@... | Rails <I> and <I> does not have ActiveSupport::Concern. | kovyrin_db-charmer | train |
65fc361eeceb195e126559e1eee6bc58dea67e0e | diff --git a/src/main/java/org/jboss/netty/handler/codec/http/CookieEncoder.java b/src/main/java/org/jboss/netty/handler/codec/http/CookieEncoder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/netty/handler/codec/http/CookieEncoder.java
+++ b/src/main/java/org/jboss/netty/handler/codec/http/CookieEncode... | * Fixed the bug in CookieEncoder if there are no cookie's set while
calling encode(). Without the fix, it ended up in calling the
exception "java.lang.StringIndexOutOfBoundsException".
* Also added test case to verify the patch
Change-Id: Ib<I>e<I>ab<I>be<I>ade7be<I>cceb<I>a<I> | netty_netty | train |
92863dfd4c0cf1ade0ea627fcd9922bd159b0c12 | diff --git a/src/Routing/ResourceRegistrar.php b/src/Routing/ResourceRegistrar.php
index <HASH>..<HASH> 100644
--- a/src/Routing/ResourceRegistrar.php
+++ b/src/Routing/ResourceRegistrar.php
@@ -7,6 +7,13 @@ use Illuminate\Routing\ResourceRegistrar as IlluminateResourceRegistrar;
class ResourceRegistrar extends Illumi... | Exclude 'create' and 'edit' from resource routes | dingo_api | train |
e2807ff4d8b19553aff5aea727e25cf94a76a4a7 | diff --git a/dataviews/ipython/widgets.py b/dataviews/ipython/widgets.py
index <HASH>..<HASH> 100644
--- a/dataviews/ipython/widgets.py
+++ b/dataviews/ipython/widgets.py
@@ -286,7 +286,7 @@ class ViewSelector(param.Parameterized):
"""
# Do nothing if dimension values are unchanged
- if all(v... | Minor fix to ViewSelector widget | pyviz_holoviews | train |
b43bebdefe6ad4884c11c20d22141e001ab7a6de | diff --git a/app/models/manager_refresh/inventory_collection/reference.rb b/app/models/manager_refresh/inventory_collection/reference.rb
index <HASH>..<HASH> 100644
--- a/app/models/manager_refresh/inventory_collection/reference.rb
+++ b/app/models/manager_refresh/inventory_collection/reference.rb
@@ -74,7 +74,7 @@ mod... | Add guard for full reference building.
Add guard for full reference building.
(transferred from ManageIQ/manageiq@ec4f<I>eec0c<I>b5f<I>f<I>bc<I>e<I>) | ManageIQ_inventory_refresh | train |
8e8d44c3d52aff640e0a1f1f9a0c3817e9edb6bd | diff --git a/rapidoid-http-client/src/main/java/org/rapidoid/http/HttpReq.java b/rapidoid-http-client/src/main/java/org/rapidoid/http/HttpReq.java
index <HASH>..<HASH> 100644
--- a/rapidoid-http-client/src/main/java/org/rapidoid/http/HttpReq.java
+++ b/rapidoid-http-client/src/main/java/org/rapidoid/http/HttpReq.java
@... | Convenient mapping of the HTTP client's result to a bean. | rapidoid_rapidoid | train |
5cbad803be42cf1cc4c2381cb88449e0ff7d7acc | diff --git a/lib/show_for/content.rb b/lib/show_for/content.rb
index <HASH>..<HASH> 100644
--- a/lib/show_for/content.rb
+++ b/lib/show_for/content.rb
@@ -5,10 +5,6 @@ module ShowFor
# cache value for apply_wrapper_options!
sample_value = value
- if value.blank? && value != false
- value = b... | Moves blank check to after content transformation to catch blank proc and block values | plataformatec_show_for | train |
79cb12454b73b61d4b81851ebd22330a443cca86 | diff --git a/src/brackets.js b/src/brackets.js
index <HASH>..<HASH> 100644
--- a/src/brackets.js
+++ b/src/brackets.js
@@ -172,12 +172,6 @@ define(function(require, exports, module) {
$("#menu-debug-wordwrap").click(function() {
editor.setOption("lineWrapping", !(editor.getOption("lineWrap... | Oops, forgot to remove the handlers as well. | adobe_brackets | train |
a843e8d7de6a01808fa85417b6e1f7d038c73d0c | diff --git a/src/main/java/com/j256/ormlite/stmt/QueryBuilder.java b/src/main/java/com/j256/ormlite/stmt/QueryBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/stmt/QueryBuilder.java
+++ b/src/main/java/com/j256/ormlite/stmt/QueryBuilder.java
@@ -98,7 +98,7 @@ public class QueryBuilder<T, ID... | Fixed problem with the query builder and caches | j256_ormlite-core | train |
17bc1c2671c909c4238a2508cb75cf4e5e243468 | diff --git a/api/cloudcontroller/ccv2/request.go b/api/cloudcontroller/ccv2/request.go
index <HASH>..<HASH> 100644
--- a/api/cloudcontroller/ccv2/request.go
+++ b/api/cloudcontroller/ccv2/request.go
@@ -62,5 +62,6 @@ func (client Client) newHTTPRequest(passedRequest requestOptions) (*cloudcontrol
request.Header.Set("... | fixed verbose logging wrapper to reset body after output
[finishes #<I>] | cloudfoundry_cli | train |
13edc1a19d87e8cf34331445e5889df2900301df | diff --git a/test/lal_verify.py b/test/lal_verify.py
index <HASH>..<HASH> 100644
--- a/test/lal_verify.py
+++ b/test/lal_verify.py
@@ -108,7 +108,7 @@ class test_LIGOTimeGPS(unittest.TestCase):
#"mod": (LIGOTimeGPS.__mod__, pylalLIGOTimeGPS.__mod__)
}
- for i in xrange(1000000):
+ for i in xrange(10000):
... | lal_verify: shorten the pylal arithmetic comparisons | gwastro_pycbc-glue | train |
4f957f116f4c67706bf8fdbaedc3e998161636ff | diff --git a/docs/realtime-database.rst b/docs/realtime-database.rst
index <HASH>..<HASH> 100644
--- a/docs/realtime-database.rst
+++ b/docs/realtime-database.rst
@@ -378,6 +378,34 @@ includes the sent request and the received response object:
}
+*****
+Rules
+*****
+
+Manage Firebase Realtime Database Rules t... | Get and set Firebase Rules (#<I>) | kreait_firebase-php | train |
cef04137b11006937e62dd5fa2051464118cb17d | diff --git a/src/server/lib/notifier.js b/src/server/lib/notifier.js
index <HASH>..<HASH> 100644
--- a/src/server/lib/notifier.js
+++ b/src/server/lib/notifier.js
@@ -11,7 +11,7 @@ var os = require('os');
var url = require('url');
var parser = require('./parser');
-var packageJson = require('../package.json');
+var... | Updated the path to the package.json file inside the server notifier | rollbar_rollbar.js | train |
cfa4cf1bfc1aa8b5684c1e02778ce302b4c68a31 | diff --git a/packages/ember/tests/reexports_test.js b/packages/ember/tests/reexports_test.js
index <HASH>..<HASH> 100644
--- a/packages/ember/tests/reexports_test.js
+++ b/packages/ember/tests/reexports_test.js
@@ -1,6 +1,6 @@
import Ember from 'ember';
+import { confirmExport } from 'internal-test-helpers';
import i... | Move `confirmExports` to shared internal-test-helpers. | emberjs_ember.js | train |
65e898f74bc77861bcd761d5f952dd3b534eb4a7 | diff --git a/src/expression.js b/src/expression.js
index <HASH>..<HASH> 100644
--- a/src/expression.js
+++ b/src/expression.js
@@ -721,6 +721,8 @@ var expression = {
var firstParent = stack.first(["Helper", "Call", "Hash", "Bracket"]);
if(firstParent.type === "Hash" && (firstParent.children && firstParent.chi... | Making bracket expression work in multi-arg helper | canjs_can-stache | train |
cfd22904d905de6b4f3b71796e26654acf091c7b | diff --git a/lib/persistence.js b/lib/persistence.js
index <HASH>..<HASH> 100644
--- a/lib/persistence.js
+++ b/lib/persistence.js
@@ -37,6 +37,8 @@ function persist(modelfunc, keyfield)
});
}
+ modelfunc.prototype.keyfield = keyfield;
+
_.assign(modelfunc, persist.statics);
_.assign(modelfunc.prototype, per... | Store the name of the primary key field in persisted object in their
`keyfield` property.
Added a unit test to verify this.
Bumped version number in preparation for release. | ceejbot_polyclay | train |
eb67ea379a1aa50a1dcae67c6c7d07c435e701a4 | diff --git a/yowsup/demos/sendclient/layer.py b/yowsup/demos/sendclient/layer.py
index <HASH>..<HASH> 100644
--- a/yowsup/demos/sendclient/layer.py
+++ b/yowsup/demos/sendclient/layer.py
@@ -1,9 +1,8 @@
from yowsup.layers.interface import YowInterfaceLayer, ProtocolEntityCallback
from yowsup... | Indicate that message was actually sent instead
Output "Message Sent" instead of just "Yowsdown"
Fixes #<I>, Fixes #<I> | tgalal_yowsup | train |
5e0d95b859465f50b40039d23db83ee0d16cc3f0 | diff --git a/azurerm/resource_arm_api_management_product.go b/azurerm/resource_arm_api_management_product.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_api_management_product.go
+++ b/azurerm/resource_arm_api_management_product.go
@@ -118,6 +118,8 @@ func resourceArmApiManagementProductCreateUpdate(d *schem... | Bug Fix: `azurerm_api_managment_product` - Additional validation for `approval_required` (#<I>) | terraform-providers_terraform-provider-azurerm | train |
8c52423a83a3d501c38cc81707a1675f4d296908 | diff --git a/src/Query/Sql/Select.php b/src/Query/Sql/Select.php
index <HASH>..<HASH> 100644
--- a/src/Query/Sql/Select.php
+++ b/src/Query/Sql/Select.php
@@ -85,6 +85,9 @@ class Select extends BaseSql
*/
public function fields($fields)
{
+ // we always have to reset the fields
+ $this->fi... | Fixed issue fields not resetting when object is given. | ClanCats_Hydrahon | train |
0e02aacf1f12e952b8dfe460f6bc4f89b479d693 | diff --git a/ykman/cli/oath.py b/ykman/cli/oath.py
index <HASH>..<HASH> 100644
--- a/ykman/cli/oath.py
+++ b/ykman/cli/oath.py
@@ -30,7 +30,8 @@ import click
from threading import Timer
from .util import (
click_force_option, click_skip_on_help,
- click_callback, click_parse_key, parse_key, parse_b32_key)
+ ... | Always assume OATH key is b<I> encoded | Yubico_yubikey-manager | train |
9dc7c4c5ad62c9d4c3d7f60fdec4a95211d8cf02 | diff --git a/airflow/operators/sensors.py b/airflow/operators/sensors.py
index <HASH>..<HASH> 100644
--- a/airflow/operators/sensors.py
+++ b/airflow/operators/sensors.py
@@ -87,7 +87,7 @@ class BaseSensorOperator(BaseOperator):
class SqlSensor(BaseSensorOperator):
"""
- Runs a sql statement until a criteria... | [AIRFLOW-<I>] Fix docstring of sqlsensor
Closes #<I> from mrkm4ntr/airflow-<I> | apache_airflow | train |
ac073b42fc2e1cab27981ceb26a58e963e4afb51 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -288,6 +288,7 @@ gulp.task('index_html_build', function() {
gulp.task('webserver', ['index_html_build', 'templates_build'], function() {
gulp.src(['src'])
.pipe(webserver({
+ host: '0.0.0.0',
... | bind host to <I> | mozilla_marketplace-gulp | train |
30b4a26672418e1086c443a9eef64e7feb86f8c5 | diff --git a/Listener/Log/LogListener.php b/Listener/Log/LogListener.php
index <HASH>..<HASH> 100644
--- a/Listener/Log/LogListener.php
+++ b/Listener/Log/LogListener.php
@@ -24,8 +24,6 @@ use Claroline\CoreBundle\Library\Configuration\PlatformConfigurationHandler;
use Symfony\Component\Security\Core\SecurityContextIn... | [CoreBundle] Removng notifications dependencies from corebundle | claroline_Distribution | train |
eb888686e4c63e057039e7a0594de13fe361316f | diff --git a/extension/ezjscore/classes/ezjscpacker.php b/extension/ezjscore/classes/ezjscpacker.php
index <HASH>..<HASH> 100644
--- a/extension/ezjscore/classes/ezjscpacker.php
+++ b/extension/ezjscore/classes/ezjscpacker.php
@@ -493,7 +493,7 @@ class ezjscPacker
*/
static function fixImgPaths( $fileContent... | CSS Compressing was ignoring @2x image path (#<I>)
image path like background-image: url('../images/<EMAIL>'); wasnt replaced during CSS Compressing | ezsystems_ezpublish-legacy | train |
014eefdd2a86cf7e6525ce0295edaf708012aba0 | diff --git a/codenerix/views.py b/codenerix/views.py
index <HASH>..<HASH> 100644
--- a/codenerix/views.py
+++ b/codenerix/views.py
@@ -365,7 +365,7 @@ def gen_auth_permission(user, action_permission, model_name, appname, permission
# 1_flights_pilot_add_list_pilotslist_planes
# NO DOESN'T HAVE PERMS... | SECRET KEY added to hash for MEMCACHE | codenerix_django-codenerix | train |
3634f68dc6526bceff35464322d5ada52f5da86d | diff --git a/annis-gui/src/main/java/annis/gui/ResultFetchThread.java b/annis-gui/src/main/java/annis/gui/ResultFetchThread.java
index <HASH>..<HASH> 100644
--- a/annis-gui/src/main/java/annis/gui/ResultFetchThread.java
+++ b/annis-gui/src/main/java/annis/gui/ResultFetchThread.java
@@ -304,6 +304,9 @@ class ResultFetch... | hide search progress indicator on error and don't put a "syntax error" before the error message since this is already contained | korpling_ANNIS | train |
df16e9d8f6cdfc2e138e86f3253b0ee9b2fdaa53 | diff --git a/Classes/Command/DeployCommandController.php b/Classes/Command/DeployCommandController.php
index <HASH>..<HASH> 100644
--- a/Classes/Command/DeployCommandController.php
+++ b/Classes/Command/DeployCommandController.php
@@ -35,6 +35,7 @@ class DeployCommandController extends \TYPO3\FLOW3\MVC\Controller\Comma... | [FEATURE] Return meaningful exit code
The deploy command now returns a meaningful exit code to the command
line. 0 for a successful run and > 0 for errors. | TYPO3_Surf | train |
f42aea17fb239271a7bdf31e41aaf13ba4c55e2b | diff --git a/lib/findJsModulesFor.js b/lib/findJsModulesFor.js
index <HASH>..<HASH> 100644
--- a/lib/findJsModulesFor.js
+++ b/lib/findJsModulesFor.js
@@ -114,9 +114,8 @@ export default function findJsModulesFor(
.then((modules: Array<JsModule>) => {
matchedModules.push(...modules);
- // If you... | Remove reference to lookup paths in code comment
I first wanted to remove some code here as I thought it was only valid
when multiple lookup paths were used. But after looking at the tests
around this I realized we were also solving the case when a file is
matched once through the file name and once through a package.... | Galooshi_import-js | train |
3bd559bbaa6bf298f389da289fa7e7f0f6705518 | diff --git a/js/models/messages.js b/js/models/messages.js
index <HASH>..<HASH> 100644
--- a/js/models/messages.js
+++ b/js/models/messages.js
@@ -3,29 +3,38 @@ var Whisper = Whisper || {};
(function () {
'use strict';
- var Message = Backbone.Model.extend();
+ var Message = Backbone.Model.extend({
+ toPro... | DRY up PushMessageContentProtobuf construction
Messages now know how to protobuf-ify themselves. | ForstaLabs_librelay-node | train |
2d221f94f9875edb400edafe2d372dff63b7a1af | diff --git a/cotyledon/__init__.py b/cotyledon/__init__.py
index <HASH>..<HASH> 100644
--- a/cotyledon/__init__.py
+++ b/cotyledon/__init__.py
@@ -24,6 +24,7 @@ import threading
import time
import setproctitle
+import six
LOG = logging.getLogger(__name__)
@@ -65,22 +66,8 @@ def _exit_on_exception():
_... | re-handles signal during service init
The previous implementation was not working as expected on py3 | sileht_cotyledon | train |
ab9988ca82d3fd762a298ff0b65192d01576335d | diff --git a/core/src/main/java/io/undertow/security/impl/SecurityContextImpl.java b/core/src/main/java/io/undertow/security/impl/SecurityContextImpl.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/security/impl/SecurityContextImpl.java
+++ b/core/src/main/java/io/undertow/security/impl/SecurityCo... | [UNDERTOW-<I>] Correction to spelling mistake on internal enumeration. | undertow-io_undertow | train |
051be8fe80e3b23286e905bb5439eb93cba12608 | diff --git a/pkg/scheduler/algorithm/predicates/utils.go b/pkg/scheduler/algorithm/predicates/utils.go
index <HASH>..<HASH> 100644
--- a/pkg/scheduler/algorithm/predicates/utils.go
+++ b/pkg/scheduler/algorithm/predicates/utils.go
@@ -77,13 +77,3 @@ func portsConflict(existingPorts schedulernodeinfo.HostPortInfo, wantP... | Cleanup SetPredicatesOrderingDuringTest due to deprecation of predicates | kubernetes_kubernetes | train |
720ba1c298bf91ab2fa2bf9ea7b8072606c63eb9 | diff --git a/lib/step.js b/lib/step.js
index <HASH>..<HASH> 100755
--- a/lib/step.js
+++ b/lib/step.js
@@ -121,7 +121,7 @@ function Step() {
};
// Start the engine an pass nothing to the first step.
- next([]);
+ next();
}
// Tack on leading and tailing steps for input and output and return | do not pass [] as arguments to first step
Usually one uses function(err) { if (err) throw err; /* ... */ } for
error propagation, but (!![]]) evaluates to true. | creationix_step | train |
05db34ca7a2d4d580c45444b62eb5cbb41e9bfa9 | diff --git a/lib/opal/parser.rb b/lib/opal/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/parser.rb
+++ b/lib/opal/parser.rb
@@ -1054,6 +1054,7 @@ module Opal
@scope.block_name = yielder
params = process args, :expr
+ stmt_code = "\n#@indent" + process(stmts, :stmt)
i... | Always process def bodies before handling block extraction from arguments | opal_opal | train |
6616421adddbb85bac35d53b9124dd5b4e2073f2 | diff --git a/app/rdev/applications/Application.php b/app/rdev/applications/Application.php
index <HASH>..<HASH> 100644
--- a/app/rdev/applications/Application.php
+++ b/app/rdev/applications/Application.php
@@ -99,25 +99,17 @@ class Application
*/
public function registerBootstrappers(array $bootstrapperClas... | Registering a bootstrapper now creates the bootstrapper and runs it all in a pre-start task | opulencephp_Opulence | train |
18b6c253ab64fc51c162b9a88f5f73367accb68c | diff --git a/pystache/view.py b/pystache/view.py
index <HASH>..<HASH> 100644
--- a/pystache/view.py
+++ b/pystache/view.py
@@ -52,24 +52,13 @@ class View(object):
locator = TemplateLocator()
- def __init__(self, context=None, partials=None):
+ def __init__(self, context=None):
"""
Const... | Removed the partials argument from the View constructor. | defunkt_pystache | train |
f4dfdb3fbdc05235baa2b0b94c01909adb60b90a | diff --git a/tests/kernel/src/CliKernelTest.php b/tests/kernel/src/CliKernelTest.php
index <HASH>..<HASH> 100644
--- a/tests/kernel/src/CliKernelTest.php
+++ b/tests/kernel/src/CliKernelTest.php
@@ -30,9 +30,9 @@ class CliKernelTest extends \PHPUnit_Framework_TestCase
public function testHello()
{
$t... | use $expect var declared in assert | auraphp_Aura.Cli_Kernel | train |
02bb1488eae23809f2edcd4aa67ea98c272bfb31 | diff --git a/tests/test_manager_graph.py b/tests/test_manager_graph.py
index <HASH>..<HASH> 100644
--- a/tests/test_manager_graph.py
+++ b/tests/test_manager_graph.py
@@ -443,7 +443,7 @@ class TestEdgeStore(TemporaryCacheClsMixin, BelReconstitutionMixin):
# @mock_bel_resources
# def test_get_or_create_modific... | Refactor test
switch string for constant for proteins | pybel_pybel | train |
326a68e61df2011933eacc3b58ce910ca81a5343 | diff --git a/dbentity.js b/dbentity.js
index <HASH>..<HASH> 100644
--- a/dbentity.js
+++ b/dbentity.js
@@ -686,12 +686,13 @@ DbEntity.prototype._appendOrderByAndLimit = function(sql, opts){
}
}
if(orderBy === ''){
- sql+=' ORDER BY ';
-
var pks = _.filter(self.metadata, {pk: true});
- for(var i=0;... | Fixed issue with order by clause generation when table/view has no PK. | apigrate_mysqlutils | train |
07db07fceee281d748fd66ef22e581041f4e50c0 | diff --git a/stories/index.stories.js b/stories/index.stories.js
index <HASH>..<HASH> 100644
--- a/stories/index.stories.js
+++ b/stories/index.stories.js
@@ -12,7 +12,7 @@ import Button from '../src/components/atoms/Button';
import Footer from '../src/components/organisms/Footer';
storiesOf('Welcome', module).add(... | DP-<I>: Switches Button and Footer to use Atoms and Molecules directories. | massgov_mayflower | train |
55d6e0de1a3c3cce4c0f05b7d4be101aa5fe74aa | diff --git a/spec/api-session-spec.js b/spec/api-session-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-session-spec.js
+++ b/spec/api-session-spec.js
@@ -239,9 +239,10 @@ describe('session module', function () {
res.end(mockPDF)
downloadServer.close()
})
- var assertDownload = function (event... | Assert save path of download item | electron_electron | train |
68ab0bcff935629afa59339238dca090ed5e87de | diff --git a/lib/demolisher.rb b/lib/demolisher.rb
index <HASH>..<HASH> 100644
--- a/lib/demolisher.rb
+++ b/lib/demolisher.rb
@@ -1,24 +1,29 @@
-require 'xml'
+require 'libxml'
+require 'nokogiri'
+require 'nokogiri/xml'
module Demolisher
# Demolish an XML file or XML::Parser object.
- def self.demolish(file_or... | Replace LibXML with Nokogiri. Tests passing. | geoffgarside_demolisher | train |
2f85befa44158371f7dd50d4b69ab9066d45cd6f | diff --git a/Classes/Core/Booting/RunLevel.php b/Classes/Core/Booting/RunLevel.php
index <HASH>..<HASH> 100644
--- a/Classes/Core/Booting/RunLevel.php
+++ b/Classes/Core/Booting/RunLevel.php
@@ -269,7 +269,10 @@ class RunLevel
$availableRunlevel = $this->getMaximumAvailableRunLevel();
$isAvailable = t... | [BUGFIX] Do not show cache:flush when T3 not installed (#<I>)
cache:flush command needs to be in low runlevel
to not load extension files before clearing caches.
However it is also not useful when TYPO3 is not installed yet.
Thus we just hide it until we have a nicer bootstrap,
TYPO3 does not need extension cach... | TYPO3-Console_TYPO3-Console | train |
ef9039e7ac6231e5aad2ba806fb388b05232de63 | diff --git a/pmml-evaluator-example/src/main/java/org/jpmml/evaluator/EnhancementExample.java b/pmml-evaluator-example/src/main/java/org/jpmml/evaluator/EnhancementExample.java
index <HASH>..<HASH> 100644
--- a/pmml-evaluator-example/src/main/java/org/jpmml/evaluator/EnhancementExample.java
+++ b/pmml-evaluator-example... | Unified the loading of CSV files between example applications | jpmml_jpmml-evaluator | train |
d6841e6d9d75eccff3f43d63aba3de5ccbad8b20 | diff --git a/src/ol/style/atlasmanager.js b/src/ol/style/atlasmanager.js
index <HASH>..<HASH> 100644
--- a/src/ol/style/atlasmanager.js
+++ b/src/ol/style/atlasmanager.js
@@ -30,7 +30,7 @@ ol.style.AtlasManagerInfo;
* atlas. After that, when new atlases are created, they will have
* twice the size as the latest atl... | Fix tests for when not run with WebGL support | openlayers_openlayers | train |
552dc4153a17b22117a5c5a026bf08d50a5a9951 | diff --git a/src/main/java/org/boon/Str.java b/src/main/java/org/boon/Str.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/boon/Str.java
+++ b/src/main/java/org/boon/Str.java
@@ -33,6 +33,8 @@ import org.boon.primitive.CharBuf;
import org.boon.primitive.CharScanner;
import org.boon.primitive.Chr;
+import ja... | Fixed issue with querying a index field and a non index field | boonproject_boon | train |
7fd17496a8b840d6f51dfdc639a8310ec8efa36e | diff --git a/release.py b/release.py
index <HASH>..<HASH> 100644
--- a/release.py
+++ b/release.py
@@ -69,7 +69,7 @@ def git(command):
def git_commit(new_version):
git('rm NEWS.d/*')
git('add CHANGELOG.rst')
- git('add mock/mock.py')
+ git('add mock/__init__.py')
git(f'commit -m "Preparing for {ne... | bug fix on committing changed version file | testing-cabal_mock | train |
6a15e0a9c2068e7632f7db2994184debb1dfa317 | diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go
index <HASH>..<HASH> 100644
--- a/test/e2e/framework/framework.go
+++ b/test/e2e/framework/framework.go
@@ -668,6 +668,9 @@ func (cl *ClusterVerification) WaitForOrFail(atLeast int, timeout time.Duration)
func (cl *ClusterVerification) ForE... | e2e: make ForEach fail if filter is empty, fix no-op tests | kubernetes_kubernetes | train |
4a3f6667f205afcb5020338e716690877bc0354c | diff --git a/lib/ztk/profiler/private.rb b/lib/ztk/profiler/private.rb
index <HASH>..<HASH> 100644
--- a/lib/ztk/profiler/private.rb
+++ b/lib/ztk/profiler/private.rb
@@ -5,6 +5,8 @@ module ZTK
module Private
def report_timers(options={}, parent=nil, depth=0)
+ return false if (Timer.count == 0)
+
... | do not report if we do not have timers to report on | zpatten_ztk | train |
82f084a6322dfedd96c930723b64285305768d4c | diff --git a/pymongo/cursor.py b/pymongo/cursor.py
index <HASH>..<HASH> 100644
--- a/pymongo/cursor.py
+++ b/pymongo/cursor.py
@@ -26,7 +26,9 @@ _QUERY_OPTIONS = {
"slave_okay": 4,
"oplog_replay": 8,
"no_timeout": 16,
- "await_data": 32}
+ "await_data": 32,
+ "exhaust": 64,
+ "partial": 128}
... | Support the 'partial' flag in cursors.
By default queries to a sharded database fail
if one of the shards is down. Setting the partial
flag tells mongos to return as much of the result
set as it can using the shards that are currently
available. | mongodb_mongo-python-driver | train |
31cc3c3ee82bbac073fb516d3333621156e9871d | diff --git a/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java b/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java
+++ b/core/src/main/java/net/cpollet/jixture/fixtures/Fixture.java
@@ -22,7 +22,7 @@ imp... | Reverted Fixture hierarchy (temp) | cpollet_jixture | train |
481b811ecba96fbfbf2949237f91828917792d57 | diff --git a/src/lib/markbind/src/parser.js b/src/lib/markbind/src/parser.js
index <HASH>..<HASH> 100644
--- a/src/lib/markbind/src/parser.js
+++ b/src/lib/markbind/src/parser.js
@@ -295,7 +295,9 @@ class Parser {
if ((/^h[1-6]$/).test(node.name) && !node.attribs.id) {
const textContent = utils.getTextCon... | Fix hrefs for headings with angular brackets (#<I>)
```
The hrefs of headings with angular brackets are incorrect because
markdown-it escapes the characters to "<" and ">" and the
subsequent slugify operation converts it to "and-lt" or "and-gt".
Let's fix this by removing the occurrences of the strings
"... | MarkBind_markbind | train |
83154866dbf8464a310e3575d161d05f15c9fb4b | diff --git a/src/com/google/javascript/jscomp/NodeUtil.java b/src/com/google/javascript/jscomp/NodeUtil.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/NodeUtil.java
+++ b/src/com/google/javascript/jscomp/NodeUtil.java
@@ -2543,14 +2543,18 @@ public final class NodeUtil {
}
};
+ stati... | Make sure we never create a scope rooted at a node which can't be a scope root.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
b3a21c3a8ab6597a35b41a569e4ad33674e5ab37 | diff --git a/apps/bolt-site/.boltrc.js b/apps/bolt-site/.boltrc.js
index <HASH>..<HASH> 100644
--- a/apps/bolt-site/.boltrc.js
+++ b/apps/bolt-site/.boltrc.js
@@ -1,8 +1,6 @@
module.exports = {
// Environmental variable / preset to use
- lang: [
- 'en',
- ],
+ lang: ['en'],
env: 'static',
buildDir: '../... | fix: fix broken CSS and JS paths on the bolt-docs site; update to reference @bolt/assets Twig namespace that's now getting defined in the bolt-site .boltrc config | bolt-design-system_bolt | train |
330276c68443a54a1166c545b25d04deb42b87c4 | diff --git a/View/ViewHandler.php b/View/ViewHandler.php
index <HASH>..<HASH> 100644
--- a/View/ViewHandler.php
+++ b/View/ViewHandler.php
@@ -247,7 +247,7 @@ class ViewHandler implements ConfigurableViewHandlerInterface
}
$statusCode = $view->getStatusCode();
- if (!empty($statusCode)) {
+ ... | check directly against null (View::statusCode is an integer of null by default) | FriendsOfSymfony_FOSRestBundle | train |
95a8bdab4b4fbc57e05148a5c829d3410eb6fb08 | diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/datasource/pool/creator/impl/AbstractDataSourcePoolCreator.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/datasource/pool/creator/impl/Abstract... | Refactor AbstractDataSourcePoolCreator (#<I>) | apache_incubator-shardingsphere | train |
ca47066df68bcdcfa1c86649e93338d641f50ee9 | diff --git a/lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php b/lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php
+++ b/lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php
@@ -102,4 +102,9 @@ class MappingException extends \Excep... | (re)Added mapping exception for overriding referenceable | doctrine_phpcr-odm | train |
e58d09215f1ba1ea23a785dffe6bde484646ca2a | diff --git a/spyder/plugins/variableexplorer/widgets/objectexplorer/tree_model.py b/spyder/plugins/variableexplorer/widgets/objectexplorer/tree_model.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/variableexplorer/widgets/objectexplorer/tree_model.py
+++ b/spyder/plugins/variableexplorer/widgets/objectexplorer/tre... | Object Explorer: Handle errors while fetching object's attributes | spyder-ide_spyder | train |
2869b3e953ffee9243dbf1f1837b355c06e9fca8 | diff --git a/go/vt/vtgate/engine/limit.go b/go/vt/vtgate/engine/limit.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtgate/engine/limit.go
+++ b/go/vt/vtgate/engine/limit.go
@@ -99,7 +99,9 @@ func (l *Limit) StreamExecute(vcursor VCursor, bindVars map[string]*querypb.Bind
return err
}
- bindVars["__upper_limit"] = ... | pass limit+offset to each shard to have enough records to work on offset inmemory | vitessio_vitess | train |
b28fc1cd2046eb4e3f07a43feaf0bf546fe99d90 | diff --git a/dag/set.go b/dag/set.go
index <HASH>..<HASH> 100644
--- a/dag/set.go
+++ b/dag/set.go
@@ -81,6 +81,20 @@ func (s *Set) Difference(other *Set) *Set {
return result
}
+// Filter returns a set that contains the elements from the receiver
+// where the given callback returns true.
+func (s *Set) Filter(cb... | dag: method for filtering a set on arbitrary criteria | hashicorp_terraform | train |
ade5c7c5bf0e6947f377d2b947b4d032be9b77cd | diff --git a/packages/wdio-sauce-service/README.md b/packages/wdio-sauce-service/README.md
index <HASH>..<HASH> 100644
--- a/packages/wdio-sauce-service/README.md
+++ b/packages/wdio-sauce-service/README.md
@@ -77,3 +77,9 @@ Type: `Object`<br>
Default: `{}`
*(only for vm and or em/simulators)*
+
+### scRelay
+Use S... | Add scRelay flag to not use SC as a Selenium Relay by default (#<I>)
Prior to this change, SC as a Selenium Relay was always used if sauceConnect was set to true.
This change makes it possible to use the OnDemand endpoint and starting SC with webdriverio | webdriverio_webdriverio | train |
6de0c5f4feb314c8e0b83b73f7e70158b4c929d5 | diff --git a/src/AclServiceProvider.php b/src/AclServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/AclServiceProvider.php
+++ b/src/AclServiceProvider.php
@@ -4,6 +4,7 @@ namespace Yajra\Acl;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServicePr... | Add support for manually defined policy class. | yajra_laravel-acl | train |
6deb0813d0cac785e296930bf1993c9d0105d305 | diff --git a/cache/stores/mongodb/addinstanceform.php b/cache/stores/mongodb/addinstanceform.php
index <HASH>..<HASH> 100644
--- a/cache/stores/mongodb/addinstanceform.php
+++ b/cache/stores/mongodb/addinstanceform.php
@@ -48,8 +48,13 @@ class cachestore_mongodb_addinstance_form extends cachestore_addinstance_form {
... | MDL-<I> cachestore_mongodb: added notification of old Mongo version use | moodle_moodle | train |
ee84c11cb8a682321ac235a6fb24c3d99e1fcb71 | diff --git a/src/main/java/org/hibernate/cache/infinispan/timestamp/TimestampsRegionImpl.java b/src/main/java/org/hibernate/cache/infinispan/timestamp/TimestampsRegionImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/hibernate/cache/infinispan/timestamp/TimestampsRegionImpl.java
+++ b/src/main/java/org/hibe... | HHH-<I> - Apply skip cache load optimization to timestamp updates | infinispan_infinispan | train |
e2344ec56d95e32c22a0f1ff06c4dccaa481f54a | diff --git a/AlphaTwirl/AlphaTwirl.py b/AlphaTwirl/AlphaTwirl.py
index <HASH>..<HASH> 100644
--- a/AlphaTwirl/AlphaTwirl.py
+++ b/AlphaTwirl/AlphaTwirl.py
@@ -143,6 +143,9 @@ class AlphaTwirl(object):
self.cfg = config if config is not None else config_default.copy()
+ self.progressMonitor, self.com... | start progressMonitor and communicationChannel in __init__ instead of _build | alphatwirl_alphatwirl | train |
600dd85125bea00c159955ce0d5eaa0cbec80b81 | diff --git a/webgl4j/src/main/java/com/shc/webgl4j/client/WebGL10.java b/webgl4j/src/main/java/com/shc/webgl4j/client/WebGL10.java
index <HASH>..<HASH> 100644
--- a/webgl4j/src/main/java/com/shc/webgl4j/client/WebGL10.java
+++ b/webgl4j/src/main/java/com/shc/webgl4j/client/WebGL10.java
@@ -762,6 +762,37 @@ public final... | Added missing glBufferData overload that allows passing size with no data | sriharshachilakapati_WebGL4J | train |
ac4e21ccd5b975a0a9385c2ec8f456ee4d1645d9 | diff --git a/lib/custom/setup/default/schema/customer.php b/lib/custom/setup/default/schema/customer.php
index <HASH>..<HASH> 100644
--- a/lib/custom/setup/default/schema/customer.php
+++ b/lib/custom/setup/default/schema/customer.php
@@ -64,6 +64,7 @@ return array(
'users_address' => function( \Doctrine\DBAL\Schema... | Enforce InnoDB engine for MySQL regardless of default setting | aimeos_ai-laravel | train |
d77d997a482c6a8918119658970c7e8bb1c49496 | diff --git a/code/fields/KeyValueField.php b/code/fields/KeyValueField.php
index <HASH>..<HASH> 100644
--- a/code/fields/KeyValueField.php
+++ b/code/fields/KeyValueField.php
@@ -30,7 +30,7 @@ class KeyValueField extends MultiValueTextField {
$fieldAttr = array(
'class' => 'mventryfield mvkeyvalReadonly '... | MINOR: Fixed incorrect variable reference. | symbiote_silverstripe-multivaluefield | train |
c504fcfdf0bb1ab4ab2349b889b61ac7d9c0cc13 | diff --git a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
@@ -1865,7 +1865,6 @@ class HtmlHelperTest extends CakeTestCase {... | I'm a tool, fix test and remove debug(). | cakephp_cakephp | train |
3dc7b5a19051afde94102ee9eb5bdbf30a54b6ca | diff --git a/ck/kernel.py b/ck/kernel.py
index <HASH>..<HASH> 100644
--- a/ck/kernel.py
+++ b/ck/kernel.py
@@ -30,6 +30,8 @@ cfg={
"ck_web":"https://github.com/ctuning/ck",
"ck_web_wiki":"https://github.com/ctuning/ck/wiki",
+ "default_shared_repo_url":"https://github.com/ctuning",
+
"defaul... | adding default URL to get shared repositories (to be able to change ctuning to workgroup git) ... | ctuning_ck | train |
92f983901061513957bf2d5c6ef905348cf7056c | diff --git a/great_expectations/dataset/base.py b/great_expectations/dataset/base.py
index <HASH>..<HASH> 100644
--- a/great_expectations/dataset/base.py
+++ b/great_expectations/dataset/base.py
@@ -1935,10 +1935,6 @@ If you wish to change this behavior, please set discard_failed_expectations, dis
:ref:`in... | Reverse order of Notes for column_aggregate_expectations | great-expectations_great_expectations | train |
cba5cfa0cdceb5e6172c911ed8dde476eb09e684 | diff --git a/cmd/jujud/agent/machine/manifolds.go b/cmd/jujud/agent/machine/manifolds.go
index <HASH>..<HASH> 100644
--- a/cmd/jujud/agent/machine/manifolds.go
+++ b/cmd/jujud/agent/machine/manifolds.go
@@ -942,6 +942,7 @@ func IAASManifolds(config ManifoldsConfig) dependency.Manifolds {
AgentName: agentName,
... | Fix the issue of covariance of tracker function | juju_juju | train |
75d62edf099c691f3eeec5225c9fcf2a8b9057f0 | diff --git a/pipenv/help.py b/pipenv/help.py
index <HASH>..<HASH> 100644
--- a/pipenv/help.py
+++ b/pipenv/help.py
@@ -11,13 +11,13 @@ from .pep508checker import lookup
def main():
print('Pipenv version: `{0!r}`'.format(__version__))
- print()
+ print('')
print('Pipenv location: `{0!r}`'.format(os.pa... | next version of help, with prettier <I> output | pypa_pipenv | train |
89114b5c9a9849e9cd51113ee74d1c756ca697d4 | diff --git a/src/main/java/com/xebia/incubator/xebium/SeleniumDriverFixture.java b/src/main/java/com/xebia/incubator/xebium/SeleniumDriverFixture.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/xebia/incubator/xebium/SeleniumDriverFixture.java
+++ b/src/main/java/com/xebia/incubator/xebium/SeleniumDriverFixtur... | Refactor: clean up executeDoCommand | xebia_Xebium | train |
21c61270f8a2031a15de9e40c4b430509704d5aa | diff --git a/src/Hamlet/Database/Processing/Processor.php b/src/Hamlet/Database/Processing/Processor.php
index <HASH>..<HASH> 100644
--- a/src/Hamlet/Database/Processing/Processor.php
+++ b/src/Hamlet/Database/Processing/Processor.php
@@ -124,6 +124,15 @@ class Processor extends Collector
return $records;
... | adding collect to assoc back | vasily-kartashov_hamlet-core | train |
df3366d910c2b1ddab986264bc186ca79ba65c4e | diff --git a/ethutil/rlp.go b/ethutil/rlp.go
index <HASH>..<HASH> 100644
--- a/ethutil/rlp.go
+++ b/ethutil/rlp.go
@@ -2,7 +2,6 @@ package ethutil
import (
"bytes"
- "encoding/binary"
"fmt"
"math/big"
"reflect"
@@ -193,8 +192,13 @@ func Encode(object interface{}) []byte {
if blen < 56 {
buff.Write... | Rlp shouldn't write null bytes | ethereum_go-ethereum | train |
b841248474331481eafb0403774e23eb3920f32f | diff --git a/ads/__init__.py b/ads/__init__.py
index <HASH>..<HASH> 100644
--- a/ads/__init__.py
+++ b/ads/__init__.py
@@ -3,6 +3,6 @@
""" A Python tool for interacting with NASA's ADS system. """
__author__ = "Andy Casey <andy@astrowizici.st>"
-__version__ = "0.0.802"
+__version__ = "0.0.803"
from core import s... | Removed unnecessary? and lengthy text search in stromlo examples | andycasey_ads | train |
d3e7c59115da36b2a5ebac34ab95a9f587c01afd | diff --git a/core/src/main/java/tachyon/worker/hierarchy/StorageDir.java b/core/src/main/java/tachyon/worker/hierarchy/StorageDir.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/tachyon/worker/hierarchy/StorageDir.java
+++ b/core/src/main/java/tachyon/worker/hierarchy/StorageDir.java
@@ -272,7 +272,7 @@ publi... | delete ufsConf when getting BlockHandler | Alluxio_alluxio | train |
aafbbdf751d114e955c5ee462a31b8c7e348a3d0 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -25,6 +25,8 @@ var eslint = require('gulp-eslint');
var watchify = require('watchify');
//var rename = require('gulp-rename');
+var VERSION = '0.0.3';
+
var target = 'examples/**/*.js';
// Clea... | add version in gulpfile, which should be managing everything from there | FNNDSC_ami | train |
11ec0b256b0ce1c9a1c4954770fc0cfb873a8f34 | diff --git a/commands/weather.py b/commands/weather.py
index <HASH>..<HASH> 100644
--- a/commands/weather.py
+++ b/commands/weather.py
@@ -68,9 +68,10 @@ def get_weather(msg, send, apikey):
return False
forecastdata = forecastdata['forecast']['simpleforecast']['forecastday'][0]
send("Current ... | Add feels-like temperature to output, fixes issue #<I> | tjcsl_cslbot | train |
361485a5d4f27ed8ca371b2e29451160806ee04a | diff --git a/www/src/js_objects.js b/www/src/js_objects.js
index <HASH>..<HASH> 100644
--- a/www/src/js_objects.js
+++ b/www/src/js_objects.js
@@ -246,6 +246,7 @@ var pyobj2jsobj = $B.pyobj2jsobj = function(pyobj){
if(arguments[i] === undefined){args.push(_b_.None)}
else{args.p... | Change implementation of JSMeta.__new__ (used to handle JS classes) | brython-dev_brython | train |
44a0a04f5b79062c0fa13ba43d2e023233dd579f | diff --git a/geomet/tests/wkt_test.py b/geomet/tests/wkt_test.py
index <HASH>..<HASH> 100644
--- a/geomet/tests/wkt_test.py
+++ b/geomet/tests/wkt_test.py
@@ -162,13 +162,12 @@ class PolygonDumpsTestCase(unittest.TestCase):
])
expected = (
'POLYGON ((100.0010 0.0010, 101.1235 0.0010, 101.... | tests/wkt_test:
PEP8 style fixes. | geomet_geomet | train |
2c642c8fbf8d066d31f369a913e51b8b8d9c236c | diff --git a/worker/instancemutater/mocks/instancebroker_mock.go b/worker/instancemutater/mocks/instancebroker_mock.go
index <HASH>..<HASH> 100644
--- a/worker/instancemutater/mocks/instancebroker_mock.go
+++ b/worker/instancemutater/mocks/instancebroker_mock.go
@@ -48,15 +48,15 @@ func (mr *MockInstanceMutaterAPIMockR... | Exchange WatchModelMachines for WatchMachines | juju_juju | train |
658ea0bf6242059237f21b9929466cf35e2b799f | diff --git a/zone.go b/zone.go
index <HASH>..<HASH> 100644
--- a/zone.go
+++ b/zone.go
@@ -268,6 +268,18 @@ type newZone struct {
Account *Account `json:"organization,omitempty"`
}
+// FallbackOrigin describes a fallback origin
+type FallbackOrigin struct {
+ Value string `json:"value"`
+ ID string `json:"id,om... | Support setting fallback origin on a zone (#<I>)
* Support setting fallback origin on a zone | cloudflare_cloudflare-go | train |
58a479b65ab49f308a06d09263472f402cc5aff1 | diff --git a/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py b/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py
index <HASH>..<HASH> 100644
--- a/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py
+++ b/python_modules/libraries/dagster-aws/dagster_aws/cli/cli.py
@@ -443,7 +443,7 @@ def i... | [dagster-aws] Increase timeout on dagster-aws info CLI command
Summary: I think this is responsible for `dagster-aws info` sometimes reporting an instance as down, when the response takes longer than <I>ms.
Test Plan: manually tested
Reviewers: #ft, natekupp
Differential Revision: <URL> | dagster-io_dagster | train |
404c163d198d65895e6dff9f2c62c798601e1d0c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -7,9 +7,9 @@ var fs = require('fs'),
helpers = require('./lib/helpers'),
dateformat = require('./lib/dateformat'),
- _ = require('underscore'),
+ _ = require('underscore');
- config = {
+var config = {
... | separate requires from local file vars
closes #<I> | Thunf_swiger | train |
e4b300d6355941da103cde30dc1966020917d91b | diff --git a/salt/cli/__init__.py b/salt/cli/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/cli/__init__.py
+++ b/salt/cli/__init__.py
@@ -5,6 +5,7 @@ The management of salt command line utilities are stored in here
import optparse
import os
import sys
+import yaml
# Import salt components
import salt.client... | printed output is a mess, now it should be yaml! | saltstack_salt | train |
6e4ab415ba617f04bad100fd9cd908019be4801d | diff --git a/great_expectations/version.py b/great_expectations/version.py
index <HASH>..<HASH> 100644
--- a/great_expectations/version.py
+++ b/great_expectations/version.py
@@ -1 +1 @@
-__version__ = "0.4.1"
+__version__ = "0.4.1__develop" | Update version for develop branch after release. | great-expectations_great_expectations | train |
fc6edcb259328ab0d79cbc545fb12fa8353869ba | diff --git a/middlewares/attributes.js b/middlewares/attributes.js
index <HASH>..<HASH> 100644
--- a/middlewares/attributes.js
+++ b/middlewares/attributes.js
@@ -67,7 +67,7 @@ function processAttributesWithoutHandler (elem) {
}
function defaultHandler (elem, name, expression) {
- const value = expression()
+ con... | perf(compile): remove unnecessary function creation from compile code and expression | nx-js_framework | train |
edb2de1ede431290dba827ebd8d9fcce85af5662 | diff --git a/generator/lib/behavior/SoftDeleteBehavior.php b/generator/lib/behavior/SoftDeleteBehavior.php
index <HASH>..<HASH> 100644
--- a/generator/lib/behavior/SoftDeleteBehavior.php
+++ b/generator/lib/behavior/SoftDeleteBehavior.php
@@ -59,7 +59,7 @@ class SoftDeleteBehavior extends Behavior
public function pr... | [<I>] made soft_delete skip not deleted records (refs #<I>) | propelorm_Propel | train |
d69a46528ef708065f7a2ccb8744bd06518a5be1 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -25,6 +25,15 @@ function applyMappings(mappings) {
}
}
+function getFilesList(files, typeToExclude, isExclude) {
+ return _(files)
+ [isExclude ? 'where' : 'reject']({ type: typeToExclude })
+ .plu... | Get the exclude list for Karma and the Tests list for Wallaby using the same lists mapping as for the files. Since they are the same, everything is refactored into a helper function. | fvanwijk_testRunnerConfig | train |
ec7f2508bf597159bf2d451b403a1e59f5981715 | diff --git a/dimod/constrained.py b/dimod/constrained.py
index <HASH>..<HASH> 100644
--- a/dimod/constrained.py
+++ b/dimod/constrained.py
@@ -886,7 +886,7 @@ class ConstrainedQuadraticModel:
if len(oe) == 2:
if oe.name != "":
# linear term
- ... | handled binary quadratic case and multiple appearences in LP files | dwavesystems_dimod | train |
ac00f44316a0dbaca513dbdc9f2d09e8d9c5e5e8 | diff --git a/src/Contracts/HttpRequestContract.php b/src/Contracts/HttpRequestContract.php
index <HASH>..<HASH> 100644
--- a/src/Contracts/HttpRequestContract.php
+++ b/src/Contracts/HttpRequestContract.php
@@ -61,6 +61,13 @@ interface HttpRequestContract
public function getHeader(string $headerName);
/**
+ * Ge... | make sending http requests via guzzle almost work | CalderaWP_caldera-interop | train |
f01eedfb6a1e7f3ed744d15af4acd762016930f3 | diff --git a/src/components/tracked-controls.js b/src/components/tracked-controls.js
index <HASH>..<HASH> 100644
--- a/src/components/tracked-controls.js
+++ b/src/components/tracked-controls.js
@@ -43,8 +43,10 @@ module.exports.Component = registerComponent('tracked-controls', {
var controllerEuler = new THREE.Eu... | Trackedcontrols 'position' support (#<I>) | aframevr_aframe | train |
9abe6dc548c0fb5d19f96d39ca7a26205a9665f9 | diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/feature/Genotype.java b/biodata-models/src/main/java/org/opencb/biodata/models/feature/Genotype.java
index <HASH>..<HASH> 100644
--- a/biodata-models/src/main/java/org/opencb/biodata/models/feature/Genotype.java
+++ b/biodata-models/src/main/java/org/o... | model: add isAllelesRef call to genotype - in case for all reference | opencb_biodata | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.