diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/lib/emir/core.py b/lib/emir/core.py index <HASH>..<HASH> 100644 --- a/lib/emir/core.py +++ b/lib/emir/core.py @@ -105,6 +105,6 @@ def offsets_from_wcs(frames, pixref): with frame.open() as hdulist: wcsh = wcs.WCS(hdulist[0].header) pixval = wcsh.wcs_sky2pix(skyref, 1) - ...
Return the difference of offsets (minus the difference of coordinates)
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -660,12 +660,18 @@ class Instrument(object): hdict = {} # keys for existing higher order data labels ho_keys = [a for a in self.meta.keys_n...
ENH: Added check for variable within pandas DataFrame
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup(name='bandersnatch', - version='2.0.1.dev0', + version='2.1.0.dev0', description='Mirroring tool that implements the client (mirror) side of P...
setup.py edited to version <I> since there has been more changes
py
diff --git a/urbansim/sim/simulation.py b/urbansim/sim/simulation.py index <HASH>..<HASH> 100644 --- a/urbansim/sim/simulation.py +++ b/urbansim/sim/simulation.py @@ -1,16 +1,19 @@ from __future__ import print_function -import logging import inspect +import logging +import warnings from collections import Callable...
Ignore NaturalNameWarnings from pytables They come up when we store data under keys like '<I>/buildings' and warn that attribute access won't work (but key access works fine). We don't care about this warning.
py
diff --git a/raiden/tests/integration/transfer/test_refundtransfer.py b/raiden/tests/integration/transfer/test_refundtransfer.py index <HASH>..<HASH> 100644 --- a/raiden/tests/integration/transfer/test_refundtransfer.py +++ b/raiden/tests/integration/transfer/test_refundtransfer.py @@ -183,7 +183,13 @@ def test_refund_...
Skip test_refund_transfer_after_2nd_hop for matrix tests [ci integration]
py
diff --git a/bids/variables/io.py b/bids/variables/io.py index <HASH>..<HASH> 100644 --- a/bids/variables/io.py +++ b/bids/variables/io.py @@ -179,8 +179,8 @@ def _load_time_variables(layout, dataset=None, columns=None, scan_length=None, selectors['datatype'] = 'func' selectors['suffix'] = 'bold' - image...
ENH: Fetch CIFTI-2 or GIFTI BOLD series if applicable
py
diff --git a/hotdoc/parsers/gtk_doc.py b/hotdoc/parsers/gtk_doc.py index <HASH>..<HASH> 100644 --- a/hotdoc/parsers/gtk_doc.py +++ b/hotdoc/parsers/gtk_doc.py @@ -281,7 +281,7 @@ class GtkDocParser: return res def __extract_titles_params_and_description(self, comment): - titleandparams_descriptio...
gtk_doc: split title and description more precisely
py
diff --git a/django_databrowse/plugins/fieldchoices.py b/django_databrowse/plugins/fieldchoices.py index <HASH>..<HASH> 100644 --- a/django_databrowse/plugins/fieldchoices.py +++ b/django_databrowse/plugins/fieldchoices.py @@ -86,7 +86,7 @@ class FieldChoicePlugin(DatabrowsePlugin): def homepage_view(self, reque...
mod 'field_list' to be a list() so that .sort method is available
py
diff --git a/lib/astrodither/processInput.py b/lib/astrodither/processInput.py index <HASH>..<HASH> 100644 --- a/lib/astrodither/processInput.py +++ b/lib/astrodither/processInput.py @@ -2,6 +2,7 @@ from __future__ import division # confidence high import datetime import os import shutil +import string import pyf...
Changing definition of 'wcskey' in astrodrizzle to also support names, not just keys. git-svn-id: <URL>
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -104,6 +104,6 @@ setup(name='mxnet', description=open(os.path.join(CURRENT_DIR, 'README.md')).read(), packages=find_packages(), data_files=[('mxnet', [LIB_PATH[0]])], - url...
Updating the PyPi package URL to be Apache and not DMLC (#<I>)
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,12 +74,12 @@ author = 'Max Halford' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built docu...
Don't import from prince for readthedocs doesn't have the latest Python3 version
py
diff --git a/cumulusci/robotframework/Salesforce.py b/cumulusci/robotframework/Salesforce.py index <HASH>..<HASH> 100644 --- a/cumulusci/robotframework/Salesforce.py +++ b/cumulusci/robotframework/Salesforce.py @@ -127,7 +127,7 @@ class Salesforce(object): self.salesforce_delete(record["type"], record[...
Handle more exceptions while deleting session records
py
diff --git a/zipline/utils/events.py b/zipline/utils/events.py index <HASH>..<HASH> 100644 --- a/zipline/utils/events.py +++ b/zipline/utils/events.py @@ -44,6 +44,8 @@ __all__ = [ # Factory API 'DateRuleFactory', 'TimeRuleFactory', + 'date_rules', + 'time_rules', 'make_eventrule', ] @@ -49...
ENH: Provides aliases for the (Date|Time)RuleFactory classes for better Quantopian/Zipline interoperability
py
diff --git a/scoop/__main__.py b/scoop/__main__.py index <HASH>..<HASH> 100644 --- a/scoop/__main__.py +++ b/scoop/__main__.py @@ -166,7 +166,7 @@ class ScoopApp(object): # Checking if the broker if externally routable - if self.brokerHostname in utils.localHostnames and \ + if self.brokerHos...
Correct a regression introduced in <I>bbf<I>c<I>bf. If the local hostname is routable, it will appears in utils.localHostnames. However, in divideHosts we only want to compare the hostname to the ones that are not routable i.e. : <I>, localhost and ::1. Therefore we need to only compare to those, and not the one in ut...
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -39,9 +39,9 @@ copyright = u'2011, Thomas S. Hatch' # built documents. # # The short X.Y version. -version = '0.8.8' +version = '0.8.9' # The full version, including alpha/beta/rc tags. -release = '0.8.8' +rele...
Update shpinx conf to <I>
py
diff --git a/extension.py b/extension.py index <HASH>..<HASH> 100644 --- a/extension.py +++ b/extension.py @@ -134,7 +134,7 @@ class Extension: def __repr__(self): return '<%s.%s(%r) at %#x>' % ( self.__class__.__module__, - self.__class__.__name__, + self.__class__.__qu...
Issue #<I>: __qualname__ instead of __name__ is now always used to format fully qualified class names of Python implemented classes.
py
diff --git a/broqer/op/reduce.py b/broqer/op/reduce.py index <HASH>..<HASH> 100644 --- a/broqer/op/reduce.py +++ b/broqer/op/reduce.py @@ -6,9 +6,9 @@ from ._operator import Operator, build_operator class Reduce(Operator): - def __init__(self, publisher:Publisher, func:Callable[[Any], Any], initializer=None): + ...
added .cache to op.reduce
py
diff --git a/staff/views.py b/staff/views.py index <HASH>..<HASH> 100644 --- a/staff/views.py +++ b/staff/views.py @@ -6,6 +6,7 @@ from django.shortcuts import get_object_or_404, render_to_response from django.template import RequestContext from django.template.loader import render_to_string from django.utils import...
send email with proper Reply-To header
py
diff --git a/test/integration/test_projects_api.py b/test/integration/test_projects_api.py index <HASH>..<HASH> 100644 --- a/test/integration/test_projects_api.py +++ b/test/integration/test_projects_api.py @@ -10,9 +10,12 @@ def get_projects_api(): projects_api = ProjectsApi(utils.get_api_client()) -@pytest.f...
project creation fixture to 'module' scope, add finalizer to remove when finished
py
diff --git a/aioupnp/upnp.py b/aioupnp/upnp.py index <HASH>..<HASH> 100644 --- a/aioupnp/upnp.py +++ b/aioupnp/upnp.py @@ -13,14 +13,6 @@ from aioupnp.commands import GetGenericPortMappingEntryResponse, GetSpecificPort log = logging.getLogger(__name__) -def _encode(x): - if isinstance(x, bytes): - return...
skip coverage for gather_debug_info
py
diff --git a/xero/__init__.py b/xero/__init__.py index <HASH>..<HASH> 100644 --- a/xero/__init__.py +++ b/xero/__init__.py @@ -1,4 +1,10 @@ -from .api import Xero +try: + # This try-catch is necessary to make sure we can get + # VERSION from the base xero module before all the + # dependencies have been import...
Fixed #2 -- Make sure setup.py will work before dateutil is installed. Thanks to stefanhenze for the report.
py
diff --git a/django_summernote/widgets.py b/django_summernote/widgets.py index <HASH>..<HASH> 100644 --- a/django_summernote/widgets.py +++ b/django_summernote/widgets.py @@ -82,7 +82,7 @@ class SummernoteInplaceWidget(SummernoteWidgetBase): class Media: css = {'all': (summernote_config['inplacewidget_ext...
Fix reference to django_summernote.css The in place widget references ``django_summernote/django-summernote.css``, which doesn't exist -- the filename uses an underscore, not a dash.
py
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index <HASH>..<HASH> 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -786,7 +786,7 @@ class ComposeCommand(Command): @registerCommand(MODE, 'move', help='move focus in current buffer', arguments=[(['movement'], {...
make MoveCommand interpret 'first' direction with this, one can get the familiar 'gg' behaviour from vim: just bind 'g g' = move first cf issue #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( license='BSD License', url='https://github.com/gtaylor/django-dynamodb-sessions', platforms=["any"], - install_requires=['django', "boto>=2.2.2"], + install_requires=['django', "boto>...
Updated the boto requirement to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( test_suite = "tests", install_requires = [ - "PyStemmer==1.2.0", + "PyStemmer==1.3.0", "argparse==1.2.1", "irc==8.5.4" ],
Update setup.py with new version of PyStemmer PyStemmer <I> is compatible with pypy
py
diff --git a/agon_ratings/urls.py b/agon_ratings/urls.py index <HASH>..<HASH> 100644 --- a/agon_ratings/urls.py +++ b/agon_ratings/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls.defaults import * +from django.conf.urls import * urlpatterns = patterns("agon_ratings.views",
Update urls.py to work on Django <I>
py
diff --git a/codenerix_storages/views_stockcontrol.py b/codenerix_storages/views_stockcontrol.py index <HASH>..<HASH> 100644 --- a/codenerix_storages/views_stockcontrol.py +++ b/codenerix_storages/views_stockcontrol.py @@ -1873,6 +1873,11 @@ class InventoryOutAlbaranar(View): # We have ...
Do not commit if we couldn't send all products
py
diff --git a/nodeconductor/core/mixins.py b/nodeconductor/core/mixins.py index <HASH>..<HASH> 100644 --- a/nodeconductor/core/mixins.py +++ b/nodeconductor/core/mixins.py @@ -1,14 +1,14 @@ from __future__ import unicode_literals -from django.core.paginator import EmptyPage -from rest_framework.templatetags.rest_framew...
Fix a bug with page range lookup
py
diff --git a/vCenterShell/vm/portgroup_configurer.py b/vCenterShell/vm/portgroup_configurer.py index <HASH>..<HASH> 100644 --- a/vCenterShell/vm/portgroup_configurer.py +++ b/vCenterShell/vm/portgroup_configurer.py @@ -49,19 +49,22 @@ class VirtualMachinePortGroupConfigurer(object): return update_mapping ...
fixing portgroup does not removing after disconnect
py
diff --git a/frontend/webapp/pages/course_admin/task_edit.py b/frontend/webapp/pages/course_admin/task_edit.py index <HASH>..<HASH> 100644 --- a/frontend/webapp/pages/course_admin/task_edit.py +++ b/frontend/webapp/pages/course_admin/task_edit.py @@ -221,7 +221,8 @@ class CourseEditTask(INGIniousAdminPage): ...
Groups field not available if single user course closes #<I>
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -20,6 +20,7 @@ test_paths = [ '~/gigwalk/apps/gigwalk_apps_platform_api/back/lib/python2.7/site-packages/_pytest/core.py', '~/gigwalk/apps/api-tests/test/index.js', '~/airlab/repos/rookery/app/mailers/homes_collections_ma...
add subprocess.py to test paths
py
diff --git a/blocks/__main__.py b/blocks/__main__.py index <HASH>..<HASH> 100644 --- a/blocks/__main__.py +++ b/blocks/__main__.py @@ -111,6 +111,11 @@ def mk_dm(devname, table, readonly, exit_stack): 'dmsetup remove --noudevsync --'.split() + [devname])) +def devpath_from_sysdir(sd): + with open(sd...
Extract a function to map from sys to dev.
py
diff --git a/wagtailvideos/models.py b/wagtailvideos/models.py index <HASH>..<HASH> 100644 --- a/wagtailvideos/models.py +++ b/wagtailvideos/models.py @@ -280,6 +280,7 @@ class AbstractVideo(CollectionMember, index.Indexed, models.Model): class Meta: abstract = True + ordering = ['-created_at'] ...
Set an explicit ordering on Videos Django throws a warning if you paginate a queryset without an explicit ordering.
py
diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole.py +++ b/spyder/plugins/ipythonconsole.py @@ -1588,18 +1588,9 @@ class IPythonConsole(SpyderPluginWidget): def restart_kernel(self): """Restart kernel of curren...
IPython console: Remove unnecessary code to restart kernels
py
diff --git a/src/umbra/patchesManager.py b/src/umbra/patchesManager.py index <HASH>..<HASH> 100644 --- a/src/umbra/patchesManager.py +++ b/src/umbra/patchesManager.py @@ -275,6 +275,9 @@ class PatchesManager(object): :return: Method success. ( Boolean ) """ + if not self.__paths: + return + osWalker = OsW...
Prevent exception in "umbra.patchesManager.PatchesManager" class if no paths are provided.
py
diff --git a/openfisca_core/holders.py b/openfisca_core/holders.py index <HASH>..<HASH> 100644 --- a/openfisca_core/holders.py +++ b/openfisca_core/holders.py @@ -58,9 +58,12 @@ class Holder(object): def array(self, array): simulation = self.entity.simulation if simulation.trace: - sim...
Don't erase existing step, when updating it.
py
diff --git a/aiogram/dispatcher/filters/__init__.py b/aiogram/dispatcher/filters/__init__.py index <HASH>..<HASH> 100644 --- a/aiogram/dispatcher/filters/__init__.py +++ b/aiogram/dispatcher/filters/__init__.py @@ -1,5 +1,6 @@ from .builtin import Command, CommandHelp, CommandPrivacy, CommandSettings, CommandStart, Co...
Fixed missed `IsReplyFilter` import
py
diff --git a/datatables/datatables.py b/datatables/datatables.py index <HASH>..<HASH> 100644 --- a/datatables/datatables.py +++ b/datatables/datatables.py @@ -119,7 +119,10 @@ class DataTables: col = self.columns[j] tmp_row = get_attr(self.results[i], col.column_name) ...
Fix to unicode problem in <I>
py
diff --git a/certstream/core.py b/certstream/core.py index <HASH>..<HASH> 100644 --- a/certstream/core.py +++ b/certstream/core.py @@ -48,16 +48,14 @@ class CertStreamClient(WebSocketApp): self.on_error_handler(instance, ex) logging.error("Error connecting to CertStream - {} - Sleeping for a few s...
Allow for more flexibility with arguments to the underlying WebSocketApp
py
diff --git a/cmsplugin_cascade/plugin_base.py b/cmsplugin_cascade/plugin_base.py index <HASH>..<HASH> 100644 --- a/cmsplugin_cascade/plugin_base.py +++ b/cmsplugin_cascade/plugin_base.py @@ -122,7 +122,8 @@ class CascadePluginBaseMetaclass(CascadePluginMixinMetaclass, CMSPluginBaseMetac if name in cls.plugins_...
a Plugins withh sharables always requires a glossary field
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,9 +34,6 @@ setup( 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming ...
setup.py: Remove specific Python versions
py
diff --git a/asyncpgsa/pgsingleton.py b/asyncpgsa/pgsingleton.py index <HASH>..<HASH> 100644 --- a/asyncpgsa/pgsingleton.py +++ b/asyncpgsa/pgsingleton.py @@ -22,6 +22,10 @@ class PG: 'before you can make queries') else: return self.__pool + + @pro...
Added the initialized property. (#<I>) I see no reason why this shouldn't be part of the API.
py
diff --git a/awsmfa/__main__.py b/awsmfa/__main__.py index <HASH>..<HASH> 100755 --- a/awsmfa/__main__.py +++ b/awsmfa/__main__.py @@ -90,13 +90,17 @@ def main(args=None): return USER_RECOVERABLE_ERROR else: raise - remaining = response['Credentials']['Expiration'] - datetime.datet...
Extract the printing of expiration time.
py
diff --git a/airflow/www/app.py b/airflow/www/app.py index <HASH>..<HASH> 100644 --- a/airflow/www/app.py +++ b/airflow/www/app.py @@ -111,7 +111,7 @@ def create_app(config=None): admin.add_view(v) for bp in flask_blueprints: app.register_blueprint(bp) - for ml ...
[AIRFLOW-<I>] Sort plugins dropdown Closes #<I> from varantz/sorting_plugins_in_dropdown.
py
diff --git a/grace/zipit.py b/grace/zipit.py index <HASH>..<HASH> 100644 --- a/grace/zipit.py +++ b/grace/zipit.py @@ -46,7 +46,7 @@ class Zip: for root, dirs, files in os.walk(source): for f in files: - zipfilename = name + os.sep + re.split(source, os.path.join(root, f))[1] + ...
zipping of projects Fixed an error where zipping would not work on windows. The fix should make it work consistently on all platforms.
py
diff --git a/slave/buildslave/test/unit/test_commands_mtn.py b/slave/buildslave/test/unit/test_commands_mtn.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/test/unit/test_commands_mtn.py +++ b/slave/buildslave/test/unit/test_commands_mtn.py @@ -493,6 +493,7 @@ class TestMonotone(SourceCommandTestMixin, unittest.T...
Fix missing patch that caused tests to fail for Monotone
py
diff --git a/glue_vispy_viewers/version.py b/glue_vispy_viewers/version.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/version.py +++ b/glue_vispy_viewers/version.py @@ -1 +1 @@ -__version__ = '0.5' +__version__ = '0.6'
Preparing release <I>
py
diff --git a/src/foremast/destroyer.py b/src/foremast/destroyer.py index <HASH>..<HASH> 100644 --- a/src/foremast/destroyer.py +++ b/src/foremast/destroyer.py @@ -28,13 +28,19 @@ def main(): for env in ENVS: for region in REGIONS: destroy_dns(app=args.app, env=env) + try: ...
fix: Ignore Security Group delete errors See also: PSOBAT-<I>
py
diff --git a/gwpy/detector/channel.py b/gwpy/detector/channel.py index <HASH>..<HASH> 100644 --- a/gwpy/detector/channel.py +++ b/gwpy/detector/channel.py @@ -84,8 +84,8 @@ class Channel(object): (https://cis.ligo.org) for which a query interface is provided. """ MATCH = re.compile( - r'(?P<ifo>[A...
Channel.parse_channel_name: optional ifo group - correctly continues regex if IFO group is not found, but valid characters are there in place - this means that channels in the middle of a sentence would not be parsed, but in the middle of a word would
py
diff --git a/src/chemcoord/internal_coordinates/_zmat_class_io.py b/src/chemcoord/internal_coordinates/_zmat_class_io.py index <HASH>..<HASH> 100644 --- a/src/chemcoord/internal_coordinates/_zmat_class_io.py +++ b/src/chemcoord/internal_coordinates/_zmat_class_io.py @@ -74,7 +74,7 @@ class ZmatIO(ZmatCore, GenericIO): ...
BUG: Small bugfix (undefined variable)
py
diff --git a/zinnia/tests/test_feeds.py b/zinnia/tests/test_feeds.py index <HASH>..<HASH> 100644 --- a/zinnia/tests/test_feeds.py +++ b/zinnia/tests/test_feeds.py @@ -1,3 +1,4 @@ +# coding=utf-8 """Test cases for Zinnia's feeds""" try: from urllib.parse import urljoin @@ -201,6 +202,19 @@ class FeedsTestCase(Tes...
Reproduce issue for author feed, with accentued name
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.58.0" +__version__ = "0.59.0"
Update version number to <I>
py
diff --git a/applicationinsights/django/middleware.py b/applicationinsights/django/middleware.py index <HASH>..<HASH> 100644 --- a/applicationinsights/django/middleware.py +++ b/applicationinsights/django/middleware.py @@ -127,8 +127,9 @@ class ApplicationInsightsMiddleware(object): context.user.user_agent = r...
Check that the request object has the user attribute (#<I>)
py
diff --git a/src/edeposit/amqp/storage/settings.py b/src/edeposit/amqp/storage/settings.py index <HASH>..<HASH> 100755 --- a/src/edeposit/amqp/storage/settings.py +++ b/src/edeposit/amqp/storage/settings.py @@ -35,6 +35,11 @@ import os.path #: Path to the directory with zeo.conf and zeo_client.conf ZCONF_PATH = os.pa...
Added new settings - PROJECT_KEY, PUBLIC_DIR, PRIVATE_DIR.
py
diff --git a/pipeline/manifest.py b/pipeline/manifest.py index <HASH>..<HASH> 100644 --- a/pipeline/manifest.py +++ b/pipeline/manifest.py @@ -29,6 +29,8 @@ class PipelineManifest(Manifest): return packages def cache(self): + ignore_patterns = getattr(settings, "STATICFILES_IGNORE_PATTERNS", None...
provide required argument ```` class BaseStorageFinder(BaseFinder):     ...     def list(self, ignore_patterns):                 .... ```` this class is present (and identical with regards to the list method) in both :  ```` staticfiles/finders.py @<I> django/contrib/staticfiles/finders.py @<I> ````...
py
diff --git a/moto/iam/models.py b/moto/iam/models.py index <HASH>..<HASH> 100644 --- a/moto/iam/models.py +++ b/moto/iam/models.py @@ -101,11 +101,13 @@ class AWSManagedPolicy(ManagedPolicy): path=data.get('Path'), document=data.get('Document')) + # AWS defines some of its own...
fixing whitespace on AWS managed policies
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup( url="https://github.com/astrocatalogs/astrocats", packages=find_packages(), # scripts=['astrocats/main.py'], - entry_points={'console_scripts': 'astrocats = astrocats.main'}, + entry_...
BUG: fix 'console_scripts' entry points.
py
diff --git a/tacl/data_store.py b/tacl/data_store.py index <HASH>..<HASH> 100644 --- a/tacl/data_store.py +++ b/tacl/data_store.py @@ -80,10 +80,16 @@ class DataStore: if catalogue: for work in catalogue: db_witnesses = self._get_text_ids(work) + has_witnesses = Fal...
Raise error when building a database from a catalogue when a referenced work is not in the corpus.
py
diff --git a/ariba/summary.py b/ariba/summary.py index <HASH>..<HASH> 100644 --- a/ariba/summary.py +++ b/ariba/summary.py @@ -338,7 +338,7 @@ class Summary: pdm = dendropy.PhylogeneticDistanceMatrix.from_csv(src=f, delimiter='\t') upgma_tree = pdm.upgma_tree() with open(outfile, 'w') as ...
Remove single quotes in tre file, to keep phandango happy
py
diff --git a/test/test_task.py b/test/test_task.py index <HASH>..<HASH> 100644 --- a/test/test_task.py +++ b/test/test_task.py @@ -375,7 +375,7 @@ run: expand=True # sos should quit self.assertGreater(len(ret['pending_tasks']), 0) # - time.sleep(28) + time.sleep(38) pri...
Fix occassional failure of NoWait test on travis
py
diff --git a/nginx.py b/nginx.py index <HASH>..<HASH> 100755 --- a/nginx.py +++ b/nginx.py @@ -518,7 +518,7 @@ def loads(data, conf=True): if ";" not in data[index:] and index+1 != len(data): # If there is still something to parse, expect ';' otherwise # the Key regexp can get stuck d...
Change f-string to old format to support older python versions
py
diff --git a/ci/constants.py b/ci/constants.py index <HASH>..<HASH> 100644 --- a/ci/constants.py +++ b/ci/constants.py @@ -86,5 +86,5 @@ BROKEN_RECIPES = { # recipes that were already built will be skipped CORE_RECIPES = set([ 'pyjnius', 'kivy', 'openssl', 'requests', 'sqlite3', 'setuptools', - 'numpy', 'andr...
[crystax] Add hostpython recipes to CORE_RECIPES Because we already build them whenever we build our python recipes, so this way we will avoid to make it fail the `CI` test `rebuild_updated_recipes` in the case that we have to touch both hostpython recipes at the same time
py
diff --git a/src/pybel/manager/models.py b/src/pybel/manager/models.py index <HASH>..<HASH> 100644 --- a/src/pybel/manager/models.py +++ b/src/pybel/manager/models.py @@ -741,7 +741,7 @@ class Evidence(Base): text = Column(Text, nullable=False, doc='Supporting text from a given publication') citation_id =...
Fixed problem with cardinality of relationship
py
diff --git a/lib/emir/image/__init__.py b/lib/emir/image/__init__.py index <HASH>..<HASH> 100644 --- a/lib/emir/image/__init__.py +++ b/lib/emir/image/__init__.py @@ -22,7 +22,7 @@ import numpy from scipy import maximum, minimum -def subarray_match(shape, ref, sshape, sref = None): +def subarray_match(shape, ref, s...
Changed the default value of the reference point in a subarray from center to [0,0]
py
diff --git a/salt/states/cloud.py b/salt/states/cloud.py index <HASH>..<HASH> 100644 --- a/salt/states/cloud.py +++ b/salt/states/cloud.py @@ -34,7 +34,7 @@ def _valid(name, comment='', changes=None): 'comment': comment} -def present(name, cloud_provider, onlyif=None, unless=None): +def present(name, c...
salt.cloud.states.present: support profile kwargs
py
diff --git a/examples/manage-shorty.py b/examples/manage-shorty.py index <HASH>..<HASH> 100755 --- a/examples/manage-shorty.py +++ b/examples/manage-shorty.py @@ -1,9 +1,12 @@ #!/usr/bin/env python +import os +import tempfile from werkzeug import script def make_app(): from shorty.application import Shorty - ...
Fixed DB path so that shorty runs on Windows
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -420,6 +420,9 @@ class SoCo(_SocoSingletonBase): strange, I know.) * ``'SHUFFLE_NOREPEAT'`` -- Turns on shuffle and turns off repeat. + * ``'REPEAT_ONE'`` -- Turns ...
Updated documentation for core.play_mode
py
diff --git a/uncompyle6/parsers/parse2.py b/uncompyle6/parsers/parse2.py index <HASH>..<HASH> 100644 --- a/uncompyle6/parsers/parse2.py +++ b/uncompyle6/parsers/parse2.py @@ -541,7 +541,8 @@ class Python2Parser(PythonParser): elif lhs in ('raise_stmt1',): # We will assme 'LOAD_ASSERT' will be hand...
More raise vs. assert hacky distinctions
py
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -818,6 +818,10 @@ class Greedy(List[T]): def __init__(self, *, converter: T): self.converter = converter + ...
[commands] Fix repr for Greedy
py
diff --git a/lib/webcomment_templates.py b/lib/webcomment_templates.py index <HASH>..<HASH> 100644 --- a/lib/webcomment_templates.py +++ b/lib/webcomment_templates.py @@ -1268,7 +1268,7 @@ class Template: 'title_label': _("Give a title to your review"), 'write_label': _("...
WebComment: escape review "title" * Escapes title of a review when displaying the review form with some initial value (complements <I>d<I> for maint-<I> and above).
py
diff --git a/acos_client/v30/action.py b/acos_client/v30/action.py index <HASH>..<HASH> 100644 --- a/acos_client/v30/action.py +++ b/acos_client/v30/action.py @@ -127,3 +127,18 @@ class Action(base.BaseV30): def get_acos_version(self): url = "/version/oper" return self._get(url) + + def reload...
Incorporated review comment to add reload_reboot method
py
diff --git a/galpy/util/bovy_conversion.py b/galpy/util/bovy_conversion.py index <HASH>..<HASH> 100644 --- a/galpy/util/bovy_conversion.py +++ b/galpy/util/bovy_conversion.py @@ -476,7 +476,7 @@ def physical_conversion(quantity,pop=False): def wrapper(method): @wraps(method) def wrapped(*args,**k...
Add force and pop the use_physical kwarg
py
diff --git a/cslbot/helpers/control.py b/cslbot/helpers/control.py index <HASH>..<HASH> 100644 --- a/cslbot/helpers/control.py +++ b/cslbot/helpers/control.py @@ -254,7 +254,7 @@ def accept_poll(handler, db, pid): channel = handler.config['core']['channel'] botnick = handler.config['core']['nick'] nick =...
improve accept formating, fix #<I>
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,6 +1,5 @@ import os import sys -from nose.tools import * from os.path import normpath import tempfile import shutil @@ -9,19 +8,16 @@ import logging from unittest import mock -def assert_se...
test: Remove dependencies from nose in tests/utils.py
py
diff --git a/telephus/protocol.py b/telephus/protocol.py index <HASH>..<HASH> 100644 --- a/telephus/protocol.py +++ b/telephus/protocol.py @@ -87,9 +87,7 @@ class ManagedThriftClientProtocol(TTwisted.ThriftClientProtocol): class AuthenticatedThriftClientProtocol(ManagedThriftClientProtocol): def __init_...
simplify AuthenticatedThriftClientProtocol init can just call its parent class now, since the places where it differed in setup procedure have been moved out to a method. this also fixes an error handling case in AuthenticatedThriftClientProtocol, due to its lacking an 'aborted' attribute.
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -15,20 +15,23 @@ if HAS_UNICODE_LITERAL: run_idx = int(os.environ.pop("SH_TEST_RUN_IDX", "0")) first_run = run_idx == 0 - import coverage - - # for some reason, we can't run auto_data on the first run, or the cov...
don't fail tests if can't import coverage
py
diff --git a/salt/pillar/hiera.py b/salt/pillar/hiera.py index <HASH>..<HASH> 100644 --- a/salt/pillar/hiera.py +++ b/salt/pillar/hiera.py @@ -32,7 +32,7 @@ def ext_pillar(minion_id, pillar, conf): cmd = 'hiera -c {0}'.format(conf) for key, val in __grains__.items(): if isinstance(val, string_types):...
FIX: proper quoting, as custom grains value can contain single quote character
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -45,8 +45,7 @@ def icon(): def qgisMinimumVersion(): - """Minimum version of QGIS needed to run this plugin - - currently set to 1.7.""" + """Minimum version of QGIS needed to run this plugin - curren...
Dont line wrap comment as it causes plugin validator on qgis repo site to fail
py
diff --git a/tests/integration/modules/test_state.py b/tests/integration/modules/test_state.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_state.py +++ b/tests/integration/modules/test_state.py @@ -1972,6 +1972,7 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin): ...
Disabling two tests when using Python 3 and OS X
py
diff --git a/src/tea/utils/crypto.py b/src/tea/utils/crypto.py index <HASH>..<HASH> 100644 --- a/src/tea/utils/crypto.py +++ b/src/tea/utils/crypto.py @@ -216,7 +216,7 @@ if platform.is_only(platform.WINDOWS): def get_key(): key = _vault_retrieve('tea', 'tea-crypt') if key: - ...
Fixed windows keygetter in combination with pycrypto
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 @@ -2243,4 +2243,4 @@ class Results: if not_included: logging.info("Voltage levels for {nodes} are not returned from PFA".format( ...
Changed output of v_res() to fix error in dev #<I> KeyError in LV voltage check was fixed, this was caused due to the presence of a MultiIndex column with the 'mv' or 'lv' label. It was decided not to use PR #<I> because it was hard to recognize where else this change would have an impact.
py
diff --git a/xmantissa/signup.py b/xmantissa/signup.py index <HASH>..<HASH> 100644 --- a/xmantissa/signup.py +++ b/xmantissa/signup.py @@ -34,8 +34,7 @@ class TicketClaimer(Page): lgo = getattr(res, 'logout', lambda : None) ISession(ctx).setDefaultResource(res, lgo) return URL.fro...
Transact Store service startup; use unsigned ID in __repr__ for prettier results; fix negative signup path
py
diff --git a/safe/gui/tools/options_dialog.py b/safe/gui/tools/options_dialog.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/options_dialog.py +++ b/safe/gui/tools/options_dialog.py @@ -137,7 +137,6 @@ class OptionsDialog(QDialog, FORM_CLASS): # Hide checkbox if not developers if not self.cbxDevM...
Show option to show memory for all user.
py
diff --git a/salt/fileclient.py b/salt/fileclient.py index <HASH>..<HASH> 100644 --- a/salt/fileclient.py +++ b/salt/fileclient.py @@ -1391,7 +1391,17 @@ class RemoteClient(Client): ''' Return the metadata derived from the master_tops system ''' - load = {'cmd': '_master_tops', + ...
The _ext_nodes master function has been renamed to _master_tops. To ensure compatibility when using older Salt masters we continue to pass the function as _ext_nodes until the Magnesium release.
py
diff --git a/mtglib/constants.py b/mtglib/constants.py index <HASH>..<HASH> 100644 --- a/mtglib/constants.py +++ b/mtglib/constants.py @@ -3,9 +3,26 @@ base_url = ('http://gatherer.wizards.com/Pages/Search/Default.aspx' random_url = 'http://gatherer.wizards.com/Pages/Card/Details.aspx?action=random' -TYPES = set([...
Add "conspiracy" and "phenomenon" card types. From the "Conspiracy" and "Planechase <I>" sets.
py
diff --git a/quark/backend.py b/quark/backend.py index <HASH>..<HASH> 100644 --- a/quark/backend.py +++ b/quark/backend.py @@ -46,7 +46,8 @@ class Backend(object): self.dist = du def visit_Dependency(self, dep): - self.dependencies["%s:%s.%s-%s" % (dep.lang, dep.group, dep.artifact, dep.version)]...
Don't emit your dependencies' dependencies as your own
py
diff --git a/nfc/clf/transport.py b/nfc/clf/transport.py index <HASH>..<HASH> 100644 --- a/nfc/clf/transport.py +++ b/nfc/clf/transport.py @@ -35,6 +35,9 @@ class TTY(object): @classmethod def find(cls, path): + if not (path.startswith("tty") or path.startswith("com")): + return + ...
prevent access error on windows when reading manufacturer and product name after device was opened
py
diff --git a/stellar/command.py b/stellar/command.py index <HASH>..<HASH> 100644 --- a/stellar/command.py +++ b/stellar/command.py @@ -195,6 +195,7 @@ def init(): print else: db_name = url.rsplit('/', 1)[-1] + url = url.rsplit('/', 1)[0] + '/' name = click.prompt( '...
Fix incorrect configuration file after init Url and stellar_url data in stellar.yaml configuration file data should not include database name.
py
diff --git a/lenstronomy/LensModel/Optimizer/optimizer_params.py b/lenstronomy/LensModel/Optimizer/optimizer_params.py index <HASH>..<HASH> 100644 --- a/lenstronomy/LensModel/Optimizer/optimizer_params.py +++ b/lenstronomy/LensModel/Optimizer/optimizer_params.py @@ -1,4 +1,5 @@ from lenstronomy.LensModel.Optimizer.fix...
Fix missing import in optimizer_params Like the last commit, this file relied on import * to bring in symbols from another module. Added explicit imports instead.
py
diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py index <HASH>..<HASH> 100644 --- a/searx/engines/gigablast.py +++ b/searx/engines/gigablast.py @@ -41,8 +41,6 @@ url_xpath = './/url' title_xpath = './/title' content_xpath = './/sum' -supported_languages_url = 'https://gigablast.com/search?&rxikd=...
[fix] gigablast does no longer support *supported_languages_url* Since there are zero results, we can remove it: $ make engines.languages fetch languages .. ... fetched 0 languages from engine gigablast
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,8 +5,9 @@ from setuptools import setup setup(name='izaber', version='1.06', description='Base load point for iZaber code', - url='', author='Aki Mimoto', + url = 'https://github.com/zabertech...
make it possible to upload to pypi
py
diff --git a/spambl.py b/spambl.py index <HASH>..<HASH> 100644 --- a/spambl.py +++ b/spambl.py @@ -10,7 +10,16 @@ class SpamBLError(Exception): class UnknownCodeError(SpamBLError): ''' Raise when trying to use an unexpected value of dnsbl return code ''' + +class DNSBLClientError(SpamBLError): + ''' A ba...
Add DNSBLClientError
py
diff --git a/services/tests.py b/services/tests.py index <HASH>..<HASH> 100644 --- a/services/tests.py +++ b/services/tests.py @@ -241,7 +241,7 @@ class TestServicesApp(AuthenticatedAPITestCase): # mock identity lookup responses.add( responses.GET, - 'http://example.org/api/hea...
Update responses path to current health endpoint
py
diff --git a/mpldatacursor/pick_info.py b/mpldatacursor/pick_info.py index <HASH>..<HASH> 100644 --- a/mpldatacursor/pick_info.py +++ b/mpldatacursor/pick_info.py @@ -103,6 +103,7 @@ def line_props(event): # on the line instead of at the point clicked. (x0, x1), (y0, y1) = xorig[[i, i+1]], yorig[[i, i+1]] ...
Fixed line interpolation bug. Kudos to @dand-oss for the catch!
py
diff --git a/dipper/sources/ClinVarXML_alpha.py b/dipper/sources/ClinVarXML_alpha.py index <HASH>..<HASH> 100755 --- a/dipper/sources/ClinVarXML_alpha.py +++ b/dipper/sources/ClinVarXML_alpha.py @@ -295,10 +295,7 @@ with gzip.open(FILENAME, 'rt') as fh: # XRef[@DB="dbSNP"]/@ID for RCV_dbSNP in...
move source of dbsnp up one level
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,9 +12,9 @@ class build_ext_first(build_py_orig): DEFAULT = ["mupdf", "mupdf-third"] -ARCH_LINUX = DEFAULT + ["jbig2dec", "openjp2", "jpeg", "freetype"] +ARCH_LINUX = DEFAULT + ["jbig2dec", "openjp2", "jpeg", "freetype...
build against system gumbo library on Arch Linux and openSUSE
py
diff --git a/mythril/laser/ethereum/state/account.py b/mythril/laser/ethereum/state/account.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/state/account.py +++ b/mythril/laser/ethereum/state/account.py @@ -76,9 +76,8 @@ class Storage: if is_keccak_storage: item = self._sanitize(cast(B...
Revert commit that should not have been here (other PR)
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -155,7 +155,7 @@ project = 'Salt' copyright = '2016 SaltStack, Inc.' version = salt.version.__version__ -latest_release = '2015.8.5' # latest release +latest_release = '2015.8.7' # latest release previous_re...
changed latest release to <I>
py
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_obj.py +++ b/pycm/pycm_obj.py @@ -297,7 +297,8 @@ class ConfusionMatrix(): class_param=None, class_name=None, matrix_save=True, - normalize=False): + normalize=False,...
fix : summary mode added to save_csv method #<I>
py
diff --git a/ml-agents-envs/mlagents_envs/environment.py b/ml-agents-envs/mlagents_envs/environment.py index <HASH>..<HASH> 100644 --- a/ml-agents-envs/mlagents_envs/environment.py +++ b/ml-agents-envs/mlagents_envs/environment.py @@ -76,7 +76,6 @@ class UnityEnvironment(BaseEnv): :bool docker_training: Inform...
remove obsolete param from docstring (#<I>)
py