hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
20f86c01ce767df6ccfc4080dfab56f8e3b64912 | diff --git a/commands/request.go b/commands/request.go
index <HASH>..<HASH> 100644
--- a/commands/request.go
+++ b/commands/request.go
@@ -5,10 +5,19 @@ import (
"io"
"reflect"
"strconv"
+
+ "github.com/jbenet/go-ipfs/config"
+ "github.com/jbenet/go-ipfs/core"
)
type optMap map[string]interface{}
+type Cont... | commands: Added Context() to Request | ipfs_go-ipfs | train |
4cbdd83ae9688513d974fd7d9396fba44866ba52 | diff --git a/fulfil_client/model.py b/fulfil_client/model.py
index <HASH>..<HASH> 100644
--- a/fulfil_client/model.py
+++ b/fulfil_client/model.py
@@ -8,6 +8,7 @@ and better
import six
import logging
import functools
+import warnings
from datetime import datetime, date
from copy import copy
from decimal import De... | Improve multi record caching
This patch fixes a caching performance problem
where the cache looked up records from fulfil server
by reading records one at a time. Network latency
is more than the actual time to read a bulk of records.
This optimizes for network | fulfilio_fulfil-python-api | train |
7f21ed0a088c3b01d76b3730869166945238369f | diff --git a/config-dist.php b/config-dist.php
index <HASH>..<HASH> 100644
--- a/config-dist.php
+++ b/config-dist.php
@@ -55,8 +55,8 @@ $CFG->dbpass = 'password'; // your database password
$CFG->prefix = 'mdl_'; // Prefix to use for all table names
$CFG->dbpersist = false; // Should databas... | Changed example for dirroot which must not contain capital letters | moodle_moodle | train |
f7828842f6fc715a2555052f5980dda633f87e81 | diff --git a/lib/page/redirect-next-page/redirect-next-page.js b/lib/page/redirect-next-page/redirect-next-page.js
index <HASH>..<HASH> 100644
--- a/lib/page/redirect-next-page/redirect-next-page.js
+++ b/lib/page/redirect-next-page/redirect-next-page.js
@@ -175,6 +175,27 @@ module.exports = async function getRedirectF... | Fix exit page change answer bug
When a user changes an answer from the summary page the form will
return them to the summary page.
The form should take into consideration the change and check whether it
needs to take the user back through the form along new paths that may
have opened up | ministryofjustice_fb-runner-node | train |
c69ecb13888e27873f6863257fd2e02111d5fbf7 | diff --git a/packages/cozy-stack-client/src/DocumentCollection.js b/packages/cozy-stack-client/src/DocumentCollection.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-stack-client/src/DocumentCollection.js
+++ b/packages/cozy-stack-client/src/DocumentCollection.js
@@ -29,13 +29,14 @@ export default class DocumentColl... | fix: Restored keys option for DC.all() | cozy_cozy-client | train |
e96531839822be2966bbdd34181cf9397a7bd829 | diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameEncoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameEncoder.java
index <HASH>..<HASH> 100644
--- a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameEncod... | Optimize encoding of websocket frames by merge if possible | netty_netty | train |
2c1f3535d57495bfe0b49ac7395b94475fa93348 | diff --git a/andes/core/service.py b/andes/core/service.py
index <HASH>..<HASH> 100644
--- a/andes/core/service.py
+++ b/andes/core/service.py
@@ -185,6 +185,9 @@ class ExtendedEvent(VarService):
enable : bool or v-provider
If disabled, the output will be `v_disabled`
+
+ extend_only : bool
+ ... | Allow `ExtendedEvent` to be true for the extended period only. | cuihantao_andes | train |
2e0fe75a01dc601e57388346ed0183b9faeae8b2 | diff --git a/src/main/java/org/jbake/parser/AsciidoctorEngine.java b/src/main/java/org/jbake/parser/AsciidoctorEngine.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jbake/parser/AsciidoctorEngine.java
+++ b/src/main/java/org/jbake/parser/AsciidoctorEngine.java
@@ -1,9 +1,7 @@
package org.jbake.parser;
-imp... | removed unused imports in parser classes | jbake-org_jbake | train |
f9426937b210e9b7ba2596bf2fbec128c1ff9912 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,7 @@ class MyComponent extends Component {
| rowSizeLabel | string | 'Rows per page:' | |
| rowSizeList | array | [10, 30, 50, 100] | ... | Add selectedRows prop to select particular rows | hyojin_material-ui-datatables | train |
71ec9cd3ede29dc831297b1c36def4e8172da070 | diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/test/IntegrationTestContextLoader.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/test/IntegrationTestContextLoader.java
index <HASH>..<HASH> 100644
--- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/test/IntegrationTestContextLoader.java
+++ b/uaa/... | Enhance IntegrationTestContextLoader to be more like those provided by spring | cloudfoundry_uaa | train |
1014c9479421d25b6122af9e58e8a978e2c17598 | diff --git a/python/mxnet/gluon/parameter.py b/python/mxnet/gluon/parameter.py
index <HASH>..<HASH> 100644
--- a/python/mxnet/gluon/parameter.py
+++ b/python/mxnet/gluon/parameter.py
@@ -503,6 +503,17 @@ class Constant(Parameter):
s = 'Constant {name} (shape={shape}, dtype={dtype})'
return s.format(na... | prevent setting grad_req for Constant (#<I>)
* prevent setting grad_req for Constant
* update
* add ignore new value | apache_incubator-mxnet | train |
148da357f03100fc09569595a05a2da20231458b | diff --git a/activesupport/lib/active_support/rescuable.rb b/activesupport/lib/active_support/rescuable.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/rescuable.rb
+++ b/activesupport/lib/active_support/rescuable.rb
@@ -1,4 +1,5 @@
require 'active_support/core_ext/class/inheritable_attributes'
+... | Explicit dependency on Proc#bind extension | rails_rails | train |
7c6808078ff282b5c9504211bb748801ea68a159 | diff --git a/src/Screen/Action.php b/src/Screen/Action.php
index <HASH>..<HASH> 100644
--- a/src/Screen/Action.php
+++ b/src/Screen/Action.php
@@ -39,6 +39,8 @@ class Action extends Field implements Actionable
}
/**
+ * @deprecated
+ *
* Align button to the right.
*
* @return stat... | Added deprecated right/block methods for Action | orchidsoftware_platform | train |
8147e7349f38a4036eed4028099917928cebddd6 | diff --git a/source/rafcon/mvc/mygaphas/items/ports.py b/source/rafcon/mvc/mygaphas/items/ports.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/mygaphas/items/ports.py
+++ b/source/rafcon/mvc/mygaphas/items/ports.py
@@ -57,7 +57,9 @@ class PortView(Model):
self.label_print_inside = True
self.... | Introduce caching for port label
- port label drawing routine is now also cached
- requires an extra dry run when drawing to first determine
required size of label
- also requires extra variable to store the relative position
and size | DLR-RM_RAFCON | train |
78747b26f642af4d1404df5a3a6d08160f07d2f0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,35 @@
#!/usr/bin/env python
from distutils.core import setup
+from os import path
+from setuptools.command.install import install
+import pypandoc
+here = path.abspath(path.dirname(__file__))
+
+with open(path.j... | Change version to <I>, add classifiers and readme conversion from markdown to rSt | hawkular_hawkular-client-python | train |
f1eb7356ba985b318a89f9b67f12171ee8c9d068 | diff --git a/src/Sulu/Bundle/SecurityBundle/Resources/public/js/components/roles/components/content/main.js b/src/Sulu/Bundle/SecurityBundle/Resources/public/js/components/roles/components/content/main.js
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/SecurityBundle/Resources/public/js/components/roles/components/co... | fixed bug for creating a new role | sulu_sulu | train |
bbca79eeb54cde3ce81ea7523a7c3cb39054dbed | diff --git a/lib/grape_devise_token_auth/unauthorized.rb b/lib/grape_devise_token_auth/unauthorized.rb
index <HASH>..<HASH> 100644
--- a/lib/grape_devise_token_auth/unauthorized.rb
+++ b/lib/grape_devise_token_auth/unauthorized.rb
@@ -1,4 +1,4 @@
module GrapeDeviseTokenAuth
- class Unauthorized < Exception
+ class U... | Modify Unauthorized to inherit from StandardError | mcordell_grape_devise_token_auth | train |
f2dfd1393acf7abe4d00fa82acb13c918f13598c | diff --git a/packages/@ember/-internals/glimmer/tests/integration/content-test.js b/packages/@ember/-internals/glimmer/tests/integration/content-test.js
index <HASH>..<HASH> 100644
--- a/packages/@ember/-internals/glimmer/tests/integration/content-test.js
+++ b/packages/@ember/-internals/glimmer/tests/integration/conte... | use HAS_NATIVE_SYMBOL consistently | emberjs_ember.js | train |
06ac31cf1a0621a40abb3e93238e60ddf2d7b56b | diff --git a/accounts/abi/abi.go b/accounts/abi/abi.go
index <HASH>..<HASH> 100644
--- a/accounts/abi/abi.go
+++ b/accounts/abi/abi.go
@@ -77,7 +77,7 @@ func (abi ABI) Pack(name string, args ...interface{}) ([]byte, error) {
return append(method.Id(), arguments...), nil
}
-// toGoSliceType prses the input and cast... | accounts/abi: fix typo in the comment (dummy commit) | ethereum_go-ethereum | train |
8ae26d481aabb04c16e0989f0884b71397f47011 | diff --git a/src/tuwien/auto/calimero/serial/TpuartConnection.java b/src/tuwien/auto/calimero/serial/TpuartConnection.java
index <HASH>..<HASH> 100644
--- a/src/tuwien/auto/calimero/serial/TpuartConnection.java
+++ b/src/tuwien/auto/calimero/serial/TpuartConnection.java
@@ -1,6 +1,6 @@
/*
Calimero 2 - A library f... | Increase inter-byte delay bound when dropping several partial frames | calimero-project_calimero-core | train |
5e82685b89839d705cb3834d1176f760c8266c46 | diff --git a/salt/returners/highstate_return.py b/salt/returners/highstate_return.py
index <HASH>..<HASH> 100644
--- a/salt/returners/highstate_return.py
+++ b/salt/returners/highstate_return.py
@@ -185,8 +185,8 @@ def _generate_html_table(data, out, level=0, extra_style=''):
else:
new_ext... | Python 3 related fix in highstate_return.py
In Python 3 key sets of dicts no longer support indexing:
`TypeError: 'dict_keys' object does not support indexing` | saltstack_salt | train |
de56e18883eb15d117c84d8150bd30f79d299e95 | diff --git a/pycm/pycm_param.py b/pycm/pycm_param.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_param.py
+++ b/pycm/pycm_param.py
@@ -387,13 +387,13 @@ PARAMS_LINK = {
"Scott PI": "Scott's-Pi",
"Gwet AC1": "Gwet's-AC1",
"Bennett S": "Bennett's-S",
- "Kappa 95% CI": "Kappa-95%-CI",
+ "Kappa 95% CI"... | fix : % replaced by %<I> in links #<I> | sepandhaghighi_pycm | train |
1e511acd889c5c69b8427c838374ef9e0fd2c3cf | diff --git a/src/windshaft/dashboard.js b/src/windshaft/dashboard.js
index <HASH>..<HASH> 100644
--- a/src/windshaft/dashboard.js
+++ b/src/windshaft/dashboard.js
@@ -21,20 +21,12 @@ var WindshaftDashboard = function(options) {
this.map.bind('change:center change:zoom', _.debounce(this._boundingBoxChanged, BOUNDIN... | Renamed method and removed old method | CartoDB_carto.js | train |
076af6590ca99fefd35e1877549dd1cfcaa769bd | diff --git a/lib/OpenLayers/Renderer/VML.js b/lib/OpenLayers/Renderer/VML.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Renderer/VML.js
+++ b/lib/OpenLayers/Renderer/VML.js
@@ -264,23 +264,24 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
setNodeDimension: function(node, geomet... | The SVG renderer allows for rendering of null geometries. The VML renderer does not. This change gives us cross-brower consistency in the case of null geometries (closes #<I>).
git-svn-id: <URL> | openlayers_openlayers | train |
04722e1d85a1443f2409eed03e684c49adbe1661 | diff --git a/ykman/cli/gui.py b/ykman/cli/gui.py
index <HASH>..<HASH> 100644
--- a/ykman/cli/gui.py
+++ b/ykman/cli/gui.py
@@ -43,8 +43,10 @@ class GuiCommand(CliCommand):
def __call__(self, dev=None):
try:
- from ykman.gui import __main__ as gui_main
- gui_main.main()
+ ... | Only catch ImportError for PySide. | Yubico_yubikey-manager | train |
465b6f8d2aabc1e3baa09c4dace28a123d2edc89 | diff --git a/lib/battery.js b/lib/battery.js
index <HASH>..<HASH> 100644
--- a/lib/battery.js
+++ b/lib/battery.js
@@ -41,7 +41,7 @@ function parseWinBatteryPart(lines, designCapacity, fullChargeCapacity) {
// 9 = "Charging Critical"
// 10 = "Undefined"
// 11 = "Partially Charged"
- if (lines.join('').toLower... | fix: windows battery Dell & ThinkPad | sebhildebrandt_systeminformation | train |
331377ed96f6c6ec83b676531900c07b266721bb | diff --git a/lib/ibm_watson/personality_insights_v3.rb b/lib/ibm_watson/personality_insights_v3.rb
index <HASH>..<HASH> 100644
--- a/lib/ibm_watson/personality_insights_v3.rb
+++ b/lib/ibm_watson/personality_insights_v3.rb
@@ -67,7 +67,7 @@ module IBMWatson
#
# @deprecated On 1 December 2021, Personality Insi... | Update personality_insights_v3.rb | watson-developer-cloud_ruby-sdk | train |
92545d81183302c3e804f4282ac0e6cc675ff522 | diff --git a/pyecore/resources/json.py b/pyecore/resources/json.py
index <HASH>..<HASH> 100644
--- a/pyecore/resources/json.py
+++ b/pyecore/resources/json.py
@@ -1,6 +1,7 @@
"""
The json module introduces JSON resource and JSON parsing.
"""
+from functools import lru_cache
import json
from .resource import Resour... | Performance improvement for JSON deserialization
The use of the 'lru_cache' enables the JSON resource to quickly
identify metaclasses once they are resolved. | pyecore_pyecore | train |
8df36b8d935fb46e2dfa499b11b6248ce2f49220 | diff --git a/tests/test_pykakasi_structured.py b/tests/test_pykakasi_structured.py
index <HASH>..<HASH> 100644
--- a/tests/test_pykakasi_structured.py
+++ b/tests/test_pykakasi_structured.py
@@ -515,6 +515,27 @@ def test_kakasi_unidic_noun(case, expected):
},
],
),
+ (
+ ... | test: add from unihandecode | miurahr_pykakasi | train |
2517287676b6641afd32c40e64b1d29b375d036e | diff --git a/optlang/symbolics.py b/optlang/symbolics.py
index <HASH>..<HASH> 100644
--- a/optlang/symbolics.py
+++ b/optlang/symbolics.py
@@ -55,6 +55,8 @@ if USE_SYMENGINE: # pragma: no cover
Integer = symengine.Integer
Real = symengine.RealDouble
+ Basic = symengine.Basic
+ Number = symengine.Numb... | Add basic types to optlang.symbolics (#<I>)
* Add basic types to optlang.symbolics
* Handle edge cases in add and mul
* also add Basic and Number to sympy wrapper | biosustain_optlang | train |
b90d9fc0cc0f75485d7b8e74f828620f4dc655f7 | diff --git a/gspread/client.py b/gspread/client.py
index <HASH>..<HASH> 100644
--- a/gspread/client.py
+++ b/gspread/client.py
@@ -86,6 +86,16 @@ class Client:
raise APIError(response)
def list_spreadsheet_files(self, title=None, folder_id=None):
+ """List all the spreadsheet files
+
+ ... | fix docstring in client.py | burnash_gspread | train |
6c933ae1cfdcce1e2f587dc4e4deec3939dd5b7e | diff --git a/README.rst b/README.rst
index <HASH>..<HASH> 100644
--- a/README.rst
+++ b/README.rst
@@ -110,8 +110,11 @@ the ``WATCHMAN_CHECKS`` setting. In ``settings.py``::
'another.module.path.to.callable',
)
-Checks take no arguments, and must return a ``dict`` whose keys are applied to the JSON resp... | Provide error response decorator
This commit adds a simple decorator that catches exceptions and
translates them to a `django-watchman` error response.
This makes adding custom checks much friendlier:
from watchman.decorators import check
@check
def my_check():
return {'ok': True} | mwarkentin_django-watchman | train |
8053dcaa134c23308a3a3e22e052d426aa9d3f49 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -25,7 +25,9 @@
.replace(/\s+/," ") // Remove multiple spaces
.replace(/\s+$/,""); // Strip trailing whitespace
- text += "."; // Add final terminator, just in case it's missing.
+ if(text.slice(-1) != '... | Tests for sentence count, only add ending period if doesn't exist | cgiffard_TextStatistics.js | train |
b08a81d1e7ae13d32d27d4d1579de8665bf8de6f | diff --git a/ecs-init/docker/docker.go b/ecs-init/docker/docker.go
index <HASH>..<HASH> 100644
--- a/ecs-init/docker/docker.go
+++ b/ecs-init/docker/docker.go
@@ -196,7 +196,7 @@ func (c *Client) getContainerConfig() *godocker.Config {
"ECS_AGENT_CONFIG_FILE_PATH": config.AgentJSONConfigFile(),
"ECS_UP... | add 'none' logging driver ECS Agent's config
This commit modifies the `ECS_AVAILABLE_LOGGING_DRIVERS` env var
for the Agent to include `none` logging driver. This compliments
<URL> | aws_amazon-ecs-agent | train |
d5bbd8475ce2cdd4f0ebefb50f785da204402fb8 | diff --git a/lib/utils/page.js b/lib/utils/page.js
index <HASH>..<HASH> 100644
--- a/lib/utils/page.js
+++ b/lib/utils/page.js
@@ -193,7 +193,7 @@ function normalizeHtml(src, options) {
// Keep it as it is
} else if (links.isRelative(href)) {
var parts = url.parse(href);
- ... | Fix #<I>: use links.join instead of path.join for links in page | GitbookIO_gitbook | train |
86834488bfc5971462ec1ada07e739204c6e3dce | diff --git a/lib/Doctrine/Common/Cache/PredisCache.php b/lib/Doctrine/Common/Cache/PredisCache.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Common/Cache/PredisCache.php
+++ b/lib/Doctrine/Common/Cache/PredisCache.php
@@ -97,8 +97,8 @@ class PredisCache extends CacheProvider
$info = $this->client->info();... | Add stats on hits/misses in redis caches | doctrine_cache | train |
c6de039bb1568d8e6162b8152b8208eff1af282d | diff --git a/test/unit/core.js b/test/unit/core.js
index <HASH>..<HASH> 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -291,9 +291,10 @@ test("jQuery(selector, xml).text(str) - Loaded via XML document", function() {
stop();
jQuery.get('data/dashboard.xml', function(xml) {
// tests for #1419 where IE w... | Simplified the XML selector test (save the result). | jquery_jquery | train |
fbab5e8c59f9bac2614e30aaed4a1f6468da4bcf | diff --git a/source/CAS.php b/source/CAS.php
index <HASH>..<HASH> 100755
--- a/source/CAS.php
+++ b/source/CAS.php
@@ -495,7 +495,9 @@ class phpCAS {
for ($i = 0; $i < $PHPCAS_DEBUG['indent']; $i++) {
$indent_str .= '| ';
}
- error_log($PHPCAS_DEBUG['unique_id'] . ' ' . $indent_str . $str . "\n", 3... | PHPCAS-<I> Improved readability of the debug log that allows multiline dumps of objects/arrays and improving readability of the trace by shortening the function calls/exits to a single line.
git-svn-id: <URL> | apereo_phpCAS | train |
1ef55f18f5909d39b12da322f1a6c0774443b4bc | diff --git a/reprint/reprint.py b/reprint/reprint.py
index <HASH>..<HASH> 100644
--- a/reprint/reprint.py
+++ b/reprint/reprint.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from __future__ import print_function, division
+from __future__ import print_function, division, unicode_literals
import re
import sys
@@ -46,... | Fix: in single line mode, line cutting base on line width instead of count | Yinzo_reprint | train |
ebf573d276844dad1b6abd54a2ee127ee43bf67c | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -56,10 +56,6 @@ if (!getenv('db_dsn')) {
ConnectionManager::setConfig('test', ['url' => getenv('db_dsn')]);
Router::reload();
-Plugin::load('Auth', [
- 'path' => dirname(dirna... | Remove erroneously reverted change | cakephp_authentication | train |
9b5802e7fe71bfb80bd2c464702188ebee2631b9 | diff --git a/src/geo/ui/infowindow.js b/src/geo/ui/infowindow.js
index <HASH>..<HASH> 100644
--- a/src/geo/ui/infowindow.js
+++ b/src/geo/ui/infowindow.js
@@ -24,10 +24,12 @@ cdb.geo.ui.Infowindow = cdb.core.View.extend({
this.template = this.options.template ? this.options.template : cdb.templates.getTemplate(t... | Binds the infowindow model in the proper way (this.add_related_model) | CartoDB_carto.js | train |
c55d60ea8237d761da8529637ff72fa0d5cdf331 | diff --git a/test/integration/cloud/follow_list.js b/test/integration/cloud/follow_list.js
index <HASH>..<HASH> 100644
--- a/test/integration/cloud/follow_list.js
+++ b/test/integration/cloud/follow_list.js
@@ -1,22 +1,14 @@
var { CloudContext } = require('./utils');
var expect = require('chai').expect;
-describe.s... | Unskip some following/followers tests and add permission checks for listing them | GetStream_stream-js | train |
3300561a22d653414d292cb589c5e9cd64315500 | diff --git a/src/main/java/com/jayway/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java b/src/main/java/com/jayway/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/jayway/maven/plugins/android/phase01generatesources/GenerateSou... | Moved the @parameter line to the end of the javadoc for mergeManifests in order to have all its documentation make it to the help mojo. | simpligility_android-maven-plugin | train |
72780e7737e333b0018959be75021fb8950deeb0 | diff --git a/discord/message.py b/discord/message.py
index <HASH>..<HASH> 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -181,6 +181,7 @@ class Message:
def __init__(self, *, state, channel, data):
self._state = state
self.id = int(data['id'])
+ self.webhook_id = utils._get_as... | Actually expose Message.webhook_id. | Rapptz_discord.py | train |
6a9a4258c4ee7a2d778180d2159b4facac4e5557 | diff --git a/jbpm-test-util/src/main/java/org/jbpm/test/persistence/scripts/quartzdialects/QuartzDialectResolver.java b/jbpm-test-util/src/main/java/org/jbpm/test/persistence/scripts/quartzdialects/QuartzDialectResolver.java
index <HASH>..<HASH> 100644
--- a/jbpm-test-util/src/main/java/org/jbpm/test/persistence/script... | Register dialect for validating Quartz - mariaDB (#<I>) | kiegroup_jbpm | train |
3016f387e8e41c47beb7794c4c7ac14258c6fd12 | diff --git a/src/satosa/backends/saml2.py b/src/satosa/backends/saml2.py
index <HASH>..<HASH> 100644
--- a/src/satosa/backends/saml2.py
+++ b/src/satosa/backends/saml2.py
@@ -444,7 +444,7 @@ class SAMLBackend(BackendModule, SAMLBaseModule):
"permitted by most user agents.",
... | Make AssertionConsumerService with HTTP-Redirect binding a user warning | IdentityPython_SATOSA | train |
6525f684801fdffd8d85bbf48fd38ef047caf54c | diff --git a/lib/converse/conversation.rb b/lib/converse/conversation.rb
index <HASH>..<HASH> 100644
--- a/lib/converse/conversation.rb
+++ b/lib/converse/conversation.rb
@@ -25,18 +25,18 @@ module Converse
alias_method :reply, :say
def start(message)
- # TODO: Guard against the message from this bot
+... | Do not allow authors to respond to themselves | tatsuio_dialogue | train |
4b9a334633bb9c3e0b81f22ec8899904394dba4e | diff --git a/implementations/micrometer-registry-wavefront/src/test/java/io/micrometer/wavefront/WavefrontMeterRegistryTest.java b/implementations/micrometer-registry-wavefront/src/test/java/io/micrometer/wavefront/WavefrontMeterRegistryTest.java
index <HASH>..<HASH> 100644
--- a/implementations/micrometer-registry-wav... | Fix WavefrontMeterRegistryTest.configureDefaultSenderWithCustomConfig() (#<I>)
(cherry picked from commit 5e9bcfc<I>e5c<I>f<I>c1cace5f<I>c3ce6b1) | micrometer-metrics_micrometer | train |
dccb4451ecc5df71a078a914565dcd5f5431195e | diff --git a/py/selenium/webdriver/remote/webelement.py b/py/selenium/webdriver/remote/webelement.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/webelement.py
+++ b/py/selenium/webdriver/remote/webelement.py
@@ -31,33 +31,33 @@ class WebElement(object):
@property
def tag_name(self):
... | DavidBurns making execute a "private" method so users dont try use it
r<I> | SeleniumHQ_selenium | train |
46f6735f7cb02dfebcc080e2a19a0e60cf106cc3 | diff --git a/go/engine/identify.go b/go/engine/identify.go
index <HASH>..<HASH> 100644
--- a/go/engine/identify.go
+++ b/go/engine/identify.go
@@ -329,7 +329,7 @@ func (e *Identify) DidShortCircuit() bool {
func (e *Identify) displayUserCard(ctx *Context) {
arg := libkb.APIArg{
Endpoint: "user/card",
- NeedS... | Support YouFollowThem, TheyFollowYou | keybase_client | train |
37b435a4dcb90573710e711a9b17bceabe6402ae | diff --git a/icekit/utils/pagination.py b/icekit/utils/pagination.py
index <HASH>..<HASH> 100644
--- a/icekit/utils/pagination.py
+++ b/icekit/utils/pagination.py
@@ -1,15 +1,21 @@
import math
from django.utils import six
+from django.http import Http404
from el_pagination.utils import get_page_numbers
+# We use... | Update describe_page_numbers and slice_sequences with latest code from the EDB | ic-labs_django-icekit | train |
de8f413ef97740c5b384534648c0536939d36d77 | diff --git a/src/sap.ui.core/src/sap/ui/core/StashedControlSupport.js b/src/sap.ui.core/src/sap/ui/core/StashedControlSupport.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/core/StashedControlSupport.js
+++ b/src/sap.ui.core/src/sap/ui/core/StashedControlSupport.js
@@ -87,7 +87,6 @@ sap.ui.define(['jqu... | [INTERNAL] core/StashedControlSupport: removed stashedAlias completely
Change-Id: I<I>d9e<I>f<I>ae<I>c<I>c<I>aa<I>c1ead2a<I> | SAP_openui5 | train |
3d22847bfa897d404f16081c6e924bc3a1c41e53 | diff --git a/fleetctl/fleetctl.go b/fleetctl/fleetctl.go
index <HASH>..<HASH> 100644
--- a/fleetctl/fleetctl.go
+++ b/fleetctl/fleetctl.go
@@ -1104,25 +1104,21 @@ func tryWaitForSystemdActiveState(units []string) (ret int) {
// active, retrying periodically until the unit gets active. It will retry
// up to maxAttemp... | fleetctl: use time ticker in waitForSystemdActiveState
Use time ticker in waitForSystemdActiveState() just like other parts of
fleet, instead of going into a loop with an arbitrary max number. | coreos_fleet | train |
a835a229f0d1e08733f5a6863000f028a3c2c4f5 | diff --git a/lib/byebug/remote.rb b/lib/byebug/remote.rb
index <HASH>..<HASH> 100644
--- a/lib/byebug/remote.rb
+++ b/lib/byebug/remote.rb
@@ -65,7 +65,8 @@ module Byebug
# Starts the remote server control thread
#
def start_control(host = nil, port = PORT + 1)
- return @actual_control_port if @cont... | Don't care about start_control return value
The port is accessible via `actual_control_port` anyways. | deivid-rodriguez_byebug | train |
54f68180ef4a3d4e29189268220f15a0c8fde7e8 | diff --git a/lib/transpec/option_parser.rb b/lib/transpec/option_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/transpec/option_parser.rb
+++ b/lib/transpec/option_parser.rb
@@ -124,69 +124,61 @@ module Transpec
def descriptions
@descriptions ||= {
'-f' => [
- 'Force processing even if th... | Extend line length of help description to <I> | yujinakayama_transpec | train |
eb56860d4e8c2bf5962bff0bae61b55cd50f257a | diff --git a/app/models/marty/tag.rb b/app/models/marty/tag.rb
index <HASH>..<HASH> 100644
--- a/app/models/marty/tag.rb
+++ b/app/models/marty/tag.rb
@@ -64,6 +64,12 @@ class Marty::Tag < Marty::Base
self.find_by_name(name)
end
+ # Performance hack to cache Rule AR object
+ cached_delorean_fn :lookup_id, s... | Delorean monkey patch to allow access to Enums; Better caching for
Tags; | arman000_marty | train |
bafffe2106bd5518e16fcd0e6de5626e3bec9b5c | diff --git a/edisgo/flex_opt/charging_strategies.py b/edisgo/flex_opt/charging_strategies.py
index <HASH>..<HASH> 100644
--- a/edisgo/flex_opt/charging_strategies.py
+++ b/edisgo/flex_opt/charging_strategies.py
@@ -183,7 +183,7 @@ def charging_strategy(
New timeseries
"""
- edisgo_obj.tim... | added annotations and fixed a bug which prevented overwriting of timeseries in the EDisGo object | openego_eDisGo | train |
1146c69257b2ac23838800303e6a386f13f42b2b | diff --git a/theme/classic/tests/behat/behat_theme_classic_behat_course.php b/theme/classic/tests/behat/behat_theme_classic_behat_course.php
index <HASH>..<HASH> 100644
--- a/theme/classic/tests/behat/behat_theme_classic_behat_course.php
+++ b/theme/classic/tests/behat/behat_theme_classic_behat_course.php
@@ -46,4 +46,... | MDL-<I> theme_classic: Check whether editing mode is enabled in behat | moodle_moodle | train |
31b8b2c2590903b7a708a333da721e6cfbe85066 | diff --git a/Parser/KeyParser.php b/Parser/KeyParser.php
index <HASH>..<HASH> 100644
--- a/Parser/KeyParser.php
+++ b/Parser/KeyParser.php
@@ -40,20 +40,14 @@ class KeyParser
$rawData = openssl_pkey_get_details($resource);
- if (!$rawData) {
+ if (!is_array($rawData)) {
throw new... | Decrease code complexity by splitting complex methods into smaller ones | acmephp_ssl | train |
5159d030fad632ac544555541ab1c85ac132874e | diff --git a/lib/active_file/site/gcs_site.rb b/lib/active_file/site/gcs_site.rb
index <HASH>..<HASH> 100644
--- a/lib/active_file/site/gcs_site.rb
+++ b/lib/active_file/site/gcs_site.rb
@@ -27,6 +27,11 @@ class ActiveFile::Site::GCSSite < ActiveFile::Site
end
+ def url(key, expires_in:, disposition:, filename:... | ActiveFile::Site::GCSSite#url | rails_rails | train |
e99d29c4b279c12e8efb16cb4ffa0c50456ecc1c | diff --git a/src/Log/LogHandler.php b/src/Log/LogHandler.php
index <HASH>..<HASH> 100644
--- a/src/Log/LogHandler.php
+++ b/src/Log/LogHandler.php
@@ -5,8 +5,8 @@ namespace Freshwork\Transbank\Log;
class LogHandler
{
- public static function log($string, $level = LoggerInterface::LEVEL_INFO, $type = null)
- {
- Lo... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | freshworkstudio_transbank-web-services | train |
5ad781fc2592f0451ad5ec9c99c65ce3257d1622 | diff --git a/openquakeserver/engine/views.py b/openquakeserver/engine/views.py
index <HASH>..<HASH> 100644
--- a/openquakeserver/engine/views.py
+++ b/openquakeserver/engine/views.py
@@ -11,6 +11,7 @@ JSON = 'application/json'
IGNORE_FIELDS = ('base_path', 'export_dir', 'owner')
GEOM_FIELDS = ('region', 'sites', 'r... | engine/views:
Implemented `calc_risk_info` view. | gem_oq-engine | train |
1b0e8d88ce95590aad33e5e625677340e0c2f81e | diff --git a/tests/Vies/ValidatorTest.php b/tests/Vies/ValidatorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Vies/ValidatorTest.php
+++ b/tests/Vies/ValidatorTest.php
@@ -4,6 +4,7 @@ declare (strict_types=1);
namespace DragonBe\Test\Vies;
use DragonBe\Vies\Vies;
+use DragonBe\Vies\ViesServiceException;
use PHP... | Catching service interruption
Sometimes during testing the VIES service is not available, so we need to skip those tests. | DragonBe_vies | train |
0f4b7ce8c762fa5934dafc8c7439623cb1fc1332 | diff --git a/proc/stack.go b/proc/stack.go
index <HASH>..<HASH> 100644
--- a/proc/stack.go
+++ b/proc/stack.go
@@ -135,7 +135,7 @@ func (it *stackIterator) Next() bool {
return true
}
// Look for "top of stack" functions.
- if it.frame.Current.Fn.Name == "runtime.goexit" || it.frame.Current.Fn.Name == "runtime.r... | proc: add runtime.mcall to top of stack function | go-delve_delve | train |
31a01a81dad67b358b24d13e4f8cabc92fe2996d | diff --git a/features/support/env.rb b/features/support/env.rb
index <HASH>..<HASH> 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -16,7 +16,7 @@ require 'aruba/cucumber'
require 'adhearsion'
Before do
- @aruba_timeout_seconds = 10
+ @aruba_timeout_seconds = 30
end
# TODO: check for n... | [BUGFIX] Bump Aruba timeout to <I>s for the benefit of CI | adhearsion_adhearsion | train |
999aefbdde8916bef556a22cbfc2819f2df4a8b5 | diff --git a/tests/aws/requests/storage/bucket_tests.rb b/tests/aws/requests/storage/bucket_tests.rb
index <HASH>..<HASH> 100644
--- a/tests/aws/requests/storage/bucket_tests.rb
+++ b/tests/aws/requests/storage/bucket_tests.rb
@@ -221,7 +221,7 @@ Shindo.tests('Fog::Storage[:aws] | bucket requests', [:aws]) do
Fo... | [aws|storage] Fix put bucket website test, request returns not found when the bucket does not exist. | fog_fog | train |
b4c1f3fae3f6d97f67d2eea005f1e26d2539c2c1 | diff --git a/dao/elasticsearch/backup.go b/dao/elasticsearch/backup.go
index <HASH>..<HASH> 100644
--- a/dao/elasticsearch/backup.go
+++ b/dao/elasticsearch/backup.go
@@ -135,7 +135,6 @@ func getDockerImageNameIds() (map[string]string, error) {
}
result := make(map[string]string)
for _, image := range images {
- ... | fixes zen-<I>; backup does not require image uuid | control-center_serviced | train |
58ac34e75ee494ab3080fac6485477cfc300cc39 | diff --git a/lib/solargraph/pin/documenting.rb b/lib/solargraph/pin/documenting.rb
index <HASH>..<HASH> 100644
--- a/lib/solargraph/pin/documenting.rb
+++ b/lib/solargraph/pin/documenting.rb
@@ -11,16 +11,26 @@ module Solargraph
def documentation
@documentation ||= begin
indented = false
- ... | Use backticks for code blocks. | castwide_solargraph | train |
87229bab13d89d87284993f27a4c5c2afa762aa2 | diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index <HASH>..<HASH> 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -89,9 +89,6 @@ func (b *Bslack) JoinChannel(channel string) error {
func (b *Bslack) Send(msg config.Message) error {
flog.Debugf("Receiving %#v", msg)
- if msg.Account ... | Fix sending to different channels on same account (slack). Closes #<I> | 42wim_matterbridge | train |
2e7907aa45f0477ce910ccda0c8bfd3b44cd2bdb | diff --git a/lib/cli/parse.js b/lib/cli/parse.js
index <HASH>..<HASH> 100644
--- a/lib/cli/parse.js
+++ b/lib/cli/parse.js
@@ -1,7 +1,7 @@
module.exports = function parse(options, callback) {
const fs = require("fs");
const path = require("path");
- const {spawn} = require("child_process");
+ const {spawn, exe... | Make `parse -D` command open the graph even when killed (via ctrl-c) | tree-sitter_tree-sitter-cli | train |
3e9607c05703fd1fbfc814e3c33766418aa44cac | diff --git a/bcbio/qc/qualimap.py b/bcbio/qc/qualimap.py
index <HASH>..<HASH> 100644
--- a/bcbio/qc/qualimap.py
+++ b/bcbio/qc/qualimap.py
@@ -217,7 +217,7 @@ def _detect_rRNA(data):
tidy_file = dd.get_sailfish_tidy(data)
rrna_features = gtf.get_rRNA(gtf_file)
transcripts = set([x[1] for x in rrna_featur... | Skip rRNA calculation if Sailfish wasn't run
Closes #<I>. | bcbio_bcbio-nextgen | train |
3b9c0a9a7bdebf003092206d9fb7c7e555685bf0 | diff --git a/src/RedirectException.php b/src/RedirectException.php
index <HASH>..<HASH> 100644
--- a/src/RedirectException.php
+++ b/src/RedirectException.php
@@ -39,6 +39,6 @@ class RedirectException extends Exception
}
Yii::$app->response->redirect(http_build_url($redirect_uri, [
'query... | Update RedirectException.php
HTTP_URL_REPLACE causes HTTP_URL_JOIN_QUERY to be completelly ignored and as such the $redirect_uri loses its original query parameters. | borodulin_yii2-oauth2-server | train |
4eae9dc24ae791e9d85fb533ae86a344e6433605 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ def find_version(*file_paths):
raise RuntimeError("Unable to find version string.")
-setup(name='read_roi',
+setup(name='read-roi',
version=find_version("read_roi", "__init__.py"),
author=... | Change package name to read-roi | hadim_read-roi | train |
289d37241cf9178dd7ce4da4b7759300927e2614 | diff --git a/addon/mixins/ui-service-mixin.js b/addon/mixins/ui-service-mixin.js
index <HASH>..<HASH> 100644
--- a/addon/mixins/ui-service-mixin.js
+++ b/addon/mixins/ui-service-mixin.js
@@ -61,6 +61,7 @@ var ServicesMixin = Ember.Mixin.create({
if (service.remote && !service.remote.closed) {
service.re... | removed current request key from local storage if popup fails to open
fixes #<I> | Vestorly_torii | train |
811f90d52dac6ebf252b6395c9c4bfd65ad9d725 | diff --git a/lib/async.js b/lib/async.js
index <HASH>..<HASH> 100755
--- a/lib/async.js
+++ b/lib/async.js
@@ -426,7 +426,7 @@
var task = (tasks[k] instanceof Function) ? [tasks[k]]: tasks[k];
var taskCallback = function (err) {
if (err) {
- callback(err);
+... | Send results to auto callback when an error occurs
When an error occurs using the auto method, still send the partial
results to the callback. | caolan_async | train |
db4e44d57d6b5843908cf22e39ed57a21d750fbe | diff --git a/jnetrobust-core/src/main/java/com/github/mucaho/jnetrobust/util/CollectionUtils.java b/jnetrobust-core/src/main/java/com/github/mucaho/jnetrobust/util/CollectionUtils.java
index <HASH>..<HASH> 100644
--- a/jnetrobust-core/src/main/java/com/github/mucaho/jnetrobust/util/CollectionUtils.java
+++ b/jnetrobust... | Suppress unchecked cast warnings in CollectionUtil
[skip ci]. | mucaho_jnetrobust | train |
3a498f173c22a91588664edcf38a45be66edde6f | diff --git a/flaskutils/__init__.py b/flaskutils/__init__.py
index <HASH>..<HASH> 100644
--- a/flaskutils/__init__.py
+++ b/flaskutils/__init__.py
@@ -74,7 +74,8 @@ def init_postgres(is_command_line=False):
@app.teardown_request
def teardown_request(exception):
- pgbase.Sessio... | Bug fix - session cleanup request to db | Riffstation_flask-philo | train |
6ca01e0e1c691f08fbed9fab6c76339751c83b0b | diff --git a/ChangeLog b/ChangeLog
index <HASH>..<HASH> 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -65,6 +65,9 @@ Release Date: TBA
Close PyCQA/pylint#1628
+* Fixed being unable to find distutils submodules by name when in a virtualenv.
+
+ Close PyCQA/pylint#73
What's New in astroid 2.2.0?
=================... | Fixed being unable to find distutils submodules by name when in a virtualenv (#<I>)
Close PyCQA/pylint#<I> | PyCQA_astroid | train |
e4ad2a2f5ab76bb286f995ccba45872e2d73bf8a | diff --git a/xcs/problems.py b/xcs/problems.py
index <HASH>..<HASH> 100644
--- a/xcs/problems.py
+++ b/xcs/problems.py
@@ -108,36 +108,45 @@ class MUXProblem(OnLineProblem):
return int(self.remaining_cycles > 0)
-# TODO: Add docstrings here.
class HaystackProblem(OnLineProblem):
+ """This is the proble... | Docstrings for HaystackProblem
Added docstrings to the HaystackProblem class. | hosford42_xcs | train |
df29f1fb507daa2b617873510076441a03a89f74 | diff --git a/server/consumer.go b/server/consumer.go
index <HASH>..<HASH> 100644
--- a/server/consumer.go
+++ b/server/consumer.go
@@ -1190,7 +1190,7 @@ func (o *Consumer) processNextMsgReq(_ *subscription, c *client, _, reply string
// Check payload here to see if they sent in batch size or a formal request.
expir... | Add detailed info on error for NextMsg() request | nats-io_gnatsd | train |
86a85df2511313330934815ae94c5707c25167fe | diff --git a/server/core/src/main/java/org/infinispan/server/core/AbstractProtocolServer.java b/server/core/src/main/java/org/infinispan/server/core/AbstractProtocolServer.java
index <HASH>..<HASH> 100644
--- a/server/core/src/main/java/org/infinispan/server/core/AbstractProtocolServer.java
+++ b/server/core/src/main/j... | ISPN-<I> Register JMX for Single Port Transport | infinispan_infinispan | train |
8dbd47513fe1535f8a333be02bc2e040698deb37 | diff --git a/src/Ubiquity/cache/Preloader.php b/src/Ubiquity/cache/Preloader.php
index <HASH>..<HASH> 100644
--- a/src/Ubiquity/cache/Preloader.php
+++ b/src/Ubiquity/cache/Preloader.php
@@ -286,6 +286,15 @@ class Preloader {
* @param string $dir
* @return boolean
*/
+ public function addApplicationCache($dir ... | [skip ci] add application cache to Preloader | phpMv_ubiquity | train |
9e4c0be3300f0e6c44b70b4026167994e1911b02 | diff --git a/lib/autokey/qtui/popupmenu.py b/lib/autokey/qtui/popupmenu.py
index <HASH>..<HASH> 100644
--- a/lib/autokey/qtui/popupmenu.py
+++ b/lib/autokey/qtui/popupmenu.py
@@ -134,76 +134,3 @@ class ItemAction(KAction):
def on_triggered(self):
self.emit(SIGNAL("actionSig"), self.item)
-
-
-# ... | Removed code marked with: TODO Testing stuff - remove later | autokey_autokey | train |
62d67d09d27fe49e70accdf508de5d857bf500f1 | diff --git a/galpy/orbit_src/planarOrbit.py b/galpy/orbit_src/planarOrbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/planarOrbit.py
+++ b/galpy/orbit_src/planarOrbit.py
@@ -326,22 +326,24 @@ class planarROrbit(planarOrbitTop):
else:
pot= kwargs['pot']
kwargs.pop('pot')
+ ... | start on testing orbit plotting, fix plotE for planarROrbits | jobovy_galpy | train |
30923256b06a31e5d3da8ffa6fa88e7a6f2ad5d0 | diff --git a/tests/test_pex_binary.py b/tests/test_pex_binary.py
index <HASH>..<HASH> 100644
--- a/tests/test_pex_binary.py
+++ b/tests/test_pex_binary.py
@@ -25,7 +25,7 @@ def test_clp_no_pypi_option():
options, _ = parser.parse_args(args=[])
assert len(options.indexes) == 1
options, _ = parser.parse_ar... | Add a test of pypi index rendering. (#<I>)
Previously rendering was broken but fixed in #<I>. Add a test of that
fix. | pantsbuild_pex | train |
b692204a9051fb5753b3695363badcb539117ec3 | diff --git a/web/client/js/jquery-plugin.js b/web/client/js/jquery-plugin.js
index <HASH>..<HASH> 100644
--- a/web/client/js/jquery-plugin.js
+++ b/web/client/js/jquery-plugin.js
@@ -1,4 +1,3 @@
-/*global jQuery, qq*/
(function($) {
"use strict";
var methods, uploader, $el; | #<I> - comment adjustment | FineUploader_fine-uploader | train |
236c9e08ebbcbc0871b4c913b8fb2015e2779755 | diff --git a/src/main/java/com/teklabs/gwt/i18n/server/LocaleProxy.java b/src/main/java/com/teklabs/gwt/i18n/server/LocaleProxy.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/teklabs/gwt/i18n/server/LocaleProxy.java
+++ b/src/main/java/com/teklabs/gwt/i18n/server/LocaleProxy.java
@@ -7,6 +7,7 @@ import com.go... | Use locale search list from GwtLocale | lightoze_gwt-i18n-server | train |
95c58bc35b0b960c97d4579c4a082e4b2d7efafb | diff --git a/constants.go b/constants.go
index <HASH>..<HASH> 100644
--- a/constants.go
+++ b/constants.go
@@ -186,3 +186,17 @@ const (
const (
VIR_STREAM_NONBLOCK = C.VIR_STREAM_NONBLOCK
)
+
+// virKeycodeSet
+const (
+ VIR_KEYCODE_SET_LINUX = C.VIR_KEYCODE_SET_LINUX
+ VIR_KEYCODE_SET_XT = C.VIR_KEYCODE_SET_X... | Add VirDomainSendKey.
(Test excluded because test connection driver unsupported) | libvirt_libvirt-go | train |
930eedec10fb2f82af4a4495e3e031755e138451 | diff --git a/src/Codeception/Module/REST.php b/src/Codeception/Module/REST.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/REST.php
+++ b/src/Codeception/Module/REST.php
@@ -408,9 +408,11 @@ class REST extends \Codeception\Module
protected function encodeApplicationJson($method, $parameters)
{
... | json_encode application/json subtypes | Codeception_Codeception | train |
a1bfc8e303d06dd48d86536a9afddf6d689c4cea | diff --git a/tests/EventDispatcher/ProjectEnabledDispatcherTest.php b/tests/EventDispatcher/ProjectEnabledDispatcherTest.php
index <HASH>..<HASH> 100644
--- a/tests/EventDispatcher/ProjectEnabledDispatcherTest.php
+++ b/tests/EventDispatcher/ProjectEnabledDispatcherTest.php
@@ -2,6 +2,7 @@
namespace SmoothPhp\Tests\Ev... | [Event Dispatcher] testing the event dispatcher subscriber method | SmoothPhp_CQRS-ES-Framework | train |
2a2be3fa434961a95f6697ada04d1393e87f5fe7 | diff --git a/src/main/java/org/jboss/aesh/console/reader/ConsoleInputSession.java b/src/main/java/org/jboss/aesh/console/reader/ConsoleInputSession.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/aesh/console/reader/ConsoleInputSession.java
+++ b/src/main/java/org/jboss/aesh/console/reader/ConsoleInputSe... | [AESH-<I>]
we need a daemon thread on windows since there is now way of getting available() | aeshell_aesh | train |
581f27739bc99f6feb46e5b572fe10ffc8ef7a13 | diff --git a/cmd/xurls/main.go b/cmd/xurls/main.go
index <HASH>..<HASH> 100644
--- a/cmd/xurls/main.go
+++ b/cmd/xurls/main.go
@@ -98,7 +98,8 @@ func scanPath(re *regexp.Regexp, path string) error {
}
if fixed != string(match) {
// Replace the url, and update the offset.
- newLine := line[:pair[0]]
+ ... | cmd/xurls: fix an in-place garbling bug with -fix
The added test case would fail before:
-Redirect to a longer path http://[::]:<I>/redir-longtargetrgeth trailing text
+Redirect to a longer path http://[::]:<I>/redir-longtarget with trailing text
Fixes #<I>. | mvdan_xurls | train |
1605a74232eca98326d02cc64f0b01bd53807aaa | diff --git a/src/test/java/com/helger/peppol/validation/domain/ETransactionTest.java b/src/test/java/com/helger/peppol/validation/domain/ETransactionTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/helger/peppol/validation/domain/ETransactionTest.java
+++ b/src/test/java/com/helger/peppol/validation/domain... | Reading all example files as UBL files | phax_ph-bdve | train |
780b4847945fa855feed7d015bd89c0a844b9792 | diff --git a/test/www/jxcore/tests/ReConnectTCPServer.js b/test/www/jxcore/tests/ReConnectTCPServer.js
index <HASH>..<HASH> 100644
--- a/test/www/jxcore/tests/ReConnectTCPServer.js
+++ b/test/www/jxcore/tests/ReConnectTCPServer.js
@@ -44,7 +44,7 @@ function ReConnectTCPServer(port) {
});
this.server.listen(... | Log useful things, not [Object]'s or similar | thaliproject_Thali_CordovaPlugin | train |
a1fbb468b9ed9dda0f007fb8b4a0c7d6efcaeb7f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -13,7 +13,7 @@ var VERSION = require('./package.json').version;
var fileCache = new Cache({cacheDirName: 'gulp-cache'});
function defaultKey(file) {
- return [VERSION, file.contents.toString('base64')].join('');
+ return... | Changed default cache behavior to also use file path | jgable_gulp-cache | train |
2a2577d7b1816956d6904c65b3869cec77002d0d | diff --git a/docs/storage/blob_test.go b/docs/storage/blob_test.go
index <HASH>..<HASH> 100644
--- a/docs/storage/blob_test.go
+++ b/docs/storage/blob_test.go
@@ -16,6 +16,7 @@ import (
"github.com/docker/distribution/registry/storage/cache/memory"
"github.com/docker/distribution/registry/storage/driver/inmemory"
... | When a blob upload is committed prevent writing out hashstate in the
subsequent close.
When a blob upload is cancelled close the blobwriter before removing
upload state to ensure old hashstates don't persist. | docker_distribution | train |
29c1930764166df95e760c7b597e5572b4b19aa9 | diff --git a/composer.json b/composer.json
index <HASH>..<HASH> 100644
--- a/composer.json
+++ b/composer.json
@@ -34,7 +34,8 @@
},
"autoload": {
"classmap": [
- "src/commands"
+ "src/commands",
+ "tests/Middleware/MiddlewareTest.php"
],
"psr-4": {
... | Autoload MiddlewareTest abstract class in composer.json instead of requiring on each middleware test files | Zizaco_entrust | train |
003bad0f911c88b22d7f7ad0d3e98b33bf409891 | diff --git a/greenhouse/utils.py b/greenhouse/utils.py
index <HASH>..<HASH> 100644
--- a/greenhouse/utils.py
+++ b/greenhouse/utils.py
@@ -87,7 +87,6 @@ class Event(object):
return
current = compat.getcurrent() # the waiting greenlet
- awoken = [False]
waketime = None if timeou... | that isn't used any more | teepark_greenhouse | train |
d538517a1f95bc7991c602efca0eeb3301d358e7 | diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -20,7 +20,7 @@ def add_paths(*args):
project_path = dirname(abspath(__file__))
repos_path = dirname(project_path)
-add_paths(project_path, repos_path, join(project_path, 'website'))
+add_paths(project_path, repos_p... | Remove unnecessary sys.path addition | NUKnightLab_TimelineJS3 | train |
0419c82542237b6b6aa7f3f9962a54cbcb65fc83 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -224,7 +224,11 @@ Logsene.prototype.retransmit = function () {
self.shipFile(path, function (err, res) {
// remove file in any case, if req fails again
// a new file will be created
- fs.unlinkS... | catch error when a file to delete did not exist | sematext_logsene-js | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.