diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/signxml/__init__.py b/signxml/__init__.py
index <HASH>..<HASH> 100644
--- a/signxml/__init__.py
+++ b/signxml/__init__.py
@@ -69,7 +69,7 @@ def _get_signature_regex(ns_prefix=None):
tag = "Signature"
if ns_prefix is not None:
tag = ns_prefix + ":" + tag
- return re.compile(ensure_byte... | Add raw string marker to regexp The regexp contains a single \s that would need to be escaped. So just add a 'r' to make this a raw string. | py |
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
@@ -1132,6 +1132,7 @@ class Group(GroupMixin, Command):
return ret
async def invoke(self, ctx):
+ ctx.invoked_subcommand = Non... | [commands] Explicitly assign invoked_subcommand to None before invoking This should fix instances of it not working as expected in nested groups. | py |
diff --git a/install.py b/install.py
index <HASH>..<HASH> 100644
--- a/install.py
+++ b/install.py
@@ -128,7 +128,8 @@ def install_standalone(venv):
for app in 'standalone ipt taxtweb taxonomy'.split():
try:
subprocess.check_call(['%s/bin/pip' % venv, 'install',
- ... | Passed PYBUILD_NAME in install.py [skip CI] | py |
diff --git a/python_dashing/datastore.py b/python_dashing/datastore.py
index <HASH>..<HASH> 100644
--- a/python_dashing/datastore.py
+++ b/python_dashing/datastore.py
@@ -13,10 +13,10 @@ class RedisDataStore(object):
return RedisDataStore(self.redis, prefix=prefix)
def create(self, key, value):
- ... | Always store as string with redis datastore | py |
diff --git a/gwpy/io/tests/test_datafind.py b/gwpy/io/tests/test_datafind.py
index <HASH>..<HASH> 100644
--- a/gwpy/io/tests/test_datafind.py
+++ b/gwpy/io/tests/test_datafind.py
@@ -60,7 +60,7 @@ def test_find_frametype(connection):
with mock.patch('glue.datafind.GWDataFindHTTPConnection') as \
mock_... | gwpy.io: fixed mock in test_datafind.py to mock the function in question properly | py |
diff --git a/boussole/__init__.py b/boussole/__init__.py
index <HASH>..<HASH> 100644
--- a/boussole/__init__.py
+++ b/boussole/__init__.py
@@ -1,2 +1,2 @@
"""Commandline interface to build SASS projects using libsass-python"""
-__version__ = '1.1.0-pre.1'
+__version__ = '1.1.0-pre.2' | Bump to <I> pre release 2 | py |
diff --git a/taar/recommenders/utils.py b/taar/recommenders/utils.py
index <HASH>..<HASH> 100644
--- a/taar/recommenders/utils.py
+++ b/taar/recommenders/utils.py
@@ -39,5 +39,6 @@ def get_s3_json_content(s3_bucket, s3_key):
s3.download_fileobj(s3_bucket, s3_key, data)
except ClientError:
... | Make sure to load the S3 cache file when available | py |
diff --git a/ReText/window.py b/ReText/window.py
index <HASH>..<HASH> 100644
--- a/ReText/window.py
+++ b/ReText/window.py
@@ -1052,10 +1052,10 @@ class ReTextWindow(QMainWindow):
QFile('out'+defaultext).rename(fileName)
def getDocumentTitle(self, baseName=False):
- text = convertToUnicode(self.editBoxes[self... | getDocumentTitle: don't request text either | py |
diff --git a/edisgo/grid/network.py b/edisgo/grid/network.py
index <HASH>..<HASH> 100644
--- a/edisgo/grid/network.py
+++ b/edisgo/grid/network.py
@@ -912,13 +912,13 @@ class ETraGoSpecs:
Attributes
----------
_battery_capacity: :obj:`float`
- Capacity of virtual battery at Transition Point
+ ... | Add units and getters for battery attributes in etrago specs | py |
diff --git a/jsonschema/compat.py b/jsonschema/compat.py
index <HASH>..<HASH> 100644
--- a/jsonschema/compat.py
+++ b/jsonschema/compat.py
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
import operator
import sys | Wait wat. Remove insanity. | py |
diff --git a/alexandra/app.py b/alexandra/app.py
index <HASH>..<HASH> 100644
--- a/alexandra/app.py
+++ b/alexandra/app.py
@@ -74,7 +74,15 @@ class Application:
for _, slot in slot_list
}
- if intent_fn.func_code.co_argcount == 2:
+ code_list = inspect.getmembers(in... | Missed a meta thing. | py |
diff --git a/osbs/core.py b/osbs/core.py
index <HASH>..<HASH> 100755
--- a/osbs/core.py
+++ b/osbs/core.py
@@ -822,7 +822,7 @@ class Openshift(object):
break
if changetype == WATCH_ERROR:
- logger.error("Error watching ImageStream")
+ logger.error("Error wat... | Log error response on import_image watch failure If watch API returns a response of type error, log the failure associated with it for easier debugging. | py |
diff --git a/fastimport/processor.py b/fastimport/processor.py
index <HASH>..<HASH> 100644
--- a/fastimport/processor.py
+++ b/fastimport/processor.py
@@ -68,25 +68,7 @@ class ImportProcessor(object):
:param command_iter: an iterator providing commands
"""
- if self.working_tree is not None:
... | remove bzrisms from Processor. | py |
diff --git a/openquake/hazard/opensha.py b/openquake/hazard/opensha.py
index <HASH>..<HASH> 100644
--- a/openquake/hazard/opensha.py
+++ b/openquake/hazard/opensha.py
@@ -713,7 +713,7 @@ class EventBasedMixin(BasePSHAMixin):
return results
def write_gmf_files(self, ses):
- """Generate a GeoTiff f... | removed comment, no more needed Former-commit-id: a2d<I>f<I>a6ec4e<I>b<I>e<I>c9c<I>bd<I> | py |
diff --git a/grimoire_elk/elk/bugzilla.py b/grimoire_elk/elk/bugzilla.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elk/bugzilla.py
+++ b/grimoire_elk/elk/bugzilla.py
@@ -128,7 +128,6 @@ class BugzillaEnrich(Enrich):
eitem['severity'] = item['data']['bug_severity'][0]['__text__']
eitem['op_sys'] =... | [enrich][bugzilla] Remove project_name field to avoid confussions with dashboard projects | py |
diff --git a/gruvi/http.py b/gruvi/http.py
index <HASH>..<HASH> 100644
--- a/gruvi/http.py
+++ b/gruvi/http.py
@@ -733,6 +733,7 @@ class HttpServer(protocols.RequestResponseProtocol):
env['wsgi.multithread'] = True
env['wsgi.multiprocess'] = True
env['wsgi.run_once'] = False
+ env['gru... | [http] expose transport as "gruvi.transport" in environ | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ setup(
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
- 'License :: OSI Approved :: GPL License',
+ 'License :: OSI Approved ... | Changed license in Setup.py to BSD. | py |
diff --git a/django_common/templatetags/custom_tags.py b/django_common/templatetags/custom_tags.py
index <HASH>..<HASH> 100644
--- a/django_common/templatetags/custom_tags.py
+++ b/django_common/templatetags/custom_tags.py
@@ -25,7 +25,9 @@ class FormFieldNode(template.Node):
widget = form_field.field.widget... | fix: Pass form fields with HiddenInput widget through render_form_field | py |
diff --git a/src/util.py b/src/util.py
index <HASH>..<HASH> 100644
--- a/src/util.py
+++ b/src/util.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#-*- encoding: utf-8 -*-
#
# This file is part of python-gnupg, a Python wrapper around GnuPG.
# Copyright © 2013 Isis Lovecruft, Andrej B. | Remove script headers from src/util.py. | py |
diff --git a/spyder_kernels/comms/commbase.py b/spyder_kernels/comms/commbase.py
index <HASH>..<HASH> 100644
--- a/spyder_kernels/comms/commbase.py
+++ b/spyder_kernels/comms/commbase.py
@@ -185,7 +185,7 @@ class CommBase(object):
Check to see if the other side replied.
The check is made with _set_p... | Update commbase.py | py |
diff --git a/opendatalake/classification/named_folders.py b/opendatalake/classification/named_folders.py
index <HASH>..<HASH> 100644
--- a/opendatalake/classification/named_folders.py
+++ b/opendatalake/classification/named_folders.py
@@ -3,7 +3,9 @@ from scipy.misc import imread
from random import shuffle
import num... | Update named_folders.py | py |
diff --git a/axiom/item.py b/axiom/item.py
index <HASH>..<HASH> 100644
--- a/axiom/item.py
+++ b/axiom/item.py
@@ -2,7 +2,7 @@
__metaclass__ = type
from twisted.python.reflect import qual
-from twisted.application.service import IService, MultiService
+from twisted.application.service import IService, IServiceColle... | serviceSpecialCase provides a MultiService - MultiService implements IServiceCollection, too. | py |
diff --git a/green/plugin.py b/green/plugin.py
index <HASH>..<HASH> 100644
--- a/green/plugin.py
+++ b/green/plugin.py
@@ -51,8 +51,9 @@ class Green(Plugin):
"""
I tell nosetests what options to add to its own "--help" command.
"""
+ # The superclass sets self.enabled to True if it see... | Finished simplifying the options handling. | py |
diff --git a/ubcpi/answer_pool.py b/ubcpi/answer_pool.py
index <HASH>..<HASH> 100644
--- a/ubcpi/answer_pool.py
+++ b/ubcpi/answer_pool.py
@@ -89,7 +89,7 @@ def get_other_answers_simple(answers, seeded_answers, get_student_item_dict, num
pool = convert_seeded_answers(seeded_answers)
# merge the dictionaries i... | FIXED total pool count for the simple algorithm | py |
diff --git a/pymatgen/io/abinit/nodes.py b/pymatgen/io/abinit/nodes.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/abinit/nodes.py
+++ b/pymatgen/io/abinit/nodes.py
@@ -1020,6 +1020,8 @@ class FileNode(Node):
return self._abiopen_abiext("_GSR.nc")
def _abiopen_abiext(self, abiext):
+ import glo... | FileNode will try to find GSR.nc file in the same path as the file used to initialize it. | py |
diff --git a/testproject/settings.py b/testproject/settings.py
index <HASH>..<HASH> 100644
--- a/testproject/settings.py
+++ b/testproject/settings.py
@@ -140,3 +140,5 @@ INTERNAL_IPS = (
'172.25.10.10',
)
+
+AUP_URL = 'http://example.com/aup.html' | Added missing settings to conf file | py |
diff --git a/sanic/__init__.py b/sanic/__init__.py
index <HASH>..<HASH> 100644
--- a/sanic/__init__.py
+++ b/sanic/__init__.py
@@ -1,6 +1,6 @@
from .sanic import Sanic
from .blueprints import Blueprint
-__version__ = '0.1.7'
+__version__ = '0.1.8'
__all__ = ['Sanic', 'Blueprint'] | Increment version to <I> | py |
diff --git a/setuptools/tests/test_build_meta.py b/setuptools/tests/test_build_meta.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/test_build_meta.py
+++ b/setuptools/tests/test_build_meta.py
@@ -236,3 +236,23 @@ class TestBuildMetaBackend:
build_backend = self.get_build_backend()
build_backe... | Add test for relative path imports in build_meta Failing test adapted from PR #<I> | py |
diff --git a/source/awesome_tool/mvc/models/state_machine.py b/source/awesome_tool/mvc/models/state_machine.py
index <HASH>..<HASH> 100644
--- a/source/awesome_tool/mvc/models/state_machine.py
+++ b/source/awesome_tool/mvc/models/state_machine.py
@@ -61,10 +61,12 @@ class StateMachineModel(ModelMT):
if info['m... | Fix registration when root state changed - When the root state is changed, the observer for the old root is unregistered - At the same time, an observer for the new root model is registered | py |
diff --git a/bl/id.py b/bl/id.py
index <HASH>..<HASH> 100644
--- a/bl/id.py
+++ b/bl/id.py
@@ -54,6 +54,7 @@ ascii_chars = alphanum_chars + punct_chars
urlslug_punct = ['-', '_', '.', '+', '!', '*', "'", '(', ')', ',']
urlslug_chars = alphanum_chars + urlslug_punct
+slug_chars = urlslug_chars
def random_id(... | bl.id.slug_chars as an abbrev of bl.id.urlslug_chars | py |
diff --git a/source/awesome_tool/mvc/statemachine_helper.py b/source/awesome_tool/mvc/statemachine_helper.py
index <HASH>..<HASH> 100644
--- a/source/awesome_tool/mvc/statemachine_helper.py
+++ b/source/awesome_tool/mvc/statemachine_helper.py
@@ -270,6 +270,13 @@ class StateMachineHelper():
for prop_name, va... | Fix bug in state type conversion routine After adding the old child models to the new state models, the parent of the child models was not set. This is fixed now. The parent of the new child models is set to the new state model. | py |
diff --git a/charmhelpers/contrib/hahelpers/cluster.py b/charmhelpers/contrib/hahelpers/cluster.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/hahelpers/cluster.py
+++ b/charmhelpers/contrib/hahelpers/cluster.py
@@ -44,6 +44,7 @@ from charmhelpers.core.hookenv import (
ERROR,
WARNING,
unit_get... | Try using juju leadership for leadership determination | py |
diff --git a/harpoon/overview.py b/harpoon/overview.py
index <HASH>..<HASH> 100644
--- a/harpoon/overview.py
+++ b/harpoon/overview.py
@@ -41,6 +41,8 @@ class Overview(object):
self.configuration.update(
{ "$@": harpoon.get("extra", "")
, "harpoon": harpoon
+ , "bash": cli_... | Pass in bash and command from cli options | py |
diff --git a/goodtables/validate.py b/goodtables/validate.py
index <HASH>..<HASH> 100644
--- a/goodtables/validate.py
+++ b/goodtables/validate.py
@@ -32,7 +32,7 @@ def validate(source, **options):
(e.g. `structure`).
infer_schema (bool): Infer schema if one wasn't passed as an argument.
... | [#<I>] Fix typo in docstrings Fixes #<I> | py |
diff --git a/luigi/contrib/mrrunner.py b/luigi/contrib/mrrunner.py
index <HASH>..<HASH> 100644
--- a/luigi/contrib/mrrunner.py
+++ b/luigi/contrib/mrrunner.py
@@ -17,6 +17,10 @@
#
"""
+Since after Luigi 2.5.0, this is a private module to Luigi. Luigi users should
+not rely on that importing this module works. Furt... | Make mrrunner module private to luigi And also guide away new users from using this pretty old technology. | py |
diff --git a/sumy/parsers/plaintext.py b/sumy/parsers/plaintext.py
index <HASH>..<HASH> 100644
--- a/sumy/parsers/plaintext.py
+++ b/sumy/parsers/plaintext.py
@@ -76,8 +76,10 @@ class PlaintextParser(DocumentParser):
else:
text += " " + line
- sentences = self.tokenize_sentences(t... | Don't try to split empty string into sentences | py |
diff --git a/gwpy/signal/qtransform.py b/gwpy/signal/qtransform.py
index <HASH>..<HASH> 100644
--- a/gwpy/signal/qtransform.py
+++ b/gwpy/signal/qtransform.py
@@ -518,7 +518,7 @@ class QGram(object):
Notes
-----
- This method will return a `Spectrogram` of dtype ``float32``
+ This meth... | Update gwpy/signal/qtransform.py Fixing a typo | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,7 @@ setup(
packages=['agnocomplete'],
include_package_data=True,
description='Frontend-agnostic Django autocomplete utilities',
+ url="https://github.com/peopledoc/django-agnocomplete",
author='... | Adding `url` argument to setup | py |
diff --git a/ansible/modules/hashivault/hashivault_list.py b/ansible/modules/hashivault/hashivault_list.py
index <HASH>..<HASH> 100644
--- a/ansible/modules/hashivault/hashivault_list.py
+++ b/ansible/modules/hashivault/hashivault_list.py
@@ -87,18 +87,19 @@ def hashivault_list(params):
version = 2
se... | Add metadata read to kv2 list | py |
diff --git a/registration/auth_urls.py b/registration/auth_urls.py
index <HASH>..<HASH> 100644
--- a/registration/auth_urls.py
+++ b/registration/auth_urls.py
@@ -44,7 +44,8 @@ urlpatterns = [
url(r'^password/reset/$',
auth_views.password_reset,
name='auth_password_reset'),
- url(r'^password/r... | Fix the reset url as Django uses uid<I> instead of uidb<I> | py |
diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py
index <HASH>..<HASH> 100644
--- a/benchexec/tablegenerator/__init__.py
+++ b/benchexec/tablegenerator/__init__.py
@@ -369,10 +369,10 @@ def parse_results_file(resultFile, run_set_id=None, ignore_errors=False):
try:
... | Catch appropriate exception for Python <I>, where OSError and IOError are different classes. | py |
diff --git a/auto/src/rabird/auto/window/win32.py b/auto/src/rabird/auto/window/win32.py
index <HASH>..<HASH> 100644
--- a/auto/src/rabird/auto/window/win32.py
+++ b/auto/src/rabird/auto/window/win32.py
@@ -45,7 +45,7 @@ class Window(common.Window):
return (cls.find(**kwargs) is not None)
@classmeth... | Fixed window not found even title matched. | py |
diff --git a/SpiffWorkflow/bpmn/PythonScriptEngine.py b/SpiffWorkflow/bpmn/PythonScriptEngine.py
index <HASH>..<HASH> 100644
--- a/SpiffWorkflow/bpmn/PythonScriptEngine.py
+++ b/SpiffWorkflow/bpmn/PythonScriptEngine.py
@@ -58,7 +58,7 @@ class Box(dict):
try:
output = self[attr]
except:
- ... | slightly better error, quote the bit in question. | py |
diff --git a/src/pymlab/sensors/SHT25_Example.py b/src/pymlab/sensors/SHT25_Example.py
index <HASH>..<HASH> 100755
--- a/src/pymlab/sensors/SHT25_Example.py
+++ b/src/pymlab/sensors/SHT25_Example.py
@@ -6,9 +6,8 @@ import sys
print "SHT25 humidity and temperature sensor example \r\n"
print "Temperature Humidity[%%... | modify of dealay time after init and soft reset | py |
diff --git a/blimpy/io/file_wrapper.py b/blimpy/io/file_wrapper.py
index <HASH>..<HASH> 100644
--- a/blimpy/io/file_wrapper.py
+++ b/blimpy/io/file_wrapper.py
@@ -3,7 +3,6 @@
"""
import os
-import sys
import h5py
import six
@@ -46,8 +45,7 @@ def open_file(filename, f_start=None, f_stop=None,t_start=None, t_stop... | "Cannot open ..." should name the offender | py |
diff --git a/taskqueue/taskqueue.py b/taskqueue/taskqueue.py
index <HASH>..<HASH> 100644
--- a/taskqueue/taskqueue.py
+++ b/taskqueue/taskqueue.py
@@ -314,6 +314,10 @@ class TaskQueue(ThreadedQueue):
return executed
+ def block_until_empty(self, interval_sec=2):
+ while self.enqueued > 0:
+ time.sleep... | feat: block_until_empty() which polls every 2 seconds by default | py |
diff --git a/test/test_client.py b/test/test_client.py
index <HASH>..<HASH> 100644
--- a/test/test_client.py
+++ b/test/test_client.py
@@ -157,12 +157,6 @@ class TestClient(IntegrationTest, TestRequestMixin):
# No error.
connected(MongoClient())
- def assertIsInstance(self, obj, cls, msg=None):
-... | Remove "assertIsInstance" backport. No longer required since we use unittest2 on Python <I>, and the method is in the standard library for Python <I>+. | py |
diff --git a/salt/modules/gentoolkitmod.py b/salt/modules/gentoolkitmod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/gentoolkitmod.py
+++ b/salt/modules/gentoolkitmod.py
@@ -94,7 +94,7 @@ def eclean_dist(destructive=False, package_names=False, size_limit=0,
if size_limit is not 0:
size_limit = parseS... | Set initial clean total size to 0 in eclean_dist | py |
diff --git a/wpull/proxy_test.py b/wpull/proxy_test.py
index <HASH>..<HASH> 100644
--- a/wpull/proxy_test.py
+++ b/wpull/proxy_test.py
@@ -1,6 +1,5 @@
# encoding=utf-8
import logging
-import tornado.curl_httpclient
import tornado.httpclient
import tornado.testing
@@ -13,8 +12,10 @@ import wpull.testing.goodapp
... | proxy_test.py: Moves tornado curl_httpclient import to later. | py |
diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py
index <HASH>..<HASH> 100644
--- a/src/escpos/escpos.py
+++ b/src/escpos/escpos.py
@@ -106,6 +106,9 @@ class Escpos(object):
* `graphics`: prints with the `GS ( L`-command
* `bitImageColumn`: prints with the `ESC *`-command
+ Whe... | Added some documentation and error handling to the image center flag. | py |
diff --git a/pullv/cli.py b/pullv/cli.py
index <HASH>..<HASH> 100644
--- a/pullv/cli.py
+++ b/pullv/cli.py
@@ -65,7 +65,7 @@ def get_parser():
main_parser.add_argument(
dest='config',
type=str,
- nargs='+',
+ nargs='?',
help='Pull the latest repositories from config(s)'
... | pullv works against with $ pullv | py |
diff --git a/asn1crypto/util.py b/asn1crypto/util.py
index <HASH>..<HASH> 100644
--- a/asn1crypto/util.py
+++ b/asn1crypto/util.py
@@ -154,13 +154,17 @@ else:
"""
if width is None:
- width_ = math.ceil(value.bit_length() / 8) or 1
- try:
- return value.to_bytes(w... | Implementation of util.int_to_bytes() on Python 3 no longer requires expensive try/except | py |
diff --git a/tests/test_model_relations.py b/tests/test_model_relations.py
index <HASH>..<HASH> 100644
--- a/tests/test_model_relations.py
+++ b/tests/test_model_relations.py
@@ -35,15 +35,15 @@ class TestModelRelations:
self.prepare_testbed()
user = User(name='Joe').save()
employee = Employe... | we need to wait a sec to give enough time for riak/solr sync | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,6 +12,7 @@ setup(
description='Convert Python packages into a single script',
long_description=read("README"),
author='Michael Williamson',
+ author_email='mike@zwobble.org',
url='http://github.com/m... | Add author_email to setup.py | py |
diff --git a/vcs/backends/hg.py b/vcs/backends/hg.py
index <HASH>..<HASH> 100644
--- a/vcs/backends/hg.py
+++ b/vcs/backends/hg.py
@@ -104,13 +104,14 @@ class MercurialRepository(BaseRepository):
@LazyProperty
def branches(self):
+ if not self.revisions:return []
sortkey = lambda ctx: ('clos... | fixed branches and tags properties to return same result(ie. empty list) when there are no branches and tags, na error was raisen on tags before. | py |
diff --git a/tswift.py b/tswift.py
index <HASH>..<HASH> 100644
--- a/tswift.py
+++ b/tswift.py
@@ -23,6 +23,7 @@ SONG_RE = r'http://www\.metrolyrics\.com/(.*)-lyrics-(.*)\.html'
def slugify(string):
return string.replace(' ', '-').lower()
+
def deslugify(string):
return string.replace('-', ' ').title() | pep8 pep8 oh yeah | py |
diff --git a/dtool_config/cli.py b/dtool_config/cli.py
index <HASH>..<HASH> 100644
--- a/dtool_config/cli.py
+++ b/dtool_config/cli.py
@@ -145,3 +145,37 @@ def set_all(cache_directory_path):
scheme,
cache_directory_path
))
+
+
+@config.group()
+def azure():
+ """Configure Azure Sto... | Add the azure get/set/ls cli commands | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ setup(name='spglm', #name of package
'Programming Language :: Python :: 3.5'
'Programming Language :: Python :: 3.6'
],
- license='3-Clause BSD',
+ license='2-Clause BSD',
p... | changing license from 3 to 2 in setup.py to match LICENSE | py |
diff --git a/libvcs/types.py b/libvcs/types.py
index <HASH>..<HASH> 100644
--- a/libvcs/types.py
+++ b/libvcs/types.py
@@ -1,12 +1,9 @@
from os import PathLike
from typing import Union
-# See also, if this type is baked in in typing in the future
-# - https://stackoverflow.com/q/53418046/1396928
-# - https://github... | docs(types): Note where StrPath comes from | py |
diff --git a/sometimes/decorators.py b/sometimes/decorators.py
index <HASH>..<HASH> 100644
--- a/sometimes/decorators.py
+++ b/sometimes/decorators.py
@@ -80,6 +80,12 @@ def times(x,y):
wrapped.min += 1
fn(*args, **kwargs)
+ # Reset for another go
+ wrapped.min ... | Fix bug in times not being repeatable | py |
diff --git a/pelix/ipopo/core.py b/pelix/ipopo/core.py
index <HASH>..<HASH> 100644
--- a/pelix/ipopo/core.py
+++ b/pelix/ipopo/core.py
@@ -1459,9 +1459,6 @@ class _StoredInstance(object):
if self.state == _StoredInstance.KILLED:
return
- # Unregister from service events
- ... | unregister_factory(): protection against errors calling kill() Killing loop is now safe to ValueError, caused when a component marked as removable has been killed in the invalidation method of a component killed before, in the same loop. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,14 +5,13 @@ long_description = open('README.rst').read()
setup(
name = '3d-wallet-generator',
packages = ['3d_wallet'], # this must be the same as the name above
- version = '0.1.10',
+ version = '0.1.11',
... | Removed bin/.... line in setup.py | py |
diff --git a/fireplace/carddata/minions/basic.py b/fireplace/carddata/minions/basic.py
index <HASH>..<HASH> 100644
--- a/fireplace/carddata/minions/basic.py
+++ b/fireplace/carddata/minions/basic.py
@@ -29,6 +29,13 @@ class NEW1_009:
if self.game.currentPlayer is self.owner:
target.heal(1)
+# Bloodsail Corsa... | Implement Acidic Swamp Ooze, Bloodsail Corsair and Harrison Jones | py |
diff --git a/htmresearch/frameworks/pytorch/sparse_speech_experiment.py b/htmresearch/frameworks/pytorch/sparse_speech_experiment.py
index <HASH>..<HASH> 100644
--- a/htmresearch/frameworks/pytorch/sparse_speech_experiment.py
+++ b/htmresearch/frameworks/pytorch/sparse_speech_experiment.py
@@ -81,6 +81,13 @@ class Spar... | Updated speech to multi layer sparse nets | py |
diff --git a/newsplease/__init__.py b/newsplease/__init__.py
index <HASH>..<HASH> 100644
--- a/newsplease/__init__.py
+++ b/newsplease/__init__.py
@@ -1,3 +1,4 @@
+import datetime
import os
import sys
import urllib
@@ -90,17 +91,18 @@ class NewsPlease:
:return: A dict containing given URLs as keys, and extr... | add download_date to API download of single and multiple URLs | py |
diff --git a/mintapi/cli.py b/mintapi/cli.py
index <HASH>..<HASH> 100644
--- a/mintapi/cli.py
+++ b/mintapi/cli.py
@@ -11,6 +11,7 @@ import configargparse
from mintapi.api import Mint
from mintapi.signIn import get_email_code
+from pandas import json_normalize
logger = logging.getLogger("mintapi")
@@ -332,6 +3... | ✨ Feature: Export Investment Data to CSV (#<I>) * Adding json_to_csv function to convert investment data to csv * Adding a comment * Switch to json_normalize from pandas | py |
diff --git a/rllib/evaluation/worker_set.py b/rllib/evaluation/worker_set.py
index <HASH>..<HASH> 100644
--- a/rllib/evaluation/worker_set.py
+++ b/rllib/evaluation/worker_set.py
@@ -144,10 +144,15 @@ class WorkerSet:
def stop(self) -> None:
"""Stop all rollout workers."""
- self.local_worker().s... | [RLLIB] Wait for remote_workers to finish closing environments before terminating (#<I>) | py |
diff --git a/gns3server/controller/__init__.py b/gns3server/controller/__init__.py
index <HASH>..<HASH> 100644
--- a/gns3server/controller/__init__.py
+++ b/gns3server/controller/__init__.py
@@ -62,8 +62,13 @@ class Controller:
console_host = host
if host == "0.0.0.0":
host = "127.0.0.1"
... | Do not prevent the creation of a local server on a machine named gns3vm Fix #<I> | py |
diff --git a/holidays/countries/united_kingdom.py b/holidays/countries/united_kingdom.py
index <HASH>..<HASH> 100644
--- a/holidays/countries/united_kingdom.py
+++ b/holidays/countries/united_kingdom.py
@@ -157,7 +157,7 @@ class UnitedKingdom(HolidayBase):
self[date(year, MAY, 31) + rd(weekday=MO(-1))] = n... | Issue with state=None (#<I>) | py |
diff --git a/drf_dynamic_fields/__init__.py b/drf_dynamic_fields/__init__.py
index <HASH>..<HASH> 100644
--- a/drf_dynamic_fields/__init__.py
+++ b/drf_dynamic_fields/__init__.py
@@ -18,7 +18,16 @@ class DynamicFieldsMixin(object):
warnings.warn('Context does not have access to request')
retur... | Check if request obj has query_params or GET attr (#3) | py |
diff --git a/tests/python/pants_test/cache/test_artifact_cache.py b/tests/python/pants_test/cache/test_artifact_cache.py
index <HASH>..<HASH> 100644
--- a/tests/python/pants_test/cache/test_artifact_cache.py
+++ b/tests/python/pants_test/cache/test_artifact_cache.py
@@ -155,6 +155,7 @@ class TestArtifactCache(TestBase)... | Skip flaky `TestArtifactCache` test. (#<I>) The `test_local_backed_remote_cache` test is flaky as described in #<I>. | py |
diff --git a/dockermap/map/dep.py b/dockermap/map/dep.py
index <HASH>..<HASH> 100644
--- a/dockermap/map/dep.py
+++ b/dockermap/map/dep.py
@@ -185,9 +185,9 @@ class MultiDependencyResolver(BaseDependencyResolver):
:param items: Iterable or dictionary in the format `(dependent_item, dependencies)`.
:ty... | Fixed iterations in dependency resolution. | py |
diff --git a/cmd2.py b/cmd2.py
index <HASH>..<HASH> 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -900,18 +900,17 @@ class Cmd(cmd.Cmd):
self.kept_state = None
if statement.parsed.pipeTo:
- # Pipe output from the command to the shell command via echo
- c... | Command-line pipe is now handled by subprocess module instead of shell Instead of using shell functionality to pipe output of a command to a shell command, the Python subprocess is now used to pipe stdout of one process to another. | py |
diff --git a/sos/jupyter/kernel.py b/sos/jupyter/kernel.py
index <HASH>..<HASH> 100644
--- a/sos/jupyter/kernel.py
+++ b/sos/jupyter/kernel.py
@@ -1100,7 +1100,7 @@ class SoS_Kernel(IPythonKernel):
out[key] = value
ret['user_expressions'] = out
#
- if not silent:
+ if not si... | Fix execution count for statement executed in panel cell | py |
diff --git a/astrodbkit/votools.py b/astrodbkit/votools.py
index <HASH>..<HASH> 100755
--- a/astrodbkit/votools.py
+++ b/astrodbkit/votools.py
@@ -161,6 +161,10 @@ def photparse(tab):
"""
+ # Check that source_id column is present
+ if 'source_id' not in tab[0].keys():
+ raise KeyError('phot=TRUE ... | catch error when source_id column is not present | py |
diff --git a/etk/data_extractors/table_extractor.py b/etk/data_extractors/table_extractor.py
index <HASH>..<HASH> 100644
--- a/etk/data_extractors/table_extractor.py
+++ b/etk/data_extractors/table_extractor.py
@@ -131,7 +131,9 @@ class TableClassification():
cell_text = [match.value for match in cell_text_pat... | fixed bug, table extractor returns [] when there's no table. | py |
diff --git a/src/rez/package_resources_.py b/src/rez/package_resources_.py
index <HASH>..<HASH> 100644
--- a/src/rez/package_resources_.py
+++ b/src/rez/package_resources_.py
@@ -376,7 +376,7 @@ class VariantResourceHelper(VariantResource):
else:
try:
reqs = self.parent.variants[s... | minor bugfix for case where a specific resource fail wasn't getting recognised as such | py |
diff --git a/editor/editor.py b/editor/editor.py
index <HASH>..<HASH> 100644
--- a/editor/editor.py
+++ b/editor/editor.py
@@ -488,14 +488,13 @@ class Editor(App):
key = "root" if parent==self.project else widget.identifier
if root_tree_node:
parent.append(widget,key)
- if self... | Editor - new widgets added gets now automatically selected. | py |
diff --git a/cinderlib/cinderlib.py b/cinderlib/cinderlib.py
index <HASH>..<HASH> 100644
--- a/cinderlib/cinderlib.py
+++ b/cinderlib/cinderlib.py
@@ -393,6 +393,15 @@ class Backend(object):
@staticmethod
def list_supported_drivers():
"""Returns dictionary with driver classes names as keys."""
+
+ ... | Convert the driver_options to a dictionary This patch converts the cinder interface driver_options to a dictionary so it can be pickled between processes. This patch also calls query.get() prior to join() so we don't run into a deadlock. Change-Id: I<I>fa8b9b<I>b8e8a<I>a8f<I>a<I>ea7e | py |
diff --git a/doc2dash/parsers/__init__.py b/doc2dash/parsers/__init__.py
index <HASH>..<HASH> 100644
--- a/doc2dash/parsers/__init__.py
+++ b/doc2dash/parsers/__init__.py
@@ -4,8 +4,8 @@ from . import pydoctor, sphinx, intersphinx
DOCTYPES = [
- intersphinx.InterSphinxParser,
pydoctor.PyDoctorParser,
+ ... | look for pydoctor first | py |
diff --git a/spyder/plugins/completion/kite/plugin.py b/spyder/plugins/completion/kite/plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/completion/kite/plugin.py
+++ b/spyder/plugins/completion/kite/plugin.py
@@ -93,7 +93,7 @@ class KiteCompletionPlugin(SpyderCompletionPlugin):
is not possible yet or... | fix broken condition which was accidentaly changed by the last PR update | py |
diff --git a/coveralls/api.py b/coveralls/api.py
index <HASH>..<HASH> 100644
--- a/coveralls/api.py
+++ b/coveralls/api.py
@@ -235,9 +235,14 @@ class Coveralls:
# attach a random value to ensure uniqueness
# TODO: an auto-incrementing integer might be easier to reason
# about if w... | fix(github): send null job_id to fix <I> during resubmission (#<I>) If a submission is failed, the tool will check and adjust/resubmit again with a newly generated job_id. For GitHub Actions, this needs to be null again. | py |
diff --git a/src/pybel/constants.py b/src/pybel/constants.py
index <HASH>..<HASH> 100644
--- a/src/pybel/constants.py
+++ b/src/pybel/constants.py
@@ -241,6 +241,8 @@ rev_abundance_labels = {
RELATION = 'relation'
#: The key for an internal edge data dictionary for the citation dictionary
CITATION = 'citation'
+CITA... | Add reverse compatibility for old constants | py |
diff --git a/ginga/canvas/types/image.py b/ginga/canvas/types/image.py
index <HASH>..<HASH> 100644
--- a/ginga/canvas/types/image.py
+++ b/ginga/canvas/types/image.py
@@ -158,6 +158,8 @@ class ImageP(OnePointMixin, CanvasObjectBase):
self.make_callback('image-set', image)
def get_scaled_wdht(self):
+ ... | Fix for get_scaled_wdht() when no image is plotted | py |
diff --git a/src/auditlog/mixins.py b/src/auditlog/mixins.py
index <HASH>..<HASH> 100644
--- a/src/auditlog/mixins.py
+++ b/src/auditlog/mixins.py
@@ -17,10 +17,8 @@ class LogEntryAdminMixin(object):
app_label, model = settings.AUTH_USER_MODEL.split('.')
viewname = 'admin:%s_%s_change' % (app_... | Changed to actor's string represantation Depending on actor's attributes is error prone, developers can extend the user model without the needed attributes. | py |
diff --git a/twistes/parser.py b/twistes/parser.py
index <HASH>..<HASH> 100644
--- a/twistes/parser.py
+++ b/twistes/parser.py
@@ -108,7 +108,7 @@ class EsParser(object):
:param sub_paths: a list of sub paths
:return:
"""
- queued_params = [quote(str(c), '') for c in sub_paths if c not... | Fix make_path to use .encode('utf-8') instead of str (#<I>) | py |
diff --git a/project_generator/tools/visual_studio.py b/project_generator/tools/visual_studio.py
index <HASH>..<HASH> 100644
--- a/project_generator/tools/visual_studio.py
+++ b/project_generator/tools/visual_studio.py
@@ -25,6 +25,17 @@ from .tool import Tool, Exporter
# 4. To test the basic methods, like export or p... | Visual studio - adding a comment about template creation | py |
diff --git a/jsonapi/resource.py b/jsonapi/resource.py
index <HASH>..<HASH> 100644
--- a/jsonapi/resource.py
+++ b/jsonapi/resource.py
@@ -160,6 +160,22 @@ class Resource(object):
@classmethod
def _get_fields_others_many_to_many(cls, model):
fields = {}
+ model_resource_map = cls.Meta.api.mode... | add many to many investigation from other related resource | py |
diff --git a/opbeat/contrib/django/models.py b/opbeat/contrib/django/models.py
index <HASH>..<HASH> 100644
--- a/opbeat/contrib/django/models.py
+++ b/opbeat/contrib/django/models.py
@@ -192,15 +192,6 @@ def register_handlers():
# Connect to Django's internal signal handler
got_request_exception.connect(opb... | Get rid of automagic middleware insertion because it doesn't always work. | py |
diff --git a/lyricsgenius/artist.py b/lyricsgenius/artist.py
index <HASH>..<HASH> 100644
--- a/lyricsgenius/artist.py
+++ b/lyricsgenius/artist.py
@@ -77,7 +77,8 @@ class Artist(object):
from difflib import SequenceMatcher as sm # For comparing similarity of lyrics
# Idea credit: https://bigis... | Efficiency of 2nd SequenceMatcher In looking at the variation between the two SM function, there doesn't appear to be variation greater than <I> (Sample of <I> songs). I increased the threshold slightly to take into consideration outliers, but this should reduce the performance impact of having to run SM twice on eve... | py |
diff --git a/spyderlib/plugins/ipythonconsole.py b/spyderlib/plugins/ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/ipythonconsole.py
+++ b/spyderlib/plugins/ipythonconsole.py
@@ -293,7 +293,7 @@ class IPythonClient(QWidget):
#------ Public API -----------------------------------------------... | IPython console: Rename 'Client' to 'Console' for the tab name of every client Update Issue <I> | py |
diff --git a/uncompyle6/parsers/parse30.py b/uncompyle6/parsers/parse30.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/parsers/parse30.py
+++ b/uncompyle6/parsers/parse30.py
@@ -258,7 +258,11 @@ class Python30Parser(Python31Parser):
if rule[0] == "iflaststmtl":
return not ... | Remove more <I> parse errors... However this doesn't mean that some wrong rules still don't kid in. We still have control-flow "if/and/else" vs "if/if/else" problems. | py |
diff --git a/entei.py b/entei.py
index <HASH>..<HASH> 100755
--- a/entei.py
+++ b/entei.py
@@ -45,8 +45,8 @@ def tokenize(template):
until = until or l_del
literal = get()
while not template.closed:
- if literal[-2:] == until:
- return literal[:-2]
+ if li... | Added support for delimiters to be any size Instead of needing them to be 2 characters. Also ignores all spaces in the center (instead of expecting one). And fixed a bug where delimiters would eat some trailing characters! | py |
diff --git a/boundary/api_cli.py b/boundary/api_cli.py
index <HASH>..<HASH> 100755
--- a/boundary/api_cli.py
+++ b/boundary/api_cli.py
@@ -19,7 +19,6 @@ import argparse
import logging
import os
import requests
-import urllib2
import urllib
"""
@@ -273,7 +272,7 @@ class ApiCli(object):
"""
Deter... | Remove dependency on urllib2 by using requests.codes | py |
diff --git a/openquake/hmtk/seismicity/utils.py b/openquake/hmtk/seismicity/utils.py
index <HASH>..<HASH> 100644
--- a/openquake/hmtk/seismicity/utils.py
+++ b/openquake/hmtk/seismicity/utils.py
@@ -171,7 +171,6 @@ def decimal_time(year, month, day, hour, minute, second):
tse = second
tmonth = tmo - 1
-... | Removed some testing code from utils.py | py |
diff --git a/seaworthy/definitions.py b/seaworthy/definitions.py
index <HASH>..<HASH> 100644
--- a/seaworthy/definitions.py
+++ b/seaworthy/definitions.py
@@ -56,7 +56,7 @@ class _DefinitionBase:
Setup this resource so that is ready to be used in a test. If the
resource has already been created, this ... | tyop: involes -> involves | py |
diff --git a/make.py b/make.py
index <HASH>..<HASH> 100644
--- a/make.py
+++ b/make.py
@@ -69,7 +69,9 @@ def build_docs(cfg: Cfg):
data = ""
with open(html_file, 'r') as fr:
for line in fr:
- if 'modernizr.min.js"' not in line:
+ if 'modernizr.min.js"' not in... | Historic: Docs Build Script: Remove unused js file --- Note: This commit is related to sty's documentation website, which was removed from this git history, because it moved to another repo. --- * Customize theme.js. The page will not scroll the menu on page load any more. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,7 @@ with codecs.open(readme_md, encoding='utf-8') as f:
long_description = f.read()
-version = '0.1.19'
+version = '0.1.20'
class TestCommand(TestClass): | Update version number to <I> | py |
diff --git a/webtul/db.py b/webtul/db.py
index <HASH>..<HASH> 100644
--- a/webtul/db.py
+++ b/webtul/db.py
@@ -51,9 +51,9 @@ class MySQL:
"""This function is the most use one, with the paramter times
it will try x times to execute the sql, default is 1.
"""
- self.log and self.log.debu... | FIX a bug, execute fail having unicode in SQL or parameters | py |
diff --git a/openquake/hazardlib/gsim/base.py b/openquake/hazardlib/gsim/base.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/gsim/base.py
+++ b/openquake/hazardlib/gsim/base.py
@@ -301,7 +301,7 @@ class ContextMaker(object):
:param sites: a (Filtered)SiteColletion
:param distance_type: defau... | Fixed typo [skip CI] | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.