diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pcef/core/editor.py b/pcef/core/editor.py index <HASH>..<HASH> 100644 --- a/pcef/core/editor.py +++ b/pcef/core/editor.py @@ -381,12 +381,10 @@ class QCodeEdit(QtGui.QPlainTextEdit): try to detect encoding using chardet. .. warning: chardet is...
Remove process events from openFile (cause bug with filewatcher)
py
diff --git a/autofit/optimize/non_linear/non_linear.py b/autofit/optimize/non_linear/non_linear.py index <HASH>..<HASH> 100644 --- a/autofit/optimize/non_linear/non_linear.py +++ b/autofit/optimize/non_linear/non_linear.py @@ -63,11 +63,6 @@ class NonLinearOptimizer(object): except FileExistsError: ...
Removed making of 'fits' folder in non_linear.
py
diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index <HASH>..<HASH> 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -681,17 +681,17 @@ class TestInvocationVariants(object): # The structure of the test directory is now: # . # β”œβ”€β”€ local - ...
Improve testing comments and code of issue <I> (symlink in pyargs).
py
diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index <HASH>..<HASH> 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -406,7 +406,7 @@ class UploadMethods: fh, fm, _ = await self._file_to_media( file, supports_streaming=supports_streaming, ...
Support sending album with URL photos (#<I>) Fixes #<I>.
py
diff --git a/uwsgiit/api.py b/uwsgiit/api.py index <HASH>..<HASH> 100644 --- a/uwsgiit/api.py +++ b/uwsgiit/api.py @@ -41,10 +41,10 @@ class UwsgiItClient(object): r = requests.get(uri, auth=(self.username, self.password), params=params) return self._parse_response(r) - def _post(self, path, data...
Add url parameters support to the post method As needed by Jiloc.
py
diff --git a/openquake/calculators/post_risk.py b/openquake/calculators/post_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/post_risk.py +++ b/openquake/calculators/post_risk.py @@ -198,9 +198,20 @@ class PostRiskCalculator(base.RiskCalculator): if oq.aggregate_by: set_rlz...
Added a sanity check on tot_lsses [skip hazardlib][demos]
py
diff --git a/openaps/vendors/medtronic.py b/openaps/vendors/medtronic.py index <HASH>..<HASH> 100644 --- a/openaps/vendors/medtronic.py +++ b/openaps/vendors/medtronic.py @@ -213,6 +213,18 @@ class read_current_history_pages (SameNameCommand): """ Read current history pages. """ @use( ) +class suspend_pump (SameN...
provide way to suspend/resume pump
py
diff --git a/did/plugins/gerrit.py b/did/plugins/gerrit.py index <HASH>..<HASH> 100644 --- a/did/plugins/gerrit.py +++ b/did/plugins/gerrit.py @@ -146,7 +146,7 @@ class GerritUnit(Stats): to eliminate items created after since option. """ work_list = [] - log.info(u"Searching for c...
Fix some strings in the Gerrit plugin log messages This commits fixes wrong CL status in two log messages from the Gerrit plugin.
py
diff --git a/keyring/py27compat.py b/keyring/py27compat.py index <HASH>..<HASH> 100644 --- a/keyring/py27compat.py +++ b/keyring/py27compat.py @@ -17,6 +17,8 @@ try: except NameError: text_type = str +string_types = tuple(set(str, text_type)) + try: import cPickle as pickle except ImportError:
Add 'string_types' as found in six.
py
diff --git a/billing/forms/braintree_payments_forms.py b/billing/forms/braintree_payments_forms.py index <HASH>..<HASH> 100644 --- a/billing/forms/braintree_payments_forms.py +++ b/billing/forms/braintree_payments_forms.py @@ -9,7 +9,7 @@ class BraintreePaymentsForm(forms.Form): transaction__customer__email = form...
verify_exists on the URLField doesn't exist any more!
py
diff --git a/lib/server.py b/lib/server.py index <HASH>..<HASH> 100755 --- a/lib/server.py +++ b/lib/server.py @@ -212,7 +212,7 @@ class HelloWorld: geo.exposed = True revgeo.exposed = True -def main(filename): +def main(): c = config.Config() data = {} # We'll replace this later cherrypy.con...
Removed uselesss arguments to main function in order to have a simpler launching command.Trying to attempt #<I>
py
diff --git a/nion/swift/Application.py b/nion/swift/Application.py index <HASH>..<HASH> 100644 --- a/nion/swift/Application.py +++ b/nion/swift/Application.py @@ -52,7 +52,6 @@ class Application(UIApplication.Application): def __init__(self, ui, set_global=True, resources_path=None): super().__init__(ui) ...
Undo last logging change. Handled in nionui now.
py
diff --git a/tilequeue/command.py b/tilequeue/command.py index <HASH>..<HASH> 100755 --- a/tilequeue/command.py +++ b/tilequeue/command.py @@ -944,7 +944,7 @@ def tilequeue_enqueue_tiles_of_interest(cfg, peripherals): coords = [] for coord_int in tiles_of_interest: coord = coord_unmarshall_int(coord_...
Replace 'enqueue_max_zoom', which doesn't exist in the config, with 'max_zoom'.
py
diff --git a/recommonmark/transform.py b/recommonmark/transform.py index <HASH>..<HASH> 100644 --- a/recommonmark/transform.py +++ b/recommonmark/transform.py @@ -244,8 +244,7 @@ class AutoStructify(transforms.Transform): 0, node=node, match_titles=False) return node.children[:] ...
no need for a separate regex variable
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( 'Topic :: Utilities'], install_requires=[ 'Django>=1.5', - 'argparse>=1.2.1', + 'argparse==1.1', 'python-dateutil>=2.1', 'pytz>=2013.9', ...
fix dependency. now it works with python <I>
py
diff --git a/tests/test_providers.py b/tests/test_providers.py index <HASH>..<HASH> 100644 --- a/tests/test_providers.py +++ b/tests/test_providers.py @@ -12,9 +12,11 @@ from skosprovider.providers import ( ) larch = {'id': 1, 'labels': [{'type': 'pref', 'lang': 'en', 'label': 'The Larch'}, - ...
Add notes to unit tests. Add notes to the unit tests as an example of dealing with skos notes.
py
diff --git a/timepiece/utils.py b/timepiece/utils.py index <HASH>..<HASH> 100644 --- a/timepiece/utils.py +++ b/timepiece/utils.py @@ -436,5 +436,6 @@ def payroll_totals(month_work_entries, month_leave_entries): row['grand_total'] = row['work_total'] + row['leave']['total'] _summarize_work(totals) - ...
refs #<I> - Don't add totals row if there are no entries
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ from setuptools import setup, find_packages setup(name='zipline', - version='0.5.0', + version='0.5.1', description='A backtester for financial algorithms.', author='Quantopian Inc.',...
Bumps version up to <I> in setup config.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='envparse', - version='0.1.3', + version='0.1.5', url='https://github.com/rconradharris/envparse', license='MIT', author='Rick Harris',
Bumping version to <I>
py
diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py +++ b/openstack_...
Fix concatenation in Delete Rule action Remove concatenation and pluralization issues from Delete Rule action Change-Id: I1d<I>b<I>f<I>c<I>a<I>d6a<I>fc<I>f<I>e6 partial-bug: <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ setup( "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", ...
Noting Python <I> support Python <I> is untested via tox at this point, but I'm not too concerned about that.
py
diff --git a/safe_qgis/test_map.py b/safe_qgis/test_map.py index <HASH>..<HASH> 100644 --- a/safe_qgis/test_map.py +++ b/safe_qgis/test_map.py @@ -196,7 +196,7 @@ class MapTest(unittest.TestCase): myControlImage = os.path.join(CONTROL_IMAGE_DIR, 'windowsArtifacts.png') ...
Fix old name reference in test map causing test failure
py
diff --git a/pytplot/importers/cdf_to_tplot.py b/pytplot/importers/cdf_to_tplot.py index <HASH>..<HASH> 100644 --- a/pytplot/importers/cdf_to_tplot.py +++ b/pytplot/importers/cdf_to_tplot.py @@ -14,6 +14,7 @@ import xarray as xr from pytplot.store_data import store_data from pytplot.tplot import tplot from pytplot.o...
importing data_quants to the cdf reader
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup import os import codecs @@ -25,5 +25,7 @@ setup(name='scikit-dsp-comm', 'numpy', 'matplotlib', 'scipy' - ...
Moving from distutils to setuptools for package testing
py
diff --git a/models.py b/models.py index <HASH>..<HASH> 100644 --- a/models.py +++ b/models.py @@ -991,7 +991,8 @@ class DiagGaussGMMHSMMPossibleChangepointsSeparateTrans( if stateseq is not None and init_meanfield: # initialize observation parameters for i, o in enumerate(self.obs_di...
make DiagGaussGMMHSMM meanfield init update GMMs for multiple iterations
py
diff --git a/tests/test_investigate.py b/tests/test_investigate.py index <HASH>..<HASH> 100644 --- a/tests/test_investigate.py +++ b/tests/test_investigate.py @@ -250,7 +250,7 @@ def test_domain_whois(inv): def test_domain_whois_history(inv): resp_json = inv.domain_whois_history('test.com', 5) - assert len(r...
Fix test for domain_whois_history The data for this test.com domain must have changed, since it is failing now. I changed the test to test simply that the API returned at least one entry.
py
diff --git a/grr/tools/config_updater.py b/grr/tools/config_updater.py index <HASH>..<HASH> 100644 --- a/grr/tools/config_updater.py +++ b/grr/tools/config_updater.py @@ -699,7 +699,7 @@ def ManageBinaries(config=None, token=None): token=token) maintenance_utils.RepackAllBinari...
Updated step 6 to be step 5
py
diff --git a/compliance_checker/ioos.py b/compliance_checker/ioos.py index <HASH>..<HASH> 100644 --- a/compliance_checker/ioos.py +++ b/compliance_checker/ioos.py @@ -817,7 +817,6 @@ class IOOS1_2Check(IOOSNCCheck): val = False results.append(Result(BaseCheck.HIGH, val, "platform", None if val...
Ensure gts_ingest_requirements message only displays on failure Two "None" values were being displayed for the gts_ingest failure message, inidcating a passing check. Ensure no messages are displayed on a passing check.
py
diff --git a/yangson/datatype.py b/yangson/datatype.py index <HASH>..<HASH> 100644 --- a/yangson/datatype.py +++ b/yangson/datatype.py @@ -681,7 +681,7 @@ class IdentityrefType(DataType): i1, s, i2 = xml.text.partition(":") except AttributeError: return None - if not i1: + ...
Updates IdentityrefType.from_xml() to handle case where prefix exists and is same as the default namespace. Related to Issue #<I>.
py
diff --git a/test/test_dataproperty.py b/test/test_dataproperty.py index <HASH>..<HASH> 100644 --- a/test/test_dataproperty.py +++ b/test/test_dataproperty.py @@ -33,6 +33,8 @@ if six.PY2: sys.setdefaultencoding("utf-8") +dateutil = pytest.importorskip("dateutil", minversion="2.7") + DATATIME_DATA = datetime....
Add importorskip to a test file
py
diff --git a/rpmfile/__init__.py b/rpmfile/__init__.py index <HASH>..<HASH> 100644 --- a/rpmfile/__init__.py +++ b/rpmfile/__init__.py @@ -38,7 +38,7 @@ class RPMInfo(object): @classmethod def _read(cls, magic, fileobj): - if magic == '070701': + if magic == b'070701': return cls....
Fixed a couple python 3 compatibility issues
py
diff --git a/eulfedora/__init__.py b/eulfedora/__init__.py index <HASH>..<HASH> 100644 --- a/eulfedora/__init__.py +++ b/eulfedora/__init__.py @@ -15,7 +15,7 @@ # limitations under the License. -__version_info__ = (0, 18, 0, 'pre') +__version_info__ = (0, 18, 0, None) # Dot-connect all but the last. Las...
update version to <I> in preparation for release
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -59,6 +59,6 @@ setup( zip_safe=False, install_requires=[ 'pysaml2==4.4.0', - 'defusedxml==0.4.1' + 'defusedxml>=0.4.1' ], )
Relax requirement for defusedxml It allows to install newer version of defusedxml library from EPEL repository: python2-defusedxml-<I>
py
diff --git a/fc/io.py b/fc/io.py index <HASH>..<HASH> 100644 --- a/fc/io.py +++ b/fc/io.py @@ -15,7 +15,7 @@ import numpy as np def read_fcs_header_segment(buf, begin=0): """ - Parse HEADER segment of FCS file. + Read HEADER segment of FCS file. Parameters ---------- @@ -93,7 +93,7 @@ def read...
Minor clarification to io function docstrings. "Parse" -> "Read" in all one-line summaries in module-level function docstrings. See castillohair/fc#<I>.
py
diff --git a/linebot/models/filter.py b/linebot/models/filter.py index <HASH>..<HASH> 100644 --- a/linebot/models/filter.py +++ b/linebot/models/filter.py @@ -36,8 +36,8 @@ class Filter(with_metaclass(ABCMeta, Base)): :param demographic: Combination of different criteria using logical operator o...
modify class names (#<I>)
py
diff --git a/tests/test_myplex.py b/tests/test_myplex.py index <HASH>..<HASH> 100644 --- a/tests/test_myplex.py +++ b/tests/test_myplex.py @@ -40,7 +40,7 @@ def test_myplex_connect_to_resource(plex_account): if resource.name == 'PMS_API_TEST_SERVER': break server = resource.connect() - ass...
MyPlex tests working (missed checkin)
py
diff --git a/testing/test_pdb.py b/testing/test_pdb.py index <HASH>..<HASH> 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -281,7 +281,7 @@ class TestPDB: child = testdir.spawn("%s %s" %(sys.executable, p1)) child.expect("x = 5") child.sendeof() - child.wait() + s...
Also use flush where wait was called unconditionally
py
diff --git a/tests/unit/test_manager.py b/tests/unit/test_manager.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_manager.py +++ b/tests/unit/test_manager.py @@ -374,7 +374,6 @@ class TestTendrilManager(unittest.TestCase): self.assertEqual(result, None) self.assertFalse(tm._local_addr_event.wai...
We're not using is_set() anymore.
py
diff --git a/salt/client/mixins.py b/salt/client/mixins.py index <HASH>..<HASH> 100644 --- a/salt/client/mixins.py +++ b/salt/client/mixins.py @@ -5,6 +5,7 @@ A collection of mixins useful for the various *Client interfaces # Import Python libs from __future__ import absolute_import, print_function +import copy im...
copying the kwargs argument to _kwargs, then iterating over that instead of kwargs. Otherwise kwargs could change while we're iterating. #<I>
py
diff --git a/api/python/tests/integration/test_packages.py b/api/python/tests/integration/test_packages.py index <HASH>..<HASH> 100644 --- a/api/python/tests/integration/test_packages.py +++ b/api/python/tests/integration/test_packages.py @@ -796,7 +796,12 @@ class PackageTest(QuiltTestCase): def test_local_pack...
Fix a unit test (#<I>) Before asserting that something doesn't exist, assert that it used to exist. We were checking that a package object is not in a list of strings... Of course it's not - it's not a string.
py
diff --git a/paramiko/transport.py b/paramiko/transport.py index <HASH>..<HASH> 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -453,7 +453,25 @@ class BaseTransport (threading.Thread): finally: self.lock.release() return chan - + + def send_ignore(self, bytes=Non...
[project @ Arch-1:<EMAIL><I>-public%secsh--dev--<I>--patch-<I>] add send_ignore add send_ignore() call to allow for sending garbage ignored packets to the remote side.
py
diff --git a/asammdf/gui/widgets/plot.py b/asammdf/gui/widgets/plot.py index <HASH>..<HASH> 100644 --- a/asammdf/gui/widgets/plot.py +++ b/asammdf/gui/widgets/plot.py @@ -1765,6 +1765,13 @@ class _Plot(pg.PlotWidget): raise Exception('Signal not found') + def signal_by_name(self, name): + for i, ...
add signal_by_name to _Plot
py
diff --git a/oshino/util.py b/oshino/util.py index <HASH>..<HASH> 100644 --- a/oshino/util.py +++ b/oshino/util.py @@ -1,4 +1,4 @@ -from time import time +from datetime import datetime def dynamic_import(path): @@ -10,4 +10,5 @@ def current_ts(): """ Just gives current timestamp. """ - return int...
Use UTC timestamp as timestamp
py
diff --git a/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.py b/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.py index <HASH>..<HASH> 100644 --- a/polyaxon/hpsearch/search_managers/bayesian_optimization/manager.py +++ b/polyaxon/hpsearch/search_managers/bayesian_optimization/manager....
Handle missing experiments in suggestion algorithms gracefully
py
diff --git a/chess/polyglot.py b/chess/polyglot.py index <HASH>..<HASH> 100644 --- a/chess/polyglot.py +++ b/chess/polyglot.py @@ -429,8 +429,8 @@ class MemoryMappedReader: The main entry is the (first) entry with the highest weight. - By default entries with weight ``0`` are excluded. This is a com...
Fix missing comma in docs Thanks @PedanticHacker
py
diff --git a/pysat/utils/io.py b/pysat/utils/io.py index <HASH>..<HASH> 100644 --- a/pysat/utils/io.py +++ b/pysat/utils/io.py @@ -893,8 +893,9 @@ def load_netcdf_pandas(fnames, strict_meta=False, file_format='NETCDF4', KeyError If epoch/time dimension could not be identified. ValueError - Whe...
STY: Consistency of error and docstring
py
diff --git a/uvicorn/wsgi.py b/uvicorn/wsgi.py index <HASH>..<HASH> 100644 --- a/uvicorn/wsgi.py +++ b/uvicorn/wsgi.py @@ -77,10 +77,10 @@ class WSGIResponder: self.loop = asyncio.get_event_loop() wsgi = self.loop.run_in_executor(self.executor, self.wsgi, environ, self.start_response) sender ...
Defer response timeouts to protocol handler, rather than within WSGIMiddleware
py
diff --git a/WrightTools/_base.py b/WrightTools/_base.py index <HASH>..<HASH> 100644 --- a/WrightTools/_base.py +++ b/WrightTools/_base.py @@ -132,10 +132,9 @@ class Group(h5py.Group): return Collection(self.filepath, parent=parent, name=group.attrs['name']) def close(self): - print("Closing", se...
Close opperations only if fid is valid
py
diff --git a/django_conneg/support/middleware.py b/django_conneg/support/middleware.py index <HASH>..<HASH> 100644 --- a/django_conneg/support/middleware.py +++ b/django_conneg/support/middleware.py @@ -8,6 +8,7 @@ except ImportError: # Python 2.x from django.conf import settings from django.contrib.auth import aut...
compatibility with newer MIDDLEWARE setting
py
diff --git a/pandas/compat/chainmap_impl.py b/pandas/compat/chainmap_impl.py index <HASH>..<HASH> 100644 --- a/pandas/compat/chainmap_impl.py +++ b/pandas/compat/chainmap_impl.py @@ -34,10 +34,10 @@ def recursive_repr(fillvalue='...'): class ChainMap(MutableMapping): """ A ChainMap groups multiple dicts (or oth...
DOC: Spelling + grammar in chainmap_impl.py (#<I>)
py
diff --git a/tabulator/loaders/web.py b/tabulator/loaders/web.py index <HASH>..<HASH> 100644 --- a/tabulator/loaders/web.py +++ b/tabulator/loaders/web.py @@ -7,7 +7,7 @@ from __future__ import unicode_literals import io import six from six.moves.urllib.error import URLError -from six.moves.urllib.request import url...
Added fake user agent on web requests (#<I>)
py
diff --git a/indra/assemblers/indranet/assembler.py b/indra/assemblers/indranet/assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/indranet/assembler.py +++ b/indra/assemblers/indranet/assembler.py @@ -3,7 +3,7 @@ import pandas as pd from .net import IndraNet from indra.statements import * from itertool...
Add counts of evidence sources to a dataframe
py
diff --git a/examples/list-cameras.py b/examples/list-cameras.py index <HASH>..<HASH> 100755 --- a/examples/list-cameras.py +++ b/examples/list-cameras.py @@ -39,6 +39,8 @@ def main(): gp.check_result(gp.gp_abilities_list_load(abilities_list, context)) gp.check_result(gp.gp_abilities_list_detect( ...
Forgot to include gp_xxx_free() calls.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ if os.path.exists('README.txt'): setup(name='Crawl', - version='0.4.1', + version='0.5', url='https://github.com/OiNutter/crawl', download_url='https://nodeload.github.com/OiNutter/crawl/leg...
Bumped version to <I>
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -304,7 +304,10 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/': None} ...
add cryptography and py<I> to docs
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,15 +1,27 @@ -from tempfile import mktemp +from tempfile import mktemp, mkdtemp import os import pytest +import shutil @pytest.fixture def temp_file(request): - filename = mktemp...
tests/conftest.py: temp_dir fixture was added
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- ''' Routines to set up a minion '''
Fix Non-ASCII character.
py
diff --git a/poetry/masonry/utils/package_include.py b/poetry/masonry/utils/package_include.py index <HASH>..<HASH> 100644 --- a/poetry/masonry/utils/package_include.py +++ b/poetry/masonry/utils/package_include.py @@ -36,7 +36,9 @@ class PackageInclude(Include): def check_elements(self): # type: () -> PackageI...
fix exception message in package_include (#<I>) * fix exception message in package_include * reformat package_include.py
py
diff --git a/gyp/pylib/gyp/generator/make.py b/gyp/pylib/gyp/generator/make.py index <HASH>..<HASH> 100644 --- a/gyp/pylib/gyp/generator/make.py +++ b/gyp/pylib/gyp/generator/make.py @@ -1881,11 +1881,13 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD """Returns the location of the final output for a...
gyp: always install into $PRODUCT_DIR
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -1159,7 +1159,19 @@ def install(name=None, errors = [] + hold_pkgs = list_holds(full=False) + log.error(hold_pkgs) + to_hold = [] if targets: + ...
Update hol dpackages in yum. Similar to #<I>, now using yum salt will update/upgraded held packages.
py
diff --git a/Tests/test_configure.py b/Tests/test_configure.py index <HASH>..<HASH> 100644 --- a/Tests/test_configure.py +++ b/Tests/test_configure.py @@ -108,7 +108,7 @@ class ConfigureYubiHSMforTest(test_common.YHSM_TestCase): self.add_key(flags, 0x3031, key) def add_key(self, flags, num, key): - ...
New firmware requires 8 chars key handles in 'keyload'.
py
diff --git a/thumbor/handlers/__init__.py b/thumbor/handlers/__init__.py index <HASH>..<HASH> 100644 --- a/thumbor/handlers/__init__.py +++ b/thumbor/handlers/__init__.py @@ -383,6 +383,7 @@ class BaseHandler(tornado.web.RequestHandler): try: mime = BaseEngine.get_mimetype(buffer...
Storing loaded image throwlog 'Image format not found in PIL: ' because there is no extension
py
diff --git a/krypy/tests/test_utils.py b/krypy/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/krypy/tests/test_utils.py +++ b/krypy/tests/test_utils.py @@ -621,6 +621,26 @@ def test_BoundMinres(): assert(b.get_step(2e-3) == 8) +def test_NormalizedRootsPolynomial(): + rs = [[1, 2], + [1, 1j],...
[tests] add tests for NormalizedRootsPolynomial fixes #<I>
py
diff --git a/springboard/events.py b/springboard/events.py index <HASH>..<HASH> 100644 --- a/springboard/events.py +++ b/springboard/events.py @@ -16,6 +16,7 @@ def new_request(event): profile_id = registry.settings.get('ga.profile_id') if not profile_id: + request.google_analytics = {} retu...
set request.google_analytics
py
diff --git a/invokust/aws_lambda/lambda_load_test.py b/invokust/aws_lambda/lambda_load_test.py index <HASH>..<HASH> 100644 --- a/invokust/aws_lambda/lambda_load_test.py +++ b/invokust/aws_lambda/lambda_load_test.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +import os import json import time import logging @@ -12,7 ...
Boto configs as env vars to increase lambda invoking client timeout (#<I>)
py
diff --git a/perf/__main__.py b/perf/__main__.py index <HASH>..<HASH> 100644 --- a/perf/__main__.py +++ b/perf/__main__.py @@ -607,10 +607,12 @@ def main(): } try: - dispatch[action]() + func = dispatch[action] except KeyError: parser.print_usage() ...
cli: only catch KeyError on getting func
py
diff --git a/falafel/mappers/ntp_conf.py b/falafel/mappers/ntp_conf.py index <HASH>..<HASH> 100644 --- a/falafel/mappers/ntp_conf.py +++ b/falafel/mappers/ntp_conf.py @@ -6,10 +6,16 @@ driftfile /var/lib/ntp/drift ... +<<<<<<< HEAD Keyword, optionally followed immediately by values. Keywords can be repeated mul...
Adding a mapper to read the NTP configuration file 'ntp.conf'. Much of the data in this file isn't reflected in the output we currently obtain from the output of ntpdate, so it's important we read that config directly. Tests are also included.
py
diff --git a/src/dynamodb_encryption_sdk/material_providers/most_recent.py b/src/dynamodb_encryption_sdk/material_providers/most_recent.py index <HASH>..<HASH> 100644 --- a/src/dynamodb_encryption_sdk/material_providers/most_recent.py +++ b/src/dynamodb_encryption_sdk/material_providers/most_recent.py @@ -246,17 +246,1...
fix confused naming of requested vs received version in _get_most_recent_version
py
diff --git a/tests/unit/engines/test_pdbe.py b/tests/unit/engines/test_pdbe.py index <HASH>..<HASH> 100644 --- a/tests/unit/engines/test_pdbe.py +++ b/tests/unit/engines/test_pdbe.py @@ -105,5 +105,5 @@ class TestPdbeEngine(SearxTestCase): results = pdbe.response(response) self.assertEqual(type(result...
[fix] pdbe test
py
diff --git a/tests/test_web_response.py b/tests/test_web_response.py index <HASH>..<HASH> 100644 --- a/tests/test_web_response.py +++ b/tests/test_web_response.py @@ -204,3 +204,23 @@ class TestStreamResponse(unittest.TestCase): with self.assertRaises(RuntimeError): resp.write(b'next data') ...
More tests for web response write_eof()
py
diff --git a/examples/app/crossfilter/models/models.py b/examples/app/crossfilter/models/models.py index <HASH>..<HASH> 100644 --- a/examples/app/crossfilter/models/models.py +++ b/examples/app/crossfilter/models/models.py @@ -3,7 +3,11 @@ from bokeh.models.layouts import BaseBox from bokeh.core import validation fro...
removed long absolute import in favor of appending to sys.paht
py
diff --git a/everest/resources/attributes.py b/everest/resources/attributes.py index <HASH>..<HASH> 100644 --- a/everest/resources/attributes.py +++ b/everest/resources/attributes.py @@ -76,7 +76,11 @@ class MetaResourceAttributeCollector(type): # Skip classes that are direct subclasses of the base mixin class...
Fixing a problem with detecting base class resource class attribute declarations.
py
diff --git a/odl/contrib/datasets/ct/mayo.py b/odl/contrib/datasets/ct/mayo.py index <HASH>..<HASH> 100644 --- a/odl/contrib/datasets/ct/mayo.py +++ b/odl/contrib/datasets/ct/mayo.py @@ -236,11 +236,14 @@ def load_reconstruction(folder, slice_start=0, slice_end=-1): data_array = data_array.reshape([cols, rows]...
ENH: Minor fix to density computation for mayo
py
diff --git a/ariba/ref_genes_getter.py b/ariba/ref_genes_getter.py index <HASH>..<HASH> 100644 --- a/ariba/ref_genes_getter.py +++ b/ariba/ref_genes_getter.py @@ -149,7 +149,7 @@ class RefGenesGetter: def _get_from_resfinder(self, outprefix): outprefix = os.path.abspath(outprefix) - final_fasta =...
Name output fasta to match expected by prepareref
py
diff --git a/astrocats/catalog/utils/strings.py b/astrocats/catalog/utils/strings.py index <HASH>..<HASH> 100644 --- a/astrocats/catalog/utils/strings.py +++ b/astrocats/catalog/utils/strings.py @@ -3,7 +3,7 @@ import json from .digits import round_sig -__all__ = ['dict_to_pretty_string', 'rep_chars', +__all__ = ['...
BUG: added missing __all__ definition
py
diff --git a/ipywebrtc/_version.py b/ipywebrtc/_version.py index <HASH>..<HASH> 100644 --- a/ipywebrtc/_version.py +++ b/ipywebrtc/_version.py @@ -1,6 +1,6 @@ -__version_tuple__ = (0, 4, 0) +__version_tuple__ = (0, 4, 1) __version_tuple_js__ = (0, 4, 0) -__version__ = '0.4.0' +__version__ = '0.4.1' __version_js__ = '...
Release <I> of py
py
diff --git a/tests/test_collection.py b/tests/test_collection.py index <HASH>..<HASH> 100644 --- a/tests/test_collection.py +++ b/tests/test_collection.py @@ -88,7 +88,6 @@ class TestCollection(unittest.TestCase): self.assertEqual(self.db.test.test, self.db.test('test')) options = yield self.db.test...
Debug print removed from unittest which interfered with trial output
py
diff --git a/python_modules/dagster/dagster/core/definitions/policy.py b/python_modules/dagster/dagster/core/definitions/policy.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/definitions/policy.py +++ b/python_modules/dagster/dagster/core/definitions/policy.py @@ -4,7 +4,6 @@ from typing impor...
[RetryPolicy] drop experimental warning (#<I>)
py
diff --git a/icekit/admin_tools/polymorphic.py b/icekit/admin_tools/polymorphic.py index <HASH>..<HASH> 100644 --- a/icekit/admin_tools/polymorphic.py +++ b/icekit/admin_tools/polymorphic.py @@ -50,12 +50,23 @@ class ChildModelPluginPolymorphicParentModelAdmin( .get_child_type_choices(request, action) ...
Respect Plugin’s `sort_priority` value when listing child type choices (fluent already does this)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,6 @@ setup( 'httptools>=0.0.9', 'ujson>=1.35', 'aiofiles>=0.3.0', - 'multidict>=2.0', ], classifiers=[ 'Development Status :: 2 - Pre-Alpha',
Remove multidict requirement This is no longer necessary after #<I>.
py
diff --git a/pymc/Node.py b/pymc/Node.py index <HASH>..<HASH> 100644 --- a/pymc/Node.py +++ b/pymc/Node.py @@ -265,7 +265,7 @@ class Variable(Node): m = str(round(statdict['mean'][index], roundto)) sd = str(round(statdict['standard deviation'][index], roundto)) hpd = str(statdict[interval][in...
Minor improvement to Node.summary()
py
diff --git a/imagemounter/__init__.py b/imagemounter/__init__.py index <HASH>..<HASH> 100644 --- a/imagemounter/__init__.py +++ b/imagemounter/__init__.py @@ -6,7 +6,7 @@ __version__ = '1.5.1' BLOCK_SIZE = 512 VOLUME_SYSTEM_TYPES = ('detect', 'dos', 'bsd', 'sun', 'mac', 'gpt', 'dbfiller') -FILE_SYSTEM_TYPES = ('ext...
Update __init__.py Adder xfs to known file systems
py
diff --git a/abilian/core/entities.py b/abilian/core/entities.py index <HASH>..<HASH> 100644 --- a/abilian/core/entities.py +++ b/abilian/core/entities.py @@ -230,10 +230,10 @@ class BaseMixin(IdMixin, TimestampedMixin, OwnedMixin): #FIXME: we can do better than that @property def _name(self): - if hasattr(...
_name property: first check for title, then name. 'name' is a core attribute of entities, some of them also have a title. Eventually the _name property will be removed.
py
diff --git a/jujupy/tests/test_version_client.py b/jujupy/tests/test_version_client.py index <HASH>..<HASH> 100644 --- a/jujupy/tests/test_version_client.py +++ b/jujupy/tests/test_version_client.py @@ -361,20 +361,7 @@ class TestModelClient2_1(ClientTest): with self.assertRaises(NameNotAccepted): ...
Deleted duplicate test and restored name of other.
py
diff --git a/notario/decorators.py b/notario/decorators.py index <HASH>..<HASH> 100644 --- a/notario/decorators.py +++ b/notario/decorators.py @@ -46,13 +46,22 @@ class instance_of(object): def __init__(self, valid_types=None): self.valid_types = valid_types or (list, dict, str) + self.__validato...
decorators: beware of the dict in instance_of
py
diff --git a/allianceauth/services/modules/discord/manager.py b/allianceauth/services/modules/discord/manager.py index <HASH>..<HASH> 100644 --- a/allianceauth/services/modules/discord/manager.py +++ b/allianceauth/services/modules/discord/manager.py @@ -279,7 +279,7 @@ class DiscordOAuthManager: return r.json...
Prevent new roles from being sorted separately. Addresses #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ setup( include_package_data=True, py_modules=['trie'], setup_requires=['setuptools-markdown'], - python_requires='>=3.5, !=3.5.2, <4', + python_requires='>=3.5.3,<4', install_requires...
Restrict to python>=<I>
py
diff --git a/source/rafcon/gui/controllers/main_window.py b/source/rafcon/gui/controllers/main_window.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/controllers/main_window.py +++ b/source/rafcon/gui/controllers/main_window.py @@ -331,9 +331,6 @@ class MainWindowController(ExtendedController): # po...
fix(main_window): remove code relict
py
diff --git a/keyring/backends/pyfs.py b/keyring/backends/pyfs.py index <HASH>..<HASH> 100644 --- a/keyring/backends/pyfs.py +++ b/keyring/backends/pyfs.py @@ -46,9 +46,8 @@ class BasicKeyring(KeyringBackend): cache_timeout=None): super(BasicKeyring, self).__init__() self._crypter = c...
extract variable for nicer indentation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ from setuptools import setup, find_packages data_files = { "share/osbs": [ + "inputs/image_stream.json", "inputs/prod.json", "inputs/prod_inner.json", "inputs/simple.jso...
Add inputs/image_stream.json to data_files in setup.py
py
diff --git a/treeherder/etl/perf_data_adapters.py b/treeherder/etl/perf_data_adapters.py index <HASH>..<HASH> 100644 --- a/treeherder/etl/perf_data_adapters.py +++ b/treeherder/etl/perf_data_adapters.py @@ -274,6 +274,9 @@ class TalosDataAdapter(PerformanceDataAdapter): _...
Bug <I> - Temporarily disable performance series summaries The current implementation does not work with all types of series. Disable this functionality until we can make it work.
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -7,6 +7,7 @@ # ///' # // # ' +from __future__ import with_statement from datetime import datetime import logging import os
Adding the __future__ import for those using <I>
py
diff --git a/statistics.py b/statistics.py index <HASH>..<HASH> 100644 --- a/statistics.py +++ b/statistics.py @@ -17,6 +17,9 @@ ############################################################### import math +import codecs +import random +import operator class FrequencyList: def __init__(self, tokens = None, c...
added ability to load/save frequency list from/to file git-svn-id: <URL>
py
diff --git a/goristock.py b/goristock.py index <HASH>..<HASH> 100644 --- a/goristock.py +++ b/goristock.py @@ -73,3 +73,26 @@ class goristock(object): @property def num_data(self): return len(self.raw_data) + + @property + def sum_data(self): + return sum(self.raw_data) + + @property + def avg_data(se...
Add 'moving average' and compared with yesterday.
py
diff --git a/treetime/gtr.py b/treetime/gtr.py index <HASH>..<HASH> 100644 --- a/treetime/gtr.py +++ b/treetime/gtr.py @@ -232,6 +232,7 @@ class GTR(object): print (' the iterative scheme has not converged') elif np.abs(1-np.max(pi.sum(axis=0))) > dp: print (' the it...
assign mutation rate after gtr inference
py
diff --git a/ansible_runner/__main__.py b/ansible_runner/__main__.py index <HASH>..<HASH> 100644 --- a/ansible_runner/__main__.py +++ b/ansible_runner/__main__.py @@ -178,7 +178,7 @@ def main(sys_args=None): help="The full path to ansible[-playbook] binary") parser.add_argument("--hosts"...
return user error in some situations from cli This commit will check if the provided command line options and return a more user friendly error if an invalid combination of options is specified at run time. This PR addresses the comments in #<I>
py
diff --git a/pyemma/coordinates/tests/test_featurereader.py b/pyemma/coordinates/tests/test_featurereader.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/tests/test_featurereader.py +++ b/pyemma/coordinates/tests/test_featurereader.py @@ -182,12 +182,11 @@ class TestFeatureReader(unittest.TestCase): re...
[coor/tests] removed deprecated function calls from tests
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( message_extractors = { 'check50': [('**.py', 'python', None),], }, - install_requires=["attrs>=18", "bs4>=0", "pexpect>=4.6", "lib50>=2,<4", "pyyaml>=3.10", "requests>=2.19", "termco...
Replace bs4 dependency with beautifulsoup4
py
diff --git a/src/peltak/logic/lint.py b/src/peltak/logic/lint.py index <HASH>..<HASH> 100644 --- a/src/peltak/logic/lint.py +++ b/src/peltak/logic/lint.py @@ -51,6 +51,7 @@ def lint(exclude, skip_untracked, commit_only): commit_only (bool): Only lint files that are staged for commit. """ + ...
Can store lint exclude list in pelconf.yaml - (feature) From now on you can save the lint exclude list inside the pelconf.yaml as lint.exclude config value. This saves you from using β€”exclude argument on every run.
py
diff --git a/beets/mediafile.py b/beets/mediafile.py index <HASH>..<HASH> 100644 --- a/beets/mediafile.py +++ b/beets/mediafile.py @@ -270,6 +270,20 @@ def _sc_encode(gain, peak): # Cover art and other images. +def _wider_test_jpeg(h, f): + """Test for a jpeg file following the UNIX file implementation which + ...
implement fix-jpeg-detection: detect jpeg files using their magic bytes following the unix file implementation by adding a test function to the imghdr.tests list, as intended Original: beetbox/beets@<I>b<I>e
py