diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/standard/models.py b/standard/models.py index <HASH>..<HASH> 100644 --- a/standard/models.py +++ b/standard/models.py @@ -393,7 +393,7 @@ class PayPalPDT(PayPalCommon): except ValueError, e: logging.error("comfirm_pay_pal error, %s, %s"%(e, unquoted_paypal_line...
use set_flag rather than appending to flag_info
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ setup( package_data={'jsonrpcclient': ['response-schema.json']}, include_package_data=True, install_requires=['requests', 'jsonschema'], + tests_require=['nose','rednose','nose-cov','responses'...
Added test packages to setup.py
py
diff --git a/parsedmarc/__init__.py b/parsedmarc/__init__.py index <HASH>..<HASH> 100644 --- a/parsedmarc/__init__.py +++ b/parsedmarc/__init__.py @@ -8,6 +8,7 @@ import shutil import xml.parsers.expat as expat import json from datetime import datetime +from time import sleep from collections import OrderedDict fr...
Detecting other IMAP-errors. Adding short sleep to avoid hammering the IMAP-server on error
py
diff --git a/drf_haystack/serializers.py b/drf_haystack/serializers.py index <HASH>..<HASH> 100644 --- a/drf_haystack/serializers.py +++ b/drf_haystack/serializers.py @@ -234,15 +234,15 @@ class HaystackFacetSerializer(serializers.Serializer): instance = instance[1] return serializers....
commented out the narrow action for the time being
py
diff --git a/nhlib/site.py b/nhlib/site.py index <HASH>..<HASH> 100644 --- a/nhlib/site.py +++ b/nhlib/site.py @@ -92,7 +92,7 @@ class SiteCollection(object): # because we pass these arrays directly to a GMPE through # a SiteContext object and if a GMPE is implemented poorly it could # modify...
site: small change in comments in SiteCollection
py
diff --git a/examples/rag/use_own_knowledge_dataset.py b/examples/rag/use_own_knowledge_dataset.py index <HASH>..<HASH> 100644 --- a/examples/rag/use_own_knowledge_dataset.py +++ b/examples/rag/use_own_knowledge_dataset.py @@ -47,7 +47,7 @@ def embed(documents: dict, ctx_encoder: DPRContextEncoder, ctx_tokenizer: DPRCo...
fix missing return dict (#<I>)
py
diff --git a/Documentation/conf.py b/Documentation/conf.py index <HASH>..<HASH> 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -130,6 +130,7 @@ extlinks = { 'jenkins-branch': (jenkins_branch + "/%s", ''), 'github-project': (project_link + '%s', ''), 'github-backport': (backport_format,...
docs: conf.py: add :gh-issue: role to reference GitHub issues Use the extlink Sphinx extension to add a role for referencing GitHub issues in a uniform fashion. Writing :gh-issue:`<I>` will automatically convert into "GitHub issue <I>", with a link to the relevant issue.
py
diff --git a/sklearn_porter/estimator/NuSVC/__init__.py b/sklearn_porter/estimator/NuSVC/__init__.py index <HASH>..<HASH> 100644 --- a/sklearn_porter/estimator/NuSVC/__init__.py +++ b/sklearn_porter/estimator/NuSVC/__init__.py @@ -22,5 +22,3 @@ class NuSVC(SVC, EstimatorBase): def __init__(self, estimator: NuSVC...
feature/oop-api-refactoring: Remove `estimator_url` variable
py
diff --git a/spyderlib/widgets/externalshell/pythonshell.py b/spyderlib/widgets/externalshell/pythonshell.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/pythonshell.py +++ b/spyderlib/widgets/externalshell/pythonshell.py @@ -410,6 +410,13 @@ class ExternalPythonShell(ExternalShellBase): i...
External Console: Correctly set input/output encoding for our Python Consoles Fixes Issue <I> - This uses the PYTHONIOENCODING env var, which works great on both Windows and Linux
py
diff --git a/test/tabletmanager.py b/test/tabletmanager.py index <HASH>..<HASH> 100755 --- a/test/tabletmanager.py +++ b/test/tabletmanager.py @@ -331,7 +331,7 @@ def _run_test_vtctl_clone(server_mode): (clone_flags, tablet_62344.zk_tablet_path, tablet_62044.zk_tablet_pa...
When an InitTablet is forced, run ScrapTablet to clean up any stale replication paths. This revealed a race in clone testing that led to some additional cleanup.
py
diff --git a/libre/apps/data_drivers/__init__.py b/libre/apps/data_drivers/__init__.py index <HASH>..<HASH> 100644 --- a/libre/apps/data_drivers/__init__.py +++ b/libre/apps/data_drivers/__init__.py @@ -1 +1,19 @@ +from __future__ import absolute_import +import pyinotify + +from .models import SourceSpreadsheet + + +...
Initial commit of pyinotify support
py
diff --git a/marathon_acme/vault_store.py b/marathon_acme/vault_store.py index <HASH>..<HASH> 100644 --- a/marathon_acme/vault_store.py +++ b/marathon_acme/vault_store.py @@ -98,7 +98,7 @@ class VaultKvCertificateStore(object): 1. The new certificate is stored without a CAS parameter. This assumes ...
VaultStore: Remove non-ASCII character in docstring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ from setuptools import setup, find_packages setup(name='homophony', - version='0.1.1', + version='0.1.2', description='Django and zc.testbrowser integration', long_description=open('README')....
Bump up version number to <I>.
py
diff --git a/python/herald/directory.py b/python/herald/directory.py index <HASH>..<HASH> 100644 --- a/python/herald/directory.py +++ b/python/herald/directory.py @@ -269,6 +269,10 @@ class HeraldDirectory(object): :return: A list of Peer beans :raise KeyError: Unknown group """ + if g...
Special case for group 'all' This group always returns the list of known peers, even if it is empty.
py
diff --git a/twitter_monitor/stream.py b/twitter_monitor/stream.py index <HASH>..<HASH> 100644 --- a/twitter_monitor/stream.py +++ b/twitter_monitor/stream.py @@ -62,9 +62,6 @@ class DynamicTwitterStream(object): logger.info("Stopping polling loop") self.polling = False - self.polling_interru...
remove calls to event.set and event.clear
py
diff --git a/treeherder/etl/runnable_jobs.py b/treeherder/etl/runnable_jobs.py index <HASH>..<HASH> 100644 --- a/treeherder/etl/runnable_jobs.py +++ b/treeherder/etl/runnable_jobs.py @@ -155,7 +155,8 @@ def _taskcluster_runnable_jobs(decision_task_id): 'platform_option': platform_option, ...
Bug <I> - Ensure runnable jobs always have a null coalesced value (#<I>)
py
diff --git a/alphatwirl/heppyresult/ComponentLoop.py b/alphatwirl/heppyresult/ComponentLoop.py index <HASH>..<HASH> 100644 --- a/alphatwirl/heppyresult/ComponentLoop.py +++ b/alphatwirl/heppyresult/ComponentLoop.py @@ -6,6 +6,7 @@ class ComponentLoop(object): def __init__(self, heppyResult, reader): self....
get components in __init__() in ComponentLoop
py
diff --git a/windpowerlib/tools.py b/windpowerlib/tools.py index <HASH>..<HASH> 100644 --- a/windpowerlib/tools.py +++ b/windpowerlib/tools.py @@ -112,3 +112,12 @@ def gaussian_distribution(function_variable, standard_deviation, mean=0): return (1 / (standard_deviation * np.sqrt(2 * np.pi)) * np.exp(-...
Add function for turbulence intensity calculation
py
diff --git a/odl/solvers/functional/default_functionals.py b/odl/solvers/functional/default_functionals.py index <HASH>..<HASH> 100644 --- a/odl/solvers/functional/default_functionals.py +++ b/odl/solvers/functional/default_functionals.py @@ -1229,10 +1229,10 @@ class KullbackLeiblerCrossEntropy(Functional): Not...
MAINT: doc fixes to KL functionals
py
diff --git a/cocaine/tools/actions/__init__.py b/cocaine/tools/actions/__init__.py index <HASH>..<HASH> 100644 --- a/cocaine/tools/actions/__init__.py +++ b/cocaine/tools/actions/__init__.py @@ -29,9 +29,10 @@ def readArchive(filename): class CocaineConfigReader: @classmethod - def load(cls, context): + d...
Custom validating callback while config loading.
py
diff --git a/dvc/__init__.py b/dvc/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -7,7 +7,7 @@ import os import warnings -VERSION_BASE = '0.20.1' +VERSION_BASE = '0.20.2' __version__ = VERSION_BASE PACKAGEPATH = os.path.abspath(os.path.dirname(__file__))
dvc: bump to <I>
py
diff --git a/pyOCD/board/mbed_board.py b/pyOCD/board/mbed_board.py index <HASH>..<HASH> 100644 --- a/pyOCD/board/mbed_board.py +++ b/pyOCD/board/mbed_board.py @@ -116,7 +116,7 @@ class MbedBoard(Board): if (first == True): logging.info("Waiting for a USB device connected") ...
change the sleep time back to the origin
py
diff --git a/timezones/fields.py b/timezones/fields.py index <HASH>..<HASH> 100644 --- a/timezones/fields.py +++ b/timezones/fields.py @@ -23,19 +23,24 @@ class TimeZoneField(models.CharField): "choices": forms.PRETTY_TIMEZONE_CHOICES} defaults.update(kwargs) return super(TimeZone...
Fixed TimeZoneField to work on Django <I>
py
diff --git a/pyrtl/inputoutput.py b/pyrtl/inputoutput.py index <HASH>..<HASH> 100644 --- a/pyrtl/inputoutput.py +++ b/pyrtl/inputoutput.py @@ -9,7 +9,6 @@ accordingly, or write information from the Block out to the file. import sys import re import collections -import pyparsing import core import wire @@ -31,6 +...
remove forced dependency on pyparssing (now only in functions that need it)
py
diff --git a/demo/main.py b/demo/main.py index <HASH>..<HASH> 100644 --- a/demo/main.py +++ b/demo/main.py @@ -147,19 +147,19 @@ class HomePage(webapp.RequestHandler): self.redirect('/') return user = users.get_current_user() - account = None - if user is not None: - account = GetAccountBy...
Call GetAccountByUser() later when posting a new message.
py
diff --git a/pylogit/choice_tools.py b/pylogit/choice_tools.py index <HASH>..<HASH> 100644 --- a/pylogit/choice_tools.py +++ b/pylogit/choice_tools.py @@ -735,8 +735,8 @@ def get_original_order_unique_ids(id_array): # Get the indices of the unique IDs in their order of appearance # Note the [1] is because the...
Made a cosmetic change for code clarity.
py
diff --git a/torchvision/datasets/voc.py b/torchvision/datasets/voc.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/voc.py +++ b/torchvision/datasets/voc.py @@ -87,10 +87,9 @@ class _VOCBase(VisionDataset): valid_image_sets = ["train", "trainval", "val"] if year == "2007": valid...
fix VOC datasets for <I> (#<I>)
py
diff --git a/pybar/daq/fifo_readout.py b/pybar/daq/fifo_readout.py index <HASH>..<HASH> 100644 --- a/pybar/daq/fifo_readout.py +++ b/pybar/daq/fifo_readout.py @@ -493,9 +493,9 @@ class FifoReadout(object): def get_rx_enable_status(self, channels=None): if channels: - return map(lambda chan...
ENH: change logging behavior of enabled RX channels, show enable status that was used during scan
py
diff --git a/flashpolicies/policies.py b/flashpolicies/policies.py index <HASH>..<HASH> 100644 --- a/flashpolicies/policies.py +++ b/flashpolicies/policies.py @@ -1,6 +1,10 @@ """ Utilities for generating Flash cross-domain policy files. +Note that the API of this module is not stable and may change +significantly ...
Add API-instability warning in policy generator module.
py
diff --git a/tests/web/filter.py b/tests/web/filter.py index <HASH>..<HASH> 100644 --- a/tests/web/filter.py +++ b/tests/web/filter.py @@ -49,6 +49,21 @@ class UrlTemplateTests(unittest.TestCase): ut = UrlTemplate('/simple/<int:id>/data') self.assertEqual(ut(id=2), '/simple/2/data') + def test_on...
Several tests for URL templates are migrated from pki branch
py
diff --git a/py/selenium/webdriver/firefox/firefox_profile.py b/py/selenium/webdriver/firefox/firefox_profile.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/firefox/firefox_profile.py +++ b/py/selenium/webdriver/firefox/firefox_profile.py @@ -101,7 +101,15 @@ class FirefoxProfile(object): #Public Metho...
DavidBurns fixing the way that preference items are set r<I>
py
diff --git a/tests/test_xopen.py b/tests/test_xopen.py index <HASH>..<HASH> 100644 --- a/tests/test_xopen.py +++ b/tests/test_xopen.py @@ -172,7 +172,7 @@ def create_large_file(tmp_path): ) # Make the text a lot bigger in order to ensure that it is larger than the # pipe buffer size. - ...
Ensure the text is larger than the pipe buffer
py
diff --git a/multiqc/plots/linegraph.py b/multiqc/plots/linegraph.py index <HASH>..<HASH> 100644 --- a/multiqc/plots/linegraph.py +++ b/multiqc/plots/linegraph.py @@ -341,13 +341,13 @@ def matplotlib_linegraph (plotdata, pconfig=None): ymin = default_ylimits[0] if 'ymin' in pconfig: ymin ...
Fixing definitions of yCeiling and yFloor.
py
diff --git a/groupy/objects.py b/groupy/objects.py index <HASH>..<HASH> 100644 --- a/groupy/objects.py +++ b/groupy/objects.py @@ -239,8 +239,8 @@ class Recipient(ApiResponse): r = self._endpoint.index(self._idkey, before_id=before, since_id=since, after_id=after) ...
Changed <I> to NOT_MODIFIED
py
diff --git a/lettuce/core.py b/lettuce/core.py index <HASH>..<HASH> 100644 --- a/lettuce/core.py +++ b/lettuce/core.py @@ -174,7 +174,9 @@ class ScenarioDescription(object): for pline, part in enumerate(string.splitlines()): part = part.strip() - if re.match(u"%s:[ ]+" % language.scen...
improve line search by applying regex only when necessary
py
diff --git a/sparc/cache/splunk/area.py b/sparc/cache/splunk/area.py index <HASH>..<HASH> 100644 --- a/sparc/cache/splunk/area.py +++ b/sparc/cache/splunk/area.py @@ -50,7 +50,7 @@ class CacheAreaForSplunkKV(object): def current_kv_names(self): """Return set of string names of current available Splunk K...
fix issue with IRequest usage when getting KV collection names
py
diff --git a/dolt/apis/bitly.py b/dolt/apis/bitly.py index <HASH>..<HASH> 100644 --- a/dolt/apis/bitly.py +++ b/dolt/apis/bitly.py @@ -16,4 +16,4 @@ class Bitly(Dolt): def __call__(self, *args, **kwargs): updated_kwargs = kwargs updated_kwargs.update(self._defaults) - super(Bitly, self).__...
remember to return your results from dolt when you're inside of bit.ly
py
diff --git a/lib/__init__.py b/lib/__init__.py index <HASH>..<HASH> 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -20,7 +20,7 @@ import wcs_functions __taskname__ = "betadrizzle" # Begin Version Information ------------------------------------------- -__version__ = '4.0.1dev8260' +__version__ = '4.0.1dev826...
Betadrizzle: Fixed a problem with the single drizzle WCS being corrupted by non-default parameter settings for the final WCS. Added the revision number to the version ID. WJH git-svn-id: <URL>
py
diff --git a/beetle/base.py b/beetle/base.py index <HASH>..<HASH> 100644 --- a/beetle/base.py +++ b/beetle/base.py @@ -41,7 +41,7 @@ class Includer(object): suggested_path = remove_leading_folder(path) if extension in self.specific: - handler = self.specific[extension](content) + ...
Fixed mistake of calling the handler.
py
diff --git a/thefuck/rules/cd_mkdir.py b/thefuck/rules/cd_mkdir.py index <HASH>..<HASH> 100644 --- a/thefuck/rules/cd_mkdir.py +++ b/thefuck/rules/cd_mkdir.py @@ -8,7 +8,8 @@ from thefuck.specific.sudo import sudo_support @for_app('cd') def match(command): return (('no such file or directory' in command.stderr.l...
Add Windows error message support to cd_mkdir rule Add the Windows error message 'the system cannot find the path specified' to the list of recognized messages for cd_mkdir.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -293,7 +293,7 @@ def do_setup(): 'dill>=0.2.2, <0.3', 'enum34~=1.1.6;python_version<"3.4"', 'flask>=0.12.4, <0.13', - 'flask-appbuilder==1.12.1', + 'flask-appbuilder...
[AIRFLOW-XXX] Upgrade FAB to <I> (#<I>)
py
diff --git a/tests/core/test_no_prints.py b/tests/core/test_no_prints.py index <HASH>..<HASH> 100644 --- a/tests/core/test_no_prints.py +++ b/tests/core/test_no_prints.py @@ -20,7 +20,7 @@ def test_number_of_whitespaces(): utils_print_lines = search_for_print_statements_in_python_files("utils") print "\n".joi...
Test: Allow additional print in start.py
py
diff --git a/ledgerautosync/converter.py b/ledgerautosync/converter.py index <HASH>..<HASH> 100644 --- a/ledgerautosync/converter.py +++ b/ledgerautosync/converter.py @@ -315,6 +315,11 @@ class OfxConverter(Converter): if payee != "" and self.lgr is not None: payee = self.lgr.get_autosync_payee(pa...
Adjust memo instead if there is no payee If there is both a payee and a memo, then leave alone, because there is a chance both are useful. Fixes #<I>
py
diff --git a/lib/reda/containers/BaseContainer.py b/lib/reda/containers/BaseContainer.py index <HASH>..<HASH> 100644 --- a/lib/reda/containers/BaseContainer.py +++ b/lib/reda/containers/BaseContainer.py @@ -18,6 +18,7 @@ import reda.utils.geometric_factors as redaK from reda.utils import has_multiple_timesteps from r...
[BaseContainer] add .apply_k to simplify adding geometric factors
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ if not sys.version_info[0] == 3: setuptools.setup( name='pyanyzip', - version='0.0.4', + version='0.0.5', description='pyanyzip is a module to help with dealing with compressed files transparent...
added pypipegzip as prereq
py
diff --git a/vr/common/utils.py b/vr/common/utils.py index <HASH>..<HASH> 100644 --- a/vr/common/utils.py +++ b/vr/common/utils.py @@ -121,6 +121,11 @@ def run(command, verbose=False): v_print("run:", command) def log_and_yield(line): + if six.PY2: + # p.stdout is a PIPE, i.e. a file, open...
Ensure py2 compatibility when logging UTF8 chars
py
diff --git a/gcalcli/argparsers.py b/gcalcli/argparsers.py index <HASH>..<HASH> 100644 --- a/gcalcli/argparsers.py +++ b/gcalcli/argparsers.py @@ -283,7 +283,7 @@ def get_argument_parser(): "time part of the --when will be ignored.") add.add_argument( "--noprompt", action="store_false", d...
now the help message is correct for noprompt
py
diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index <HASH>..<HASH> 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -__version__ =...
Update Pyrogram to <I>
py
diff --git a/djstripe/models/base.py b/djstripe/models/base.py index <HASH>..<HASH> 100644 --- a/djstripe/models/base.py +++ b/djstripe/models/base.py @@ -273,11 +273,21 @@ class StripeModel(StripeBaseModel): """ from .account import Account - if data and data.get("account"): - # t...
Made StripeModel._find_owner_account work for all object types _find_owner_account will now work for not only WebhookEventTrigger or event objects but also other Stripe Objects as well as Stripe Objects on Conencted Accounts.
py
diff --git a/salt/modules/event.py b/salt/modules/event.py index <HASH>..<HASH> 100644 --- a/salt/modules/event.py +++ b/salt/modules/event.py @@ -39,6 +39,10 @@ def fire_master(data, tag, preload=None): salt '*' event.fire_master '{"data":"my event data"}' 'tag' ''' + if __opts__['local']: + ...
Don't send master events in local mode Closes #<I>
py
diff --git a/nhlib/site.py b/nhlib/site.py index <HASH>..<HASH> 100644 --- a/nhlib/site.py +++ b/nhlib/site.py @@ -43,6 +43,9 @@ class Site(object): :raises ValueError: If any of ``vs30``, ``z1pt0`` or ``z2pt5`` is zero or negative. + + .. note:: + :class:`Sites <Site>` are pickleable """...
site: added doc to note that Sites are pickleable
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,10 @@ DEPENDENCIES = ( "six>=1.9.0", ) -extras = {"aiohttp": "aiohttp >= 3.6.2, < 4.0.0dev; python_version>='3.6'"} +extras = { + "aiohttp": "aiohttp >= 3.6.2, < 4.0.0dev; python_version>='3.6'", + "pyo...
fix: add pyopenssl as extra dependency (#<I>) * fix: add pyopenssl as extra dependency * update
py
diff --git a/AegeanTools/catalogs.py b/AegeanTools/catalogs.py index <HASH>..<HASH> 100644 --- a/AegeanTools/catalogs.py +++ b/AegeanTools/catalogs.py @@ -358,8 +358,10 @@ def writeIslandContours(filename, catalog, fmt): #comment out lines that have invalid ra/dec (WCS problems) if np.nan in [c.ra, c....
islands without an angular size measurement no longer cuase a crash
py
diff --git a/src/you_get/extractors/google.py b/src/you_get/extractors/google.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/google.py +++ b/src/you_get/extractors/google.py @@ -61,7 +61,7 @@ def google_download(url, output_dir = '.', merge = True, info_only = False, **kw if not real_urls: ...
[google+] fix more post_date
py
diff --git a/charmhelpers/contrib/charmsupport/nrpe.py b/charmhelpers/contrib/charmsupport/nrpe.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/charmsupport/nrpe.py +++ b/charmhelpers/contrib/charmsupport/nrpe.py @@ -266,11 +266,14 @@ class NRPE(object): self.remove_check_queue = set() def add...
Make NRPE.add_check(shortname=...) optional again (#<I>) Commit <I>a<I> enforced the use of "shortname" in add_check when *args can carry the same value as first element. This change makes "shortname" key optional again, as documented at the beginning of the module.
py
diff --git a/frosted/api.py b/frosted/api.py index <HASH>..<HASH> 100644 --- a/frosted/api.py +++ b/frosted/api.py @@ -37,7 +37,7 @@ _re_noqa = re.compile(r'((frosted)[:=]\s*noqa)|(#\s*noqa)', re.I) def _noqa_lines(codeString): line_nums = [] - g = tokenize.generate_tokens(StringIO(codeString).readline) # ...
Cast code before testing for noqa lines
py
diff --git a/mopidy_musicbox_webclient/web.py b/mopidy_musicbox_webclient/web.py index <HASH>..<HASH> 100644 --- a/mopidy_musicbox_webclient/web.py +++ b/mopidy_musicbox_webclient/web.py @@ -41,11 +41,17 @@ class IndexHandler(tornado.web.RequestHandler): 'using %s', port) ws...
Link to Alarm Clock: fix Alarm Clock detection
py
diff --git a/osbs/http.py b/osbs/http.py index <HASH>..<HASH> 100644 --- a/osbs/http.py +++ b/osbs/http.py @@ -25,7 +25,7 @@ try: # py2 import httplib from urllib2 import HTTPError - from cStringIO import StringIO as BytesIO + from StringIO import StringIO as BytesIO except ImportError: # py3...
cStringIO -> StringIO cStringIO is flawed on python <I>. It prepends every characts with 3 zero caracters: \x<I> might be worth reporting but let's stick with StringIO now
py
diff --git a/nonebot/message.py b/nonebot/message.py index <HASH>..<HASH> 100644 --- a/nonebot/message.py +++ b/nonebot/message.py @@ -59,10 +59,11 @@ async def handle_message(bot: NoneBot, ctx: Context_T) -> None: def _log_message(ctx: Context_T) -> None: - msg_from = f'{ctx["user_id"]}' + msg_from = str(ct...
Log self_id while receiving messages
py
diff --git a/bulbs/content/models.py b/bulbs/content/models.py index <HASH>..<HASH> 100644 --- a/bulbs/content/models.py +++ b/bulbs/content/models.py @@ -546,7 +546,8 @@ class Content(PolymorphicIndexable, PolymorphicModel): feature_type_query_string = 'feature_type.slug:%s' % feature_type re...
`Content.search()` was returning results from all types in the index rather than just Content subclasses when the `types` parameter was specified yet empty.
py
diff --git a/spyderlib/widgets/explorer.py b/spyderlib/widgets/explorer.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/explorer.py +++ b/spyderlib/widgets/explorer.py @@ -25,7 +25,7 @@ except ImportError: from PyQt4.QtGui import (QDialog, QVBoxLayout, QLabel, QHBoxLayout, QDirModel, ...
File explorer: drag'n drop behavior has been changed to be consistent with Project explorer's
py
diff --git a/jaraco/net/notification.py b/jaraco/net/notification.py index <HASH>..<HASH> 100644 --- a/jaraco/net/notification.py +++ b/jaraco/net/notification.py @@ -21,7 +21,7 @@ import io import six -from jaraco.util.dictlib import DictFilter +from jaraco.collections import DictFilter class Notificatio...
Remove some dependency on jaraco.util
py
diff --git a/thefuck/shells/powershell.py b/thefuck/shells/powershell.py index <HASH>..<HASH> 100644 --- a/thefuck/shells/powershell.py +++ b/thefuck/shells/powershell.py @@ -4,10 +4,10 @@ from .generic import Generic class Powershell(Generic): def app_alias(self, fuck): return 'function ' + fuck + ' { \...
Add semi-colons in powershell alias Add semi-colons in powershell alias so that if line breaks get lost the function can still be invoked directly. This makes it possible to add thefuck to the current session by running iex "$(thefuck --alias)" which mirrors the eval syntax in bash
py
diff --git a/yowsup/layers/network/layer.py b/yowsup/layers/network/layer.py index <HASH>..<HASH> 100644 --- a/yowsup/layers/network/layer.py +++ b/yowsup/layers/network/layer.py @@ -64,6 +64,7 @@ class YowNetworkLayer(YowLayer, ConnectionCallbacks): def createConnection(self): self.state = self.__class__...
[log] output which endpoint network layer is using
py
diff --git a/django_cas_ng/views.py b/django_cas_ng/views.py index <HASH>..<HASH> 100644 --- a/django_cas_ng/views.py +++ b/django_cas_ng/views.py @@ -132,6 +132,10 @@ class LoginView(View): if user is not None: auth_login(request, user) + # from https://code.djangoproject.com/ticket/...
Fixes #<I> session.session_key is None for signed_cookies sessions on first request
py
diff --git a/scripts/ci/index_ref_doc.py b/scripts/ci/index_ref_doc.py index <HASH>..<HASH> 100644 --- a/scripts/ci/index_ref_doc.py +++ b/scripts/ci/index_ref_doc.py @@ -33,6 +33,8 @@ ALL_TESTS = [] CLI_VERSION = get_distribution('azure-cli').version for extension_name, exts in get_index_data()['extensions'].items...
suppress gen ref docs for botservice for now (#<I>)
py
diff --git a/topydo/lib/ListFormat.py b/topydo/lib/ListFormat.py index <HASH>..<HASH> 100644 --- a/topydo/lib/ListFormat.py +++ b/topydo/lib/ListFormat.py @@ -193,7 +193,9 @@ class ListFormatParser(object): # relative completion date 'X': lambda t: 'x ' + humanize_date(t.completion_date()) if ...
%Z is a <I> color block, %z is a <I> color block
py
diff --git a/prospector/profiles/__init__.py b/prospector/profiles/__init__.py index <HASH>..<HASH> 100644 --- a/prospector/profiles/__init__.py +++ b/prospector/profiles/__init__.py @@ -14,4 +14,8 @@ AUTO_LOADED_PROFILES = list(os.path.join(*parts) for parts in ( ('prospector', '.prospector.yml'), ('prospect...
[refs landscapeio/prospector#<I>] Fixing profile autoloading to also load from a directory named `.prospector` as documented.
py
diff --git a/hgtools/managers/library.py b/hgtools/managers/library.py index <HASH>..<HASH> 100644 --- a/hgtools/managers/library.py +++ b/hgtools/managers/library.py @@ -95,8 +95,7 @@ class LibraryManager(base.HGRepoManager): pass def version_match(self): - # TODO: what versions are supported? - return mercu...
To the best of my knowledge, there's no limit on version numbers using this technique.
py
diff --git a/openquake/engine/calculators/hazard/classical/core.py b/openquake/engine/calculators/hazard/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/classical/core.py +++ b/openquake/engine/calculators/hazard/classical/core.py @@ -306,9 +306,15 @@ BaseHazardCalculatorNext.fin...
calcs/hazard/classical/core: Hooked in the uhs post processing to the `post_process` method of the classical calculator. Former-commit-id: f<I>fed2ca<I>ffa7cf1cb<I>fe<I>feab7
py
diff --git a/km3pipe/math.py b/km3pipe/math.py index <HASH>..<HASH> 100644 --- a/km3pipe/math.py +++ b/km3pipe/math.py @@ -195,7 +195,7 @@ def lpnorm(x, p=2): def dist(x1, x2): - np.linalg.norm(x2 - x1, axis=1) + np.linalg.norm(np.array(x2) - np.array(x1), axis=1) def com(points, masses=None):
support tuples in dist()
py
diff --git a/openpnm/io/GenericIO.py b/openpnm/io/GenericIO.py index <HASH>..<HASH> 100644 --- a/openpnm/io/GenericIO.py +++ b/openpnm/io/GenericIO.py @@ -104,7 +104,7 @@ class GenericIO(): # Convert network to a list, even if empty if network is None: network = [] - else: + ...
BUGFIX: a parse funtion in GenericIO wasn't handling lists properly
py
diff --git a/tests/test_octodns_provider_base.py b/tests/test_octodns_provider_base.py index <HASH>..<HASH> 100644 --- a/tests/test_octodns_provider_base.py +++ b/tests/test_octodns_provider_base.py @@ -461,7 +461,7 @@ class TestBaseProvider(TestCase): normal.supports_warn_or_except('Hello World!', 'Goodbye') ...
Fix BaseProvider test call expect
py
diff --git a/blockstack/lib/config.py b/blockstack/lib/config.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/config.py +++ b/blockstack/lib/config.py @@ -164,7 +164,7 @@ if os.environ.get("BLOCKSTACK_TEST_MAX_RPC_LEN"): MAX_RPC_LEN = int(os.environ.get("BLOCKSTACK_TEST_MAX_RPC_LEN")) print("Overriding MA...
up to <I> threads (only <I> file descriptors are available anyway)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,5 +50,6 @@ setup( package_data={'adminfiles': ['media/adminfiles/*.*', 'media/adminfiles/mimetypes/*.png', 'templates/adminfiles/*.html', - ...
Adding locale directory to package_data
py
diff --git a/tests/support/gitfs.py b/tests/support/gitfs.py index <HASH>..<HASH> 100644 --- a/tests/support/gitfs.py +++ b/tests/support/gitfs.py @@ -210,7 +210,7 @@ class WebserverMixin(ModuleCase, ProcessManager, SaltReturnAssertsMixin): 'uwsgi_port': self.uwsgi_port, ...
Fix git_pillar integration tests on Arch The location of the git-http-backend is within /usr/lib instead of /usr/libexec. This also uncomments a line that was commented out for troubleshooting purposes.
py
diff --git a/mwtab/mwextract.py b/mwtab/mwextract.py index <HASH>..<HASH> 100644 --- a/mwtab/mwextract.py +++ b/mwtab/mwextract.py @@ -38,6 +38,17 @@ def extract_metadata(kwargs): def write_csv(): + """ + For metabolites: + metabolite_name, num_studies, num_analyses, num_samples, + + For metadata: + ...
Adds small amount of documentation to mwextract.py.
py
diff --git a/unyt/unit_symbols.py b/unyt/unit_symbols.py index <HASH>..<HASH> 100644 --- a/unyt/unit_symbols.py +++ b/unyt/unit_symbols.py @@ -20,7 +20,6 @@ For example:: # ----------------------------------------------------------------------------- from unyt.unit_object import Unit -from unyt.array import unyt_qu...
Not sure why these couldn't be units also
py
diff --git a/string/reverse_words.py b/string/reverse_words.py index <HASH>..<HASH> 100644 --- a/string/reverse_words.py +++ b/string/reverse_words.py @@ -6,23 +6,25 @@ def reverse(array, i, j): j -= 1 def reverse_words(string): - arr = list(string) + arr = string.strip().split() # arr is list of wor...
used split() to seperate words.
py
diff --git a/tornado/iostream.py b/tornado/iostream.py index <HASH>..<HASH> 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -366,7 +366,7 @@ class IOStream(object): def _set_read_callback(self, callback): assert not self._read_callback, "Already reading" - self._read_callback = call...
Restore context for all read methods. Prior to 2db0aceb<I>f5c<I>f<I>e<I>a<I>b<I>f<I> this was being done properly, but the refactor removed stack_context.wrap causing some issues in our upstream context managers.
py
diff --git a/salt/modules/boto_iam.py b/salt/modules/boto_iam.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto_iam.py +++ b/salt/modules/boto_iam.py @@ -660,6 +660,37 @@ def get_all_group_policies(group_name, region=None, key=None, keyid=None, return [] +def delete_group(group_name, region=None, key=...
Add the ability to delete a group
py
diff --git a/auditok/cmdline.py b/auditok/cmdline.py index <HASH>..<HASH> 100755 --- a/auditok/cmdline.py +++ b/auditok/cmdline.py @@ -321,9 +321,9 @@ def main(argv=None): "--timestamp-format", dest="timestamp_format", type=str, - default="%Y/%m/%D %H:%M:%S", + ...
Fix bug in default timestamp format in command line
py
diff --git a/pygccxml/binary_parsers/undname.py b/pygccxml/binary_parsers/undname.py index <HASH>..<HASH> 100644 --- a/pygccxml/binary_parsers/undname.py +++ b/pygccxml/binary_parsers/undname.py @@ -188,8 +188,8 @@ class undname_creator_t(object): # space will still exist argsep = ', ...
Pep8 cleanup Cherry-picked from the develop branch
py
diff --git a/insteonplm/protocol.py b/insteonplm/protocol.py index <HASH>..<HASH> 100755 --- a/insteonplm/protocol.py +++ b/insteonplm/protocol.py @@ -594,6 +594,10 @@ class PLM(asyncio.Protocol): msg.address, msg.group, msg.category, msg.subcategory, msg.firmware, msg.link...
Add a device to ALDB as soon as link is successful
py
diff --git a/cms_lab_members/cms_toolbar.py b/cms_lab_members/cms_toolbar.py index <HASH>..<HASH> 100644 --- a/cms_lab_members/cms_toolbar.py +++ b/cms_lab_members/cms_toolbar.py @@ -9,7 +9,7 @@ from cms.toolbar.items import Break, SubMenu from cms.cms_toolbar import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK @too...
Rename CMS Toolbar to something relevant
py
diff --git a/grapheneexchange/exchange.py b/grapheneexchange/exchange.py index <HASH>..<HASH> 100644 --- a/grapheneexchange/exchange.py +++ b/grapheneexchange/exchange.py @@ -1,5 +1,6 @@ from grapheneapi.grapheneclient import GrapheneClient -from graphenebase import transactions, operations +from graphenebase import t...
[exchange] fix returnFee operations decoding
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -1097,11 +1097,6 @@ class Editor(SpyderPluginWidget): if win.isAncestorOf(editorstack): self.set_last_focus_edi...
Editor: Add missing doctring to set_editorstack_for_introspection - Also move it to a better place
py
diff --git a/pyOCD/interface/__init__.py b/pyOCD/interface/__init__.py index <HASH>..<HASH> 100644 --- a/pyOCD/interface/__init__.py +++ b/pyOCD/interface/__init__.py @@ -43,10 +43,14 @@ if not usb_backend: usb_backend = "hidapiusb" elif PyWinUSB.isAvailable: usb_backend = "pywinusb" ...
Fail immediately when USB backend is missing Raise an exception when the USB backend is missing. This prevents the current script from crashing at some future point with a less understandable error message.
py
diff --git a/AegeanTools/catalogs.py b/AegeanTools/catalogs.py index <HASH>..<HASH> 100644 --- a/AegeanTools/catalogs.py +++ b/AegeanTools/catalogs.py @@ -96,17 +96,12 @@ def get_table_formats(): """ fmts = ['reg', 'fits'] fmts.extend(['vo', 'vot', 'xml']) - else: - log.info("VOTables are not s...
remove checks for ascii support as required version astropy has been updated
py
diff --git a/peri/opt/optimize.py b/peri/opt/optimize.py index <HASH>..<HASH> 100644 --- a/peri/opt/optimize.py +++ b/peri/opt/optimize.py @@ -817,6 +817,7 @@ class LMEngine(object): """ Broyden update of jacobian. """ + CLOG.debug('Broyden update.') delta_vals = self.param_va...
opt: Adding log.debugs when eig, broyden updates are callled.
py
diff --git a/mimesis/providers/generic.py b/mimesis/providers/generic.py index <HASH>..<HASH> 100755 --- a/mimesis/providers/generic.py +++ b/mimesis/providers/generic.py @@ -105,16 +105,15 @@ class Generic(BaseDataProvider): """ if inspect.isclass(cls): if not issubclass(cls, BaseProvide...
Use try/except instead of hasattr
py
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -1217,8 +1217,8 @@ def unhold(name=None, pkgs=None, sources=None, **kwargs): # pylint: disable=W06 elif salt.utils.is_true(state.get('hold', False)): ...
Fix when test=True and packages were being set to unheld.
py
diff --git a/src/__init__.py b/src/__init__.py index <HASH>..<HASH> 100755 --- a/src/__init__.py +++ b/src/__init__.py @@ -2,7 +2,7 @@ from cli import CLI from config import FileConfig from main import Main -SIMPLE_DB_MIGRATE_VERSION = "1.3.1" +SIMPLE_DB_MIGRATE_VERSION = "1.3.2" # fixing print in non-utf8 termi...
Preparing for version <I>.
py
diff --git a/ipyrad/__init__.py b/ipyrad/__init__.py index <HASH>..<HASH> 100644 --- a/ipyrad/__init__.py +++ b/ipyrad/__init__.py @@ -4,7 +4,7 @@ ## define state vars __interactive__ = 1 ## CLI __main__ changes to 0 -__version__ = "0.2.1" +__version__ = "0.2.0" ## Possible values for __loglevel__: "DEBUG" ...
version up to <I> bump
py
diff --git a/pyaxiom/__init__.py b/pyaxiom/__init__.py index <HASH>..<HASH> 100644 --- a/pyaxiom/__init__.py +++ b/pyaxiom/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.0.8" +__version__ = "0.0.9-dev" # Package level logger import logging
Bump to <I>-dev
py
diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_series.py +++ b/pandas/tests/test_series.py @@ -4022,7 +4022,8 @@ class TestSeries(tm.TestCase, CheckNameIntegration): raising = [ Series([3., 2, 1, 2, '5'], dtype='object'), ...
TST: remove complex<I> tests from nlargest/nsmallest
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -371,11 +371,11 @@ linkcheck_ignore = [ r'https://www\.youtube\.com/watch\?v=[\d\w\-_]+', r'https://youtu\.be/[\d\w\-_]+', # Giving 404s right now and is not going to change - r'https://twitte...
MNT: Properly escape periods in url patterns
py
diff --git a/prosper/common/prosper_cli.py b/prosper/common/prosper_cli.py index <HASH>..<HASH> 100644 --- a/prosper/common/prosper_cli.py +++ b/prosper/common/prosper_cli.py @@ -67,15 +67,15 @@ class ProsperApplication(cli.Application): platform=platform.node(), version=self.V...
changing get->get_option to be able to get options from environment
py
diff --git a/django_countries/__init__.py b/django_countries/__init__.py index <HASH>..<HASH> 100644 --- a/django_countries/__init__.py +++ b/django_countries/__init__.py @@ -226,7 +226,9 @@ class Countries(CountriesBase): If no match is found, returns an empty string. """ code = self.alpha2(...
Also make countries.name() work with OLD_NAMES
py
diff --git a/_pydevd_bundle/pydevd_net_command_factory_json.py b/_pydevd_bundle/pydevd_net_command_factory_json.py index <HASH>..<HASH> 100644 --- a/_pydevd_bundle/pydevd_net_command_factory_json.py +++ b/_pydevd_bundle/pydevd_net_command_factory_json.py @@ -268,6 +268,7 @@ class NetCommandFactoryJson(NetCommandFactory...
Consider stop on start command on DAP protocol.
py