hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
10bfd3fbfee69be3ac81b27f3d1f7c59ef3ebbe5 | diff --git a/modules/text/text.js b/modules/text/text.js
index <HASH>..<HASH> 100644
--- a/modules/text/text.js
+++ b/modules/text/text.js
@@ -17,9 +17,11 @@ export default class Text extends Component {
*/
constructor (position, text, options) {
super(position, options);
+
/**
- * ... | Allow for multi-line text
fix #9 | pencil-js_pencil.js | train |
1fb7286776f57bcc2d8f56ad26a9ae9c1f2330e1 | diff --git a/src/org/opencms/validation/CmsHtmlLinkValidator.java b/src/org/opencms/validation/CmsHtmlLinkValidator.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/validation/CmsHtmlLinkValidator.java
+++ b/src/org/opencms/validation/CmsHtmlLinkValidator.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cv... | Bugfix for the correct resource type detection to invoke the findLinks method on resource types implementing the I_CmsHtmlLinkValidatable interface. | alkacon_opencms-core | train |
8b086fb2fa66104b7133160b90ddacad787f2c84 | diff --git a/apiserver/uniter/uniter.go b/apiserver/uniter/uniter.go
index <HASH>..<HASH> 100644
--- a/apiserver/uniter/uniter.go
+++ b/apiserver/uniter/uniter.go
@@ -1585,7 +1585,7 @@ func (u *UniterAPIV3) getOneNetworkConfig(canAccess common.AuthFunc, unitTagArg,
)
privateAddress, err := machine.PrivateAddres... | apiserver/uniter: Drive-by fix for network-get | juju_juju | train |
d646868238e2ece52c339d08c9b702b65066aee1 | diff --git a/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/VariantAnnotationCommandExecutor.java b/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/VariantAnnotationCommandExecutor.java
index <HASH>..<HASH> 100644
--- a/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/VariantAnnotationCommandExecut... | develop: bug solved. VariantNormalizer is no longer called two times when annotating with the CLI from a vcf file | opencb_cellbase | train |
a8697746d0c7e81c6b5256b83650610669b0a0b8 | diff --git a/pypot/dynamixel/motor.py b/pypot/dynamixel/motor.py
index <HASH>..<HASH> 100644
--- a/pypot/dynamixel/motor.py
+++ b/pypot/dynamixel/motor.py
@@ -88,7 +88,7 @@ class DxlMotor(Motor):
present_load = DxlOrientedRegister()
torque_limit = DxlRegister(rw=True)
- angle_limit = DxlRegister()
+ _... | take "direct" and "offset" data into account for the angle_limit attribute. | poppy-project_pypot | train |
39e2c9f484af47ecc8e110e6e1d9c8b2dc10d37b | diff --git a/driver-compat/src/test/com/mongodb/DBCursorOldTest.java b/driver-compat/src/test/com/mongodb/DBCursorOldTest.java
index <HASH>..<HASH> 100644
--- a/driver-compat/src/test/com/mongodb/DBCursorOldTest.java
+++ b/driver-compat/src/test/com/mongodb/DBCursorOldTest.java
@@ -153,7 +153,7 @@ public class DBCursor... | Decreasing sleep in test to try to make it faster. | mongodb_mongo-java-driver | train |
6e3b167d93c3bf570f9ff8f75cb11f973d4a7852 | diff --git a/zappa/core.py b/zappa/core.py
index <HASH>..<HASH> 100644
--- a/zappa/core.py
+++ b/zappa/core.py
@@ -2742,7 +2742,7 @@ class Zappa(object):
Remove the DynamoDB Table used for async return values
"""
- topic_name = get_topic_name(lambda_name)
+ topic_name = get_topic_name(... | Undefined name: lambda_name --> table_name | Miserlou_Zappa | train |
4d77630c9bb61b3ad7468418cc2ea9c676cbad9e | diff --git a/src/LarametricsLogServiceProvider.php b/src/LarametricsLogServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/LarametricsLogServiceProvider.php
+++ b/src/LarametricsLogServiceProvider.php
@@ -34,13 +34,15 @@ class LarametricsLogServiceProvider extends ServiceProvider {
Larametri... | Added config check around log creator.
Prevents logs from persisting to database if disabled in config. | aschmelyun_larametrics | train |
09ece6f5307a894b3c37dfcefc7542c1d45ecc8f | diff --git a/tests/Commands/CheckUpdateTest.php b/tests/Commands/CheckUpdateTest.php
index <HASH>..<HASH> 100644
--- a/tests/Commands/CheckUpdateTest.php
+++ b/tests/Commands/CheckUpdateTest.php
@@ -3,6 +3,8 @@
namespace Codedge\Updater\Tests\Commands;
use Codedge\Updater\Commands\CheckForUpdate;
+use Codedge\Updat... | Set version file before checking for new update | codedge_laravel-selfupdater | train |
c80e380e112ceecca1439dda6ff33436ae4ba83e | diff --git a/build.js b/build.js
index <HASH>..<HASH> 100755
--- a/build.js
+++ b/build.js
@@ -4,7 +4,15 @@
var fs = require('fs');
var util = require('util');
-var EXPRESSION = /^\.\n([\s\S]*?)^\.\n([\s\S]*?)^\.$|^#{1,6} *(.*)$/gm;
+if (process.env.VERSION < 0.24) {
+ throw new Error(
+ 'This version of `commo... | Update `build.js` for <I> | wooorm_commonmark.json | train |
355709d3efd3dab9df326a130476d9f6f8d3325c | diff --git a/php/WP_CLI/AutoloadSplitter.php b/php/WP_CLI/AutoloadSplitter.php
index <HASH>..<HASH> 100644
--- a/php/WP_CLI/AutoloadSplitter.php
+++ b/php/WP_CLI/AutoloadSplitter.php
@@ -27,7 +27,7 @@ class AutoloadSplitter {
* @return bool Whether to split out the class into a separate autoloader.
*/
public fu... | Regex: Remove leading and trailing .*
With no pinning of the pattern to the start or end of a string, the leading and trailing `.*` are redundant. | wp-cli_wp-cli | train |
1b91f534ce91ff5d0a4d39d96a8f19b58022d403 | diff --git a/activerecord/lib/active_record/validations/uniqueness.rb b/activerecord/lib/active_record/validations/uniqueness.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/validations/uniqueness.rb
+++ b/activerecord/lib/active_record/validations/uniqueness.rb
@@ -22,7 +22,7 @@ module ActiveRecord... | Fix uniqueness validation: with_exclusive_scope is not public | rails_rails | train |
1fdba6b0500f3d6182c98a44d28021a4a15ffeff | diff --git a/pyoos/parsers/awc.py b/pyoos/parsers/awc.py
index <HASH>..<HASH> 100644
--- a/pyoos/parsers/awc.py
+++ b/pyoos/parsers/awc.py
@@ -1,5 +1,4 @@
from __future__ import (absolute_import, division, print_function)
-from six import string_types
import pytz
from owslib.etree import etree
@@ -15,16 +14,7 @@ f... | Test passing bytes when unicode is expected. | ioos_pyoos | train |
cde853709f35c1d7c45f416bb9d4a874d82945b4 | diff --git a/certbot/tests/test_server.py b/certbot/tests/test_server.py
index <HASH>..<HASH> 100644
--- a/certbot/tests/test_server.py
+++ b/certbot/tests/test_server.py
@@ -4,7 +4,7 @@ import treq
from twisted.internet.defer import inlineCallbacks
from twisted.protocols.loopback import _LoopbackAddress
from twiste... | Use our own proxy agent to avoid getting the full URI in the request path. | praekeltfoundation_marathon-acme | train |
69416316e8ba086dfba7c55ff99a8fb305acb1b3 | diff --git a/ipywidgets/static/widgets/js/manager.js b/ipywidgets/static/widgets/js/manager.js
index <HASH>..<HASH> 100644
--- a/ipywidgets/static/widgets/js/manager.js
+++ b/ipywidgets/static/widgets/js/manager.js
@@ -433,8 +433,7 @@ define([
model_module: state[model_id].model_module,
... | remove calls to resolve_promise_dict | jupyter-widgets_ipywidgets | train |
b4c252717ee47cf6e66b9b3377fb179a81f38f0a | diff --git a/pymc3/step_methods/arraystep.py b/pymc3/step_methods/arraystep.py
index <HASH>..<HASH> 100644
--- a/pymc3/step_methods/arraystep.py
+++ b/pymc3/step_methods/arraystep.py
@@ -156,8 +156,10 @@ class Constant(ArrayStep):
self.model = model
+ vars = inputvars(vars)
+
super(Constant... | Add var cleanup to Constant step method | pymc-devs_pymc | train |
503b136c92dd52a2f2a920d7243b1de5c955127d | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -86,6 +86,12 @@ module Specs
next if thread.backtrace.empty?
next if thread.backtrace.first =~ /rubysl\/timeout\/timeout.rb/
end
+
+ if RUBY_ENG... | ignore MRI timer threads in specs | celluloid_celluloid | train |
b67ecd8d9d9729937dafccfaa38af6944610e0b6 | diff --git a/buildbot/scripts/tryclient.py b/buildbot/scripts/tryclient.py
index <HASH>..<HASH> 100644
--- a/buildbot/scripts/tryclient.py
+++ b/buildbot/scripts/tryclient.py
@@ -187,7 +187,7 @@ class MercurialExtractor(SourceStampExtractor):
class PerforceExtractor(SourceStampExtractor):
- patchlevel = 1
+ ... | PerforceExtractor: require that the user specify a branch | buildbot_buildbot | train |
2da0bfba95096d12187faf522e32a360bf14e6eb | diff --git a/lease/auto_refreshing_read_lease.go b/lease/auto_refreshing_read_lease.go
index <HASH>..<HASH> 100644
--- a/lease/auto_refreshing_read_lease.go
+++ b/lease/auto_refreshing_read_lease.go
@@ -23,9 +23,11 @@ import "io"
// first time and whenever the supplied file leaser decides to expire the
// temporary c... | Specified upgrade behavior, and guaranteed closing. | jacobsa_ratelimit | train |
6e9cf2d068807d71ac137ce6989094b1d2d0e0d5 | diff --git a/externs/w3c_css.js b/externs/w3c_css.js
index <HASH>..<HASH> 100644
--- a/externs/w3c_css.js
+++ b/externs/w3c_css.js
@@ -1171,6 +1171,42 @@ CSSProperties.prototype.borderTopLeftRadius;
CSSProperties.prototype.borderTopRightRadius;
/**
+ * @type {string}
+ * @see http://www.w3.org/TR/css3-background/#t... | Add "borderImage" and related properties to CSSProperties extern. | google_closure-compiler | train |
74d2356f5fa39e79fc02ca1099c161d3ef555f77 | diff --git a/src/main/java/com/github/davidmoten/rx/internal/operators/OperatorBufferToFile.java b/src/main/java/com/github/davidmoten/rx/internal/operators/OperatorBufferToFile.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/davidmoten/rx/internal/operators/OperatorBufferToFile.java
+++ b/src/main/java... | spin used to close db in Queue2 could take non-trivial time so use non-blocking method by checking for close condition at end of each method call in Queue2 | davidmoten_rxjava-extras | train |
b0ac608884d3d350f37791c3040655f08c8f60b5 | diff --git a/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb b/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb
index <HASH>..<HASH> 100644
--- a/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb
+++ b/ruby_event_store/lib/ruby_event_store/in_memory_repository.rb
@@ -24,20 +24,23 ... | Do not verify incorrect any usage by default
And make the event resolver so all tests pass | RailsEventStore_rails_event_store | train |
1bd639ce18482637455b82228effbc80e01b5f9d | diff --git a/bqplot/interacts.py b/bqplot/interacts.py
index <HASH>..<HASH> 100644
--- a/bqplot/interacts.py
+++ b/bqplot/interacts.py
@@ -546,10 +546,16 @@ class LassoSelector(TwoDSelector):
encompass any mark data will be automatically deleted
The user can select(de-select) by clicking on lassos and can d... | Added color attribute for lasso selector | bloomberg_bqplot | train |
a03690bd70afed74b8d514928092b652da7f2ee9 | diff --git a/lib/datasource/rubygems/retriable.js b/lib/datasource/rubygems/retriable.js
index <HASH>..<HASH> 100644
--- a/lib/datasource/rubygems/retriable.js
+++ b/lib/datasource/rubygems/retriable.js
@@ -13,8 +13,9 @@ const NUMBER_OF_RETRIES = 5;
const getDelayStep = () =>
parseInt(process.env.RENOVATE_RUBYGEMS_... | fix(rubygems): fix delay parsing (#<I>)
fix(rubygems): fix delay parsing | renovatebot_renovate | train |
57d4fb1bf87d95b8da3ce55345e1633a267c8cc6 | diff --git a/src/Translator.php b/src/Translator.php
index <HASH>..<HASH> 100644
--- a/src/Translator.php
+++ b/src/Translator.php
@@ -90,7 +90,8 @@ class Translator implements TranslatorInterface
*/
protected function getMessage($key)
{
- if ($message = ($this->package->getMessage($key))) {
+ ... | Readability, separating assignment and if statement | auraphp_Aura.Intl | train |
46b4ee6386fad32f1f8638d84a969680908c5860 | diff --git a/hibernate-validation-service/src/main/java/org/wisdom/validation/hibernate/HibernateValidatorModule.java b/hibernate-validation-service/src/main/java/org/wisdom/validation/hibernate/HibernateValidatorModule.java
index <HASH>..<HASH> 100644
--- a/hibernate-validation-service/src/main/java/org/wisdom/validat... | [TD] major
* Overridable method 'version' called during object construction | wisdom-framework_wisdom | train |
693da1390cc57e971553547340d68796d62ce24f | diff --git a/CalendarIOS.js b/CalendarIOS.js
index <HASH>..<HASH> 100644
--- a/CalendarIOS.js
+++ b/CalendarIOS.js
@@ -110,7 +110,7 @@ let Calendar = React.createClass({
renderHeading() {
return (
<View style={this.styles.calendarHeading}>
- {this.props.dayHeadings.map((day, i) => { return (<Text ... | Fixing the key prop error for arrays of objects | christopherdro_react-native-calendar | train |
9275dabe7370c384de6c119a3450ea4d59d7a025 | diff --git a/lib/era_ja/conversion.rb b/lib/era_ja/conversion.rb
index <HASH>..<HASH> 100644
--- a/lib/era_ja/conversion.rb
+++ b/lib/era_ja/conversion.rb
@@ -30,7 +30,7 @@ module EraJa
@era_format = format.gsub(/%J/, "%J%")
str_time = strftime(@era_format)
- if @era_format =~ /%([EOo]|1O)/
+ ... | Fix conversion '%-E' to single digit era year | tomiacannondale_era_ja | train |
9045b7055fa936272e3bee0444a4ebf408bba0d3 | diff --git a/src/entry.js b/src/entry.js
index <HASH>..<HASH> 100644
--- a/src/entry.js
+++ b/src/entry.js
@@ -25,8 +25,6 @@ exports.create = function createEntry(kind, value, options) {
}
entry._gr = [options.owner];
- util.promisifySave(entry);
-
return entry;
};
diff --git a/src/kind.js b/src/... | remove util.promisifySave
not needed anymore, mongoose supports it | cheminfo_hds | train |
87cf4e9e96c8e201e2458e1d1142b434538a815b | diff --git a/lib/runner.js b/lib/runner.js
index <HASH>..<HASH> 100644
--- a/lib/runner.js
+++ b/lib/runner.js
@@ -17,7 +17,7 @@ const fork = require('child_process').fork;
const debug = require('debug')('artillery:runner');
const L = require('lodash');
-const stats = require('../../artillery-core').stats;
+const s... | Spawn exactly one worker for now | artilleryio_artillery | train |
30098a2c1a396db9a3234a37a8875b6b2af725ec | diff --git a/tests/unit/test_doc.py b/tests/unit/test_doc.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_doc.py
+++ b/tests/unit/test_doc.py
@@ -8,6 +8,7 @@
from __future__ import absolute_import
import os
import re
+import logging
# Import Salt Testing libs
from tests.support.paths import CODE_DIR
@@ -18,... | Fix test_doc on windows by using grep yay! | saltstack_salt | train |
89c0fc25723097ff76d2e056947f31df40b7f7f7 | diff --git a/blockstack/lib/config.py b/blockstack/lib/config.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/config.py
+++ b/blockstack/lib/config.py
@@ -510,6 +510,7 @@ def default_blockstack_opts( config_file=None ):
zonefile_storage_drivers = "disk"
profile_storage_drivers = ""
server_version = None... | support `atlas = [True|False]` under `[blockstack]` | blockstack_blockstack-core | train |
5d05eb2b344b2233135c45f1fd0281c0e1cb7813 | diff --git a/cwtools/jsimp.py b/cwtools/jsimp.py
index <HASH>..<HASH> 100644
--- a/cwtools/jsimp.py
+++ b/cwtools/jsimp.py
@@ -250,6 +250,8 @@ class _BaseScript(object):
if self._stringCache is not None:
return self._stringCache
+ self._implicitlyImportsParents = True # by default, assume it is not Closure-st... | Don't implicitly import parents for Closure-style code | ludiosarchive_Coreweb | train |
fb3f91c1413d7545e925fc9cc88e53149503c30b | diff --git a/client/v3/yaml/config_test.go b/client/v3/yaml/config_test.go
index <HASH>..<HASH> 100644
--- a/client/v3/yaml/config_test.go
+++ b/client/v3/yaml/config_test.go
@@ -98,6 +98,7 @@ func TestConfigFromFile(t *testing.T) {
continue
}
if cerr != nil {
+ os.Remove(tmpfile.Name())
continue
} | test: cleanup temporary file for TestConfigFromFile | etcd-io_etcd | train |
51840c1baf837de147208abd67578cba60f4da00 | diff --git a/src/bind.js b/src/bind.js
index <HASH>..<HASH> 100644
--- a/src/bind.js
+++ b/src/bind.js
@@ -11,6 +11,7 @@ var arity = require('./arity');
* @memberOf R
* @category Function
* @category Object
+ * @see R.partial
* @sig (* -> *) -> {*} -> (* -> *)
* @param {Function} fn The function to bind to co... | refer to partial in bind docs | ramda_ramda | train |
5293d40823891e56da3efea8e3ecf818dd3c181b | diff --git a/bottle_sqlalchemy.py b/bottle_sqlalchemy.py
index <HASH>..<HASH> 100644
--- a/bottle_sqlalchemy.py
+++ b/bottle_sqlalchemy.py
@@ -53,7 +53,6 @@ session.
'''
import bottle
-from bottle import HTTPError
from sqlalchemy.orm import sessionmaker
from sqlalchemy.exc import SQLAlchemyError
@@ -130,7 +129,... | Handling Bottle exceptions to autocommit on redirect. Based in @defnull's solution to bottle-sqlite. bottlepy/bottle-extras@4e1a<I>af<I>b<I>dcd<I>d2fbd<I>bf<I>f<I> | iurisilvio_bottle-sqlalchemy | train |
f9935fe234fd7860511f1124c6de79b02b44e686 | diff --git a/ServerNode.js b/ServerNode.js
index <HASH>..<HASH> 100644
--- a/ServerNode.js
+++ b/ServerNode.js
@@ -134,6 +134,21 @@ ServerNode.prototype.configureHTTP = function (options) {
});
});
+ app.get('*', function(req, res){
+
+ var externalFilePath = __dirname.replace(/node\_modules.+... | added catch-all-handler for supporting games with a custom folder structure | nodeGame_nodegame-server | train |
9df7d074f635192f4134218c4721cf244d1fa39b | diff --git a/pymatgen/analysis/structure_prediction/tests/test_volume_predictor.py b/pymatgen/analysis/structure_prediction/tests/test_volume_predictor.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/structure_prediction/tests/test_volume_predictor.py
+++ b/pymatgen/analysis/structure_prediction/tests/test_volum... | Speed up volume predictor DLS test. @computron - pls check why the
commented out two lines cause the tests to go from 1s to ><I>s to run. | materialsproject_pymatgen | train |
4e97bfeb74c47548cd77b9f7daddc11ce1d5406c | diff --git a/lib/atomo/macros.rb b/lib/atomo/macros.rb
index <HASH>..<HASH> 100644
--- a/lib/atomo/macros.rb
+++ b/lib/atomo/macros.rb
@@ -7,6 +7,8 @@ module Atomo
end
def self.register_macro(name, args, body)
+ name = "atomo_macro::" + name
+
if ms = @macros[name]
ms << [[Patterns::Any.new, args... | sprinkle macro names with something to avoid collision | vito_atomy | train |
cf01d91c94a37d5ad5a302c1ebdbf485283ae3c7 | diff --git a/lib/config/WikiConfig.js b/lib/config/WikiConfig.js
index <HASH>..<HASH> 100644
--- a/lib/config/WikiConfig.js
+++ b/lib/config/WikiConfig.js
@@ -483,7 +483,11 @@ function WikiConfig(parsoidConfig, resultConf, prefix) {
while (chars.length < 4) {
chars = '0' + chars;
}
- return '\\u' + chars... | Handle unicode escapes higher than \uFFFF properly in link prefix/trail
This bug is only in Parsoid/JS, but worth fixing because it drives down
spurious HTML diffs with Parsoid/PHP.
Bug: T<I>
Change-Id: If7bdd7e3e<I>d9dfe4fdc<I>d<I>cdc<I>cc0f | wikimedia_parsoid | train |
69e941b89715f48795d792b37638ae386e73c057 | diff --git a/js/test/Exchange/test.fetchOHLCV.js b/js/test/Exchange/test.fetchOHLCV.js
index <HASH>..<HASH> 100644
--- a/js/test/Exchange/test.fetchOHLCV.js
+++ b/js/test/Exchange/test.fetchOHLCV.js
@@ -17,7 +17,6 @@ module.exports = async (exchange, symbol) => {
'btcalpha', // issue with 404 on a documented e... | js/test minor edits, package.json tags | ccxt_ccxt | train |
baf0d941c9bf4cd4ea5c5a9a8ee0eb5adeef48ad | diff --git a/lib/art-decomp/logging.rb b/lib/art-decomp/logging.rb
index <HASH>..<HASH> 100644
--- a/lib/art-decomp/logging.rb
+++ b/lib/art-decomp/logging.rb
@@ -47,13 +47,6 @@ class << self
@log.info " U = #{point.args[1].sort.inspect}, V = #{point.args[2].sort.inspect}, Qu with #{point.sender.class.to_s.... | drop QvGenerator-level logging | chastell_art-decomp | train |
712b23555e7961b4bf7fe230e27355941a622755 | diff --git a/tests/Handlers/ExceptionHandlerTest.php b/tests/Handlers/ExceptionHandlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Handlers/ExceptionHandlerTest.php
+++ b/tests/Handlers/ExceptionHandlerTest.php
@@ -59,7 +59,7 @@ class ExceptionHandlerTest extends BaseRollbarTest
$setExceptionHand... | PHP <I> and lower doesn't support calling functions with a variable for a name; use call_user_function() instead | rollbar_rollbar-php | train |
f5d91e8f9c4dcfa96b844a37cb449db7d4e1b3e2 | diff --git a/pex/common.py b/pex/common.py
index <HASH>..<HASH> 100644
--- a/pex/common.py
+++ b/pex/common.py
@@ -308,26 +308,31 @@ def safe_sleep(seconds):
class AtomicDirectory(object):
def __init__(self, target_dir):
+ # type: (str) -> None
self._target_dir = target_dir
self._work_d... | Type AtomicDirectory. (#<I>) | pantsbuild_pex | train |
c8cf41aab975cb1117938113d816519c6c3407c8 | diff --git a/src/Validation.php b/src/Validation.php
index <HASH>..<HASH> 100644
--- a/src/Validation.php
+++ b/src/Validation.php
@@ -194,6 +194,22 @@ class Validation {
}
/**
+ * Get the error count, optionally for a particular field.
+ *
+ * @param string $field The name of a field or an empt... | Add error count methods to the Validation classes | vanilla_garden-schema | train |
8272705fee0261880c849fab3603556f12c5636c | diff --git a/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php b/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
+++ b/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
@@ -238,6 +238,6 @@ class CakeTestCaseTest extends CakeTestCase {... | Fixing failing test from previous commit. | cakephp_cakephp | train |
5ccc07af25d4e0c178f3ce7168d8626530fc08ba | diff --git a/src/debug/window_manager.js b/src/debug/window_manager.js
index <HASH>..<HASH> 100644
--- a/src/debug/window_manager.js
+++ b/src/debug/window_manager.js
@@ -162,6 +162,8 @@ window.launchDebugger = function() {
logger.info('Tungsten Debugger is enabled. Run "launchDebugger()" to enable.\nA button will n... | Adjusting re-attach loop to accommodate slower reloads | wayfair_tungstenjs | train |
41ecbc4f6572b235c6ef3ce6caf8b66daf18bf0d | diff --git a/js/src/jupyter-leaflet.js b/js/src/jupyter-leaflet.js
index <HASH>..<HASH> 100644
--- a/js/src/jupyter-leaflet.js
+++ b/js/src/jupyter-leaflet.js
@@ -4,7 +4,17 @@ var L = require('leaflet');
require('leaflet-draw');
require('leaflet.markercluster');
-L.Icon.Default.imagePath = __webpack_public_path__;
... | workaround-webpack-marker | jupyter-widgets_ipyleaflet | train |
ba0a44eef78a842bb9e1a6a6de39731c02f96a1f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,7 @@ setup(name='mtcnn',
author='Iván de Paz Centeno',
author_email='ipazc@unileon.es',
license='MIT',
- packages=setuptools.find_packages(),
+ packages=setuptools.find_packages(exclude... | Excluded tests from package release. Fixes #2 | ipazc_mtcnn | train |
30e7e356363c1e6fe73db458366102d7af1c543c | diff --git a/kie-api/src/main/java/org/kie/api/runtime/process/ProcessWorkItemHandlerException.java b/kie-api/src/main/java/org/kie/api/runtime/process/ProcessWorkItemHandlerException.java
index <HASH>..<HASH> 100644
--- a/kie-api/src/main/java/org/kie/api/runtime/process/ProcessWorkItemHandlerException.java
+++ b/kie-... | [JBPM-<I>] Allow to define number of Retries for WIH exception handling strategy. | kiegroup_droolsjbpm-knowledge | train |
6065f1051fb7d98dab38fcb513ffa288a48fe166 | diff --git a/src/android/FirebasePluginMessagingService.java b/src/android/FirebasePluginMessagingService.java
index <HASH>..<HASH> 100755
--- a/src/android/FirebasePluginMessagingService.java
+++ b/src/android/FirebasePluginMessagingService.java
@@ -105,6 +105,7 @@ public class FirebasePluginMessagingService extends F... | Add tap boolean to notification data | arnesson_cordova-plugin-firebase | train |
194f142e616ab5dd6d13a687b96b9f8abd1b4ea8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ from setuptools import setup
setup(
name='kanaconv',
- version='1.0.0',
+ version='1.0.1',
description=(
'Converts hiragana and katakana to rōmaji according to '
'Modified He... | Bump to <I> - Python 2 support fixed | msikma_kanaconv | train |
854d2766669658f5c67a4f50b38d54dae6cd948d | diff --git a/bin/cucumis.js b/bin/cucumis.js
index <HASH>..<HASH> 100755
--- a/bin/cucumis.js
+++ b/bin/cucumis.js
@@ -214,7 +214,10 @@ function runFeature(featureFile, cb) {
if (ast[index].background) {
ast[index].background.background = true;
background = function(cb) {
- runScenario(ast[index].back... | Stopped backgrounds running twice, and also fixed background printing | noblesamurai_cucumis | train |
f53685ef760d69d07e653aba30ffbde7b0a1bcaf | diff --git a/service_sysv_linux.go b/service_sysv_linux.go
index <HASH>..<HASH> 100644
--- a/service_sysv_linux.go
+++ b/service_sysv_linux.go
@@ -205,7 +205,7 @@ case "$1" in
if is_running; then
echo -n "Stopping $name.."
kill $(get_pid)
- for i in {1..10}
+ for... | For does not work on dash
IN case of dash(for example default on wheezy) for operator shold be reworked | kardianos_service | train |
ef537940a6e177c523aaacfa8bdf7300d00f490b | diff --git a/collections_extended/setlists.py b/collections_extended/setlists.py
index <HASH>..<HASH> 100644
--- a/collections_extended/setlists.py
+++ b/collections_extended/setlists.py
@@ -226,7 +226,7 @@ class setlist(_basesetlist, MutableSequence, MutableSet):
ValueError: If value alread in self
"""
if va... | Fix #<I> - extend is atomic when extending with duplicate values. | mlenzen_collections-extended | train |
c8514e1d541319994c8da558ade43ce25e9be7b9 | diff --git a/IP2Location.py b/IP2Location.py
index <HASH>..<HASH> 100644
--- a/IP2Location.py
+++ b/IP2Location.py
@@ -94,8 +94,19 @@ class IP2Location(object):
if filename:
self.open(filename)
+ def __enter__(self):
+ if not hasattr(self, '_f') or self._f.closed:
+ raise Va... | IP2Location object can be closed and can be used as Context Manager | chrislim2888_IP2Location-Python | train |
c3722038d3c4054ed48df84936377079c4302868 | diff --git a/collection.go b/collection.go
index <HASH>..<HASH> 100644
--- a/collection.go
+++ b/collection.go
@@ -13,6 +13,7 @@ package moss
import (
"fmt"
+ "sort"
)
// Start kicks off required background gouroutines.
@@ -77,7 +78,7 @@ func (m *collection) ExecuteBatch(bIn Batch) error {
maxStackOpenHeigh... | in-place sort for ExecuteBatch instead of sorted copy | couchbase_moss | train |
f8ead09fccd5eb0e8dedd01c305917ccffcc6569 | diff --git a/Form/Type/PortfolioType.php b/Form/Type/PortfolioType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/PortfolioType.php
+++ b/Form/Type/PortfolioType.php
@@ -4,6 +4,7 @@ namespace Icap\PortfolioBundle\Form\Type;
use JMS\DiExtraBundle\Annotation as DI;
use Symfony\Component\Form\AbstractType;
+use Symfo... | [PortfolioBundle] Update comments view date on portfolio when displaying comments on it | claroline_Distribution | train |
cd76bd00fa208b6b2e43ec9a975b1d9ef931c6f1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,17 +15,24 @@ setup(
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
- "Topic :: Software Development :: Compilers",
+ 'Topic :: Software ... | Bump up the version to <I>. | sighingnow_parsec.py | train |
d015f7c5f471e9909e1e067fe30d2dd8708d2fea | diff --git a/lib/arproxy/config.rb b/lib/arproxy/config.rb
index <HASH>..<HASH> 100644
--- a/lib/arproxy/config.rb
+++ b/lib/arproxy/config.rb
@@ -28,6 +28,9 @@ module Arproxy
case @adapter
when String, Symbol
camelized_adapter_name = @adapter.to_s.split("_").map(&:capitalize).join
+ if ca... | Handle the case when adapter is configured as 'sqlite3' | cookpad_arproxy | train |
09d849d9944f9098bb00fd665a0d284a0c6e1412 | diff --git a/mozilla/gcli/settings.js b/mozilla/gcli/settings.js
index <HASH>..<HASH> 100644
--- a/mozilla/gcli/settings.js
+++ b/mozilla/gcli/settings.js
@@ -29,8 +29,7 @@ var types = require('gcli/types');
var allSettings = [];
/**
- * No setup required because settings are pre-loaded with Mozilla,
- * but match ... | Bug <I> (pref): Tidy-up
this.changed isn't used/defined/referenced anywhere else. Remove it.
Doc comment was wrong. | joewalker_gcli | train |
2ffbd662213865dde863094bb088259c85ecce6a | diff --git a/client/html/templates/catalog/filter/tree-partial-standard.php b/client/html/templates/catalog/filter/tree-partial-standard.php
index <HASH>..<HASH> 100644
--- a/client/html/templates/catalog/filter/tree-partial-standard.php
+++ b/client/html/templates/catalog/filter/tree-partial-standard.php
@@ -102,11 +1... | Don't set category active state via JS | aimeos_ai-client-html | train |
81d39e1b52087555fab8411c9757607b2a2e650c | diff --git a/src/Client/HttpClientFactory.php b/src/Client/HttpClientFactory.php
index <HASH>..<HASH> 100644
--- a/src/Client/HttpClientFactory.php
+++ b/src/Client/HttpClientFactory.php
@@ -27,6 +27,6 @@ class HttpClientFactory
{
return $this->options->isSimpleClientType()
? new SimpleHttpCl... | Removed calling the getClient method | g4code_gateway | train |
b2c6a2e38133bde59fb657d1c367c42cc48353dd | diff --git a/code/model/entity/abstract.php b/code/model/entity/abstract.php
index <HASH>..<HASH> 100644
--- a/code/model/entity/abstract.php
+++ b/code/model/entity/abstract.php
@@ -152,6 +152,30 @@ abstract class KModelEntityAbstract extends KObjectArray implements KModelEntity
}
/**
+ * Mixin an obje... | re #<I> - Reset mixed methods on mixin. | timble_kodekit | train |
1334201903410dda24f2ad3f50bac56f8f4563c2 | diff --git a/src/processor/market.js b/src/processor/market.js
index <HASH>..<HASH> 100644
--- a/src/processor/market.js
+++ b/src/processor/market.js
@@ -296,12 +296,12 @@ module.exports.execute = function(market, gameTime, terminals, bulkObjects) {
return;
}
- var dealCost =... | fix(processor): small fixes in market cost rounding logic | screeps_engine | train |
8199764018b24dd146bca7d3da54b514dbd3cb7b | diff --git a/tests/src/main/java/com/hazelcast/simulator/tests/external/ExternalClientTest.java b/tests/src/main/java/com/hazelcast/simulator/tests/external/ExternalClientTest.java
index <HASH>..<HASH> 100644
--- a/tests/src/main/java/com/hazelcast/simulator/tests/external/ExternalClientTest.java
+++ b/tests/src/main/j... | Fixed that member node can grab responsibility to collect external client results. | hazelcast_hazelcast-simulator | train |
982264279db4d2fb23193851332845c2067ac1c6 | diff --git a/post_office/__init__.py b/post_office/__init__.py
index <HASH>..<HASH> 100644
--- a/post_office/__init__.py
+++ b/post_office/__init__.py
@@ -1,4 +1,4 @@
-VERSION = (0, 7, 0)
+VERSION = (0, 7, 1)
from .backends import EmailBackend
from .models import PRIORITY
diff --git a/setup.py b/setup.py
index <HAS... | Bumped version to <I>. | ui_django-post_office | train |
377be75dd0ec6246ba63aaf8552abb455aca0f9c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ install_requires = [
"future>=0.16.0",
"colorama>=0.3.9",
"configobj>=5.0.6",
- "networkx==2.1",
+ "networkx>=2.1",
"pyyaml>=3.12",
"gitpython>=2.1.8",
"ntfsutils>=0.1.4", | Update networkx package in setup.py | iterative_dvc | train |
88799fbe93f96a9a3afa169e9c1c12b2b6a66e27 | diff --git a/pytplot/tplot.py b/pytplot/tplot.py
index <HASH>..<HASH> 100644
--- a/pytplot/tplot.py
+++ b/pytplot/tplot.py
@@ -11,7 +11,7 @@ from bokeh.models import (CustomJS, Label, LogColorMapper, LogTicker, ColorBar,
Range1d, Span, Title, Legend, LogAxis)
from bokeh.models.glyphs import... | Changing colorbar tick formatter to exponential | MAVENSDC_PyTplot | train |
9869f8b8cc8e4f4f62cb2ea5276a45ba790366b4 | diff --git a/src/javascript/runtime/html4/xhr/XMLHttpRequest.js b/src/javascript/runtime/html4/xhr/XMLHttpRequest.js
index <HASH>..<HASH> 100644
--- a/src/javascript/runtime/html4/xhr/XMLHttpRequest.js
+++ b/src/javascript/runtime/html4/xhr/XMLHttpRequest.js
@@ -104,7 +104,7 @@ define("moxie/runtime/html4/xhr/XMLHttpRe... | XHR, HTML4: Detect 4xx HTTP error by the title. | moxiecode_moxie | train |
9257e9ba1640c9a7c1de883a0eb8910e422df912 | diff --git a/pgmpy/factors/CPD.py b/pgmpy/factors/CPD.py
index <HASH>..<HASH> 100644
--- a/pgmpy/factors/CPD.py
+++ b/pgmpy/factors/CPD.py
@@ -136,9 +136,6 @@ class TabularCPD(Factor):
return self.values.reshape(1, np.prod(self.cardinality))
def __str__(self):
- return self._str(html=False)
-... | Cleanups in __str__ method in TabularCPD. | pgmpy_pgmpy | train |
cace39af972a595064250a22a6a6feebc89113be | diff --git a/src/transformers/__init__.py b/src/transformers/__init__.py
index <HASH>..<HASH> 100755
--- a/src/transformers/__init__.py
+++ b/src/transformers/__init__.py
@@ -651,6 +651,7 @@ if is_tf_available():
TF_MODEL_FOR_CAUSAL_LM_MAPPING,
TF_MODEL_FOR_MASKED_LM_MAPPING,
TF_MODEL_FOR_MUL... | Add missing import (#<I>)
* Add missing import
* Fix dummy objects | huggingface_pytorch-pretrained-BERT | train |
fe59df23baa55af84ab1a606c4aee044966098bb | diff --git a/tests/web/filter.py b/tests/web/filter.py
index <HASH>..<HASH> 100644
--- a/tests/web/filter.py
+++ b/tests/web/filter.py
@@ -61,7 +61,7 @@ class Prefix(unittest.TestCase):
'''Prefix root'''
def handler(r):
- self.assertEqual(r.request.path, '/')
+ self.assertEqual... | Test fixed for request.prefixed_path | SmartTeleMax_iktomi | train |
9e2e8eae0cf55e8d1ca388f522ce8e6f019039de | diff --git a/example/simple.py b/example/simple.py
index <HASH>..<HASH> 100644
--- a/example/simple.py
+++ b/example/simple.py
@@ -6,7 +6,7 @@ import instana.tracer
import time
import opentracing.ext.tags as ext
-SERVICE = "python-simple"
+SERVICE = "python-overlord"
def main(argv):
instana.tracer.init(o.Op... | Example app: better service and span names | instana_python-sensor | train |
91194c4e9f771cce763ff4dd59d8c6217e50b084 | diff --git a/shared/tracker/remote-container.desktop.js b/shared/tracker/remote-container.desktop.js
index <HASH>..<HASH> 100644
--- a/shared/tracker/remote-container.desktop.js
+++ b/shared/tracker/remote-container.desktop.js
@@ -1,4 +1,5 @@
// @flow
+import * as AppGen from '../actions/app-gen'
import * as ChatGen ... | show main window on start a chat in tracker (#<I>) | keybase_client | train |
582919f5513ad25625cf9d81854a68129184dc1d | diff --git a/salt/modules/vsphere.py b/salt/modules/vsphere.py
index <HASH>..<HASH> 100644
--- a/salt/modules/vsphere.py
+++ b/salt/modules/vsphere.py
@@ -4866,6 +4866,41 @@ def update_storage_policy(policy, policy_dict, service_instance=None):
@depends(HAS_PYVMOMI)
+@supports_proxies('esxcluster', 'esxdatacenter'... | Added salt.modules.vsphere.list_default_storage_policy_of_datastore that lists the dict representation of the policy assigned by default to a datastore | saltstack_salt | train |
06677f3bff7000bfce01f3a1f5c52234e773971f | diff --git a/src/jquery.fancytree.js b/src/jquery.fancytree.js
index <HASH>..<HASH> 100644
--- a/src/jquery.fancytree.js
+++ b/src/jquery.fancytree.js
@@ -2670,7 +2670,8 @@ $.extend(Fancytree.prototype,
}
ares.push(nodeTitle);
// Note: this will trigger focusout, if node had the focus
- node.span.innerHTML = ... | cleanup current jQuery data before rerendering node | mar10_fancytree | train |
2d2786197c2ceaeb62f17ccd05b248baddcb5d04 | diff --git a/plugins/karma.js b/plugins/karma.js
index <HASH>..<HASH> 100644
--- a/plugins/karma.js
+++ b/plugins/karma.js
@@ -58,6 +58,10 @@ exports.apply_tarpit = function (connection, hook, score, next) {
var plugin = this;
if (!plugin.cfg.tarpit) return next(); // tarpit disabled in config
+ // If ta... | karma: be less punitive to roaming users | haraka_Haraka | train |
129be0023861bf4e228b15b1759ade058fa53dd7 | 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
@@ -177,8 +177,6 @@ module Opal
vars << "__scope = Opal.constants"
vars << "nil = Opal.nil"
- # vars.concat @scope.locals.map { |t| "#{t}" }
- # vars.conca... | Improve readability of some code generator methods | opal_opal | train |
64b8eeeab9b6046b3c9fdb9611960ebd82fda802 | diff --git a/Auth/Yadis/PlainHTTPFetcher.php b/Auth/Yadis/PlainHTTPFetcher.php
index <HASH>..<HASH> 100644
--- a/Auth/Yadis/PlainHTTPFetcher.php
+++ b/Auth/Yadis/PlainHTTPFetcher.php
@@ -63,6 +63,10 @@ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher {
}
}
+ if... | [project @ Plain http fetcher: allow for absent "path" key in parsed URL array] | openid_php-openid | train |
d43e885ca8e9addce2eec97d25d8acbf5125f5fc | diff --git a/client/reader/following/controller.js b/client/reader/following/controller.js
index <HASH>..<HASH> 100644
--- a/client/reader/following/controller.js
+++ b/client/reader/following/controller.js
@@ -9,7 +9,6 @@ import i18n from 'i18n-calypso';
* Internal dependencies
*/
import { sectionify } from 'lib/... | remove userSettings from reader/following/controller, because the controller passes userSettings to reader/following-manage which doesn't use userSettings at all (#<I>) | Automattic_wp-calypso | train |
01404608d75e0140289fc7cedb938e30aa397d40 | diff --git a/wallace/models.py b/wallace/models.py
index <HASH>..<HASH> 100644
--- a/wallace/models.py
+++ b/wallace/models.py
@@ -82,15 +82,35 @@ class Node(Base):
@property
def successors2(self):
+ print "successors2 is deprecated, use downstream_nodes instead"
+ return downstream_nodes(self... | replace successors/predecessors with upset and downstream nodes | Dallinger_Dallinger | train |
5c38766ace81fbb3676a9aa6302c1a816b053ce6 | diff --git a/src/Features/App.php b/src/Features/App.php
index <HASH>..<HASH> 100644
--- a/src/Features/App.php
+++ b/src/Features/App.php
@@ -39,7 +39,7 @@ trait App
/**
* Get a request to a registered class
*
- * @param string $sClass The class name
+ * @param string ... | Fixed some errors detected by Scrutinizer. | jaxon-php_jaxon-core | train |
3d34b6845eff57a3e071a92a1bdae3ba9acec793 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import setup, find_packages
from cms_bootstrap3 import __version__
-with open('README.md', encoding='utf-8') as fh:
+with open('README.md') as fh:
long_description = fh.read() | fix encoding problem in Python-<I> | jrief_djangocms-bootstrap | train |
29f392791640647a934cb144f53096e41b200a37 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -69,6 +69,7 @@ if (inBrowser && substanceGlobals.TEST_UI) {
var results = harness._results;
harness.runTests = function(tests) {
+ tests = tests.slice();
function next() {
if (tests.lengt... | Make sure to clone the array of tests before running. | substance_substance | train |
53673398408b6991f11d61c1ff5d2ba350f129f8 | diff --git a/guake/terminal.py b/guake/terminal.py
index <HASH>..<HASH> 100644
--- a/guake/terminal.py
+++ b/guake/terminal.py
@@ -307,6 +307,7 @@ class GuakeTerminal(Vte.Terminal):
def _on_ctrl_click_matcher(self, matched_string):
value, tag = matched_string
+ found_matcher = False
log.... | fix scrash on ctrl+click | Guake_guake | train |
f4b87da223beb6c042a39746b813880f4a465b63 | diff --git a/auto_tests/tests/axis_labels.js b/auto_tests/tests/axis_labels.js
index <HASH>..<HASH> 100644
--- a/auto_tests/tests/axis_labels.js
+++ b/auto_tests/tests/axis_labels.js
@@ -84,6 +84,7 @@ AxisLabelsTestCase.prototype.testMinusOneToOne = function() {
AxisLabelsTestCase.prototype.testSmallRangeNearZero = ... | Add new option "drawAxesAtZero"
When set, draw the X axis at the Y=0 position and the Y axis at the X=0
position if those positions are inside the graph's visible area.
Otherwise, draw the axes at the bottom or left graph edge as usual. | danvk_dygraphs | train |
d06a7b9ec9527e4217bb7f17343a26894e2f2fea | diff --git a/src/main/resources/META-INF/resources/primefaces/fileupload/fileupload.js b/src/main/resources/META-INF/resources/primefaces/fileupload/fileupload.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/META-INF/resources/primefaces/fileupload/fileupload.js
+++ b/src/main/resources/META-INF/resources/prime... | Fixed fileupload for firefox <I>.x | primefaces_primefaces | train |
8cc959bc9b01e42e15d46f70809b3e15405689b6 | diff --git a/indy_common/authorize/auth_map.py b/indy_common/authorize/auth_map.py
index <HASH>..<HASH> 100644
--- a/indy_common/authorize/auth_map.py
+++ b/indy_common/authorize/auth_map.py
@@ -4,7 +4,7 @@ from indy_common.authorize.auth_actions import AuthActionAdd, AuthActionEdit
from indy_common.authorize.auth_con... | INDY-<I>: Add TAA-related auth rules | hyperledger_indy-node | train |
ad394f9038bb9c8130c79b4f83c32c1b71b86d79 | diff --git a/spec/TemporaryDirectory.spec.php b/spec/TemporaryDirectory.spec.php
index <HASH>..<HASH> 100644
--- a/spec/TemporaryDirectory.spec.php
+++ b/spec/TemporaryDirectory.spec.php
@@ -14,10 +14,10 @@ describe('TemporaryDirectory', function() {
expect($this->temp->getPath())->toEndWith('/foo');
... | Raname method to createNewFile | holyshared_peridot-temporary-plugin | train |
2bfcab022e438f7e4e08bcee7300b6127d4cee93 | diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py
index <HASH>..<HASH> 100644
--- a/salt/modules/mysql.py
+++ b/salt/modules/mysql.py
@@ -1596,11 +1596,12 @@ def _mysql_user_create(
__context__["mysql.error"] = err
qry = False
else:
- if salt.utils.data.is_true(uni... | Removing redundant check if unix_socket is True. | saltstack_salt | train |
6fa0b5ffab45e3242bc012cdbedea6f4dd219bb0 | diff --git a/modules_v2/todays_events/module.php b/modules_v2/todays_events/module.php
index <HASH>..<HASH> 100644
--- a/modules_v2/todays_events/module.php
+++ b/modules_v2/todays_events/module.php
@@ -150,7 +150,7 @@ class todays_events_WT_Module extends WT_Module implements WT_Module_Block {
$sortStyle=get_bloc... | Combine translation strings that only differ by upper/lower case. Prefer the lower case one. | fisharebest_webtrees | train |
eb6db27cb504bb272414c030130b930e131a7a5c | diff --git a/satpy/writers/cf_writer.py b/satpy/writers/cf_writer.py
index <HASH>..<HASH> 100644
--- a/satpy/writers/cf_writer.py
+++ b/satpy/writers/cf_writer.py
@@ -208,6 +208,9 @@ def _encode_nc(obj):
elif isinstance(obj, np.void):
return tuple(obj)
elif isinstance(obj, np.ndarray):
+ if no... | Convert array of booleans to array of strings | pytroll_satpy | train |
0a5c350fb5cd5863bc4930fc335f3341a5555e8a | diff --git a/.env.example b/.env.example
index <HASH>..<HASH> 100644
--- a/.env.example
+++ b/.env.example
@@ -50,6 +50,7 @@ DATABASE_POOL=5
#DATABASE_SOCKET=
REDIS_NAMESPACE=cortex_dev
+CACHE_URL=redis://localhost:6379/0/cache
#
# AWS (Production Configuration)
diff --git a/config/environments/development.rb b... | Add CACHE_URL env variable to point to the redis store | cortex-cms_cortex | train |
1d93859ff363abe8acbea4e347dc77cd1d749683 | diff --git a/hellocharts-library/src/lecho/lib/hellocharts/LineChart.java b/hellocharts-library/src/lecho/lib/hellocharts/LineChart.java
index <HASH>..<HASH> 100644
--- a/hellocharts-library/src/lecho/lib/hellocharts/LineChart.java
+++ b/hellocharts-library/src/lecho/lib/hellocharts/LineChart.java
@@ -31,7 +31,7 @@ imp... | Improved smooth path drawing by reusing calculations. | lecho_hellocharts-android | train |
88be6096aa7c417cf9109381fb305ab2b48f8caf | diff --git a/mbuild/compound.py b/mbuild/compound.py
index <HASH>..<HASH> 100755
--- a/mbuild/compound.py
+++ b/mbuild/compound.py
@@ -14,6 +14,7 @@ from mdtraj.core.element import Element
from mdtraj.core.element import get_by_symbol
from mdtraj.core.topology import Topology
+import mbuild
from mbuild.atom import... | added export topology feature to visualize * | mosdef-hub_mbuild | train |
193760dec63b52058a90eb0720d3e8849df63d94 | diff --git a/Swat/SwatDisplayableContainer.php b/Swat/SwatDisplayableContainer.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatDisplayableContainer.php
+++ b/Swat/SwatDisplayableContainer.php
@@ -21,9 +21,9 @@ class SwatDisplayableContainer extends SwatContainer
if (!$this->visible)
return;
- $div_tag = new Sw... | Fix misnamed SwatHtmltag
This was probably never caught because we seldom (if ever) use SwatDisplableContainer's own display() method
svn commit r<I> | silverorange_swat | train |
304f2fece4b1a8af9cb0bd88f6684a3cbf68991c | diff --git a/pkg/envoy/server.go b/pkg/envoy/server.go
index <HASH>..<HASH> 100644
--- a/pkg/envoy/server.go
+++ b/pkg/envoy/server.go
@@ -1104,7 +1104,31 @@ func getPortNetworkPolicyRule(sel policy.CachedSelector, wildcard bool, l7Parser
return r, canShortCircuit
}
+// getWildcardNetworkPolicyRule returns the rul... | envoy: Optimize also non-L7 rules
Short-circuit sorting of port 0 selections, if they come from one
selector, as the selections returned by GetSelections() are already
sorted.
Port 0 l7-rules are always nil, so no need to test for it. | cilium_cilium | train |
0ffeb1eec8db1393bea4008553f1065b8f4164f7 | diff --git a/spyder_notebook/notebookplugin.py b/spyder_notebook/notebookplugin.py
index <HASH>..<HASH> 100644
--- a/spyder_notebook/notebookplugin.py
+++ b/spyder_notebook/notebookplugin.py
@@ -247,7 +247,8 @@ class NotebookPlugin(SpyderPluginWidget):
self.set_option('main/spyder_pythonpath',
... | Widgets: Return client instead of filename in .create_new_client() | spyder-ide_spyder-notebook | train |
ccf6cbd964528dbb4db4974367da63581d2f9b36 | diff --git a/src/Pckg/Database/Record.php b/src/Pckg/Database/Record.php
index <HASH>..<HASH> 100644
--- a/src/Pckg/Database/Record.php
+++ b/src/Pckg/Database/Record.php
@@ -376,6 +376,9 @@ class Record extends Object implements RecordInterface
*/
public function save(Entity $entity = null, Repository $repo... | FIx saving, we need to fix updating ... | pckg_database | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.