hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
729a6c5617d49ddd3b988c9e35aaeb1afc786534 | diff --git a/availability/condition/completion/classes/condition.php b/availability/condition/completion/classes/condition.php
index <HASH>..<HASH> 100644
--- a/availability/condition/completion/classes/condition.php
+++ b/availability/condition/completion/classes/condition.php
@@ -53,8 +53,8 @@ class condition extends... | MDL-<I> completion: Also accepting cm integer strings | moodle_moodle | train |
3f28fcdaca663328a00fb9d3a791dee782aafabf | diff --git a/go/vt/vtadmin/api.go b/go/vt/vtadmin/api.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtadmin/api.go
+++ b/go/vt/vtadmin/api.go
@@ -133,14 +133,27 @@ func (api *API) GetGates(ctx context.Context, req *vtadminpb.GetGatesRequest) (*
go func(c *cluster.Cluster) {
defer wg.Done()
- g, err := c.Discove... | Add field to vtadmin's /api/gates response | vitessio_vitess | train |
b05e36ed0305fa69a595ac74397e99b418c9cebd | diff --git a/syn/base_utils/filters.py b/syn/base_utils/filters.py
index <HASH>..<HASH> 100644
--- a/syn/base_utils/filters.py
+++ b/syn/base_utils/filters.py
@@ -22,14 +22,14 @@ def join(obj, sep=' '):
return sep.join(obj)
return obj
-def dictify_strings(obj, empty=None, sep=None):
+def dictify_strings... | Adding type specification to dictify strings | mbodenhamer_syn | train |
df210273d463d3c1fd025279ed268db17382ffed | diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/base.rb
+++ b/lib/sinatra/base.rb
@@ -390,10 +390,11 @@ module Sinatra
[status, header, body]
end
- # Access options defined with Base.set.
- def options
+ # Access settings defined with Base.set.... | Adds a #settings method which #options is alised to.
I propose options be renamed "settings" - the nomenclature is perhaps more
appropriate.
set & settings vs set & options | sinatra_sinatra | train |
2fb8b6faa0a862cc151752939effb1f827a8abc5 | diff --git a/pex/common.py b/pex/common.py
index <HASH>..<HASH> 100644
--- a/pex/common.py
+++ b/pex/common.py
@@ -48,7 +48,17 @@ def safe_copy(source, dest, overwrite=False):
if overwrite:
do_copy()
elif e.errno in (errno.EPERM, errno.EXDEV):
- # Hard link across devices or permission... | Explain hard link EPERM copy fallback. (#<I>)
This follows up on #<I> to provide more explanation of how a copy can
succeed where a hard link fails due to apparent permission issues. | pantsbuild_pex | train |
de0abfcc2630064ef252a5192b84033c68a07eb0 | diff --git a/tensorflow_datasets/public_api.py b/tensorflow_datasets/public_api.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/public_api.py
+++ b/tensorflow_datasets/public_api.py
@@ -38,6 +38,7 @@ from tensorflow_datasets.core.load import list_builders
from tensorflow_datasets.core.load import load
from t... | Add `tfds.typing` to the public API
PiperOrigin-RevId: <I> | tensorflow_datasets | train |
e5c6b94c5e026258d20f0ba5f178fb9248eb0449 | diff --git a/plugins/polyfills/string.js b/plugins/polyfills/string.js
index <HASH>..<HASH> 100644
--- a/plugins/polyfills/string.js
+++ b/plugins/polyfills/string.js
@@ -12,3 +12,9 @@ if (!String.prototype.includes) {
}
};
}
+
+if (!String.prototype.startsWith) {
+ String.prototype.startsWith = funct... | startsWith (#<I>) | clientIO_joint | train |
f9e7ac6e542e8c71523b8a4db830b560ba23c736 | diff --git a/inject-groovy/src/main/groovy/io/micronaut/ast/groovy/visitor/GroovyMethodElement.java b/inject-groovy/src/main/groovy/io/micronaut/ast/groovy/visitor/GroovyMethodElement.java
index <HASH>..<HASH> 100644
--- a/inject-groovy/src/main/groovy/io/micronaut/ast/groovy/visitor/GroovyMethodElement.java
+++ b/inje... | Fix bug with type visitors in groovy where parameter annotations were not being inherited | micronaut-projects_micronaut-core | train |
1fa7b4d9ce30427da129791b6a582ed2e2b2841a | diff --git a/dclab/isoelastics/__init__.py b/dclab/isoelastics/__init__.py
index <HASH>..<HASH> 100644
--- a/dclab/isoelastics/__init__.py
+++ b/dclab/isoelastics/__init__.py
@@ -42,6 +42,13 @@ class Isoelastics(object):
Biophysical Journal 109(10) 2015
DOI: 10.1016/j.bpj.2015.09.006
... | allow to set flow rate and viscosity to None if only area_um-correction is required | ZELLMECHANIK-DRESDEN_dclab | train |
a72a2ff2b3f3f500526964259f3aa17efe239b69 | diff --git a/lib/ioHelper.js b/lib/ioHelper.js
index <HASH>..<HASH> 100644
--- a/lib/ioHelper.js
+++ b/lib/ioHelper.js
@@ -5,17 +5,15 @@ const s3urls = require('s3urls')
const getIo = (elasticdump, type) => {
let EntryProto
- const transportPath = elasticdump.options[type]
- const transport = elasticdump.option... | fixed :bug: introduced in ioHelper
closes #<I> | taskrabbit_elasticsearch-dump | train |
71fd9cee02df42b9e7a2827d295e1a1a4c413afb | diff --git a/lib/health-data-standards/models/svs/value_set.rb b/lib/health-data-standards/models/svs/value_set.rb
index <HASH>..<HASH> 100644
--- a/lib/health-data-standards/models/svs/value_set.rb
+++ b/lib/health-data-standards/models/svs/value_set.rb
@@ -11,7 +11,7 @@ module HealthDataStandards
scope :by_oid... | changing bad method call to correct one to add namespace to document | projecttacoma_cqm-parsers | train |
ec7934eff336299498cc79e857dce684c7126041 | diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/Re... | [hotfix][test] Simplify RecordWriterTest | apache_flink | train |
ce8f0e973109dc63db9f459c52dba770e89fbb55 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,12 +33,14 @@ setup(
],
classifiers=[
'Environment :: Console',
+ 'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Pyth... | Added more classifiers to setup.py | bfontaine_crosswords | train |
5ee640908bfbb807bbd984539239b89af49b5977 | diff --git a/examples/rtf15read.py b/examples/rtf15read.py
index <HASH>..<HASH> 100644
--- a/examples/rtf15read.py
+++ b/examples/rtf15read.py
@@ -1,7 +1,7 @@
from pyth.plugins.rtf15.reader import Rtf15Reader
from pyth.plugins.xhtml.writer import XHTMLWriter
-doc = Rtf15Reader.read(open('thornton.rtf'))
+doc = Rtf1... | Fix some edge cases in paragraph cleaning to avoid spurious empty tags, and handle Mac TextEdit's group-less font declarations | brendonh_pyth | train |
8375104d8619d0fa1301a2aba18d5e8551523ecd | diff --git a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/spark/util/SparkHelper.java b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/spark/util/SparkHelper.java
index <HASH>..<HASH> 100644
--- a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/g... | no incoming message should be available once the step has executed. | apache_tinkerpop | train |
4de838996f5782726f53d919d7dbb4a5b5672725 | diff --git a/poyo/parser.py b/poyo/parser.py
index <HASH>..<HASH> 100644
--- a/poyo/parser.py
+++ b/poyo/parser.py
@@ -65,7 +65,9 @@ class _Parser(object):
continue
if match.group() != string:
- raise ValueError
+ # Unable to match the full string, try the n... | Skip over partial matches rather than raising an error | hackebrot_poyo | train |
dd9f00a5b0262103df5b0a0e550dcccedf0e1eba | diff --git a/scout/commands/load/institute.py b/scout/commands/load/institute.py
index <HASH>..<HASH> 100644
--- a/scout/commands/load/institute.py
+++ b/scout/commands/load/institute.py
@@ -6,33 +6,33 @@ logger = logging.getLogger(__name__)
from scout.load import load_institute
+
@click.command('institute', shor... | Added possibility to supply sanger_recipients when loading institute | Clinical-Genomics_scout | train |
418b1f59d741527664105f31f2c603f538a2af6c | diff --git a/skpy/user.py b/skpy/user.py
index <HASH>..<HASH> 100644
--- a/skpy/user.py
+++ b/skpy/user.py
@@ -506,7 +506,7 @@ class SkypeContactGroup(SkypeObj):
def rawToFields(cls, raw={}):
return {"id": raw.get("id"),
"name": raw.get("name"),
- "userIds": [SkypeUtils.noP... | Handle empty contact groups with no list
Fixes #<I>. | Terrance_SkPy | train |
94f0c7269e23623db0be5a8fb46b598db8d6c0ef | diff --git a/code/Calendar.php b/code/Calendar.php
index <HASH>..<HASH> 100755
--- a/code/Calendar.php
+++ b/code/Calendar.php
@@ -182,8 +182,8 @@ class Calendar extends Page {
"CalendarID" => $calendar->ID
))
->exclude(array(
- "StartDate:LessThan" => $end,
- "EndDate:GreaterThan" => $start... | Correcting Announcement retrieval
Swapped Parameters date params in announcements to allow correct retrieval of announcements | unclecheese_silverstripe-event-calendar | train |
68fc88e752f211a8116b4b5e3fbc289373179a5e | diff --git a/app/helpers/tandem/application_helper.rb b/app/helpers/tandem/application_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/tandem/application_helper.rb
+++ b/app/helpers/tandem/application_helper.rb
@@ -8,8 +8,16 @@ module Tandem
end
end
+
def render_eco_template(template, locals ... | [#<I>] Cache compiled eco template context, so it doesn't have to be compiled for each call. Cut down gallery load locally from 5s to <I>s | 12spokes_tandem | train |
1df1773b890fa40da7173694d43b6db813ff91e0 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,8 +9,6 @@ Rails.backtrace_cleaner.remove_silencers!
Capybara.default_driver = :rack_test
Capybara.default_selector = :css
-Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].e... | Removed unused line from spec_helper. | thoughtbot_high_voltage | train |
bb716833b225e5245b4db969b5f0190a3ea59954 | diff --git a/jbehave-core/src/main/java/org/jbehave/core/model/Story.java b/jbehave-core/src/main/java/org/jbehave/core/model/Story.java
index <HASH>..<HASH> 100755
--- a/jbehave-core/src/main/java/org/jbehave/core/model/Story.java
+++ b/jbehave-core/src/main/java/org/jbehave/core/model/Story.java
@@ -28,7 +28,7 @@ pub... | JBEHAVE-<I> Fix all violations of Checkstyle rule NoWhitespaceBefore | jbehave_jbehave-core | train |
58bed0184fe12ab2252f5deadedda6f2440bcfca | diff --git a/lib/mixins/nestable.rb b/lib/mixins/nestable.rb
index <HASH>..<HASH> 100644
--- a/lib/mixins/nestable.rb
+++ b/lib/mixins/nestable.rb
@@ -4,7 +4,7 @@ module Nestable
# Setup an accessor for all nested instances.
attr_accessor *mapping.keys
# Create a nested instance automatically on initiali... | Call private method define_method correctly. | b4mboo_git-review | train |
7e9707a7d7b357d9b5167c6dd0dd250ab207f6ac | diff --git a/spec/unit/indirector/facts/inventory_active_record_spec.rb b/spec/unit/indirector/facts/inventory_active_record_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/indirector/facts/inventory_active_record_spec.rb
+++ b/spec/unit/indirector/facts/inventory_active_record_spec.rb
@@ -32,6 +32,7 @@ describe "P... | maint: Fix sporadic sqlite error
ActiveRecord::StatementInvalid: SQLite3::IOException: disk I/O error
This happened if you ran these tests in the following order since Rails
wasn't disconnecting between tests.
rspec spec/unit/indirector/facts/inventory_active_record_spec.rb
spec/unit/indirector/node/active_record_sp... | puppetlabs_puppet | train |
6556392a9c62c7fd057fb47a48457ee99cb0dc91 | diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -306,7 +306,7 @@ class Command:
if self.rest_is_raw:
converter = self._get_converter(param)
... | [commands] Fix error where consume rest would not work.
I didn't end up refactoring this piece of work out. | Rapptz_discord.py | train |
233f0a422e3384584e20eff7330a536230d3cd31 | diff --git a/paramiko/file.py b/paramiko/file.py
index <HASH>..<HASH> 100644
--- a/paramiko/file.py
+++ b/paramiko/file.py
@@ -104,14 +104,13 @@ class BufferedFile (object):
else:
def __next__(self):
"""
- Returns the next line from the input, or raises L{StopIteration} when
+ ... | Fix more missed epydoc syntax | paramiko_paramiko | train |
d04d8b076d909e17ea7b25862998475e6f26c100 | diff --git a/qiskit/transpiler/coupling.py b/qiskit/transpiler/coupling.py
index <HASH>..<HASH> 100644
--- a/qiskit/transpiler/coupling.py
+++ b/qiskit/transpiler/coupling.py
@@ -319,8 +319,10 @@ class CouplingMap:
def draw(self):
"""Draws the coupling map.
- This function needs `pydot <https://g... | Update the formatting and content of couplin gmap draw() (#<I>)
This commit fixes 2 issues with the coupling map draw method docstring.
The first is that the links included were in the incorrect format. This
results in sphinx not rendering them correctly. Additionally, the
docstring does not mention the pillow require... | Qiskit_qiskit-terra | train |
40784dd37cca013c06fb2d43d5b90628a17f191c | diff --git a/scs_osio/user.py b/scs_osio/user.py
index <HASH>..<HASH> 100644
--- a/scs_osio/user.py
+++ b/scs_osio/user.py
@@ -42,6 +42,7 @@ if __name__ == '__main__':
http_client = HTTPClient()
+
api_auth = APIAuth.load_from_host(Host)
if api_auth is None: | Added OSIO user top-level script. | south-coast-science_scs_osio | train |
274b2804fe9da6b4e59bf4734760817369083819 | diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -21,6 +21,9 @@
#
# $Log: scapy.py,v $
+# Revision 1.0.5.19 2006/12/12 15:32:59 pbi
+# - added ESNinfo tag to Dot11Elt()
+#
# Revision 1.0.5.18 2006/11/30 07:29:38 pbi
# - removed forgotten print in PacketList.sr()
#... | - added ESNinfo tag to Dot<I>Elt() | secdev_scapy | train |
edbd100922ba1284adc536afad524c6e45b84a86 | diff --git a/src/main/java/reactfx/EventStreams.java b/src/main/java/reactfx/EventStreams.java
index <HASH>..<HASH> 100644
--- a/src/main/java/reactfx/EventStreams.java
+++ b/src/main/java/reactfx/EventStreams.java
@@ -7,6 +7,10 @@ import javafx.beans.InvalidationListener;
import javafx.beans.Observable;
import javaf... | Add eventsOf(Node, EventType) adapter. | TomasMikula_ReactFX | train |
cf17d9265bed6097cef0fc1c56e25ba1a2abf93e | diff --git a/lib/seedbank.rb b/lib/seedbank.rb
index <HASH>..<HASH> 100644
--- a/lib/seedbank.rb
+++ b/lib/seedbank.rb
@@ -1,6 +1,7 @@
require 'seedbank/dsl'
require 'seedbank/task'
require 'seedbank/task_manager'
+require 'seedbank/runner'
require 'rake' unless defined?(Rake) | Added require for seedbank/runner. | james2m_seedbank | train |
1aecdead921ceff86895bdc12897c077f362e255 | diff --git a/ceph_deploy/cli.py b/ceph_deploy/cli.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/cli.py
+++ b/ceph_deploy/cli.py
@@ -7,7 +7,7 @@ import sys
from . import exc
from . import validate
from . import sudo_pushy
-
+from .util import log
LOG = logging.getLogger(__name__)
@@ -82,12 +82,13 @@ def parse... | be more verbose for logging to the terminal | ceph_ceph-deploy | train |
960793f8665a220fb9144ee99b6e9d1237207ad2 | diff --git a/metrics.go b/metrics.go
index <HASH>..<HASH> 100644
--- a/metrics.go
+++ b/metrics.go
@@ -902,15 +902,12 @@ func generateInstanceMetric(vals map[string]interface{}, name string, instances
// NewPCPCounterVector creates a new instance of a PCPCounterVector
func NewPCPCounterVector(values map[string]int... | metrics: use Keys to generate instance slice from Instances | performancecopilot_speed | train |
1633f03ad1276501b6a91938bdf370702ed2587b | diff --git a/lib/clickfunnels_auth/helper.rb b/lib/clickfunnels_auth/helper.rb
index <HASH>..<HASH> 100644
--- a/lib/clickfunnels_auth/helper.rb
+++ b/lib/clickfunnels_auth/helper.rb
@@ -32,7 +32,11 @@ module ClickfunnelsAuth
# we'll put the origin in the session instead of the redirect url.
#observable_r... | Redirect to fake_auth instead of the remote provider if fake auth is enabled | Etison_clickfunnels_auth | train |
38877d6ed01edee74d848a38550048639fe19f0e | diff --git a/pyphi/network.py b/pyphi/network.py
index <HASH>..<HASH> 100644
--- a/pyphi/network.py
+++ b/pyphi/network.py
@@ -7,11 +7,9 @@ Represents the network of interest. This is the primary object of PyPhi and the
context of all |small_phi| and |big_phi| computation.
"""
-import json
-
import numpy as np
-... | Make `Network.node_labels` a `NodeLabels` object
Fix `Network` JSON representations to reflect that. | wmayner_pyphi | train |
d16403d24b64f926ef023bc916b954a174c2384b | diff --git a/requirements.txt b/requirements.txt
index <HASH>..<HASH> 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,4 @@
+coverage==3.6
nose==1.2.1
redis==2.7.2
requests==1.1.0
diff --git a/twitterbot/tests/test.py b/twitterbot/tests/test.py
index <HASH>..<HASH> 100644
--- a/twitterbot/tests/test.p... | Fixed broken unit tests, simplified redis init | jessamynsmith_twitterbot | train |
ef724d293be3f512a5d78419b5e5abb37df56e55 | diff --git a/presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/PlanAssert.java b/presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/PlanAssert.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/test/java/com/facebook/presto/sql/planner/assertions/PlanAssert.java
+++ b/presto-mai... | Do not print unresolved plan in assertPlan
Printing unresolved plan that contains GroupReference will cause problem
in translation. Also it does not provide more information than resolved
plan. | prestodb_presto | train |
19e6c7f7ce3992a30c68c8c663ac0020a9b1c903 | diff --git a/lib/compile.js b/lib/compile.js
index <HASH>..<HASH> 100644
--- a/lib/compile.js
+++ b/lib/compile.js
@@ -155,30 +155,59 @@ locals = locals || {};
var __c = locals.__contents || {};
with(locals) {`
+ let hasPendingExpression = false
+
for (let i = 0, len = tokens.length; i < len; i++) {
let token ... | Optimize multiple output concatenations into a single expression | sitegui_ejs-html | train |
66884334d98fa39d5f69c797ec3bfd5509cd4613 | diff --git a/salt/states/pkg.py b/salt/states/pkg.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkg.py
+++ b/salt/states/pkg.py
@@ -92,7 +92,7 @@ from salt.exceptions import (
from salt.modules.pkg_resource import _repack_pkgs
# Import 3rd-party libs
-import salt.ext.six as six
+from salt.ext import six
# pyl... | Update states.pkg for Python3 compatibility | saltstack_salt | train |
5432500d83923203d2000f6318f82954a875726e | diff --git a/spec/integration/migration_runner_spec.rb b/spec/integration/migration_runner_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/migration_runner_spec.rb
+++ b/spec/integration/migration_runner_spec.rb
@@ -12,7 +12,7 @@ describe 'The migration runner' do
describe 'empty migration runner' do
... | Silenced weird + fake (r)spec errors | datamapper_dm-migrations | train |
e06e016d37c2242df529792dcd339ce2c2cfd95b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -39,7 +39,11 @@ module.exports = {
srcDir: 'dist',
destDir: '/'
});
- return mergeTrees([tree, hoodieTree]);
+ if (tree) {
+ return mergeTrees([tree, hoodieTree]);
+ } else {
+ return hood... | fix: Fix treeForVendor failing
It was failing because if there are no files in a tree, it's treeFor
receives no argument, instead of a tree. Turns out you can't mergeTrees
on undefined | hoodiehq_ember-hoodie | train |
ab16182ba0a08150d7e42f10d6fc91d9810b82a2 | diff --git a/js/bit2c.js b/js/bit2c.js
index <HASH>..<HASH> 100644
--- a/js/bit2c.js
+++ b/js/bit2c.js
@@ -4,6 +4,7 @@
const Exchange = require ('./base/Exchange');
const { ArgumentsRequired, ExchangeError, InvalidNonce, AuthenticationError, PermissionDenied } = require ('./base/errors');
+const Precise = require (... | bit2c-precise | ccxt_ccxt | train |
c86830df9bd304e470dfdb3e6ee8fc82b6a22339 | diff --git a/gwpy/astro/range.py b/gwpy/astro/range.py
index <HASH>..<HASH> 100644
--- a/gwpy/astro/range.py
+++ b/gwpy/astro/range.py
@@ -198,7 +198,7 @@ def burst_range_spectrum(psd, snr=8, energy=1e-2):
# calculate frequency dependent range in parsecs
a = (constants.G * energy * constants.M_sun * 0.4 /
... | astro.range: fixed type error
need to operator on `psd` first to preserve output type as `FrequencySeries` | gwpy_gwpy | train |
d4afbef171b530de10fc74fd4ba6653e819aee4d | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -28,8 +28,15 @@ This is a code snippet, display as HTML:
{% codesnippet "./myfile.ejs", language="html" %}{% endcodesnippet %}
```
-Code blocks with templating syntax:
+Include a range of lines:
+
+```md
+This is a cod... | Fixed by #3: add param "lines" | GitbookIO_plugin-codesnippet | train |
e3079f4af7dd33a68e5633d12f234b6e4e388905 | diff --git a/spec/support/shared_examples/storage.rb b/spec/support/shared_examples/storage.rb
index <HASH>..<HASH> 100644
--- a/spec/support/shared_examples/storage.rb
+++ b/spec/support/shared_examples/storage.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+require 'awesome_print'
shared_examples 'a subclass of Storage::Ba... | Second test added for when it *should* cycle
When keep is set to a number (rather than a time)
make sure it does remove the relevant old packages
Note this is another test which should pass
but fails with
<URL> | backup_backup | train |
6e372fd91e618ba52ee45456bd16050a0c35d615 | diff --git a/system/HTTP/IncomingRequest.php b/system/HTTP/IncomingRequest.php
index <HASH>..<HASH> 100644
--- a/system/HTTP/IncomingRequest.php
+++ b/system/HTTP/IncomingRequest.php
@@ -27,12 +27,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
- * @package Code... | Swapping out isSecure for the current CI3 version. | codeigniter4_CodeIgniter4 | train |
0cbcb4e24b5603c5fa6a409a78d430a0156471a4 | diff --git a/examples/java-calculator/src/test/java/cucumber/examples/java/calculator/RunCukesTest.java b/examples/java-calculator/src/test/java/cucumber/examples/java/calculator/RunCukesTest.java
index <HASH>..<HASH> 100644
--- a/examples/java-calculator/src/test/java/cucumber/examples/java/calculator/RunCukesTest.jav... | Enable JSON formater for a little bit of regression testing | cucumber_cucumber-jvm | train |
db78cc2fbb46a93003e9e7723a03f8ed1240389e | diff --git a/server/src/test/java/org/cloudfoundry/identity/uaa/db/V2_7_3__StoreSubDomainAsLowerCase_Tests.java b/server/src/test/java/org/cloudfoundry/identity/uaa/db/V2_7_3__StoreSubDomainAsLowerCase_Tests.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/org/cloudfoundry/identity/uaa/db/V2_7_3__StoreSubDom... | feat: Resolve merge conflicts while cherry-picking
- We kept junit 5 assertions and method names as in develop | cloudfoundry_uaa | train |
999ec3181ca7af6c05aaef1163c0dbfa1ad50587 | diff --git a/blockstore/lib/scripts.py b/blockstore/lib/scripts.py
index <HASH>..<HASH> 100644
--- a/blockstore/lib/scripts.py
+++ b/blockstore/lib/scripts.py
@@ -83,6 +83,103 @@ def is_name_valid( fqn ):
return True
+def get_namespace_from_name( name ):
+ """
+ Get a fully-qualified name's namespace, if i... | Move some common code out of namedb and into scripts | blockstack_blockstack-core | train |
b071ca9312981430d4cfab99f5e250a010e5383f | diff --git a/lib/outpost/notifiers/campfire.rb b/lib/outpost/notifiers/campfire.rb
index <HASH>..<HASH> 100644
--- a/lib/outpost/notifiers/campfire.rb
+++ b/lib/outpost/notifiers/campfire.rb
@@ -13,7 +13,7 @@ module Outpost
@token = options[:token] || ''
@room = options[:room] || ''
... | Better checking if all elements are present | vinibaggio_outpost | train |
558ff686832d1634c1fceac7897524f3c23be502 | diff --git a/test/unittest_inference.py b/test/unittest_inference.py
index <HASH>..<HASH> 100644
--- a/test/unittest_inference.py
+++ b/test/unittest_inference.py
@@ -52,6 +52,11 @@ if sys.version_info < (3, 0):
else:
EXC_MODULE = BUILTINS
+if sys.version_info < (3, 4):
+ SITE = 'site'
+else:
+ SITE = '_s... | Fix test to take into account the new _sitebuiltins.
--HG--
branch : nameconstant_py<I> | PyCQA_astroid | train |
516d62541f63b544d381c3dffdf9daebb3fb832f | diff --git a/tasks/optimizer.grunt.js b/tasks/optimizer.grunt.js
index <HASH>..<HASH> 100644
--- a/tasks/optimizer.grunt.js
+++ b/tasks/optimizer.grunt.js
@@ -30,7 +30,7 @@ module.exports = function (grunt) {
});
});
- // Paralelize in bulks of 30 files
+ // Parallelize in bulks of... | Small typo in the grunt task. | IndigoUnited_js-dejavu | train |
b8bdcd00e0211d2a108701fd17aaca2e91ee43f5 | diff --git a/install.py b/install.py
index <HASH>..<HASH> 100755
--- a/install.py
+++ b/install.py
@@ -51,12 +51,15 @@ if __name__ == "__main__":
if args.force:
os.remove( to_install )
print( 'deleting '+to_install )
- print( "linking "+ script +'.py --> '+ to_insta... | installation script now correctly checks for missing scripts | bjmorgan_vasppy | train |
8472bdeadf637a000bac0d9b3de885c6b5d4fe96 | diff --git a/cache.js b/cache.js
index <HASH>..<HASH> 100644
--- a/cache.js
+++ b/cache.js
@@ -73,7 +73,12 @@ var GitHubCache = module.exports = function(global_options) {
if (err) throw Error(err);
});
- this.cachedb = leveldb(this.config.cachedb || './cachedb');
+ this.config.cachedb = this.config.cachedb... | allow the passing of an existing leveldb instance | ekristen_node-github-cache | train |
2f9613466f066b479493faac7889445a21367f13 | diff --git a/lib/modules/apostrophe-areas/public/js/editor.js b/lib/modules/apostrophe-areas/public/js/editor.js
index <HASH>..<HASH> 100644
--- a/lib/modules/apostrophe-areas/public/js/editor.js
+++ b/lib/modules/apostrophe-areas/public/js/editor.js
@@ -428,7 +428,7 @@ apos.define('apostrophe-area-editor', {
})... | #<I> custom jquery events triggered directly by apostrophe modules have an apos prefix and are interCapNames. Fixed the only exceptions I could find | apostrophecms_apostrophe | train |
d612a14f219e95f1cbf54beb4480c7c0289f4436 | diff --git a/src/Util/BasePathCalculator.php b/src/Util/BasePathCalculator.php
index <HASH>..<HASH> 100644
--- a/src/Util/BasePathCalculator.php
+++ b/src/Util/BasePathCalculator.php
@@ -28,7 +28,12 @@ class BasePathCalculator
// Once we reach the root directory, dirname($path) === $path, so we
// nee... | Improved BasePathCalculator | puli_composer-plugin | train |
845f71224ef086c29f4172ca3f5741184c031157 | diff --git a/lib/transports/index.js b/lib/transports/index.js
index <HASH>..<HASH> 100644
--- a/lib/transports/index.js
+++ b/lib/transports/index.js
@@ -13,6 +13,28 @@ var XHR = require('./polling-xhr')
* Export transports.
*/
-exports.polling = require('./polling');
-exports.websocket = require('./websocket');... | Moved polling polimorphic constructor to transports index | socketio_engine.io-client | train |
b4596810fb773c75a7724052b0536faf5508c687 | diff --git a/sacloud/fake/init.go b/sacloud/fake/init.go
index <HASH>..<HASH> 100644
--- a/sacloud/fake/init.go
+++ b/sacloud/fake/init.go
@@ -164,10 +164,30 @@ func initCoupons(s Store, p *valuePool) {
func initNotes(s Store, p *valuePool) {
notes := []*sacloud.Note{
{
- ID: 1,
- Name: "sys-nfs",
- ... | Add dummy data to fake driver | sacloud_libsacloud | train |
5f281c37f94554a088c88efd9e075b3e62dd29ed | diff --git a/lib/aws.js b/lib/aws.js
index <HASH>..<HASH> 100644
--- a/lib/aws.js
+++ b/lib/aws.js
@@ -75,18 +75,26 @@ AWS.DynamoDB.prototype = {
var signer = new AWS.RequestSigner(httpRequest);
- var context = new AWS.RequestContext(this, httpRequest, httpResponse);
- var awsRequest = new AWS.AWSRequest... | renamed AWS.RequestContext to AWS.AWSResponse
This makes AWSResponse consistent with the AWSRequest class. | aws_aws-sdk-js | train |
74486e858c7461f034fbcdfb6d778781a20536e9 | diff --git a/src/main/RangeEvents.js b/src/main/RangeEvents.js
index <HASH>..<HASH> 100644
--- a/src/main/RangeEvents.js
+++ b/src/main/RangeEvents.js
@@ -44,7 +44,7 @@ define(function(require) {
function addDateClearingLabel() {
if(params.allowClearDates) {
var dateClearingLabel = $('<span class="... | Use clearLabel instead of clear to avoid confusion with css clear | continuouscalendar_dateutils | train |
ed1c7111c5f9e9a05392f40a7d4768bed153e5b2 | diff --git a/phydmslib/parsearguments.py b/phydmslib/parsearguments.py
index <HASH>..<HASH> 100644
--- a/phydmslib/parsearguments.py
+++ b/phydmslib/parsearguments.py
@@ -135,7 +135,9 @@ def PhyDMSParser():
parser.add_argument('--fitF3X4', dest='fitF3X4', action='store_true', help='Fit F3X4 frequencies for YNGKP; ... | Fix --recursion to S for now | jbloomlab_phydms | train |
f519ca341b510bd91b675dbbdd9e6cb11060d17c | diff --git a/js/templates/helpers/theme.js b/js/templates/helpers/theme.js
index <HASH>..<HASH> 100644
--- a/js/templates/helpers/theme.js
+++ b/js/templates/helpers/theme.js
@@ -1,9 +1,7 @@
-define(['handlebars', 'jquery'], function(Handlebars, $) {
-
- var theme_static_root = $('link[rel="theme-static-root"]').att... | Reuse config.theme_static into theme helper | opendatateam_udata | train |
77b232782040d12f9a72bb914f6399baab03774b | diff --git a/qtpylib/broker.py b/qtpylib/broker.py
index <HASH>..<HASH> 100644
--- a/qtpylib/broker.py
+++ b/qtpylib/broker.py
@@ -531,7 +531,7 @@ class Broker():
if os.path.exists(trade_log_path):
trades = pd.read_csv(trade_log_path, header=0)
- trades = trades.append(tra... | using sort=True with Pandas' append | ranaroussi_qtpylib | train |
ed752fc92b5ba19bb820066fa6d470b746280700 | diff --git a/W.slideshow.js b/W.slideshow.js
index <HASH>..<HASH> 100755
--- a/W.slideshow.js
+++ b/W.slideshow.js
@@ -301,6 +301,11 @@ if(Function.prototype.method == undefined) {
this._slideWillChange();
this.transitionSlide(this._activeAlbum.slides[this._currentImageIndex]... | [fixed] flashing when only one image. _next() stops gallery when only 1 image in gallery | theworkers_W.js | train |
436142f461e80f157422cde2d7e7e7c926289057 | diff --git a/pymummer/alignment.py b/pymummer/alignment.py
index <HASH>..<HASH> 100644
--- a/pymummer/alignment.py
+++ b/pymummer/alignment.py
@@ -149,6 +149,8 @@ class Alignment:
indel_variant_indexes = []
for i in range(len(variant_list)):
+ if variant_list[i].var_type not in {variant.I... | Ignore SNPs, just use indels | sanger-pathogens_pymummer | train |
0be5a797541ba77d16086833d04336e2e08f19b3 | diff --git a/src/stdio_mgr/stdio_mgr.py b/src/stdio_mgr/stdio_mgr.py
index <HASH>..<HASH> 100644
--- a/src/stdio_mgr/stdio_mgr.py
+++ b/src/stdio_mgr/stdio_mgr.py
@@ -149,6 +149,8 @@ class TeeStdin(TextIOWrapper):
def getvalue(self):
"""Obtain pending buffer of text for stdin."""
+ if self.closed... | Restore TeeStdin.getvalue() ValueError
Prior to 3e8eb<I>, TeeStdin.getvalue raised a ValueError
if the input stream was closed.
That change transformed it to a confusing AttributeError.
Restore the ValueError, and raise ValueError when stream is detached. | bskinn_stdio-mgr | train |
3770550aea215c87024e6ca379d23208002f6a85 | diff --git a/test/http.js b/test/http.js
index <HASH>..<HASH> 100644
--- a/test/http.js
+++ b/test/http.js
@@ -153,6 +153,21 @@ describe("http", function () {
});
+ if (gpf.hosts.browser !== gpf.host()) {
+
+ describe("https", function () {
+
+ it("handles https access", fu... | Adds a simple https test (#<I>) | ArnaudBuchholz_gpf-js | train |
f913b48910630484002fece219b0e2f1d395ee3b | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js b/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/browserCompatibility.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/browserCo... | Bug <I> - Revising browser detection strategy for non-supported browsers | eclipse_orion.client | train |
2a75da3312b6be1fffb65e183fdd12cb93f1300c | diff --git a/test/org/mockitousage/bugs/CovariantOverrideTest.java b/test/org/mockitousage/bugs/CovariantOverrideTest.java
index <HASH>..<HASH> 100644
--- a/test/org/mockitousage/bugs/CovariantOverrideTest.java
+++ b/test/org/mockitousage/bugs/CovariantOverrideTest.java
@@ -42,7 +42,7 @@ public class CovariantOverrideT... | In order to keep TODOs clean I... (suspense...) cleaned them :)
--HG--
extra : convert_revision : svn%3Aaa2aecf3-ea3e-<I>-9d<I>-<I>e7c<I>/trunk%<I> | mockito_mockito | train |
f828eebdd1707d8b9c85b638721aa2a06bf73b5b | diff --git a/lib/fog/vcloud_director/parsers/compute/vm.rb b/lib/fog/vcloud_director/parsers/compute/vm.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/vcloud_director/parsers/compute/vm.rb
+++ b/lib/fog/vcloud_director/parsers/compute/vm.rb
@@ -22,13 +22,51 @@ module Fog
@response[:vm].merge!(vm_attrs.reje... | Adding network_adapters to VM parser and model as a single IP address doesn't cut when dealing with multiple networks. | fog_fog | train |
994723ed8ec085a15e4586a4563f25ad2a0b72dd | diff --git a/src/Illuminate/Auth/Console/RemindersControllerCommand.php b/src/Illuminate/Auth/Console/RemindersControllerCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Auth/Console/RemindersControllerCommand.php
+++ b/src/Illuminate/Auth/Console/RemindersControllerCommand.php
@@ -30,7 +30,7 @@ class Remin... | Corrected a docblock | laravel_framework | train |
fea8f9a382a4f8433eb905b10b5ea51ce50618eb | diff --git a/can-define.js b/can-define.js
index <HASH>..<HASH> 100644
--- a/can-define.js
+++ b/can-define.js
@@ -1090,12 +1090,19 @@ define.expando = function(map, prop, value) {
type: "can.keys",
target: map
});
-
- map.dispatch({
- type: prop,
- target: map,
- patches: [{type: "add", key... | fix onPatches on undefined without dispatching prop event | canjs_can-define | train |
d82d11808eb23f98fc04428314b14dbcb7d11fdd | diff --git a/molo/core/middleware.py b/molo/core/middleware.py
index <HASH>..<HASH> 100644
--- a/molo/core/middleware.py
+++ b/molo/core/middleware.py
@@ -109,10 +109,11 @@ class MoloGoogleAnalyticsMiddleware(object):
settings.GOOGLE_ANALYTICS.get('google_analytics_id')
if local_ga_account:
- ... | use celery for both local and global ga tags from wagtail | praekeltfoundation_molo | train |
492329eb7c3c80baea28b88bb1d3c7901e96f4dc | diff --git a/abstract.js b/abstract.js
index <HASH>..<HASH> 100644
--- a/abstract.js
+++ b/abstract.js
@@ -582,14 +582,14 @@ ee(Object.defineProperties(PersistenceDriver.prototype, assign({
promise = this._getRaw('computed', ns, path)(function (old) {
var nu, promise;
if (old) {
- if (old.stamp >= stamp) ... | Do not update computed or reduced record when same | medikoo_dbjs-persistence | train |
7a777b296618034e311eeaea5a7b1085dec36a64 | diff --git a/host/scan_ext_trigger_gdac.py b/host/scan_ext_trigger_gdac.py
index <HASH>..<HASH> 100644
--- a/host/scan_ext_trigger_gdac.py
+++ b/host/scan_ext_trigger_gdac.py
@@ -25,6 +25,7 @@ with tb.openFile(input_file_calibration, mode="r") as in_file_calibration_h5: #
scan_configuration = {
+ "source": ... | ENH: new scan configuration to record the source used during scan | SiLab-Bonn_pyBAR | train |
7ad0f744c2e421bcd55e9f68d65f9d31c4fc8662 | diff --git a/src/article/ArticleAPI.js b/src/article/ArticleAPI.js
index <HASH>..<HASH> 100644
--- a/src/article/ArticleAPI.js
+++ b/src/article/ArticleAPI.js
@@ -460,12 +460,14 @@ export default class ArticleAPI {
const figure = doc.get(figureId)
const pos = figure.getCurrentPanelIndex()
const href = th... | Insert new figure panel after current one. | substance_texture | train |
0259e86b9d740784825232b4c234f795c21445c0 | diff --git a/examples/example.rb b/examples/example.rb
index <HASH>..<HASH> 100644
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -146,7 +146,9 @@ end
wb.add_worksheet(:name => "Automatic cell types") do |sheet|
sheet.add_row ["Date", "Time", "String", "Boolean", "Float", "Integer"]
- sheet.add_row [Date... | update examples to show date time formatting and axis label rotation for charts | randym_axlsx | train |
c4eb1cfb530ad1472efc0f71e7e5b70ce78b9b3a | diff --git a/Extraction/Extractor/JmsExtractor.php b/Extraction/Extractor/JmsExtractor.php
index <HASH>..<HASH> 100644
--- a/Extraction/Extractor/JmsExtractor.php
+++ b/Extraction/Extractor/JmsExtractor.php
@@ -107,7 +107,12 @@ class JmsExtractor implements ExtractorInterface
continue;
}
... | support for mixed object (array<string, T>) in jms | mpoiriert_swagger | train |
962947e76e677a1fb0f465d1deee06990d1abc9c | diff --git a/PyFunceble/engine/auto_save.py b/PyFunceble/engine/auto_save.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/engine/auto_save.py
+++ b/PyFunceble/engine/auto_save.py
@@ -81,10 +81,7 @@ class AutoSave: # pragma: no cover pylint: disable=too-few-public-methods
time_exceed = False
def __init__(s... | Improvement of the way we can get the current CI engine to use. | funilrys_PyFunceble | train |
64c8364e6de5f6857b31a9343017d321f472e3b7 | diff --git a/state/upgrades_test.go b/state/upgrades_test.go
index <HASH>..<HASH> 100644
--- a/state/upgrades_test.go
+++ b/state/upgrades_test.go
@@ -1992,7 +1992,6 @@ func (s *upgradesSuite) TestAddRelationStatus(c *gc.C) {
"statusdata": bson.M{},
"statusinfo": "",
"updated": int64(321),
- "neverset": ... | Update the upgrade tests that create status docs. | juju_juju | train |
2c49521ac9afc7d9da3afa508983923b85c31a24 | diff --git a/src/Generator/Utils.php b/src/Generator/Utils.php
index <HASH>..<HASH> 100755
--- a/src/Generator/Utils.php
+++ b/src/Generator/Utils.php
@@ -93,11 +93,10 @@ class Utils
*/
public static function getContentFromUrlContextOptions($url, $basicAuthLogin = null, $basicAuthPassword = null, $proxyHost ... | Update Utils.php
The header protocol is always HTTP regardless of transport method. | WsdlToPhp_PackageGenerator | train |
7cc4dcecfa4be57d0a01d0c7cd1c148d18f63e5a | diff --git a/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Client.php b/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Client.php
index <HASH>..<HASH> 100644
--- a/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Client.php
+++ b/libraries/Maniaplanet/DedicatedServer/Xmlrpc/Client.php
@@ -113,7 +113,7 @@ class Client
$this... | Update Client.php
adjustment of timeouts | maniaplanet_dedicated-server-api | train |
9462ef20dbfc1d25179acf46ddbae48e940e64c4 | diff --git a/src/types/KeyType.js b/src/types/KeyType.js
index <HASH>..<HASH> 100644
--- a/src/types/KeyType.js
+++ b/src/types/KeyType.js
@@ -1,10 +1,17 @@
'use strict'
/**
+ * Dependencies
+ * @ignore
+ */
+const spawn = require('child_process').spawnSync
+
+/**
* Module Dependencies
* @ignore
*/
const Ope... | feat(KeyType): call out to OpenSSL to generate public key from private | EternalDeiwos_keyto | train |
4e446f51e79e6a7cd7b41200c74d980d235a3c66 | diff --git a/src/lib/cli-util.js b/src/lib/cli-util.js
index <HASH>..<HASH> 100644
--- a/src/lib/cli-util.js
+++ b/src/lib/cli-util.js
@@ -102,7 +102,11 @@ export function getConfigurations(target, argv) {
const reporters = argv.rf.split(',');
startupOpts.reporting.reporters = reporters;
}
-
+ ... | Add "--modules" command line argument to allow to load a selected list of modules at Oxygen startup. | oxygenhq_oxygen | train |
696947d74a36f9b97f14b857fa52e9fbfa2be3f2 | diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/http/DefaultHttpServletRequestTagsProvider.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/http/DefaultHttpServletRequestTagsProvider.java
index <HASH>..<HASH> 100644
--- a/micrometer-core/src/main/java/io/micromet... | Add Javadoc since to classes in io.micrometer.core.instrument.binder.http (#<I>) | micrometer-metrics_micrometer | train |
1088160d6bb816fa5547b9f6ab7c2c313330d1ba | diff --git a/structr-rest/src/main/java/org/structr/rest/servlet/JsonRestServlet.java b/structr-rest/src/main/java/org/structr/rest/servlet/JsonRestServlet.java
index <HASH>..<HASH> 100644
--- a/structr-rest/src/main/java/org/structr/rest/servlet/JsonRestServlet.java
+++ b/structr-rest/src/main/java/org/structr/rest/se... | Adds logging of message to exception handling block for UnsupportedOperationException in doPost. Fixes copy'n paste error for logging in doPatch method. | structr_structr | train |
9ab9ef62914ef4d4e15e602ad7fcd008615a32c8 | diff --git a/command/import_test.go b/command/import_test.go
index <HASH>..<HASH> 100644
--- a/command/import_test.go
+++ b/command/import_test.go
@@ -601,7 +601,7 @@ func TestImport_providerConfigWithVarFile(t *testing.T) {
testStateOutput(t, statePath, testImportStr)
}
-func TestImport_disallowMissingResourceCon... | command/import: Fix allow-missing-config option
We previously intentionally removed support for the allow-missing-config
option to terraform import, requiring that all imported resources have
matching config. See #<I>.
However, the option was not removed from the import command, and it is
widely used. This commit rei... | hashicorp_terraform | train |
4ef6a904c6312a8ca3d7ba1d81c88a78bbcba076 | diff --git a/mode/markdown/markdown.js b/mode/markdown/markdown.js
index <HASH>..<HASH> 100644
--- a/mode/markdown/markdown.js
+++ b/mode/markdown/markdown.js
@@ -158,6 +158,7 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
} else if (stream.peek() === '[') {
return switchInline(stream, stat... | [markdown mode] Allow a list after a hr, with no blank lines in between | codemirror_CodeMirror | train |
ffa5c8c444d06f095f93712f219c97400bca2a65 | diff --git a/cms/__init__.py b/cms/__init__.py
index <HASH>..<HASH> 100644
--- a/cms/__init__.py
+++ b/cms/__init__.py
@@ -92,7 +92,7 @@ def locale_negotiator_with_fallbacks(request):
def init_hubclient(config):
- if 'unicorehub.app_id' in config.registry.settings:
+ if config.registry.settings.get('unicoreh... | make sure auth views are no-op when hubclient is None | universalcore_unicore-cms | train |
ef8e3ef5695a474b4ad34edc97dc3305dc565663 | diff --git a/salt/states/win_pki.py b/salt/states/win_pki.py
index <HASH>..<HASH> 100644
--- a/salt/states/win_pki.py
+++ b/salt/states/win_pki.py
@@ -68,8 +68,11 @@ def import_cert(name, cert_format=_DEFAULT_FORMAT, context=_DEFAULT_CONTEXT, sto
cached_source_path = __salt__['cp.cache_file'](name, saltenv)
... | Update win_pki.py
Always pass cert_format to get_cert_file from import_cert.
Also pass password if given. | saltstack_salt | train |
ac1a9fa7a3f1342e34f3f033945475f85894af0e | diff --git a/layabout.py b/layabout.py
index <HASH>..<HASH> 100644
--- a/layabout.py
+++ b/layabout.py
@@ -263,8 +263,7 @@ class Layabout:
raise FailedConnection('Failed to reconnect to the Slack API')
if not until(events):
- # TODO: Is this even a good debugging message?
... | Improve event loop exit debug logging | reillysiemens_layabout | train |
b035cfab605adf75e3c2cc8ef053803af348939c | diff --git a/ceph_deploy/hosts/centos/install.py b/ceph_deploy/hosts/centos/install.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/hosts/centos/install.py
+++ b/ceph_deploy/hosts/centos/install.py
@@ -1,6 +1,7 @@
from ceph_deploy.util import pkg_managers, templates
from ceph_deploy.lib import remoto
from ceph_depl... | [RM-<I>] Get GPG key URL by function call
Everywhere but SUSE. SUSE requires a bit more work to handle
http vs https. | ceph_ceph-deploy | train |
378cc2805b84fcf7336d6bee64cad676971ceb19 | diff --git a/tests/mobly/config_parser_test.py b/tests/mobly/config_parser_test.py
index <HASH>..<HASH> 100644
--- a/tests/mobly/config_parser_test.py
+++ b/tests/mobly/config_parser_test.py
@@ -1,66 +1,66 @@
-# Copyright 2018 Google Inc.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you m... | Updated formatting of config_parser_test.py (#<I>)
Changed line endings from '\r\n' to '\n'. Changed double quote strings
to single quote strings. | google_mobly | train |
0b8758018a57a1d56ad022eebc94cc94253da19d | diff --git a/pharen.php b/pharen.php
index <HASH>..<HASH> 100644
--- a/pharen.php
+++ b/pharen.php
@@ -1,5 +1,5 @@
<?php
-error_reporting(E_ALL | E_NOTICE);
+error_reporting(E_ALL ^ E_STRICT);
define("COMPILER_SYSTEM", dirname(__FILE__));
define("EXTENSION", ".phn");
@@ -1467,7 +1467,7 @@ class FuncDefNode extends... | Bind function parameters to leaf nodes so that a value can be attached to them.
This value can then be found again by anything that's looking through the scope. | Scriptor_pharen | train |
a0262632bcb0660ce7410ac0b3187bf48dbf4b52 | diff --git a/packages/blueprint-handlebars/app/services/handlebars.js b/packages/blueprint-handlebars/app/services/handlebars.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint-handlebars/app/services/handlebars.js
+++ b/packages/blueprint-handlebars/app/services/handlebars.js
@@ -7,7 +7,7 @@ const Handlebars = re... | fix: the handlebars location was incorrect | onehilltech_blueprint | train |
223e0f5c466a65989f742eb6e2ab4b6960d7009b | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,13 @@ Method | Description
`subclassOf($value, $class, $message = '')` | Check that a class is a subclass of another
`implementsInterface($value, $class,... | Added keyExists() and keyNotExists() | webmozart_assert | train |
5fd073bcc3a1fe4c0146a37628fd64c3396d43fd | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -29,7 +29,6 @@ type Server struct {
serverConn
debugStream io.Writer
readOnly bool
- pktChan chan requestPacket
pktMgr packetManager
openFiles map[string]*os.File
openFilesLock sync.RWMu... | decouple packet channel from server struct
looking to create 2 pools, so I want to pass the channel in | pkg_sftp | train |
2a7176b6cedf1c1a26768f70e117fe32bc4c720f | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index <HASH>..<HASH> 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,3 +1,8 @@
+Version 1.0.20 (27-11-2019)
+===========================================================
+
+* Feature: Added support for "more like this"
+
Version 1.0.19 (13-04-2019)
=====================... | added support for more like this and bumped version | JohnDoee_imdbparser | train |
bcaf6a8f2d1f2664051f45857311f987501d3098 | diff --git a/staticjinja/__init__.py b/staticjinja/__init__.py
index <HASH>..<HASH> 100644
--- a/staticjinja/__init__.py
+++ b/staticjinja/__init__.py
@@ -1,5 +1,6 @@
# -*- coding:utf-8 -*-
+# flake8: noqa
from __future__ import absolute_import
-from .staticjinja import *
+from .staticjinja import Reloader, Rende... | Let's be explicit about what we expose from import staticjinja | Ceasar_staticjinja | train |
77c8918de3f3aa173bc01819106c8613bb8700d3 | diff --git a/woven/environment.py b/woven/environment.py
index <HASH>..<HASH> 100644
--- a/woven/environment.py
+++ b/woven/environment.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-import json, os, sys
+import json, os, string, sys
from contextlib import nested
from django.utils.importlib import import_module
@@ -129... | Update to determine host_ip by resolving the env.host variable. Fixed an issue with patch command not activating and also updated the deployment_root to include domain guessing code. Can now use hostnames in place of ip addresses in fabric hoststrings | bretth_woven | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.