hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
8e1f501701ad77fdd34489868694f0ca261c371c | diff --git a/lib/x11/xcore.js b/lib/x11/xcore.js
index <HASH>..<HASH> 100644
--- a/lib/x11/xcore.js
+++ b/lib/x11/xcore.js
@@ -87,9 +87,10 @@ XClient.prototype.terminate = function()
// GetAtomName used as cheapest non-modifying request with reply
// 3 - id for shortest standard atom, "ARC"
XClient.prototype.ping = ... | return roundtrip time in ping() callback | sidorares_node-x11 | train |
2bee4a157068edcd9a159ee848bec46c061d34b1 | diff --git a/helpers/content.go b/helpers/content.go
index <HASH>..<HASH> 100644
--- a/helpers/content.go
+++ b/helpers/content.go
@@ -69,18 +69,16 @@ var blackfridayExtensionMap = map[string]int{
"autoHeaderIds": blackfriday.EXTENSION_AUTO_HEADER_IDS,
}
+var stripHTMLReplacer = strings.NewReplacer("\n", ... | Replace 4 strings.Replace with 1 strings.Replacer
Consumes less memory, slightly faster. | gohugoio_hugo | train |
7de74f1d0489bdfa1af899fde51b21da56b240a6 | diff --git a/glue/text_progress_bar.py b/glue/text_progress_bar.py
index <HASH>..<HASH> 100644
--- a/glue/text_progress_bar.py
+++ b/glue/text_progress_bar.py
@@ -154,6 +154,7 @@ class ProgressBar:
nBlanks = barWidth - nBlocksInt - 1
barSymbols = (self.sequence[-1] * nBlocksInt) + partialBlock... | Fix bar length when at <I>% | gwastro_pycbc-glue | train |
fac0154a49a8e1e0b079381fcd46e62566c1290d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -13,6 +13,7 @@ module.exports = function(options) {
// Determine root module and root directory
self.root = options.root || getRoot();
self.rootDir = options.rootDir || path.dirname(self.root.filename);
+ sel... | npmRootDir and localesDir options that override apos.rootDir, allowing rootDir to be used to point all asset-ish, data-ish things painlessly to an alternate location | apostrophecms_apostrophe | train |
3eb4a013b13b80a5d893381a68b1ec174afd6f7f | diff --git a/tests/test_runtime.py b/tests/test_runtime.py
index <HASH>..<HASH> 100644
--- a/tests/test_runtime.py
+++ b/tests/test_runtime.py
@@ -87,7 +87,7 @@ class TestRuntime(unittest.TestCase):
crossplat_loop_run(test())
def test_joined_lines(self):
- """Test joining and iterating over lines... | Remove redundant docstring comment from runtime tests | welchbj_sublemon | train |
abee459516f5d88ceccf6f287e0202a81d2f4c87 | diff --git a/demos/src/CustomArrowButton.js b/demos/src/CustomArrowButton.js
index <HASH>..<HASH> 100644
--- a/demos/src/CustomArrowButton.js
+++ b/demos/src/CustomArrowButton.js
@@ -1,96 +1,55 @@
-import { merge } from '../../src/updates.js';
import * as symbols from '../../src/symbols.js';
-import HoverMixin from '.... | Simplify construction of arrow buttons.
Use CSS instead of updates to style custom arrow button. | elix_elix | train |
1982cb8b7b52ee5899b3ae9d7cb44f392d89ae31 | diff --git a/src/authority/tests.py b/src/authority/tests.py
index <HASH>..<HASH> 100644
--- a/src/authority/tests.py
+++ b/src/authority/tests.py
@@ -52,3 +52,65 @@ class BehaviourTest(TestCase):
# test
self.assertFalse(self.check.delete_user())
self.assertTrue(self.check.delete_user(self.us... | Add basic behaviour tests for BasePermission.assign() | jazzband_django-authority | train |
6078fc1351497f7e86ad1d870e8290253944b6f1 | diff --git a/gcloud/datastore/batch.py b/gcloud/datastore/batch.py
index <HASH>..<HASH> 100644
--- a/gcloud/datastore/batch.py
+++ b/gcloud/datastore/batch.py
@@ -72,6 +72,7 @@ class Batch(object):
'a dataset ID set.')
self._mutation = datastore_pb.Mutation()
+ self._auto... | Add 'insert_auto_ids' support to 'Batch'.
Follow-on to #<I>. | googleapis_google-cloud-python | train |
7c629d27f6b8238b312ec557a134694d1f043b0a | diff --git a/spark.js b/spark.js
index <HASH>..<HASH> 100644
--- a/spark.js
+++ b/spark.js
@@ -91,9 +91,9 @@ Spark.writable('__readyState', Spark.OPEN);
// Lazy parse interface for IP address information. As nobody is always
// interested in this, we're going to defer parsing until it's actually needed.
//
-Spark.re... | [minor] Use the shorthand for assigning a getter. | primus_primus | train |
b58b22cf8e830e555a8235a7e16e9c02acb856c1 | diff --git a/lib/rules/no-component-lifecycle-hooks.js b/lib/rules/no-component-lifecycle-hooks.js
index <HASH>..<HASH> 100644
--- a/lib/rules/no-component-lifecycle-hooks.js
+++ b/lib/rules/no-component-lifecycle-hooks.js
@@ -30,7 +30,7 @@ module.exports = {
create(context) {
let isInsideEmberComponent = fal... | Fix issue & add test case for multiple CallExpression case | ember-cli_eslint-plugin-ember | train |
44a62fd4b1b1ee303625fc8aad3e8a5f155b77d4 | diff --git a/moderngl/program_members/uniform_block.py b/moderngl/program_members/uniform_block.py
index <HASH>..<HASH> 100644
--- a/moderngl/program_members/uniform_block.py
+++ b/moderngl/program_members/uniform_block.py
@@ -32,6 +32,18 @@ class UniformBlock:
self.mglo.binding = binding
@property
+ ... | uniform value is the uniform binding (forward compatibility) | moderngl_moderngl | train |
3d93d86d4237b484099b5e129cb2d3678729829d | diff --git a/lib/mysql2.rb b/lib/mysql2.rb
index <HASH>..<HASH> 100644
--- a/lib/mysql2.rb
+++ b/lib/mysql2.rb
@@ -15,7 +15,7 @@ require 'mysql2/result'
module Mysql2
end
-if defined?(ActiveRecord::VERSION::STRING) < "3.1"
+if defined?(ActiveRecord::VERSION::STRING) && ActiveRecord::VERSION::STRING < "3.1"
puts ... | wow, maybe it's time for bed | brianmario_mysql2 | train |
f0d3df197b9b3d5cc173d402e74fd1b21b40fe61 | diff --git a/bin/melodrama-scripts.js b/bin/melodrama-scripts.js
index <HASH>..<HASH> 100644
--- a/bin/melodrama-scripts.js
+++ b/bin/melodrama-scripts.js
@@ -15,6 +15,7 @@ const cli = meow({
${chalk.underline('Commands:')}
init [dir] bootstrap project dir
start <file> run dev server with file ... | :lipstick: Add CLI doc for build command. | sebald_melodrama-scripts | train |
c44f50dc048f97d5a020d844deb9afa26b2889dc | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -50,7 +50,7 @@ from salt.utils.event import tagify
import binascii
from salt.utils.master import ConnectedCache
from salt.utils.cache import CacheCli
-from six.moves import range
+from salt.utils.six... | Replaced module six in file /salt/master.py | saltstack_salt | train |
db6c0ee55c60afc12412af02d4d0652659950d2f | diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Base.py
+++ b/openpnm/core/Base.py
@@ -1629,6 +1629,7 @@ class Base(dict):
else:
r = int(np.ceil(N**0.5))
c = int(np.floor(N**0.5))
+ plt.figure()
for i in range(len... | prevent overwriting on previous fig when calling the method | PMEAL_OpenPNM | train |
969a305b8ad82010963de70b01b012e3ead621e1 | diff --git a/WrightTools/data/_pycmds.py b/WrightTools/data/_pycmds.py
index <HASH>..<HASH> 100644
--- a/WrightTools/data/_pycmds.py
+++ b/WrightTools/data/_pycmds.py
@@ -127,7 +127,7 @@ def from_PyCMDS(filepath, name=None, parent=None, verbose=True, *, collapse=True
else:
_no_collapse_create(data... | no collapse verbose (#<I>) | wright-group_WrightTools | train |
d59ae7fda38c2dcc0e176ebfe9016bc8620f3059 | diff --git a/spectator-reg-tdigest/src/main/java/com/netflix/spectator/tdigest/TDigestConfig.java b/spectator-reg-tdigest/src/main/java/com/netflix/spectator/tdigest/TDigestConfig.java
index <HASH>..<HASH> 100644
--- a/spectator-reg-tdigest/src/main/java/com/netflix/spectator/tdigest/TDigestConfig.java
+++ b/spectator-... | make TDigestConfig public | Netflix_spectator | train |
480cf4a9476d8c8d24727120a640ac7c07c729c7 | diff --git a/go/teams/create.go b/go/teams/create.go
index <HASH>..<HASH> 100644
--- a/go/teams/create.go
+++ b/go/teams/create.go
@@ -158,6 +158,10 @@ func CreateSubteam(ctx context.Context, g *libkb.GlobalContext, subteamBasename
return nil, err
}
+ if err := parentTeam.ForceMerkleRootUpdate(ctx); err != nil ... | Fix team adminship merkle root in client (#<I>)
* Call LookupTeam to force merkle root update using team id
* Refactor to ForceMerkleRootUpdate
* Reenabe tests | keybase_client | train |
2c241c6d63587cec3eca2e95cf2853a722ce896e | diff --git a/clients/clients.go b/clients/clients.go
index <HASH>..<HASH> 100644
--- a/clients/clients.go
+++ b/clients/clients.go
@@ -13,7 +13,7 @@ import (
type (
// A tcp represents a TCP connection to the mist server
- tcp struct {
+ TCP struct {
host string
conn net.Conn // the connecti... | made the client TCP struct public | nanopack_mist | train |
26faf91dded52dc8195172bb4e9c0d2c36bb1a21 | diff --git a/python/examples/hypertools_demo-clusters.py b/python/examples/hypertools_demo-clusters.py
index <HASH>..<HASH> 100644
--- a/python/examples/hypertools_demo-clusters.py
+++ b/python/examples/hypertools_demo-clusters.py
@@ -15,4 +15,4 @@ ind_vars = df[df.columns[1:]]
m = PCA(n_components=3)
reduced_data = ... | removed animate flag from point_colors/clusters examples | ContextLab_hypertools | train |
4c61aaf1dc09aa46fe0e4248e326bd7cf78fd2b7 | diff --git a/lark/tree.py b/lark/tree.py
index <HASH>..<HASH> 100644
--- a/lark/tree.py
+++ b/lark/tree.py
@@ -62,14 +62,12 @@ class Tree(object):
queue = [self]
subtrees = OrderedDict()
for subtree in queue:
- if id(subtree) in subtrees:
- continue
subt... | Small refactoring for iter_subtrees | lark-parser_lark | train |
f96a78ca4698f3b5c2218e680f1f103b0f416875 | diff --git a/account/models.py b/account/models.py
index <HASH>..<HASH> 100644
--- a/account/models.py
+++ b/account/models.py
@@ -377,7 +377,7 @@ class AccountDeletion(models.Model):
before = timezone.now() - datetime.timedelta(hours=hours_ago)
count = 0
for account_deletion in cls.objects.f... | Fix a bug introduced by last commit
Fix a bug introduced by porting deletion callback to hookset: In AccountDeletion model, "account_delete_expunge" and "account_delete_mark" were still called from settings, instead of using the hookset. | pinax_django-user-accounts | train |
0a2946ad872994ccab94b4464339924a1efbad9b | diff --git a/src/main/java/com/aparapi/Kernel.java b/src/main/java/com/aparapi/Kernel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/aparapi/Kernel.java
+++ b/src/main/java/com/aparapi/Kernel.java
@@ -373,17 +373,10 @@ public abstract class Kernel implements Cloneable {
* kernel.execute(values.length... | docs(javadocs): fixed an unresolved conflict that was hidden in the Javadocs.
ISSUES CLOSED: #<I> | Syncleus_aparapi | train |
cacfa0bcbe0639bde31e898a4ff4ee81ebfcb784 | diff --git a/src/Traits/RequestTrait.php b/src/Traits/RequestTrait.php
index <HASH>..<HASH> 100644
--- a/src/Traits/RequestTrait.php
+++ b/src/Traits/RequestTrait.php
@@ -13,21 +13,26 @@ trait RequestTrait
public static function initialize(Request $request): void
{
/**
- * The scope is onl... | Fixed how HttpPutStreamListener is ran on PUT | mindlahus_symfony-assets | train |
b0d393f6d7b4f36487f85e20b49d00244b894d23 | diff --git a/lib/ignorable.rb b/lib/ignorable.rb
index <HASH>..<HASH> 100644
--- a/lib/ignorable.rb
+++ b/lib/ignorable.rb
@@ -1,4 +1,5 @@
require 'active_record'
+require 'active_support/core_ext/class/attribute'
module Ignorable
module InstanceMethods
@@ -12,8 +13,6 @@ module Ignorable
@columns ||= supe... | Ignore columns in subclasses too, merge tobyhs:model_inheritance | nthj_ignorable | train |
c8172e88ecafe1ee3866e58d6db44c6e06480706 | diff --git a/lib/podio/areas/contact.rb b/lib/podio/areas/contact.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/areas/contact.rb
+++ b/lib/podio/areas/contact.rb
@@ -20,5 +20,9 @@ module Podio
member Podio.connection.get("/org/#{org_id}/profile").body
end
+ def totals_by_org
+ Podio.connectio... | Added method for getting contact totals per org on contact | podio_podio-rb | train |
5dda3a85f2e19bda4b1662054d3654d2eebfc414 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -120,6 +120,8 @@ For instructions on upgrading to newer versions, visit
* \#2522 Fixed `Criteria#with` to return the criteria and not the class.
+* \#2518 Fix unit of work call for the identity map when us... | Fix middleware not clearing identity map with Passenger.
[ fix #<I> ] | mongodb_mongoid | train |
4be57a2ea5fdd4ef99fba61d70b6962fde7360bd | diff --git a/cake/console/libs/shell.php b/cake/console/libs/shell.php
index <HASH>..<HASH> 100644
--- a/cake/console/libs/shell.php
+++ b/cake/console/libs/shell.php
@@ -30,6 +30,13 @@ require_once CAKE . 'console' . DS . 'console_input.php';
class Shell extends Object {
/**
+ * Output constants for making verbose... | Adding output levels to Shell
Adding tests for output levels. | cakephp_cakephp | train |
a7bea58470cd4cb3b1ee55746243c13bb3038509 | diff --git a/usb1.py b/usb1.py
index <HASH>..<HASH> 100644
--- a/usb1.py
+++ b/usb1.py
@@ -851,6 +851,8 @@ class USBPollerThread(threading.Thread):
See http://libusb.sourceforge.net/api-1.0/mtasync.html .
"""
+ _can_run = True
+
def __init__(self, context, poller, exc_callback=None):
"""
... | USBPollerThread.stop: Allows stopping event thread. | vpelletier_python-libusb1 | train |
dab74e0708e14fab863ec91df989fc47a5f03bd4 | diff --git a/lib/neo4j/active_node/persistence.rb b/lib/neo4j/active_node/persistence.rb
index <HASH>..<HASH> 100644
--- a/lib/neo4j/active_node/persistence.rb
+++ b/lib/neo4j/active_node/persistence.rb
@@ -97,11 +97,16 @@ module Neo4j::ActiveNode
end
def merge(attributes)
- neo4j_session.query.m... | :merge and :find_or_create need to set id property, return node | neo4jrb_neo4j | train |
a44eab55d72d3336258a229bf2b6a6e773b2d581 | diff --git a/azurerm/resource_arm_network_interface.go b/azurerm/resource_arm_network_interface.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_network_interface.go
+++ b/azurerm/resource_arm_network_interface.go
@@ -93,6 +93,7 @@ func resourceArmNetworkInterface() *schema.Resource {
"private_ip_addres... | r/network_interface: making the `private_ip_address` computed | terraform-providers_terraform-provider-azurerm | train |
7c739bafd8fdec0444e61e97ede2618e3fd0d4a1 | diff --git a/tests/test_r_strsxp.py b/tests/test_r_strsxp.py
index <HASH>..<HASH> 100644
--- a/tests/test_r_strsxp.py
+++ b/tests/test_r_strsxp.py
@@ -37,6 +37,8 @@ if any([platform.startswith(os_name) for os_name in ['linux', 'darwin', 'freebsd
elif platform.startswith('win'):
import ctypes
+import pytest
+
# ... | new test marked as xfail | pleiszenburg_zugbruecke | train |
709bee1e2045fd3488f6281b4249fe35c01d73e5 | diff --git a/openquake/engine/export/hazard.py b/openquake/engine/export/hazard.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/export/hazard.py
+++ b/openquake/engine/export/hazard.py
@@ -26,7 +26,7 @@ from collections import namedtuple, defaultdict
from openquake.baselib.general import groupby
from openquake.... | Removed the old save_csv function
Former-commit-id: ffcc<I>fcea<I>eaf<I>e1babc<I>cc | gem_oq-engine | train |
4e1ef75c64f878ffb6cbb47dc606b9f7d09d6806 | diff --git a/tests/test_runner.py b/tests/test_runner.py
index <HASH>..<HASH> 100644
--- a/tests/test_runner.py
+++ b/tests/test_runner.py
@@ -151,7 +151,7 @@ class TestRstcheckMainRunnerFileListUpdater:
_runner.update_file_list() # act
- assert len(_runner.files_to_check) == 5
+ assert len(... | udpate tests b/c basic rst good file added | myint_rstcheck | train |
e6d1649fad1728d9c1213deabcf2c76f91d3990b | diff --git a/rapidoid-buffer/src/main/java/org/rapidoid/buffer/MultiBuf.java b/rapidoid-buffer/src/main/java/org/rapidoid/buffer/MultiBuf.java
index <HASH>..<HASH> 100644
--- a/rapidoid-buffer/src/main/java/org/rapidoid/buffer/MultiBuf.java
+++ b/rapidoid-buffer/src/main/java/org/rapidoid/buffer/MultiBuf.java
@@ -841,2... | Fixed number rendering in the low-level buffer utils. | rapidoid_rapidoid | train |
e379a1324206c8eb97f1391693365ed6cef4f992 | diff --git a/aws-region-table-parser.js b/aws-region-table-parser.js
index <HASH>..<HASH> 100644
--- a/aws-region-table-parser.js
+++ b/aws-region-table-parser.js
@@ -5,6 +5,7 @@ const locationsMap = {
edgeLocations: [],
regionalEdgeCaches: []
};
+
const transpose = array => array[0].map((_, c) => array.map(r =... | order regions summary by supported value, add region name. | burib_aws-region-table-parser | train |
5948edd824388d4e2b88b85caf9619e6c64ed56c | diff --git a/src/node/index.js b/src/node/index.js
index <HASH>..<HASH> 100644
--- a/src/node/index.js
+++ b/src/node/index.js
@@ -87,8 +87,12 @@ function request(snek, options = snek.options) {
stream.once('end', () => {
snek.push(null);
const raw = Buffer.concat(body);
- if (options.co... | fall back to destroying http2 connection | devsnek_snekfetch | train |
5999bb1eb3c09fa8a60f0bf93973688e23596763 | diff --git a/lib/fastlane/actions/latest_testflight_build_number.rb b/lib/fastlane/actions/latest_testflight_build_number.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane/actions/latest_testflight_build_number.rb
+++ b/lib/fastlane/actions/latest_testflight_build_number.rb
@@ -30,7 +30,12 @@ module Fastlane
H... | * fixes the case when there is no build already uploaded - aka the first build | fastlane_fastlane | train |
d8ad5fa74a5742ba73ecdbcd6456ef3617c1bb7c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import io
+import sys
import setuptools
@@ -9,6 +10,9 @@ with io.open('README.txt', encoding='utf-8'... | Conditionally require pytest-runner. | jaraco_jaraco.collections | train |
16fe07624fd1efd9e366ed4426d4f1a6dcfd8f95 | diff --git a/GameQ.php b/GameQ.php
index <HASH>..<HASH> 100644
--- a/GameQ.php
+++ b/GameQ.php
@@ -709,7 +709,7 @@ class GameQ
));
// Create the socket
- if(($socket = stream_socket_client($remote_addr, $errno = NULL, $errstr = NULL, $this->timeout, STREAM_CLIENT_CONNECT, $context)) !== FALSE)
+ if(($socket =... | Added supress warning for stream_client_connect. There is a catch for it failing and throwing an exception. No need for both. | Austinb_GameQ | train |
9743541dd2b19137703e678781a9faa67e8fe4be | diff --git a/quart/local.py b/quart/local.py
index <HASH>..<HASH> 100644
--- a/quart/local.py
+++ b/quart/local.py
@@ -37,7 +37,7 @@ class TaskLocal:
def _task_identity() -> int:
loop = asyncio.get_event_loop()
if loop.is_running():
- task = asyncio.Task.current_task()
+ tas... | Avoid a deprecation warning
Task.current_task() is deprecated, with asyncio.current_task() as the
replacement. As Quart targets only <I> or better there is no backwards
incompatibility worries. | pgjones_quart | train |
bbd91c5aaa722e542ee306aa0f7aee444081e50a | diff --git a/src/components/Tile/Tile-test.js b/src/components/Tile/Tile-test.js
index <HASH>..<HASH> 100644
--- a/src/components/Tile/Tile-test.js
+++ b/src/components/Tile/Tile-test.js
@@ -160,5 +160,50 @@ describe('Tile', () => {
wrapper.simulate('click');
expect(wrapper.state().expanded).toEqual(true)... | fix(ExpandableTile): improve the description for the chevron (#<I>) (#<I>)
* fix(ExpandableTile): improve the description for the chevron (#<I>)
* fix(ExpandableTile): Added props to allow for custom expand/collapse tooltip descriptions. | carbon-design-system_carbon-components | train |
8de88563b64398135776db4c08c4d68504790316 | diff --git a/sphinxcontrib/katex.py b/sphinxcontrib/katex.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/katex.py
+++ b/sphinxcontrib/katex.py
@@ -143,14 +143,17 @@ document.addEventListener("DOMContentLoaded", function() {
if delimiter[0] == '\\':
katex_delimiters[idx] = '\\' + katex_delimite... | Force overwriting of auto-redndering delimiters | hagenw_sphinxcontrib-katex | train |
a7da3496139bf8dee4eb33f2137b3e4d6417da9e | diff --git a/test.rb b/test.rb
index <HASH>..<HASH> 100644
--- a/test.rb
+++ b/test.rb
@@ -34,8 +34,8 @@ class DummySenderPlugin < Seahorse::Client::Plugin
end
end
-MyClient = Seahorse::Client.define api: {
- 'plugins' => [
+MyClient = Seahorse::Client.define(
+ plugins: [
Aws::Plugins::VersionedApiLoader,... | The swf test script now uses the new :plugin option to Client::Base.define. | aws_aws-sdk-ruby | train |
b370e613f0e644936764150c0da22a0290a0e266 | diff --git a/openpnm/algorithms/metrics/MercuryIntrusion.py b/openpnm/algorithms/metrics/MercuryIntrusion.py
index <HASH>..<HASH> 100644
--- a/openpnm/algorithms/metrics/MercuryIntrusion.py
+++ b/openpnm/algorithms/metrics/MercuryIntrusion.py
@@ -8,7 +8,7 @@ from openpnm import topotools
logger = logging.getLogger(__n... | Cleaning up MIP, it's now a OrdinaryPercolation subclass | PMEAL_OpenPNM | train |
10e02eff3f6e785c242e3a7ffcb4fb50caa54a1d | diff --git a/Discovery/TwigDiscovery.php b/Discovery/TwigDiscovery.php
index <HASH>..<HASH> 100644
--- a/Discovery/TwigDiscovery.php
+++ b/Discovery/TwigDiscovery.php
@@ -11,6 +11,7 @@
namespace LastCall\Mannequin\Twig\Discovery;
+use LastCall\Mannequin\Core\Component\BrokenComponent;
use LastCall\Mannequin\Core\... | Add a broken component class to handle non-loadable components, use in TwigDiscovery | LastCallMedia_Mannequin-Twig | train |
b9ff6d8b46fd7b21dac13f3c37b69d175be0c12c | diff --git a/consent/admin/__init__.py b/consent/admin/__init__.py
index <HASH>..<HASH> 100644
--- a/consent/admin/__init__.py
+++ b/consent/admin/__init__.py
@@ -56,18 +56,6 @@ class DataSharingConsentAdmin(SimpleHistoryAdmin):
'course_id',
)
- def has_add_permission(self, request):
- """
- ... | ENT-<I>: Enable Admins to Update DSC Records | edx_edx-enterprise | train |
f53ab637b07a45347ed15b2b66bca117caa6770d | diff --git a/vent/helpers/meta.py b/vent/helpers/meta.py
index <HASH>..<HASH> 100644
--- a/vent/helpers/meta.py
+++ b/vent/helpers/meta.py
@@ -1,4 +1,6 @@
+import docker
import os
+import platform
def Version():
version = ''
@@ -10,3 +12,34 @@ def Version():
except Exception as e: # pragma: no cover
... | helpers for docker setup and system | CyberReboot_vent | train |
01b77fe92b206e684dd2980a6e767168bd68e8cc | diff --git a/trunk/JLanguageTool/src/test/de/danielnaber/languagetool/rules/patterns/PatternRuleTest.java b/trunk/JLanguageTool/src/test/de/danielnaber/languagetool/rules/patterns/PatternRuleTest.java
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/src/test/de/danielnaber/languagetool/rules/patterns/PatternRuleTe... | - added test to report useless regexp parts such as "[Ee]nglish" when
case_sensitive attribute is not set to yes. Example:
[junit] The English rule: BED_ENGLISH contains regexp part [Ee] which is useless without case_sensitive="yes". | languagetool-org_languagetool | train |
5139715fcce253f62ba7279e9dd7701f60dbe96c | diff --git a/lombok-maven-plugin/src/main/java/lombok/launch/Delombok.java b/lombok-maven-plugin/src/main/java/lombok/launch/Delombok.java
index <HASH>..<HASH> 100644
--- a/lombok-maven-plugin/src/main/java/lombok/launch/Delombok.java
+++ b/lombok-maven-plugin/src/main/java/lombok/launch/Delombok.java
@@ -10,7 +10,7 @@... | Replaced the @see to be javadoc friendly. | awhitford_lombok.maven | train |
ec062f4b5c96cc8425a527b978c3f5f578884482 | diff --git a/satpy/resample.py b/satpy/resample.py
index <HASH>..<HASH> 100644
--- a/satpy/resample.py
+++ b/satpy/resample.py
@@ -830,7 +830,10 @@ class BilinearResampler(BaseResampler):
def precompute(self, mask=None, radius_of_influence=50000, epsilon=0,
reduce_data=True, cache_dir=False, **... | Raise warnings if Pyresample is too old for bilinear caching | pytroll_satpy | train |
d8e7d85a3f6a5e8249323b2719b396b2aa5a5fbf | diff --git a/parameter.py b/parameter.py
index <HASH>..<HASH> 100644
--- a/parameter.py
+++ b/parameter.py
@@ -3,14 +3,30 @@ _no_default = object()
class Parameter(object):
counter = 0
- def __init__(self, default = _no_default):
- self.__default = default # The default default is no default
- ... | added fib test + some input parsing | spotify_luigi | train |
7cfae1e343b87038c17de284d63457acd064f24d | diff --git a/lib/influxdb/logging.rb b/lib/influxdb/logging.rb
index <HASH>..<HASH> 100644
--- a/lib/influxdb/logging.rb
+++ b/lib/influxdb/logging.rb
@@ -2,7 +2,7 @@ require 'logger'
module InfluxDB
module Logging # :nodoc:
- PREFIX = "[InfluxDB] ".freeze
+ PREFIX = "InfluxDB".freeze
class << self
... | Adjust logging
Logger#info et al. accept a "progname" parameter, so there's no
need to manually prefix the log message.
Also improved the logging for the tests: When given a LOG env
variable, the output of the logger is redirected to tmp/spec.log
for further inspection. | influxdata_influxdb-ruby | train |
74a45f9340c197333d2d3ccaaad74773015141a7 | diff --git a/test/test-examples.js b/test/test-examples.js
index <HASH>..<HASH> 100644
--- a/test/test-examples.js
+++ b/test/test-examples.js
@@ -771,7 +771,50 @@ describe('examples', function () {
});
});
- it('default - 0', function () {
+ it('default - function', function () {
+ var tem... | Update test-examples.js
Added test for default with function. | amida-tech_jsonapter | train |
7c29e8881f67ba4c23ec2e8aa2e9418d9934dbc3 | diff --git a/src/Symfony/Bundle/FrameworkBundle/RequestListener.php b/src/Symfony/Bundle/FrameworkBundle/RequestListener.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/RequestListener.php
+++ b/src/Symfony/Bundle/FrameworkBundle/RequestListener.php
@@ -103,7 +103,7 @@ class RequestListener
... | Changed log level of "Matched route ..." message from info to debug | symfony_symfony | train |
4465068462dc90857746ef84614012e0a336d89e | diff --git a/test/e2e/kubectl.go b/test/e2e/kubectl.go
index <HASH>..<HASH> 100644
--- a/test/e2e/kubectl.go
+++ b/test/e2e/kubectl.go
@@ -583,11 +583,11 @@ var _ = framework.KubeDescribe("Kubectl client", func() {
_, err := framework.RunHostCmd(ns, simplePodName, "/kubectl get pods --token=invalid --v=7 2>&1")
... | Remove system:anonymous check from kubectl test
This verbiage doesn't appear when the cluster is AlwaysAllow | kubernetes_kubernetes | train |
506cd448690f35215b664d25f95620d587890172 | diff --git a/lib/classes/Utils.js b/lib/classes/Utils.js
index <HASH>..<HASH> 100644
--- a/lib/classes/Utils.js
+++ b/lib/classes/Utils.js
@@ -120,36 +120,12 @@ class Utils {
}
findServicePath() {
- const that = this;
-
- // Helper function
- const isServiceDir = (dir) => {
- let serverlessYmlFile... | Remove automatic servicePath detection to prevent unintended behavior | serverless_serverless | train |
062abc7a4c578532e9f87b1557f2ebde93661867 | diff --git a/Lib/fontParts/objects/base/validators.py b/Lib/fontParts/objects/base/validators.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/objects/base/validators.py
+++ b/Lib/fontParts/objects/base/validators.py
@@ -46,7 +46,7 @@ def validateLayerOrder(value, font):
import collections.Counter
duplicate... | Validate Segment, Point, and bPoint types.
Grammer.
One more check on kerning key name length. | robotools_fontParts | train |
ac2bc4093c46857fc6e5683cbc25577f3e7e8a7c | diff --git a/lib/Koine/Parameters.php b/lib/Koine/Parameters.php
index <HASH>..<HASH> 100644
--- a/lib/Koine/Parameters.php
+++ b/lib/Koine/Parameters.php
@@ -53,51 +53,70 @@ class Parameters extends Hash
{
$params = clone $this;
- return $this->filter($params, $permittedParams);
+ $this->... | Implemented nested permissions | koinephp_StrongParameters | train |
4c559aa9732343791bad5d5137010b9b81311e3d | diff --git a/packages/razzle/scripts/build.js b/packages/razzle/scripts/build.js
index <HASH>..<HASH> 100755
--- a/packages/razzle/scripts/build.js
+++ b/packages/razzle/scripts/build.js
@@ -39,7 +39,7 @@ loadRazzleConfig(webpack).then(
async ({ razzle, razzleOptions, webpackObject, plugins, paths }) => {
const... | feat(razzle): disable prompt on CI | jaredpalmer_razzle | train |
a91162c77f613d9ed3ab8b27c63508e2e70dbbb5 | diff --git a/phoebe/atmospheres/passbands.py b/phoebe/atmospheres/passbands.py
index <HASH>..<HASH> 100644
--- a/phoebe/atmospheres/passbands.py
+++ b/phoebe/atmospheres/passbands.py
@@ -591,22 +591,10 @@ class Passband:
# Store the passband index for use in planckint() and atmx():
self.extern_wd_idx ... | Omitting reading atm_table of coefficients twice. | phoebe-project_phoebe2 | train |
2355d4123f6670b39f81f89f376934244f424822 | diff --git a/cassandra_test.go b/cassandra_test.go
index <HASH>..<HASH> 100644
--- a/cassandra_test.go
+++ b/cassandra_test.go
@@ -30,7 +30,7 @@ var (
clusterSize = flag.Int("clusterSize", 1, "the expected size of the cluster")
flagRetry = flag.Int("retries", 5, "number of times to retry queries")
flagAutoWai... | Maybe flagAutoFreq doesn't actually have much effect | gocql_gocql | train |
6bc0e44b812bbc57f8a96cbf6cbe2ed50b72f8dc | diff --git a/lib/harness/adapters/librato_adapter.rb b/lib/harness/adapters/librato_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/harness/adapters/librato_adapter.rb
+++ b/lib/harness/adapters/librato_adapter.rb
@@ -62,7 +62,13 @@ module Harness
end
def self.sanitize(name)
- "#{name}#{Harness.config... | Update for inconsistency in Librato api | ahawkins_harness | train |
b4e58745429d62533b11882945d0762b63d630ef | diff --git a/lib/autowow/gem.rb b/lib/autowow/gem.rb
index <HASH>..<HASH> 100644
--- a/lib/autowow/gem.rb
+++ b/lib/autowow/gem.rb
@@ -6,7 +6,7 @@ module Autowow
include EasyLogging
def self.gem_release
- start_status = Vcs.status.stdout
+ start_status = Vcs.status
logger.info(start_status)... | Fixes issue where status would not consider stderr | thisismydesign_autowow | train |
3970320a50b1504e5c8947c4793cc186a5388943 | diff --git a/angr/path.py b/angr/path.py
index <HASH>..<HASH> 100644
--- a/angr/path.py
+++ b/angr/path.py
@@ -178,7 +178,11 @@ class Path(object):
# return n
#return None
- return self.blockcounter_stack[-1].most_common()[0][1]
+ mc = self.blockcounter_stack[-1].most_common()
+ ... | Bug fix: calling detect_loops() on an empty path will raise an exception. | angr_angr | train |
e89dd01ce18e40f1b21b2f8d8f858c836ee661dc | diff --git a/util.py b/util.py
index <HASH>..<HASH> 100644
--- a/util.py
+++ b/util.py
@@ -140,9 +140,16 @@ def UserAcceptance(
############################################################################
# GetBestMatch
+# This finds the elements of matchList which best match the target string
+# Note that this sea... | Updated string matching algorithm to prioritise exact matches
This take an exact match (match ratio = <I>% and both strings equal size) as a better result
than a substring match, even if the substring match ratio is also <I>%. | davgeo_clear | train |
de2932f36d38def447662159b9f735f02a591624 | diff --git a/claripy/claripy.py b/claripy/claripy.py
index <HASH>..<HASH> 100644
--- a/claripy/claripy.py
+++ b/claripy/claripy.py
@@ -44,7 +44,7 @@ class Claripy(object):
else:
return E(self, o, set() if variables is None else variables, symbolic)
- def _do_op(self, name, args, variables=Non... | split _do_op into _do_op and _do_op_raw and added Identical | angr_claripy | train |
fb322e95b8b2599d903705d78270b942a867f072 | diff --git a/src/TextureArchive.js b/src/TextureArchive.js
index <HASH>..<HASH> 100644
--- a/src/TextureArchive.js
+++ b/src/TextureArchive.js
@@ -22,6 +22,9 @@ export default class TextureArchive extends PersistedDocumentArchive {
entries.forEach(entry => {
let record = rawArchive.resources[entry.path]
+... | Implement repair step, which removes missing document entries. | substance_texture | train |
dba6fc2d0bb428192c7b58dab3e8399c359dc214 | diff --git a/lib/crtomo/tdManager.py b/lib/crtomo/tdManager.py
index <HASH>..<HASH> 100644
--- a/lib/crtomo/tdManager.py
+++ b/lib/crtomo/tdManager.py
@@ -50,6 +50,7 @@
"""
import glob
+import re
import os
import tempfile
import numpy as np
@@ -629,7 +630,14 @@ class tdMan(object):
)
re... | start implementing proper parsing of the inv.ctr file using regular
expressions | geophysics-ubonn_crtomo_tools | train |
fe7c33e259f82a015db69272e4eaa53c3f394230 | diff --git a/src/webignition/ReadableDuration/ReadableDuration.php b/src/webignition/ReadableDuration/ReadableDuration.php
index <HASH>..<HASH> 100644
--- a/src/webignition/ReadableDuration/ReadableDuration.php
+++ b/src/webignition/ReadableDuration/ReadableDuration.php
@@ -28,6 +28,15 @@ class ReadableDuration {
... | 1 hour <I> minutes is 2 hours not 1 hour 6 minutes silly silly silly | webignition_readable-duration | train |
72a55f5e24a2a8eaa6fa9f9b1d7ab20e7708d7c6 | diff --git a/publify_amazon_sidebar/spec/models/amazon_sidebar_spec.rb b/publify_amazon_sidebar/spec/models/amazon_sidebar_spec.rb
index <HASH>..<HASH> 100644
--- a/publify_amazon_sidebar/spec/models/amazon_sidebar_spec.rb
+++ b/publify_amazon_sidebar/spec/models/amazon_sidebar_spec.rb
@@ -1,8 +1,8 @@
require 'rails_h... | Make specs pass with publify_core <I>.pre5 | publify_publify | train |
7c215be4258baf831ea4b88aa11e0d9747fe38d2 | diff --git a/Framework/ClientSideCompiler.php b/Framework/ClientSideCompiler.php
index <HASH>..<HASH> 100644
--- a/Framework/ClientSideCompiler.php
+++ b/Framework/ClientSideCompiler.php
@@ -48,6 +48,10 @@ private function preprocess($dom) {
}
}
+// TODO: Issue #62 and #64 - Don't preprocess the sass files to the ... | For #<I> and #<I>, note added how to fix issues. | PhpGt_WebEngine | train |
d122f5826c21c47c0be8e07f7e6336253fe3e41a | diff --git a/executor/adapter.go b/executor/adapter.go
index <HASH>..<HASH> 100644
--- a/executor/adapter.go
+++ b/executor/adapter.go
@@ -43,7 +43,7 @@ type recordSet struct {
executor Executor
stmt *ExecStmt
processinfo processinfoSetter
- err error
+ lastErr error
}
func (a *recordSet... | tidb-server,executor: add command option and log success/fail for slow-query (#<I>) | pingcap_tidb | train |
2c568a75f27e59a8bfccf933807f9676c999606f | diff --git a/plugins/commands/ssh/command.rb b/plugins/commands/ssh/command.rb
index <HASH>..<HASH> 100644
--- a/plugins/commands/ssh/command.rb
+++ b/plugins/commands/ssh/command.rb
@@ -55,7 +55,7 @@ module VagrantPlugins
return exit_status
else
@logger.debug("Invoking `ssh` action... | commands/ssh: use proper variable | hashicorp_vagrant | train |
9d5e092d46b22423bb27b6f418c307b1bd8ccfcb | diff --git a/src/moneyed/classes.py b/src/moneyed/classes.py
index <HASH>..<HASH> 100644
--- a/src/moneyed/classes.py
+++ b/src/moneyed/classes.py
@@ -3,6 +3,7 @@ from __future__ import division
from __future__ import unicode_literals
from decimal import Decimal, ROUND_DOWN
+import warnings
# Default, non-existe... | Deprecated automatic conversion from floats for * / % operations | limist_py-moneyed | train |
ba8f336b56db23c283ea5acd0d9fa42dd4a416b5 | diff --git a/tensorflow_probability/python/experimental/distributions/joint_distribution_pinned.py b/tensorflow_probability/python/experimental/distributions/joint_distribution_pinned.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/experimental/distributions/joint_distribution_pinned.py
+++ b/tensorf... | Expose `name` property of JointDistributionPinned.
This brings JDP slightly closer to 'quacking like' a Distribution.
PiperOrigin-RevId: <I> | tensorflow_probability | train |
1336ff068f71092ce6c4b0b687a3eb86a686c346 | diff --git a/lib/packets/column_definition.js b/lib/packets/column_definition.js
index <HASH>..<HASH> 100644
--- a/lib/packets/column_definition.js
+++ b/lib/packets/column_definition.js
@@ -45,8 +45,10 @@ class ColumnDefinition {
this.characterSet = packet.readInt16();
this.encoding = CharsetToEncoding[this.... | Optimize string decoding by removing the use of slice()
Previously, when we want to decode a string from a range in a Buffer, we
chose to slice it first and then decode it. However, Buffer.toString()
already does it internally already. In addition to that, toString()
seems to be more efficient when working with native... | sidorares_node-mysql2 | train |
5379ebeb429e7ea52e4c2e560f1d701dc65b9d92 | diff --git a/tests/test_luhn.py b/tests/test_luhn.py
index <HASH>..<HASH> 100644
--- a/tests/test_luhn.py
+++ b/tests/test_luhn.py
@@ -4,7 +4,7 @@ from __future__ import absolute_import
from __future__ import division, print_function, unicode_literals
from case import unittest, build_document, build_sentence
-from ... | Import 'LuhnMethod' from public package | miso-belica_sumy | train |
833f93ae687bdb0a0dfa618abb2680b22e773bbb | diff --git a/master/buildbot/test/unit/test_worker_local.py b/master/buildbot/test/unit/test_worker_local.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_worker_local.py
+++ b/master/buildbot/test/unit/test_worker_local.py
@@ -52,7 +52,7 @@ class TestLocalWorker(unittest.TestCase):
old.up... | change working directory for local worker from `master-basedir/slaves/name` to `master-basedir/workers/name` | buildbot_buildbot | train |
accce12fea9d24aa09ee4be54106870a58191587 | diff --git a/src/main/java/de/thetaphi/forbiddenapis/ClassScanner.java b/src/main/java/de/thetaphi/forbiddenapis/ClassScanner.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/thetaphi/forbiddenapis/ClassScanner.java
+++ b/src/main/java/de/thetaphi/forbiddenapis/ClassScanner.java
@@ -196,6 +196,9 @@ public final ... | Fix JDK-<I> bug with RandomSupport extending internal/nonportable classes | policeman-tools_forbidden-apis | train |
6b444388924878cfad16812766a12d850994763f | diff --git a/hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/listener/ClientListenerServiceImpl.java b/hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/listener/ClientListenerServiceImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/listener... | Put eventExecutor.shutdown back to client
It seems it is removed when it should not.
To be able to find affected versiopns easily later, here are the commits deletes this
It is deleted in <I> here
<URL> | hazelcast_hazelcast | train |
abedb3f642f4d6ac48833ac1442fff4c8108b685 | diff --git a/ledcontroller/__init__.py b/ledcontroller/__init__.py
index <HASH>..<HASH> 100644
--- a/ledcontroller/__init__.py
+++ b/ledcontroller/__init__.py
@@ -278,6 +278,20 @@ class LedController(object):
have any effect. """
self._send_to_group(group, command="warmer")
+ @classmethod
+ de... | Add get_brightness_level method to get internal brightness
Milights only have <I> brightness levels. get_brightness_level converts
percent to milight level.
Method returns (percent, value) tuple, where percent is processed
if needed (clamped to 0-<I>). | ojarva_python-ledcontroller | train |
0f7c76b52b2f111127ff423607cf9d1317f256c0 | diff --git a/movement.go b/movement.go
index <HASH>..<HASH> 100644
--- a/movement.go
+++ b/movement.go
@@ -54,6 +54,10 @@ func (c WorldCoord) DirectionTo(other WorldCoord) Direction {
panic("unable to calculate Direction")
}
+func (p PartialWorldCoord) String() string {
+ return fmt.Sprintf("PL{%v %v}", p.WorldCoo... | Moved this method closer to type def | ghthor_filu | train |
4f734ddcb01f23b9b35b33299c06b523e86ab967 | diff --git a/tornado/test/web_test.py b/tornado/test/web_test.py
index <HASH>..<HASH> 100644
--- a/tornado/test/web_test.py
+++ b/tornado/test/web_test.py
@@ -1331,6 +1331,7 @@ class ErrorHandlerXSRFTest(WebTestCase):
self.assertEqual(response.code, 404)
+@wsgi_safe
class GzipTestCase(SimpleHandlerTestCas... | Allow gzip to be used with WSGIApplication.
Now that transfer encodings have been moved to http1connection,
the content-level output transforms can be used with wsgi. | tornadoweb_tornado | train |
511cac1d1618628dab9695e9c8f856275baef7e0 | diff --git a/lib/acl9/model_extensions/for_object.rb b/lib/acl9/model_extensions/for_object.rb
index <HASH>..<HASH> 100644
--- a/lib/acl9/model_extensions/for_object.rb
+++ b/lib/acl9/model_extensions/for_object.rb
@@ -10,7 +10,9 @@ module Acl9
# @param [Subject] subject Subject to add role for
# @see Acl... | Added some checks for objects when subject can be null. | be9_acl9 | train |
6b33bb9aa9363b8d350e816a5e7c2b81adb081e6 | diff --git a/h2o-core/src/main/java/water/fvec/Frame.java b/h2o-core/src/main/java/water/fvec/Frame.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/fvec/Frame.java
+++ b/h2o-core/src/main/java/water/fvec/Frame.java
@@ -507,14 +507,19 @@ public class Frame extends Lockable<Frame> {
}
int ... | Fix PUBDEV-<I>: Prevent race condition in Frame's internal state. | h2oai_h2o-3 | train |
4f841c03763bdc504ea7c22195a55b983e457da6 | diff --git a/sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/schema/SchemaEnvironmentManager.java b/sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/schema/SchemaEnvironmentManager.java
index <HASH>..<HASH> 100644
--- a/sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/schema/SchemaEnvironmentMa... | Fixed the unit test initialization problem for PostgreSQL. | apache_incubator-shardingsphere | train |
d9ae0bff72bd4d7797e99884a72f28e9613f6c63 | diff --git a/js/getusermedia.js b/js/getusermedia.js
index <HASH>..<HASH> 100644
--- a/js/getusermedia.js
+++ b/js/getusermedia.js
@@ -4,38 +4,85 @@
getUserMedia = function (options, successCallback, errorCallback) {
- navigator.getUserMedia_ = navigator.getUserMedia || navigator.webkitGetUserMedia;
+ navigator.ge... | Added getUserMedia option style detection to support implementations that use string and dictionary style implementations. | addyosmani_getUserMedia.js | train |
3f34cd08020afae64f43c698dd0711b62008eabe | diff --git a/regex_field/fields.py b/regex_field/fields.py
index <HASH>..<HASH> 100644
--- a/regex_field/fields.py
+++ b/regex_field/fields.py
@@ -37,7 +37,7 @@ class RegexField(CharField):
def value_to_string(self, obj):
if obj is None:
- return 'None'
+ return None
else:... | fixed a bug in obtaining a null value | ambitioninc_django-regex-field | train |
da49cd1a15bcd746e7254baae4ffe614107e8088 | diff --git a/bot.go b/bot.go
index <HASH>..<HASH> 100644
--- a/bot.go
+++ b/bot.go
@@ -137,16 +137,12 @@ func (b *IrcBot) Disconnect() {
b.Exit <- true
}
-func (b *IrcBot) IsJoined() bool {
- return b.joined
-}
-
//Say makes the bot say text to channel
func (b *IrcBot) Say(channel string, text string) {
msg :=... | refactor bot core after refactor of ircMsg | zaibon_ircbot | train |
a3a9f5fff0a46f1f7d5baf130961651cc63e0f84 | diff --git a/src/test/java/com/mistraltech/smog/examples/extended/matcher/AddresseeMatcher.java b/src/test/java/com/mistraltech/smog/examples/extended/matcher/AddresseeMatcher.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/mistraltech/smog/examples/extended/matcher/AddresseeMatcher.java
+++ b/src/test/java/co... | Tweeks to example matcher code. | mistraltechnologies_smog | train |
f10e0c400b53fa36ad3ed18b811db7538853e702 | diff --git a/java/com/couchbase/cblite/testapp/tests/Replicator.java b/java/com/couchbase/cblite/testapp/tests/Replicator.java
index <HASH>..<HASH> 100644
--- a/java/com/couchbase/cblite/testapp/tests/Replicator.java
+++ b/java/com/couchbase/cblite/testapp/tests/Replicator.java
@@ -194,6 +194,8 @@ public class Replicat... | testPusherDeletedDoc was broken, and in fact does _not_ reproduce issue #<I> | couchbase_couchbase-lite-android | train |
ada3da2894bf7fbfde22c1726a3ae3c020e338d8 | diff --git a/lib/fluent/plugin/out_elasticsearch.rb b/lib/fluent/plugin/out_elasticsearch.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/plugin/out_elasticsearch.rb
+++ b/lib/fluent/plugin/out_elasticsearch.rb
@@ -482,6 +482,7 @@ EOC
if retries < 2
retries += 1
@_es = nil
+ @_es... | Reset `@_es_info` variable when error occurred | uken_fluent-plugin-elasticsearch | train |
1bba45998d457c72edfb96cb384daa0915d4d8b5 | diff --git a/tests/test_widgets.py b/tests/test_widgets.py
index <HASH>..<HASH> 100644
--- a/tests/test_widgets.py
+++ b/tests/test_widgets.py
@@ -2,10 +2,12 @@ from __future__ import absolute_import, unicode_literals
import json
import re
+import unittest
from bs4 import BeautifulSoup
from django.test import S... | Add fallback support for Wagtail <<I> | springload_wagtaildraftail | train |
4fe9f278ea573074b282680dea09f8e2c1c3839e | diff --git a/lib/tumugi/version.rb b/lib/tumugi/version.rb
index <HASH>..<HASH> 100644
--- a/lib/tumugi/version.rb
+++ b/lib/tumugi/version.rb
@@ -1,3 +1,3 @@
module Tumugi
- VERSION = "0.6.2"
+ VERSION = "0.6.3"
end | Bumpup version to <I> | tumugi_tumugi | train |
7799e3534528d692d527d10228a9a3f334ace53f | diff --git a/monitor/monitor_test.go b/monitor/monitor_test.go
index <HASH>..<HASH> 100644
--- a/monitor/monitor_test.go
+++ b/monitor/monitor_test.go
@@ -3,7 +3,6 @@
package monitor
import (
- "bytes"
"context"
"crypto/rand"
"fmt"
@@ -33,7 +32,7 @@ type mockClient struct {
func addressIsAmong(x *common.Ad... | Simplify address comparison in monitor tests | Privatix_dappctrl | train |
949f522dc61b25a07ae43d600b6b6064fc605dae | diff --git a/client/lib/purchases/index.js b/client/lib/purchases/index.js
index <HASH>..<HASH> 100644
--- a/client/lib/purchases/index.js
+++ b/client/lib/purchases/index.js
@@ -56,6 +56,15 @@ function hasPrivateRegistration( purchase ) {
return purchase.hasPrivateRegistration;
}
+/**
+ * Checks if a purchase can... | Purchases: Add JSDoc for cancel related methods. | Automattic_wp-calypso | train |
d9238bc84f02166dd84cbb66fe351cbb4cede0fc | diff --git a/src/HttpAdapter/HttpStreamWrapperClient.php b/src/HttpAdapter/HttpStreamWrapperClient.php
index <HASH>..<HASH> 100644
--- a/src/HttpAdapter/HttpStreamWrapperClient.php
+++ b/src/HttpAdapter/HttpStreamWrapperClient.php
@@ -91,7 +91,7 @@ final class HttpStreamWrapperClient implements Client
$context... | Improve exception messages
If possible, use the last error produced by file_get_contents
as an exception message | marein_php-nchan-client | train |
4677812dc464e719474898df952b576796284a33 | diff --git a/xchange-bitcoinde/src/main/java/com/xeiam/xchange/bitcoinde/BitcoindeAdapters.java b/xchange-bitcoinde/src/main/java/com/xeiam/xchange/bitcoinde/BitcoindeAdapters.java
index <HASH>..<HASH> 100644
--- a/xchange-bitcoinde/src/main/java/com/xeiam/xchange/bitcoinde/BitcoindeAdapters.java
+++ b/xchange-bitcoind... | Sorted OrderBook in raw class | knowm_XChange | train |
5125d0ff5df407028dd35673d254056820ec594b | diff --git a/system/rake-support/lib/torquebox/rake/tasks/deployment.rb b/system/rake-support/lib/torquebox/rake/tasks/deployment.rb
index <HASH>..<HASH> 100644
--- a/system/rake-support/lib/torquebox/rake/tasks/deployment.rb
+++ b/system/rake-support/lib/torquebox/rake/tasks/deployment.rb
@@ -16,6 +16,7 @@
# 02110-13... | Prefer TORQUEBOX_HOME/apps, iff it exists, else, fall back to typical deployment into deploy/ | torquebox_torquebox | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.