hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
ee777a13152d25ec3ab66d2cbc1886e9a3e11344 | diff --git a/bob/bio/spear/config/pipeline/mfcc60_gmm_voxforge.py b/bob/bio/spear/config/pipeline/mfcc60_gmm_voxforge.py
index <HASH>..<HASH> 100644
--- a/bob/bio/spear/config/pipeline/mfcc60_gmm_voxforge.py
+++ b/bob/bio/spear/config/pipeline/mfcc60_gmm_voxforge.py
@@ -56,3 +56,4 @@ transformer = Pipeline(
# Pipeli... | [config] Fix the bob.bio.config; Pipelines with db | bioidiap_bob.bio.spear | train |
1b2b33f997a83c0fd2b290f4710158494f4ced61 | diff --git a/mama_cas/mixins.py b/mama_cas/mixins.py
index <HASH>..<HASH> 100644
--- a/mama_cas/mixins.py
+++ b/mama_cas/mixins.py
@@ -213,18 +213,23 @@ class LogoutUserMixin(object):
def logout_user(self, request):
"""
End a single sign-on session for the current user. This process
- occu... | Send single sign-out requests on logout | jbittel_django-mama-cas | train |
4590c07ccc0d9134c8fdd167a795118193b92d6a | diff --git a/src/GitElephant/Command/LogCommand.php b/src/GitElephant/Command/LogCommand.php
index <HASH>..<HASH> 100644
--- a/src/GitElephant/Command/LogCommand.php
+++ b/src/GitElephant/Command/LogCommand.php
@@ -30,18 +30,22 @@ class LogCommand extends BaseCommand
/**
* Build an object log command
*... | do not type hint to TreeBranch in objectLog (allows passing branch as string) | matteosister_GitElephant | train |
be20caf58e308ee550e53a70a2ca3c73e33530e5 | diff --git a/src/NamespacedSession.php b/src/NamespacedSession.php
index <HASH>..<HASH> 100644
--- a/src/NamespacedSession.php
+++ b/src/NamespacedSession.php
@@ -42,10 +42,6 @@ class NamespacedSession implements NamespacedSessionInterface
*/
public function has($name)
{
- if ((string) $name === ... | Corrected DocBlock and removed some trivial tests | gobline_session | train |
dc9c0e9df1448bf782ddd9397b675b0d8409afe1 | diff --git a/packages/table/src/css/index.js b/packages/table/src/css/index.js
index <HASH>..<HASH> 100644
--- a/packages/table/src/css/index.js
+++ b/packages/table/src/css/index.js
@@ -74,12 +74,8 @@ export default {
},
'.psds-table__cell--emphasis': {
- color: core.colors.white,
fontWeight: core.type... | refactor(table): apply <I> colors to emphasis cells | pluralsight_design-system | train |
d3bd747db4470b0496ed6f806bb213789691364a | diff --git a/course/tests/management_helper_test.php b/course/tests/management_helper_test.php
index <HASH>..<HASH> 100644
--- a/course/tests/management_helper_test.php
+++ b/course/tests/management_helper_test.php
@@ -673,6 +673,9 @@ class core_course_management_helper_test extends advanced_testcase {
'sh... | MDL-<I> coursecat: in unittests re-request category from DB after generating courses | moodle_moodle | train |
43e6e2ed197eb477bd1f42c54c4ea4f936f3dd62 | diff --git a/lib/keycloak-admin/client/configurable_token_client.rb b/lib/keycloak-admin/client/configurable_token_client.rb
index <HASH>..<HASH> 100644
--- a/lib/keycloak-admin/client/configurable_token_client.rb
+++ b/lib/keycloak-admin/client/configurable_token_client.rb
@@ -16,13 +16,18 @@ module KeycloakAdmin
... | Replace requset method shorthand with .execute to use options
This should ensure that restclient options are passed to all
user endpoints | looorent_keycloak-admin-ruby | train |
65c6acb5b3b858770141872604c7d3c37debc539 | diff --git a/engineer/engine.py b/engineer/engine.py
index <HASH>..<HASH> 100644
--- a/engineer/engine.py
+++ b/engineer/engine.py
@@ -168,11 +168,12 @@ def build(args=None):
logger.debug("Output '%s'." % file.name)
# Generate feeds
+ #if build_stats['counts']['new_posts'] >= 0:
feed... | Only update the RSS feed build_date if there are new/updated posts. | tylerbutler_engineer | train |
8abed6b53f205c0989be70670508624fd0839009 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ with open(initfile) as fp:
exec(fp.read(), about)
long_description = read('README.rst', 'HISTORY.rst')
-install_requires = ['jukeboxcore']
+install_requires = ['jukebox-core']
tests_require = ['pytest',... | fixed dependency name for jukebox core | JukeboxPipeline_jukeboxmaya | train |
20108c715682a315149755aa267c0310c4d3f446 | diff --git a/astropy_helpers/commands/build_sphinx.py b/astropy_helpers/commands/build_sphinx.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/commands/build_sphinx.py
+++ b/astropy_helpers/commands/build_sphinx.py
@@ -162,7 +162,11 @@ class AstropyBuildDocs(SphinxBuildDoc):
argv = []
if self.wa... | Added back support for -n option | astropy_astropy-helpers | train |
71d075f8c55dff55578563838cd0fd97736387ea | diff --git a/pypki2/__init__.py b/pypki2/__init__.py
index <HASH>..<HASH> 100644
--- a/pypki2/__init__.py
+++ b/pypki2/__init__.py
@@ -388,6 +388,7 @@ class _Loader(object):
def new_context(self, protocol=ssl.PROTOCOL_SSLv23):
self.prepare_loader()
c = self.loader.new_context(protocol=protocol)
+... | Set verify_mode to CERT_REQUIRED by default, as it should be. | nbgallery_pypki2 | train |
0a05761b49dbd3970234ddaf80484fc78a1afbda | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -15,7 +15,6 @@ module.exports = {
DataResolver: require('./util/DataResolver'),
DataStore: require('./stores/DataStore'),
DiscordAPIError: require('./rest/DiscordAPIError'),
- EvaluatedPermissions: re... | Add new exports and remove a deprecated one (#<I>)
* add new exports and remove a deprecated one
* fix incorrect require path | discordjs_discord.js | train |
f744c804132cd850e5ef507d95d08f287b5fb290 | diff --git a/lib/Bzip2.js b/lib/Bzip2.js
index <HASH>..<HASH> 100644
--- a/lib/Bzip2.js
+++ b/lib/Bzip2.js
@@ -335,7 +335,7 @@ Bunzip.prototype._get_next_block = function() {
literal used is the one at the head of the mtfSymbol array.) */
if (runPos){
runPos = 0;
- if (dbufCount + t >= this.dbu... | Apply "exactly fill up the buffer" fix from toybox's bunzip.c.
Quoting the original commit message:
> It's not a problem to exactly fill up the buffer with a run if the
> next symbol is the terminating symbol. Fixes
> <URL> | cscott_compressjs | train |
431b73efa2730f0fb1218e572231643545c87cb3 | diff --git a/etk/data_extractors/table_extractor.py b/etk/data_extractors/table_extractor.py
index <HASH>..<HASH> 100644
--- a/etk/data_extractors/table_extractor.py
+++ b/etk/data_extractors/table_extractor.py
@@ -348,7 +348,7 @@ def extract(html_doc, min_data_rows = 1):
cell_dict["cell"] ... | do not put table cell id from table extractor. | usc-isi-i2_etk | train |
2ad1fc5f8fbe0840e6975853ee9a6d815b65e85b | diff --git a/test/e2e/framework/log_test.go b/test/e2e/framework/log_test.go
index <HASH>..<HASH> 100644
--- a/test/e2e/framework/log_test.go
+++ b/test/e2e/framework/log_test.go
@@ -40,7 +40,7 @@ import (
//
//
//
-//
+// This must be line #43.
func runTests(t *testing.T, reporter ginkgo.Reporter) {
// This so... | e2e: include expected line number in output test
This makes it easier to see when comment lines must be added or removed. | kubernetes_kubernetes | train |
458242ef738d4035d6f5e3c713b8dee59fafb90d | diff --git a/lib/compiler/scope.js b/lib/compiler/scope.js
index <HASH>..<HASH> 100644
--- a/lib/compiler/scope.js
+++ b/lib/compiler/scope.js
@@ -19,9 +19,6 @@ class Scope {
this.arg_uid = uid++;
}
- level() {
- return this.next ? (this.next.level() + 1) : 0;
- }
get(name) {
... | Scope: Remove unused "level" method | juttle_juttle | train |
6ed9be985e4d8fb04409dc8e381594be3058d85d | diff --git a/tests/unit/modules/timezone_test.py b/tests/unit/modules/timezone_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/timezone_test.py
+++ b/tests/unit/modules/timezone_test.py
@@ -132,7 +132,7 @@ class TimezoneTestCase(TestCase):
Test zone set on SUSE series
:return:
''... | Adjust UT to use correct grain for SUSE series | saltstack_salt | train |
aed8dca764194d91dd23f34f210b8e66a76d3522 | diff --git a/src/graphic/Path.js b/src/graphic/Path.js
index <HASH>..<HASH> 100644
--- a/src/graphic/Path.js
+++ b/src/graphic/Path.js
@@ -158,7 +158,6 @@ define(function (require) {
// Only mark dirty, not mark clean
if (dirtyPath) {
this.__dirtyPath = dirtyPath;
-
... | Set _rect null in attr() | ecomfe_zrender | train |
cb785f42d51001810b3ee5643b565b818b36358b | diff --git a/test/models.rb b/test/models.rb
index <HASH>..<HASH> 100644
--- a/test/models.rb
+++ b/test/models.rb
@@ -127,3 +127,16 @@ class Contractor < ActiveRecord::Base
belongs_to :building
has_and_belongs_to_many :apartments
end
+
+class User < ActiveRecord::Base
+ has_many :orders
+end
+
+class Order < A... | Add failing test for deeply nested associations | moiristo_deep_cloneable | train |
9acb98b8611757e6a6c5168e16bf5b0260b304d2 | diff --git a/lib/active_record_shards/connection_switcher.rb b/lib/active_record_shards/connection_switcher.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record_shards/connection_switcher.rb
+++ b/lib/active_record_shards/connection_switcher.rb
@@ -24,6 +24,10 @@ module ActiveRecordShards
switch_connection(sha... | Add #on_primary_db which executes a block in the context of the primary, non-sharded database. | zendesk_active_record_shards | train |
fb9fc102e11fdf1851470aa6b5dd11b0e2737b6f | diff --git a/ccompiler.py b/ccompiler.py
index <HASH>..<HASH> 100644
--- a/ccompiler.py
+++ b/ccompiler.py
@@ -15,6 +15,7 @@ from distutils.spawn import spawn
from distutils.file_util import move_file
from distutils.dir_util import mkpath
from distutils.dep_util import newer_pairwise, newer_group
+from distutils.sys... | Bug #<I>: strip directories when building Python. Out-of-tree builds should work again. | pypa_setuptools | train |
31e698922ba0aba10974eb62c3c6eab5b53b55fd | diff --git a/src/TwitterOAuth.php b/src/TwitterOAuth.php
index <HASH>..<HASH> 100644
--- a/src/TwitterOAuth.php
+++ b/src/TwitterOAuth.php
@@ -89,7 +89,7 @@ class TwitterOAuth {
function get($url, $parameters = array()) {
$url = "{$this->api_host}/{$this->api_version}/{$url}.json";
$response = $this->oAuth... | added JSON_BIGINT_AS_STRING to json_decod | abraham_twitteroauth | train |
8f02bd3ce7b2111905e1ca0fa054c7e3ac331961 | diff --git a/lenstronomy/Cosmo/lens_properties.py b/lenstronomy/Cosmo/lens_properties.py
index <HASH>..<HASH> 100644
--- a/lenstronomy/Cosmo/lens_properties.py
+++ b/lenstronomy/Cosmo/lens_properties.py
@@ -109,3 +109,14 @@ class LensProp(object):
Ds_Dds = sigma_v**2/(1-kappa_ext)/(sigma_v2_model*self.unitMana... | changed double_sersic parameterization | sibirrer_lenstronomy | train |
5aae39215b76702250f6be97bce0c1d0336c11f6 | diff --git a/util.js b/util.js
index <HASH>..<HASH> 100644
--- a/util.js
+++ b/util.js
@@ -14,11 +14,6 @@ if (typeof exports !== 'undefined') {
var _ = ctx._;
}
-util.callstack = function() {
- try { throw new Error(); } catch (err) { return err.stack; };
-};
-
-
// UUID Generator
// -----------------
@@ -58... | New helpers for easing OO programming. | substance_util | train |
85a4a24c8330883c444b57876b3ecfcee7041f69 | diff --git a/core/lib/torquebox/option_utils.rb b/core/lib/torquebox/option_utils.rb
index <HASH>..<HASH> 100644
--- a/core/lib/torquebox/option_utils.rb
+++ b/core/lib/torquebox/option_utils.rb
@@ -63,7 +63,7 @@ module TorqueBox
extracted_options = {}
options.each_pair do |key, value|
if opts_ha... | Coerce symbol option values to strings.
This allows symbols to be used when the wunderboss value is a String
without requiring manual coercion. | torquebox_torquebox | train |
e0416c0f92b998cf94f246908f447b3e51e19631 | diff --git a/state/machine_linklayerdevices.go b/state/machine_linklayerdevices.go
index <HASH>..<HASH> 100644
--- a/state/machine_linklayerdevices.go
+++ b/state/machine_linklayerdevices.go
@@ -732,7 +732,7 @@ func (m *Machine) newIPAddressDocFromArgs(args *LinkLayerDeviceAddress) (*ipAddr
subnetCIDR := ipNet.String... | Drop the address note down to Debug | juju_juju | train |
d2641b560d6012657efa653ed7275eb04964ac56 | diff --git a/src/CryptKey.php b/src/CryptKey.php
index <HASH>..<HASH> 100644
--- a/src/CryptKey.php
+++ b/src/CryptKey.php
@@ -73,7 +73,11 @@ class CryptKey
$tmpDir = sys_get_temp_dir();
$keyPath = $tmpDir . '/' . sha1($key) . '.key';
- if (!file_exists($keyPath) && !touch($keyPath)) {
+ ... | Do not create key file if it already exists and it is the same | thephpleague_oauth2-server | train |
b99472568d3ca58c8ead2b18583e4f0edb1c69d6 | diff --git a/atx/adbkit/openstf/service.py b/atx/adbkit/openstf/service.py
index <HASH>..<HASH> 100644
--- a/atx/adbkit/openstf/service.py
+++ b/atx/adbkit/openstf/service.py
@@ -112,7 +112,12 @@ def route(envelope):
# service calls should have id
if envelope.id:
with service_response_lock:
- ... | add placeholder to avoid memeory leak | NetEaseGame_ATX | train |
aa850334df02a43e66a2752d01305d9468bb98e9 | diff --git a/composer.json b/composer.json
index <HASH>..<HASH> 100644
--- a/composer.json
+++ b/composer.json
@@ -10,15 +10,15 @@
],
"minimum-stability": "dev",
"require": {
- "tuum/locator": "0.2.*",
- "tuum/router": "0.3.*",
- "tuum/view": "0.5.*",
- "tuum/form":"0.2.*",
- ... | use ZendFramework's Diactors which overtook the Phly/Http package. | TuumPHP_Web | train |
855b89bd11e5dda5425c851fd68252a9848b7d32 | diff --git a/src/main/java/com/box/sdk/BoxGroup.java b/src/main/java/com/box/sdk/BoxGroup.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/box/sdk/BoxGroup.java
+++ b/src/main/java/com/box/sdk/BoxGroup.java
@@ -1,15 +1,15 @@
package com.box.sdk;
-import com.box.sdk.BoxGroupMembership.Role;
-import com.eclips... | Fixing issues brought up by checkstyle
Addresses issue #<I> | box_box-java-sdk | train |
5d937960eaa6ebe305a6de10ec4982e0bb1fdc7e | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -28,6 +28,7 @@ module.exports = function (config) {
},
reporters: ['spec', 'kjhtml'],
port: 9876,
+ browserNoActivityTimeout : 60000,
colors: true,
logLevel: config.LOG_INFO,
... | chore(build): fix browser no activity timeout (#<I>)
As we need to wait for the build to be ready while browser is already waiting | akveo_nebular | train |
977b8e19e6662de6d66b99c9b690783a93a63c2a | diff --git a/test/plugins/test_feature_toggle_check.py b/test/plugins/test_feature_toggle_check.py
index <HASH>..<HASH> 100644
--- a/test/plugins/test_feature_toggle_check.py
+++ b/test/plugins/test_feature_toggle_check.py
@@ -31,7 +31,6 @@ def test_waffle_missing_toggle_annotation_check():
MissingCourseWithKw... | remove flag_undefined_default
flag_undefined_default has been deprecated and
is being removed, so remove it from the test.
ARCHBOM-<I> | edx_edx-lint | train |
5db12366c0723fb42a3a4ea18c02995753b92ec0 | diff --git a/sacred/experiment.py b/sacred/experiment.py
index <HASH>..<HASH> 100755
--- a/sacred/experiment.py
+++ b/sacred/experiment.py
@@ -542,6 +542,9 @@ class Experiment(Ingredient):
run.meta_info["command"] = command_name
run.meta_info["options"] = options
+ run.meta_info["named_config... | Log named configs and config updates to observers (#<I>) | IDSIA_sacred | train |
606d385c5bbe8798936b2b702236f31f16791467 | diff --git a/moco-core/src/main/java/com/github/dreamhead/moco/websocket/ActualWebSocketServer.java b/moco-core/src/main/java/com/github/dreamhead/moco/websocket/ActualWebSocketServer.java
index <HASH>..<HASH> 100644
--- a/moco-core/src/main/java/com/github/dreamhead/moco/websocket/ActualWebSocketServer.java
+++ b/moco... | removed unused import in websocket server | dreamhead_moco | train |
ef2f84a1efb913ddfc12bd5843f0165ab8d39a2b | diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -38,7 +38,7 @@ function detectDriver() {
if (detectedDriver) {
return detectedDriver;
}
- throw new Error('Driver was not specified and no driver was detected.');
+ throw new Err... | Fix issue where database errors caused the connection to hang | ratanakvlun_sequelize-msnodesqlv8 | train |
f7411ae17bdc791fc4b8be523aff7466ffa6bcd2 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## next
+* Updated `Resource.property` signature to only accept known named arguments (`dependencies` and `though` at this time) to spare anyone else from going insane wondering why their `dep... | Accept explicit set of named arguments in Resource.property (#<I>) | praxis_praxis | train |
bd2c4097d3766542201a971acc912e4c317e90df | diff --git a/xmlnuke-php5/src/com.xmlnuke/engine/engine.xmlnukeengine.class.php b/xmlnuke-php5/src/com.xmlnuke/engine/engine.xmlnukeengine.class.php
index <HASH>..<HASH> 100644
--- a/xmlnuke-php5/src/com.xmlnuke/engine/engine.xmlnukeengine.class.php
+++ b/xmlnuke-php5/src/com.xmlnuke/engine/engine.xmlnukeengine.class.p... | Improved XSL cache system. Now it is possible define a FileSystem, MemCache or a custom cache engine | byjg_xmlnuke | train |
916e3f956647d1f856065f31a6fa3c039e99193b | diff --git a/src/MicroMerchant/Application.php b/src/MicroMerchant/Application.php
index <HASH>..<HASH> 100755
--- a/src/MicroMerchant/Application.php
+++ b/src/MicroMerchant/Application.php
@@ -110,6 +110,22 @@ class Application extends ServiceContainer
}
/**
+ * setCertificate.
+ *
+ * @param ... | Add setCertificate method | overtrue_wechat | train |
0282729291f643001c7a407730d6156677bc7c96 | diff --git a/src/main/java/org/idpf/epubcheck/util/css/CssParser.java b/src/main/java/org/idpf/epubcheck/util/css/CssParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/idpf/epubcheck/util/css/CssParser.java
+++ b/src/main/java/org/idpf/epubcheck/util/css/CssParser.java
@@ -129,6 +129,11 @@ public final cla... | Fixes Issue <I> | w3c_epubcheck | train |
171d277fe59e1008e560eb1a831dc6551a7e97ac | diff --git a/tags/html/Tag.php b/tags/html/Tag.php
index <HASH>..<HASH> 100644
--- a/tags/html/Tag.php
+++ b/tags/html/Tag.php
@@ -362,17 +362,23 @@ class Tag
if($first) {
$condition = $contentRow . '> ';
$first = false;
- } else if ($content ===... | #<I> - fix only one script in condition comments tags | maveius_liphte | train |
c3c3209022211b49348176388e95ce5fe6b4b09b | diff --git a/argos/inspector/pgplugins/imageplot2d.py b/argos/inspector/pgplugins/imageplot2d.py
index <HASH>..<HASH> 100644
--- a/argos/inspector/pgplugins/imageplot2d.py
+++ b/argos/inspector/pgplugins/imageplot2d.py
@@ -410,12 +410,13 @@ class PgImagePlot2d(AbstractInspector):
self.imageItem.clear()
... | Image plot, color legend and histogram are cleared whenever there is no image. | titusjan_argos | train |
4b414852cb87dca3b1fe7f4e2b8ab2125765b0a9 | diff --git a/src/libraries.js b/src/libraries.js
index <HASH>..<HASH> 100644
--- a/src/libraries.js
+++ b/src/libraries.js
@@ -283,6 +283,10 @@ export const BANNED_LIBRARIES = [
'dompurify.2.1.0.purify.min.js',
'dompurify.2.1.1.purify.js',
'dompurify.2.1.1.purify.min.js',
+ 'dompurify.2.2.0.purify.js',
+ 'do... | Update list of disallowed dompurify versions (#<I>) | mozilla_addons-linter | train |
fe847a0c1f217d91854ece667eaca24268c6db50 | diff --git a/tests/unit/py2/nupic/research/spatial_pooler_unit_test.py b/tests/unit/py2/nupic/research/spatial_pooler_unit_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/py2/nupic/research/spatial_pooler_unit_test.py
+++ b/tests/unit/py2/nupic/research/spatial_pooler_unit_test.py
@@ -41,26 +41,28 @@ class Spatial... | Support for overriding SP params in test | numenta_nupic | train |
870d1aae1e721aa09005e2d82530c210e841c85c | diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php
index <HASH>..<HASH> 100644
--- a/auth/ldap/auth.php
+++ b/auth/ldap/auth.php
@@ -992,7 +992,7 @@ class auth_plugin_ldap extends auth_plugin_base {
* This will not affect user_password_updated event triggering.
* @return stdClass|bool updated ... | MDL-<I> auth_ldap: keep method visibility unmodified. | moodle_moodle | train |
62cfa4ec46765893196cdbbea0f100e6c97d66fa | diff --git a/lib/transforms/minifySvgAssetsWithSvgo.js b/lib/transforms/minifySvgAssetsWithSvgo.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/minifySvgAssetsWithSvgo.js
+++ b/lib/transforms/minifySvgAssetsWithSvgo.js
@@ -4,12 +4,8 @@ if (typeof setImmediate === 'undefined') {
setImmediate = process.nextTick;... | Fixed jshint complaints. | assetgraph_assetgraph | train |
f803425b6f4685c3420f7628f07f6177dd060f3a | diff --git a/models/classes/routing/ActionEnforcer.php b/models/classes/routing/ActionEnforcer.php
index <HASH>..<HASH> 100644
--- a/models/classes/routing/ActionEnforcer.php
+++ b/models/classes/routing/ActionEnforcer.php
@@ -86,8 +86,8 @@ class ActionEnforcer implements IExecutable, ServiceManagerAwareInterface, TaoL... | Move initialization after propagation of controller | oat-sa_tao-core | train |
e977d4e6addec7b10674ee7e37420fab2ecdcc4f | diff --git a/peewee_validates.py b/peewee_validates.py
index <HASH>..<HASH> 100644
--- a/peewee_validates.py
+++ b/peewee_validates.py
@@ -1,6 +1,7 @@
from collections import namedtuple
import decimal
import re
+from copy import deepcopy
from dateutil.parser import parse as dateutil_parse
import peewee
@@ -226,7... | Added support for sub-classing validators. | timster_peewee-validates | train |
1e371f537cdcc51bdf451762b7b6b7d158a7a10c | diff --git a/lago/providers/libvirt/network.py b/lago/providers/libvirt/network.py
index <HASH>..<HASH> 100644
--- a/lago/providers/libvirt/network.py
+++ b/lago/providers/libvirt/network.py
@@ -44,6 +44,10 @@ class Network(object):
self._spec = spec
self.compat = compat
+ def __del__(self):
+ ... | Close libvirt connections
As documented in libvirt python API, the connections must be closed
explicitly. For now adding it to destructors, until we implement a
more intelligent and safer way(such as using a context manager). | lago-project_lago | train |
84cff54a5c29336635b247f14440acf8ea9efa23 | diff --git a/lib/basicpar.py b/lib/basicpar.py
index <HASH>..<HASH> 100644
--- a/lib/basicpar.py
+++ b/lib/basicpar.py
@@ -851,8 +851,10 @@ class IrafArrayPar(IrafPar):
fields[1] = self.type
fields[2] = self.mode
fields[3] = str(ndim)
+ next = 4
for d in self.shape:
- ... | for PyRAF #<I>; the IrafArrayPar save() method was writing the par data incorrectly - it was putting the array dimension info at the very end (maing it look like more array data) instead of at field 4+ - I fixed this
git-svn-id: <URL> | spacetelescope_stsci.tools | train |
0ca0b26037ec0c96043f14a1e47cf9feffa76162 | diff --git a/core/field_iconmenu.js b/core/field_iconmenu.js
index <HASH>..<HASH> 100644
--- a/core/field_iconmenu.js
+++ b/core/field_iconmenu.js
@@ -276,8 +276,13 @@ Blockly.FieldIconMenu.prototype.buttonClick_ = function(e) {
Blockly.FieldIconMenu.prototype.onHide_ = function() {
// Reset the button colour and... | Drop-down and field bug fixes (#<I>)
* Only reset icon menu field colour if block still exists
* Hide drop-downs and WidgetDiv on block creation | LLK_scratch-blocks | train |
55e3f3db525d48ae7d574fba30bc0ee4a4418f09 | diff --git a/salt/utils/thin.py b/salt/utils/thin.py
index <HASH>..<HASH> 100644
--- a/salt/utils/thin.py
+++ b/salt/utils/thin.py
@@ -243,7 +243,7 @@ def gen_thin(cachedir, extra_mods='', overwrite=False, so_mods='',
'print(json.dumps(salt.utils.thin.get_tops(**(json.loads(sys.argv[1]))))); exit(0);\' '
... | prevent stacktrace from being written to the console
stderr wasn't being set to a subprocess.PIPE, which means it would just
get printed to the console. | saltstack_salt | train |
669aef01d61cb8b2ddb4c6ac67d041c1cff4fa34 | diff --git a/examples/flowsequenceSync.py b/examples/flowsequenceSync.py
index <HASH>..<HASH> 100644
--- a/examples/flowsequenceSync.py
+++ b/examples/flowsequenceSync.py
@@ -36,22 +36,22 @@ import time
import cflib.crtp
from cflib.crazyflie.syncCrazyflie import SyncCrazyflie
-URI = "radio://0/80/250K"
+URI = 'radi... | Update flowsequenceSync.py example with ' | bitcraze_crazyflie-lib-python | train |
83c6ad8b82c82831605b5c0de220b308c8c20cfb | diff --git a/src/apis.php b/src/apis.php
index <HASH>..<HASH> 100644
--- a/src/apis.php
+++ b/src/apis.php
@@ -1750,8 +1750,11 @@ class ShopgateMerchantApi extends ShopgateObject implements ShopgateMerchantApiI
)
? SHOPGATE_PLUGIN_VERSION
: 'called outside plugin');
- ... | Improve security: always check certificates, prefer HTTPS (#<I>)
* Improve security: always check certificates, prefer HTTPS
* Improve security: set default for always_use_ssl to 1 | shopgate_cart-integration-sdk | train |
8bc51e46329e1517ababc75ea2a63bb3c834a4bb | diff --git a/andes/models/renewable/regcvsg.py b/andes/models/renewable/regcvsg.py
index <HASH>..<HASH> 100644
--- a/andes/models/renewable/regcvsg.py
+++ b/andes/models/renewable/regcvsg.py
@@ -3,6 +3,7 @@ REGCVSG model.
Voltage-controlled VSC with virtual synchronous generator control.
"""
+from numpy import diag... | Equation `udref` and `uqref` fix. | cuihantao_andes | train |
26f53257563fa905d2d4b65d5e337f7574a190ed | diff --git a/actionpack/lib/action_dispatch/journey/formatter.rb b/actionpack/lib/action_dispatch/journey/formatter.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/journey/formatter.rb
+++ b/actionpack/lib/action_dispatch/journey/formatter.rb
@@ -15,12 +15,12 @@ module ActionDispatch
@cache... | Clean up the generate method signature
Journey is a private API inside Rails now, so lets start cleaning up
some of its signatures. In this case, we always wan to parameterize
things the same way, so lets just do that in the code (rather than
passing some strategy object in). | rails_rails | train |
15ff6a5b160307ada2641a39616be7ec607d8f72 | diff --git a/src/Exceptions/NotificationCouldNotBeSent.php b/src/Exceptions/NotificationCouldNotBeSent.php
index <HASH>..<HASH> 100644
--- a/src/Exceptions/NotificationCouldNotBeSent.php
+++ b/src/Exceptions/NotificationCouldNotBeSent.php
@@ -6,7 +6,7 @@ use Exception;
class NotificationCouldNotBeSent extends Except... | type fix (#<I>) | spatie_laravel-backup | train |
cf033467749fce56baa2c661632b6c2de76a16bc | diff --git a/src/server/examples/examples_test.go b/src/server/examples/examples_test.go
index <HASH>..<HASH> 100644
--- a/src/server/examples/examples_test.go
+++ b/src/server/examples/examples_test.go
@@ -137,10 +137,13 @@ func TestFruitStand(t *testing.T) {
time.Sleep(5)
repoInfos, err = c.ListRepo(nil)
requir... | Update TestFruitStand to work in parallel | pachyderm_pachyderm | train |
37d924eca81377b418c066af03ddfe35d309ec0c | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -834,7 +834,7 @@ var CodeMirror = (function() {
function needsScrollbar() {
var realHeight = doc.height * textHeight() + 2 * paddingTop();
- return realHeight - 1 > scroll... | Fix problem with ghost scrollbar in self-resizing editor | codemirror_CodeMirror | train |
83818c145976e92da3f5f1d0313295cef203c2cc | diff --git a/src/components/LazyLoadImage.spec.js b/src/components/LazyLoadImage.spec.js
index <HASH>..<HASH> 100644
--- a/src/components/LazyLoadImage.spec.js
+++ b/src/components/LazyLoadImage.spec.js
@@ -12,6 +12,7 @@ configure({ adapter: new Adapter() });
const {
findRenderedComponentWithType,
+ findRendered... | Add tests for background reset after image is loaded | Aljullu_react-lazy-load-image-component | train |
ed6768eadeefeac0d7dd7581bcfca1a9c1a8d6e5 | diff --git a/tests/test_pandapower.py b/tests/test_pandapower.py
index <HASH>..<HASH> 100644
--- a/tests/test_pandapower.py
+++ b/tests/test_pandapower.py
@@ -6,7 +6,7 @@ import unittest
import numpy as np
import andes
-from andes.shared import rad2deg
+from andes.shared import deg2rad
from andes.interop.pandapowe... | Refacotr test for pandapower interface | cuihantao_andes | train |
40dccf5b2974b59eaf30ce6f1354a0702040466f | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -67,6 +67,7 @@ based on _prefix_ in addition to globs. This means that a filter like
- [#967](https://github.com/influxdata/telegraf/issues/967): Buffer logging improvements.
- [#1107](https://github.com/infl... | Metric for MongoDB jumbo chunks
closes #<I> | influxdata_telegraf | train |
76ba80fabed47463b40886fa81bb16a5a5203807 | diff --git a/arcana/parameter.py b/arcana/parameter.py
index <HASH>..<HASH> 100644
--- a/arcana/parameter.py
+++ b/arcana/parameter.py
@@ -1,4 +1,4 @@
-from past.builtins import basestring
+from builtins import str
from builtins import object
from copy import copy
from arcana.exception import ArcanaUsageError
@@ -6,... | Implemented Switch and SwitchSpec classes | MonashBI_arcana | train |
ab5fc48df2b3f0e164c2ee3d87a28004591d0cb0 | diff --git a/src/main/java/org/dynjs/runtime/linker/PrimitivesLinker.java b/src/main/java/org/dynjs/runtime/linker/PrimitivesLinker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dynjs/runtime/linker/PrimitivesLinker.java
+++ b/src/main/java/org/dynjs/runtime/linker/PrimitivesLinker.java
@@ -50,7 +50,7 @@ pub... | better handling for bops (Boolean-returning sigs) | dynjs_dynjs | train |
98f521872c7e79f156df8139bb6e8265cb69b69c | diff --git a/src/main/java/com/afrozaar/wordpress/wpapi/v2/Client.java b/src/main/java/com/afrozaar/wordpress/wpapi/v2/Client.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/afrozaar/wordpress/wpapi/v2/Client.java
+++ b/src/main/java/com/afrozaar/wordpress/wpapi/v2/Client.java
@@ -133,6 +133,12 @@ public class... | adding delete methods for media. WIP | Afrozaar_wp-api-v2-client-java | train |
7f8f685478c9f111a4e3374545409c026b2202ad | diff --git a/Gemfile.lock b/Gemfile.lock
index <HASH>..<HASH> 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- big_machine (1.0.0)
+ big_machine (1.0.1)
activesupport (~> 3.2.8)
GEM
diff --git a/lib/big_machine.rb b/lib/big_machine.rb
index <HASH>..<HASH> 10064... | Transtion, enter and exit method can takes args et block | alaibe_big_machine | train |
c4ef53bf54729d74c2f64ceb2762fb1aa0c41fb4 | diff --git a/app/controllers/catarse_pagarme/pagarme_controller.rb b/app/controllers/catarse_pagarme/pagarme_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/catarse_pagarme/pagarme_controller.rb
+++ b/app/controllers/catarse_pagarme/pagarme_controller.rb
@@ -24,10 +24,6 @@ module CatarsePagarme
def... | create value_with_installment_tax method
Use this method when transactions is made with credit_cards to charge
with installment tax :) | catarse_catarse_pagarme | train |
78f664c632800c5e2b1f1f85bc485549b94e41d9 | diff --git a/JWEDecrypter.php b/JWEDecrypter.php
index <HASH>..<HASH> 100644
--- a/JWEDecrypter.php
+++ b/JWEDecrypter.php
@@ -113,6 +113,8 @@ class JWEDecrypter
$key_encryption_algorithm = $this->getKeyEncryptionAlgorithm($completeHeader);
$content_encryption_algorithm = $this->getContentEncryptionAl... | Check IV and CEK sizes correspond to the algorithms requirements | web-token_jwt-encryption | train |
7a28d5a6485b1020b7001255bab69b90ae9cb96d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
install_requires=[
'jupyterhub>=0.8',
'pyYAML',
- 'kubernetes==6.*',
+ 'kubernetes>=7',
'escapism',
'jinja2',
'async_generator>=1.8', | kubernetes client v7 for k8s <I>
This client introduces support for new API found in k8s <I>. It
contains a breaking change where a parameter called async to functions
within the package must be renamed to async_req. We don't use this
parameters so it should be fine.
<URL> | jupyterhub_kubespawner | train |
8a67ad41dec8c7ea8570276e648873b630e0de04 | diff --git a/python/gumath/__init__.py b/python/gumath/__init__.py
index <HASH>..<HASH> 100644
--- a/python/gumath/__init__.py
+++ b/python/gumath/__init__.py
@@ -97,7 +97,7 @@ def reduce(f, x, axes=0, dtype=None):
N = len(axes)
t = T.type.at(N, dtype=dtype)
- acc = xnd.empty(t)
+ acc = xnd.empty(t, d... | Use device memory for the accumulator. | xnd-project_gumath | train |
c33967b9591a6cd8d9062cb673c521b0dcbe0d7d | diff --git a/src/main/java/apoc/export/csv/CsvLoaderConstants.java b/src/main/java/apoc/export/csv/CsvLoaderConstants.java
index <HASH>..<HASH> 100644
--- a/src/main/java/apoc/export/csv/CsvLoaderConstants.java
+++ b/src/main/java/apoc/export/csv/CsvLoaderConstants.java
@@ -4,7 +4,7 @@ import java.util.regex.Pattern;
... | Allow dashes in id spaces in CSV headers. Fixes #<I> (#<I>) | neo4j-contrib_neo4j-apoc-procedures | train |
5e58abe72a227303b888870a688a2b18cf24df80 | diff --git a/pycronofy/client.py b/pycronofy/client.py
index <HASH>..<HASH> 100644
--- a/pycronofy/client.py
+++ b/pycronofy/client.py
@@ -587,7 +587,7 @@ class Client(object):
endpoint="service_account_authorizations", data=params)
None
- def real_time_scheduling(self, availability, oauth, e... | Support redirect and callback urls on RTS creation | cronofy_pycronofy | train |
550b4b0b7fa4ac267e14de6eded1b0b2af81b330 | diff --git a/src/ParaTest/Parser/ParsedClass.php b/src/ParaTest/Parser/ParsedClass.php
index <HASH>..<HASH> 100644
--- a/src/ParaTest/Parser/ParsedClass.php
+++ b/src/ParaTest/Parser/ParsedClass.php
@@ -21,8 +21,9 @@ class ParsedClass extends ParsedObject
return $methods ? $methods : $this->methods;
}
+... | Building ExecutableTest|Suite instances with the class name, but the namespace case has to be investigated | paratestphp_paratest | train |
b31a390a9aaedccbdc4dc4c7ce62197ef2e9e533 | diff --git a/examples/pipeline/wikidata_entity_linking.py b/examples/pipeline/wikidata_entity_linking.py
index <HASH>..<HASH> 100644
--- a/examples/pipeline/wikidata_entity_linking.py
+++ b/examples/pipeline/wikidata_entity_linking.py
@@ -30,6 +30,8 @@ def _read_wikidata():
# TODO remove hardcoded path
lang... | reading types, claims and sitelinks | explosion_spaCy | train |
76372e6889bb536d6a79e5f5e2e9567c95076304 | diff --git a/test/flash_test.py b/test/flash_test.py
index <HASH>..<HASH> 100644
--- a/test/flash_test.py
+++ b/test/flash_test.py
@@ -20,6 +20,7 @@ from time import sleep, time
from random import randrange
import math
import struct
+import traceback
parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__f... | flash_test.py and speed_test.py now print the performance when run standalone.
- Also added printing of exception tracebacks for any exceptions that
happen while running the tests. | mbedmicro_pyOCD | train |
1291b9e86e8d4474d8246d5446d106448b2e3966 | diff --git a/phypayload.go b/phypayload.go
index <HASH>..<HASH> 100644
--- a/phypayload.go
+++ b/phypayload.go
@@ -59,8 +59,8 @@ type PHYPayload struct {
uplink bool
}
-// New returns a new PHYPayload instance set to either uplink or downlink.
-func New(uplink bool) PHYPayload {
+// NewPayload returns a new PH... | Rename New to NewPayload. | brocaar_lorawan | train |
9916d97d5ae911a29614442eff9c8f4aa719b1aa | diff --git a/astrobase/plotbase.py b/astrobase/plotbase.py
index <HASH>..<HASH> 100644
--- a/astrobase/plotbase.py
+++ b/astrobase/plotbase.py
@@ -804,6 +804,7 @@ def make_lsp_phasedlc_checkplot(lspinfo,
else:
objectid = objectinfo['objectid']
+ # figure out dss stamp output path
... | plotbase: clean up after DSS stamp download | waqasbhatti_astrobase | train |
62228e32cee54d12ff75b464064b6de50840f537 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -274,6 +274,7 @@ function processPaths(container,containerName,options,requestBodyCache,openapi)
if (response.$ref) {
response.$ref = response.$ref.replace('#/responses/','#/components/responses/');
}
+ ... | Fixup info.version and response.descriptions | wework_speccy | train |
df22d52de170b785e9dce003483ab8fefaec7f0a | diff --git a/ping.go b/ping.go
index <HASH>..<HASH> 100644
--- a/ping.go
+++ b/ping.go
@@ -152,6 +152,9 @@ type Pinger struct {
// rtts is all of the Rtts
rtts []time.Duration
+ // OnSetup is called when Pinger has finished setting up the listening socket
+ OnSetup func()
+
// OnSend is called when Pinger sends... | Add OnSetup callback (#<I>) | sparrc_go-ping | train |
bec18e13f7fe81297a01aad34728f5e7de8eb694 | diff --git a/pythonforandroid/distribution.py b/pythonforandroid/distribution.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/distribution.py
+++ b/pythonforandroid/distribution.py
@@ -2,7 +2,7 @@ from os.path import exists, join
import glob
import json
-from pythonforandroid.logger import (info, info_notify,... | Fixes rebase conflict and unit tests | kivy_python-for-android | train |
865e6a05f07b78c0ef3d745d766c691a9b4738c0 | diff --git a/query/functions.go b/query/functions.go
index <HASH>..<HASH> 100644
--- a/query/functions.go
+++ b/query/functions.go
@@ -73,7 +73,18 @@ func (m FunctionTypeMapper) CallType(name string, args []influxql.DataType) (inf
// Handle functions implemented by the query engine.
switch name {
- case "median",... | Marked functions that always return floats as always returning floats
These functions, when used on non-float types in subqueries, would
return incorrect results as the type system thought they would return a
different type than the actual implementation would return. | influxdata_influxdb | train |
a32a61eb6fc6a7b9f46b5aa81139d68dab54e85f | diff --git a/parser_private.go b/parser_private.go
index <HASH>..<HASH> 100644
--- a/parser_private.go
+++ b/parser_private.go
@@ -110,11 +110,11 @@ func (p *parseState) estimateCommand() error {
return newError(errtype, msg)
}
-func (p *Parser) parseOption(s *parseState, name string, option *Option, canarg bool, ... | the returning Option of parseOption is never used | jessevdk_go-flags | train |
2e5869db00907bb195b5bffc2fb60e434f2eaa36 | diff --git a/src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php b/src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php
+++ b/src/Symfony/Bundle/DoctrineBundle/DoctrineBundle.php
@@ -49,7 +49,7 @@ class DoctrineBundle extends Bundle... | fixed "using $this when not in object context" error for <I> branch (replaces #<I>) | symfony_symfony | train |
ce9d21c18fe7a771459dbeffa9150caeb19694d0 | diff --git a/src/Axstrad/Bundle/PageBundle/Entity/Page.php b/src/Axstrad/Bundle/PageBundle/Entity/Page.php
index <HASH>..<HASH> 100644
--- a/src/Axstrad/Bundle/PageBundle/Entity/Page.php
+++ b/src/Axstrad/Bundle/PageBundle/Entity/Page.php
@@ -4,6 +4,7 @@ namespace Axstrad\Bundle\PageBundle\Entity;
use Axstrad\Componen... | Add Doctrine ORM annotation mapping to Page entity. | dankempster_axstrad-filesystem | train |
301e29bcb4b2ac20d858ec53e144761a508fb637 | diff --git a/packages/list-view/tests/list_view_test.js b/packages/list-view/tests/list_view_test.js
index <HASH>..<HASH> 100644
--- a/packages/list-view/tests/list_view_test.js
+++ b/packages/list-view/tests/list_view_test.js
@@ -152,7 +152,9 @@ test("should perform correct number of renders and repositions while shor... | Skip profiling when `console` is undefined | emberjs_list-view | train |
09f2de041bd2a25994141d1f498c4f427f1f630e | diff --git a/bookstore/clone.py b/bookstore/clone.py
index <HASH>..<HASH> 100644
--- a/bookstore/clone.py
+++ b/bookstore/clone.py
@@ -270,7 +270,7 @@ class BookstoreCloneAPIHandler(APIHandler):
dict
Jupyter Contents API compatible model
"""
- path = self.contents_manager.increment... | Update file naming scheme for s3 cloning to match improved fs cloning | nteract_bookstore | train |
68119e017bab5c3da1e493e9f92af6c65868e8b1 | diff --git a/java/client/test/org/openqa/selenium/ContentEditableTest.java b/java/client/test/org/openqa/selenium/ContentEditableTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/ContentEditableTest.java
+++ b/java/client/test/org/openqa/selenium/ContentEditableTest.java
@@ -29,7 +29,6 @@... | [java] Adding links to bug-reports in tests | SeleniumHQ_selenium | train |
ea2aab1ae68666a627967d237724380aaa135d38 | diff --git a/src/Spiritix/LadaCache/LadaCacheServiceProvider.php b/src/Spiritix/LadaCache/LadaCacheServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Spiritix/LadaCache/LadaCacheServiceProvider.php
+++ b/src/Spiritix/LadaCache/LadaCacheServiceProvider.php
@@ -85,7 +85,7 @@ class LadaCacheServiceProvider extends ... | * fix: compatibility with L<I> service resolution | spiritix_lada-cache | train |
1bd9461acbccdf10268f9740405857b2550557ee | diff --git a/tomltree_write.go b/tomltree_write.go
index <HASH>..<HASH> 100644
--- a/tomltree_write.go
+++ b/tomltree_write.go
@@ -510,8 +510,27 @@ func (t *Tree) ToMap() map[string]interface{} {
case *Tree:
result[k] = node.ToMap()
case *tomlValue:
- result[k] = node.value
+ result[k] = node.toValue()
... | Fix ToMap for tables in mixed-type arrays (#<I>) | pelletier_go-toml | train |
50a3a17a75fec6af5aea14d66e689e2163580a9d | diff --git a/src/frontend/org/voltdb/client/Distributer.java b/src/frontend/org/voltdb/client/Distributer.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/client/Distributer.java
+++ b/src/frontend/org/voltdb/client/Distributer.java
@@ -29,12 +29,12 @@ import java.util.List;
import java.util.Map;
import... | Fix deadlock in connection creation in Java client library | VoltDB_voltdb | train |
fae5489b634b6f8b57ddeae96c2ebf288f460a7d | diff --git a/tormysql/pool.py b/tormysql/pool.py
index <HASH>..<HASH> 100644
--- a/tormysql/pool.py
+++ b/tormysql/pool.py
@@ -96,9 +96,9 @@ class ConnectionPool(object):
return connection.do_close()
if self._wait_connections:
- future = self._wait_connections.popleft()
+ w... | fix connection pool release_connection active wait_future bug | snower_TorMySQL | train |
52af8bd8d96ea9d180bc01269c7370841c37308a | diff --git a/samples/betaFeatures.js b/samples/betaFeatures.js
index <HASH>..<HASH> 100644
--- a/samples/betaFeatures.js
+++ b/samples/betaFeatures.js
@@ -158,9 +158,7 @@ async function speechTranscribeMultiChannel(fileName) {
const transcription = response.results
.map(
result =>
- ` Channel Tag:... | refactor: changes formatting of various statements | googleapis_nodejs-speech | train |
9b2e894ef112da95db366ed9bfa496dd12b10034 | diff --git a/src/js/device.js b/src/js/device.js
index <HASH>..<HASH> 100644
--- a/src/js/device.js
+++ b/src/js/device.js
@@ -66,22 +66,25 @@ var detect = function (w, d) {
*/
function save( tests, cookieName ) {
var recipe = {};
- var cName = cookieName || 'djs';
- _dt.first = !hasCookie( cName );
+... | Makes changes to variable, then applies to documentElement.className to work around issues with IE8. | jonesiscoding_device | train |
fd595ecb6018d1f0822fc576a5b400867410c97e | diff --git a/decode.go b/decode.go
index <HASH>..<HASH> 100644
--- a/decode.go
+++ b/decode.go
@@ -381,7 +381,7 @@ func unifyInt(data interface{}, rv reflect.Value) error {
return e("Value '%d' is out of range for uint32.", num)
}
}
- rv.SetInt(num)
+ rv.SetUint(unum)
} else {
panic("unreachab... | Fixes #<I>.
reflect.Value.SetUint needs to be called when setting unsigned integers.
Add a test that will catch the error reported in #<I>. | BurntSushi_toml | train |
dcfe7918c7023e795cd844edeebf48a4867ba911 | diff --git a/resources/views/bread/browse.blade.php b/resources/views/bread/browse.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/bread/browse.blade.php
+++ b/resources/views/bread/browse.blade.php
@@ -2,20 +2,21 @@
@section('page_title', __('voyager.generic.viewing').' '.$dataType->display_name_plural)... | Reposition add and bulk delete buttons (#<I>) | the-control-group_voyager | train |
cb7a68089609103a8eb8df6675eb8fe75ffbbe55 | diff --git a/test/e2e/framework/events/events.go b/test/e2e/framework/events/events.go
index <HASH>..<HASH> 100644
--- a/test/e2e/framework/events/events.go
+++ b/test/e2e/framework/events/events.go
@@ -20,6 +20,7 @@ import (
"context"
"encoding/json"
"fmt"
+ "strconv"
"strings"
"time"
@@ -123,6 +124,82 @@ ... | Add: test to ensure that a set of events can be removed by delete collection | kubernetes_kubernetes | train |
58c71a360962f5333e0be09e8c1eddb219a77cf8 | diff --git a/src/Query/Builder.php b/src/Query/Builder.php
index <HASH>..<HASH> 100644
--- a/src/Query/Builder.php
+++ b/src/Query/Builder.php
@@ -154,7 +154,7 @@ class Builder extends QueryBuilder
$this->compileWheres();
$result = $this->query->insert($values);
- return (0 == (int) $result['... | some enhancements based on CIStyle recommendations | duxet_laravel-rethinkdb | train |
f49251afd2d8bcf1d29f2a2cc19c5e244ee940dc | diff --git a/syntax/printer.go b/syntax/printer.go
index <HASH>..<HASH> 100644
--- a/syntax/printer.go
+++ b/syntax/printer.go
@@ -6,6 +6,7 @@ package syntax
import (
"bufio"
"bytes"
+ "fmt"
"io"
"strings"
"unicode"
@@ -79,6 +80,8 @@ func (p *Printer) Print(w io.Writer, node Node) error {
p.word(x)
case... | syntax: error in Printer.Print when doing nothing
If we're given a node we don't support or know about, error instead of
just doing nothing.
Encountered this while writing some tests. | mvdan_sh | train |
47799af94e8a8d53a88a117eaa0e51d49ce03da8 | diff --git a/logback-classic/src/test/java/ch/qos/logback/classic/PatternLayoutTest.java b/logback-classic/src/test/java/ch/qos/logback/classic/PatternLayoutTest.java
index <HASH>..<HASH> 100644
--- a/logback-classic/src/test/java/ch/qos/logback/classic/PatternLayoutTest.java
+++ b/logback-classic/src/test/java/ch/qos/... | - adjustments for BEA Jrockit | tony19_logback-android | train |
24013f6cf52b1ca8c1ef288eb598cd914d960586 | diff --git a/haze/ec2.py b/haze/ec2.py
index <HASH>..<HASH> 100644
--- a/haze/ec2.py
+++ b/haze/ec2.py
@@ -19,6 +19,24 @@ Helper functions for use in ec2.
import boto.ec2
import boto.utils
import subprocess
+import urllib2
+
+
+def getAWSAccountID():
+ '''
+ Print an instance's AWS account number or 0 when not in ... | Add getAWSAccountID function
Useful to be able to tell what account we're running under. | unixorn_haze | train |
d288b2299989621db35bfb19aecd11e7f0f589b2 | diff --git a/commands/access/index.js b/commands/access/index.js
index <HASH>..<HASH> 100644
--- a/commands/access/index.js
+++ b/commands/access/index.js
@@ -14,7 +14,7 @@ function printAccess (app, collaborators) {
let showPrivileges = Utils.isOrgApp(app.owner.email) && (orgFlags.indexOf('org-access-controls') !==... | Hides @herokumanager from the access list | heroku_heroku-orgs | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.