diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/lib/python/dxpy/__init__.py b/lib/python/dxpy/__init__.py index <HASH>..<HASH> 100644 --- a/lib/python/dxpy/__init__.py +++ b/lib/python/dxpy/__init__.py @@ -43,7 +43,7 @@ http_server_errors = set([requests.codes.server_error, requests.codes.service_unavailable, ...
set timeout for all dxhttprequests to <I>. not tested
py
diff --git a/src/toil/common.py b/src/toil/common.py index <HASH>..<HASH> 100644 --- a/src/toil/common.py +++ b/src/toil/common.py @@ -490,15 +490,21 @@ class Toil(object): def __exit__(self, exc_type, exc_val, exc_tb): """ - Clean up after a workflow invocaton. Depending on the configuration, de...
Prevents exception masking in Toil context manager (resolves #<I>) Secondary exceptions raised in the __exit__ method of the Toil context manger can mask a primary exception. This has been fixed with a simple try except block.
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -73,7 +73,8 @@ got = backend.user_sessions(username, args.domain) assert got == [], got # check some stats -assert backend.stats('registered_users') == len(expected2) +got = backend.stats('registered_users') +assert got == len...
for some reason, this is no longer true
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -198,7 +198,7 @@ LANG_ID_MACHINTOSH_ENGLISH = 0 PLACEHOLDER_LICENSING_TEXT = { 'OFL.txt': 'This Font Software is licensed under the SIL Open Font License' - ...
issue #<I> Fix the reference licensing text string that we expect to see declared in font files
py
diff --git a/test/utils.py b/test/utils.py index <HASH>..<HASH> 100644 --- a/test/utils.py +++ b/test/utils.py @@ -383,7 +383,9 @@ def run_vtctl_json(clargs): # vtworker helpers def run_vtworker(clargs, log_level='', auto_log=False, expect_fail=False, **kwargs): - args = [environment.binary_path('vtworker'), '-log...
Using dynamic port for vtworker instead of <I>.
py
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100644 --- a/test/test.py +++ b/test/test.py @@ -30,5 +30,18 @@ class TestYahdlc(unittest.TestCase): self.assertEqual(FRAME_DATA, type) self.assertEqual(0, seq_no) + def test_decode_frame_with_1B_buffer(self): + frame = frame_data('test') + + for c...
add unit test to decode a frame with a 1B buffer
py
diff --git a/umap/aligned_umap.py b/umap/aligned_umap.py index <HASH>..<HASH> 100644 --- a/umap/aligned_umap.py +++ b/umap/aligned_umap.py @@ -341,7 +341,7 @@ class AlignedUMAP(BaseEstimator): indptr_list, indices_list, relations, ) first_init = spectral_layout( - self.mappers_...
Initial fix for #<I>. Old hard coding lying around in spectral init
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages long_description = open('README.rst').read() setup(name="scrapelib", - version='1.2.0', + version='1.3.0', py_modules=['scrapelib'], author="...
version <I> WIP, dropping Python 2
py
diff --git a/tests/test_pool.py b/tests/test_pool.py index <HASH>..<HASH> 100644 --- a/tests/test_pool.py +++ b/tests/test_pool.py @@ -58,6 +58,24 @@ class ClientPoolTestCase(tornado.testing.AsyncTestCase): c.destroy() @tornado.testing.gen_test + def test_get_client_client_error(self): + wrong...
Add test for ClientError in pool
py
diff --git a/qtpylib/broker.py b/qtpylib/broker.py index <HASH>..<HASH> 100644 --- a/qtpylib/broker.py +++ b/qtpylib/broker.py @@ -768,6 +768,7 @@ class Broker(): "averageCost": 0.0, "unrealizedPNL": 0.0, "realizedPNL": 0.0, + "totalPNL": 0.0, ...
added totalPNL for empty portfolios
py
diff --git a/pymagicc/run.py b/pymagicc/run.py index <HASH>..<HASH> 100644 --- a/pymagicc/run.py +++ b/pymagicc/run.py @@ -47,7 +47,13 @@ class ModelRun(object): def out_dir(self): return join(self.root_dir, 'out') - def run(self): + def run(self, only=None): + """ + Run MAGICC + + ...
Add an only parameter to limit the variables which are returned
py
diff --git a/raiden/tests/integration/test_matrix_transport.py b/raiden/tests/integration/test_matrix_transport.py index <HASH>..<HASH> 100644 --- a/raiden/tests/integration/test_matrix_transport.py +++ b/raiden/tests/integration/test_matrix_transport.py @@ -479,6 +479,8 @@ def test_matrix_cross_server_with_load_balanc...
Re-Add missing assert in transport test #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ setup( "pytest>=4.6.2", "pytest-cov>=2.7.1", "Sphinx>=2.2.1", - "sphinx-autobuild>=0.7.1", + "sphinx-autobuild>=0.7.1 ; python_version>='3.6'", ...
Fix Travis build failing for Python<I> due to dev dependency error The 'tox' command fails while trying to install 'watchdog' package <I> (which is Python <I>+ only). Weird thing is that pip should be able to use 'watchdog' <I>.x as it always did, but for some unknown reason it does not work.
py
diff --git a/pyqode/core/frontend/extension.py b/pyqode/core/frontend/extension.py index <HASH>..<HASH> 100644 --- a/pyqode/core/frontend/extension.py +++ b/pyqode/core/frontend/extension.py @@ -364,8 +364,10 @@ def uninstall_all(editor): """ while len(editor._modes): k = list(editor._modes.keys())[0...
Fix uninstall all to del removed modes/panels
py
diff --git a/salt/utils/templates.py b/salt/utils/templates.py index <HASH>..<HASH> 100644 --- a/salt/utils/templates.py +++ b/salt/utils/templates.py @@ -181,13 +181,13 @@ def _get_jinja_error(trace, context=None): # error log place at the beginning if add_log: if template_path: - out = '...
try to fix older format versions for jinja error renderer
py
diff --git a/src/sos/targets.py b/src/sos/targets.py index <HASH>..<HASH> 100644 --- a/src/sos/targets.py +++ b/src/sos/targets.py @@ -1385,16 +1385,14 @@ class sos_targets(BaseTarget, Sequence, os.PathLike): if any(x<0 or x>=len(self._targets) for x in grp): raise ...
Accept more return type for customized grouping
py
diff --git a/src/cameraControl/firebirdImport.py b/src/cameraControl/firebirdImport.py index <HASH>..<HASH> 100755 --- a/src/cameraControl/firebirdImport.py +++ b/src/cameraControl/firebirdImport.py @@ -49,6 +49,7 @@ def UTC2datetime(utc): return datetime.datetime.fromtimestamp(float(utc)) def datetime2UTC(dt): +...
Bugfix to prevent traceback when casting null high water marks to unix times (return 0 instead)
py
diff --git a/bxml/xml.py b/bxml/xml.py index <HASH>..<HASH> 100644 --- a/bxml/xml.py +++ b/bxml/xml.py @@ -61,15 +61,21 @@ class XML(File): @classmethod def get_info(c, tree=None): if tree is not None: - docinfo = tree.docinfo - return Dict( - URL = docin...
XML.get_info() now includes everything in the tree
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100755 --- a/jira/client.py +++ b/jira/client.py @@ -1718,7 +1718,6 @@ class JIRA(object): search_params = { "jql": jql_str, "startAt": startAt, - "maxResults": maxResults, "validateQuery": valid...
params object for _fetch_pages should not contain maxResults
py
diff --git a/export.py b/export.py index <HASH>..<HASH> 100755 --- a/export.py +++ b/export.py @@ -48,7 +48,7 @@ def main(): print >>sys.stderr, 'W: Failed to read', path continue - with open(dest_path, 'w') as file: + with open(dest_path, 'wb') as file: ...
export.py: extract files as binary (might fix #<I>)
py
diff --git a/py/nupic/frameworks/opf/exp_generator/ExpGenerator.py b/py/nupic/frameworks/opf/exp_generator/ExpGenerator.py index <HASH>..<HASH> 100755 --- a/py/nupic/frameworks/opf/exp_generator/ExpGenerator.py +++ b/py/nupic/frameworks/opf/exp_generator/ExpGenerator.py @@ -1910,7 +1910,10 @@ def _getPredictedField(opt...
Better swarm error for missing predicted field.
py
diff --git a/angr/analyses/cfg_fast.py b/angr/analyses/cfg_fast.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg_fast.py +++ b/angr/analyses/cfg_fast.py @@ -932,7 +932,7 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method while next_addr in self._initial_state.memory: ...
CFGFast: do not trigger SimInspect or action creation when loading memory.
py
diff --git a/assess_container_networking.py b/assess_container_networking.py index <HASH>..<HASH> 100755 --- a/assess_container_networking.py +++ b/assess_container_networking.py @@ -387,7 +387,7 @@ def assess_container_networking(client, types): for host in hosts: log.info("Restarting hosted mach...
Pass shutdown as a single arg.
py
diff --git a/phy/cluster/manual/clustering.py b/phy/cluster/manual/clustering.py index <HASH>..<HASH> 100644 --- a/phy/cluster/manual/clustering.py +++ b/phy/cluster/manual/clustering.py @@ -129,7 +129,7 @@ class Clustering(object): @property def cluster_ids(self): """Labels of all non-empty clusters...
clustering.cluster_ids is now an array.
py
diff --git a/spyderlib/widgets/findreplace.py b/spyderlib/widgets/findreplace.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/findreplace.py +++ b/spyderlib/widgets/findreplace.py @@ -67,10 +67,10 @@ class FindReplace(QWidget): self.previous_button = create_toolbutton(self, ...
FindReplace widget: Change arrows for find previous and next buttons - Now almost all programs use up and up down arrows respectively, instead of back and forward.
py
diff --git a/osbs/http.py b/osbs/http.py index <HASH>..<HASH> 100644 --- a/osbs/http.py +++ b/osbs/http.py @@ -120,8 +120,8 @@ class Response(object): def headers(self): if self._headers is None: logger.debug("raw headers: " + repr(self.raw_headers)) - decoded_raw_headers = self.ra...
http: one step towards parsing headers on py3
py
diff --git a/salmonella/admin.py b/salmonella/admin.py index <HASH>..<HASH> 100644 --- a/salmonella/admin.py +++ b/salmonella/admin.py @@ -32,10 +32,10 @@ class SalmonellaModelAdmin(admin.ModelAdmin): if multi: if object_id: object_id = object_id.split(",") - ...
Changed misspelling of salmonella project folder from "salMAnella" to "salMOnella".
py
diff --git a/distribution/translations_generator.py b/distribution/translations_generator.py index <HASH>..<HASH> 100644 --- a/distribution/translations_generator.py +++ b/distribution/translations_generator.py @@ -11,11 +11,11 @@ import sys class TranslationsGenerator(object): '''Translation file generator''' ...
Scan all .py files for translation which have _()
py
diff --git a/dwave/cloud/solver.py b/dwave/cloud/solver.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/solver.py +++ b/dwave/cloud/solver.py @@ -656,9 +656,14 @@ class StructuredSolver(BaseSolver): raise RuntimeError("Can't sample from 'bqm' without dimod. " "Re-install th...
Route ising/qubo BQMs in `Solver.sample_bqm` to ising/qubo QMIs Fix #<I>.
py
diff --git a/katcp/server.py b/katcp/server.py index <HASH>..<HASH> 100644 --- a/katcp/server.py +++ b/katcp/server.py @@ -447,7 +447,6 @@ class KATCPServer(object): # Do stuff to put us on the IOLoop self.ioloop_thread_id = get_thread_ident() self._tcp_server.add_socket(self._server_sock) - ...
Remove potentially ambiguous thread-naming
py
diff --git a/pandas/core/groupby/generic.py b/pandas/core/groupby/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/groupby/generic.py +++ b/pandas/core/groupby/generic.py @@ -324,7 +324,11 @@ class NDFrameGroupBy(GroupBy): if cast: result[item] = self._try_cast(result[item]...
CLN: raise ValueError instead of Exception (#<I>)
py
diff --git a/src/lib/simulation.py b/src/lib/simulation.py index <HASH>..<HASH> 100644 --- a/src/lib/simulation.py +++ b/src/lib/simulation.py @@ -47,6 +47,11 @@ class Simulation(object): self.var2label = dict() self.var2enum = dict() + self.num_table = 1 + self.subset = None + ...
bug correction for scenario num_table, subset and print_missing are now attributes of a simulation and not only of a surveysimulation.
py
diff --git a/sitetools/sites.py b/sitetools/sites.py index <HASH>..<HASH> 100644 --- a/sitetools/sites.py +++ b/sitetools/sites.py @@ -104,6 +104,13 @@ class Site(object): def bin_path(self): return os.path.join(self.prefix, 'bin') if self.is_venv else None + def which(self, name): + bin_path ...
Site.which('pip') to find executables
py
diff --git a/angr/knowledge_plugins/functions/function_manager.py b/angr/knowledge_plugins/functions/function_manager.py index <HASH>..<HASH> 100644 --- a/angr/knowledge_plugins/functions/function_manager.py +++ b/angr/knowledge_plugins/functions/function_manager.py @@ -320,18 +320,19 @@ class FunctionManager(Knowledge...
A more Pythonic way of dict read. (#<I>)
py
diff --git a/src/pyrocore/util/matching.py b/src/pyrocore/util/matching.py index <HASH>..<HASH> 100644 --- a/src/pyrocore/util/matching.py +++ b/src/pyrocore/util/matching.py @@ -324,8 +324,8 @@ class PatternFilter(FieldFilter): except UnicodeEncodeError: return '' else: - ...
Quote strings when pre-filtering (#<I>)
py
diff --git a/auditlog_tests/tests.py b/auditlog_tests/tests.py index <HASH>..<HASH> 100644 --- a/auditlog_tests/tests.py +++ b/auditlog_tests/tests.py @@ -1,6 +1,7 @@ import datetime import itertools import json +import warnings from unittest import mock from dateutil.tz import gettz @@ -600,6 +601,18 @@ class D...
Silence an expected RuntimeWarning
py
diff --git a/gimmemotifs/core.py b/gimmemotifs/core.py index <HASH>..<HASH> 100644 --- a/gimmemotifs/core.py +++ b/gimmemotifs/core.py @@ -8,6 +8,7 @@ # Python imports import os import sys +import shutil import logging import logging.handlers from datetime import datetime @@ -743,7 +744,9 @@ class GimmeMotifs: ...
Intermediate files will now be deleted if the -k option si not specified
py
diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -177,7 +177,7 @@ TEMPL...
Add atomic requests setting to production.py (#<I>) Since config/production.py sets a new value for `DATABASES['default']`, the `DATABASES['default']['ATOMIC_REQUESTS'] = True` setting from base gets overridden. So it's probably a good idea to add it back.
py
diff --git a/backtrader/lineseries.py b/backtrader/lineseries.py index <HASH>..<HASH> 100644 --- a/backtrader/lineseries.py +++ b/backtrader/lineseries.py @@ -144,6 +144,9 @@ class MetaLineSeries(metabase.MetaParams): class LineSeries(object): __metaclass__ = MetaLineSeries + def __init__(self, *args, **kwar...
lineseries - readded a init function to avoid calling "object" with arguments
py
diff --git a/confindr/confindr.py b/confindr/confindr.py index <HASH>..<HASH> 100644 --- a/confindr/confindr.py +++ b/confindr/confindr.py @@ -758,7 +758,7 @@ def find_contamination_unpaired(reads, output_folder, databases_folder, threads= bamfile_name=os.path.join(sample_...
correct number of SNV calls if more than one SNV per contig for unpaired reads
py
diff --git a/pepe/__init__.py b/pepe/__init__.py index <HASH>..<HASH> 100644 --- a/pepe/__init__.py +++ b/pepe/__init__.py @@ -733,9 +733,14 @@ Substitute #defines into emitted lines. action='append', help="""\ Specify a path to a content.types file to assist -with fil...
Adds an option -P to print content types * Don't ask the user to rummage through the package. Just let them use this option to show them all the content types known to pepe at runtime.
py
diff --git a/spyderlib/utils/introspection/jedi_plugin.py b/spyderlib/utils/introspection/jedi_plugin.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/introspection/jedi_plugin.py +++ b/spyderlib/utils/introspection/jedi_plugin.py @@ -84,8 +84,8 @@ class JediPlugin(IntrospectionPlugin): """ line, ...
Fix error with opening parens in class and function definitions.
py
diff --git a/satpy/dependency_tree.py b/satpy/dependency_tree.py index <HASH>..<HASH> 100644 --- a/satpy/dependency_tree.py +++ b/satpy/dependency_tree.py @@ -299,15 +299,15 @@ class DependencyTree(Tree): def _find_matching_ids_in_readers(self, dataset_key): matching_ids = {} - for file_handler_n...
Revert loop variable to reader_name
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( license="BSD 3-Clause", description="Jupyter server extension to supervise and proxy web services", packages=setuptools.find_packages(), - install_requires=['notebook', 'simpe...
Explicitly bump simpervisor requirement <I> did not work with Python <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup( packages=find_packages(), include_package_data=True, platforms='any', - install_requires=['notebook>=5.5.0', 'tornado'], + install_requires=['notebook>=5.5.0', 'jupyter_server>=1.10.1...
Require jupyter_server too
py
diff --git a/scripts/bcbio_nextgen_install.py b/scripts/bcbio_nextgen_install.py index <HASH>..<HASH> 100755 --- a/scripts/bcbio_nextgen_install.py +++ b/scripts/bcbio_nextgen_install.py @@ -78,7 +78,6 @@ def install_conda_pkgs(anaconda, args): subprocess.check_call(["wget", "--no-check-certificate", REMOTES["...
install: avoid unnecessary conda upgrade We now get recent enough versions of conda with Anaconda and install and lookup take excessive time on builds.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( packages=files, install_requires=[ 'ansible>=2.0.0', - 'hvac>=0.9.2', + 'hvac>=0.9.5', 'requests', ], )
Upgrade hvac to have latest fix on the consul secret engine
py
diff --git a/pycbc/conversions.py b/pycbc/conversions.py index <HASH>..<HASH> 100644 --- a/pycbc/conversions.py +++ b/pycbc/conversions.py @@ -27,6 +27,7 @@ This modules provides a library of functions that calculate waveform parameters from other parameters. All exposed functions in this module's namespace return on...
add from future division (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='dagobah', - version='0.1.1', + version='0.1.2', description='Simple DAG-based job scheduler', url='http://github.com/tthieman/dagobah', a...
Increment version in setup.py
py
diff --git a/more_itertools/more.py b/more_itertools/more.py index <HASH>..<HASH> 100644 --- a/more_itertools/more.py +++ b/more_itertools/more.py @@ -167,7 +167,7 @@ def collate(*iterables, **kwargs): while peekables: _, p = min_or_max((key(p.peek()), p) for p in peekables) yield p.next() - ...
Avoid reusing variable `p`, but don't add a function call.
py
diff --git a/Lib/fontmake/font_project.py b/Lib/fontmake/font_project.py index <HASH>..<HASH> 100644 --- a/Lib/fontmake/font_project.py +++ b/Lib/fontmake/font_project.py @@ -541,11 +541,17 @@ class FontProject: if "GSUB" in gsub_src: font["GSUB"] = gsub_src["GSUB"] - ...
Don't re-use autohint variable
py
diff --git a/bokeh/tests/test_objects.py b/bokeh/tests/test_objects.py index <HASH>..<HASH> 100644 --- a/bokeh/tests/test_objects.py +++ b/bokeh/tests/test_objects.py @@ -21,6 +21,7 @@ def large_plot(n): yaxis = LinearAxis(plot=plot, dimension=1) xgrid = Grid(plot=plot, dimension=0) ygrid = G...
Update test_objects.py after adding tickers and formatters
py
diff --git a/indra/assemblers/html/assembler.py b/indra/assemblers/html/assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/html/assembler.py +++ b/indra/assemblers/html/assembler.py @@ -192,6 +192,8 @@ class HtmlAssembler(object): names = key[1] tl_key = '-'.join([str(name) for ...
Bold the entity names in top level.
py
diff --git a/textx/textx.py b/textx/textx.py index <HASH>..<HASH> 100644 --- a/textx/textx.py +++ b/textx/textx.py @@ -717,18 +717,7 @@ class TextXVisitor(PTNodeVisitor): .format(op, text((line, col))), line, col) # Separator modifier - if 'sep' in modifiers: - ...
Simplified code for separator modifiers for many assignments.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import sdist_upip setup(name='picoweb', - version='1.8.1', + version='1.8.2', description="A very lightweight, memory-efficient async web framework \ for Pycopy (https://github.com/pfalcon/p...
setup.py: Release <I>.
py
diff --git a/mockito_test/aliases_test.py b/mockito_test/aliases_test.py index <HASH>..<HASH> 100644 --- a/mockito_test/aliases_test.py +++ b/mockito_test/aliases_test.py @@ -8,5 +8,6 @@ class AliasesTest(TestBase): def testMockCreationAlias(self): self.assertEquals(mock, Mock) -if __name__ == '__main__': ...
Fix unresolved import.
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -758,7 +758,8 @@ class Move(object): def __bool__(self): return bool(self.from_square or self.to_square or self.promotion) - __nonzero__ = __bool__ + def __nonzero__(se...
Add Move __nonzero__ for performance
py
diff --git a/graphene/contrib/django/fields.py b/graphene/contrib/django/fields.py index <HASH>..<HASH> 100644 --- a/graphene/contrib/django/fields.py +++ b/graphene/contrib/django/fields.py @@ -62,6 +62,12 @@ class DjangoModelField(Field): super(DjangoModelField, self).__init__(None, *args, **kwargs) ...
Fixed foreign key, oneToOne resolve
py
diff --git a/lander/config.py b/lander/config.py index <HASH>..<HASH> 100644 --- a/lander/config.py +++ b/lander/config.py @@ -337,12 +337,14 @@ class Configuration(object): 'environment': None, 'lsstdoc_tex_path': None, 'title': None, + 'title_plain': "", ...
Add defaults for title/abstract_plain Needed in case the document does not have an abstract available.
py
diff --git a/ipython_helpers/notebook.py b/ipython_helpers/notebook.py index <HASH>..<HASH> 100644 --- a/ipython_helpers/notebook.py +++ b/ipython_helpers/notebook.py @@ -164,7 +164,8 @@ class SessionManager(object): raise IOError('Notebook file not found: %s' % filepath) notebook_dir = pa...
Fix handling of daemon kwarg in open
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,5 +1,5 @@ from __future__ import absolute_import -from .file_watcher import setup_file_watcher +#from .file_watc...
Disable Pyinotify until a better solution is found
py
diff --git a/pyathenajdbc/__init__.py b/pyathenajdbc/__init__.py index <HASH>..<HASH> 100644 --- a/pyathenajdbc/__init__.py +++ b/pyathenajdbc/__init__.py @@ -56,10 +56,10 @@ Timestamp = datetime.datetime def connect(s3_staging_dir=None, access_key=None, secret_key=None, region_name=None, profile_name=N...
Add jvm_path argument to connect method
py
diff --git a/nba_py/__init__.py b/nba_py/__init__.py index <HASH>..<HASH> 100644 --- a/nba_py/__init__.py +++ b/nba_py/__init__.py @@ -58,20 +58,20 @@ def _get_json(endpoint, params): class Scoreboard: - _endpoint = 'scoreboard' """ A scoreboard for all games for a given day Displays current games plu...
Change to sphinx friendly doc comment
py
diff --git a/Python/ibmcloudsql/SQLQuery.py b/Python/ibmcloudsql/SQLQuery.py index <HASH>..<HASH> 100644 --- a/Python/ibmcloudsql/SQLQuery.py +++ b/Python/ibmcloudsql/SQLQuery.py @@ -203,7 +203,7 @@ class SQLQuery(): elif job_details['status'] != 'completed': raise ValueError('SQL job with jobId {...
Fix regression in delete_result()
py
diff --git a/tests/test_freshness_date_parser.py b/tests/test_freshness_date_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_freshness_date_parser.py +++ b/tests/test_freshness_date_parser.py @@ -146,6 +146,9 @@ class TestFreshnessDateDataParser(BaseTestCase): period='day'), # Czech dat...
adding czech tests for simplifications
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -192,7 +192,7 @@ class CondorJob: """ return self.__short_options - def add_ini_opts(self, cp, section): + def add_ini_opts(self, cp, section, doZip=False): """ Parse com...
Adding a doZip option to CondorJob:add_ini_options() to add a --write-compress option when doZip is True. Merging changes between <I> and <I> on cbc_s5_1yr_<I> branch onto head.
py
diff --git a/osmnx/footprints.py b/osmnx/footprints.py index <HASH>..<HASH> 100644 --- a/osmnx/footprints.py +++ b/osmnx/footprints.py @@ -242,7 +242,7 @@ def create_footprints_gdf(polygon=None, north=None, south=None, east=None, west= try: del footprints[item] except KeyError: - ...
logging key error instead of printing it
py
diff --git a/tests/db/utils_test.py b/tests/db/utils_test.py index <HASH>..<HASH> 100644 --- a/tests/db/utils_test.py +++ b/tests/db/utils_test.py @@ -743,6 +743,10 @@ class TestRemoveCte(unittest.TestCase): def test_malformed_cte_value(self): with open('tests/static/mail/malformed-header-CTE.eml') as fp:...
tests: update test_malformed_cte_value It now tests if malformed Content-Transfer-Encoding values are reported in the logs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -143,14 +143,14 @@ kw = {'name': "pyscard", 'Operating System :: Unix', 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS :: MacOS X', - 'Programming Language :: P...
setup: remove Python <I> & <I> and add <I> & <I> Python 2.x is not more supported.
py
diff --git a/src/xopen/__init__.py b/src/xopen/__init__.py index <HASH>..<HASH> 100644 --- a/src/xopen/__init__.py +++ b/src/xopen/__init__.py @@ -35,6 +35,8 @@ from typing import Optional, Union, TextIO, AnyStr, IO, List, Set from ._version import version as __version__ +BUFFER_SIZE = max(io.DEFAULT_BUFFER_SIZE, ...
Force python to read in larger chunks
py
diff --git a/tests/integration/cloud/clouds/test_digitalocean.py b/tests/integration/cloud/clouds/test_digitalocean.py index <HASH>..<HASH> 100644 --- a/tests/integration/cloud/clouds/test_digitalocean.py +++ b/tests/integration/cloud/clouds/test_digitalocean.py @@ -7,7 +7,14 @@ Integration tests for DigitalOcean APIv2...
Don't fail test collection because of misssing crypto library
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -51,7 +51,7 @@ try: import pymysql as mysql except ImportError: try: - import MySQLdb as mysql # prefer the C module. + import MySQLdb as mysql mysql_passwd = True except ImportError...
Fix comment about mysql driver. Refs #<I>.
py
diff --git a/rinohlib/templates/book.py b/rinohlib/templates/book.py index <HASH>..<HASH> 100644 --- a/rinohlib/templates/book.py +++ b/rinohlib/templates/book.py @@ -1,6 +1,6 @@ from rinoh.document import DocumentPart, Page, DocumentSection -from rinoh.layout import Container +from rinoh.layout import FlowablesCont...
Adapt the Book template to the Container changes
py
diff --git a/pandora/transport.py b/pandora/transport.py index <HASH>..<HASH> 100644 --- a/pandora/transport.py +++ b/pandora/transport.py @@ -172,7 +172,6 @@ class APITransport(object): if not self.start_time: self.start_time = int(time.time()) - @retries(5, exceptions=(SysCallError,)) ...
Move retry decorator to main __call__ method.
py
diff --git a/source/rafcon/gui/controllers/utils/tree_view_controller.py b/source/rafcon/gui/controllers/utils/tree_view_controller.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/controllers/utils/tree_view_controller.py +++ b/source/rafcon/gui/controllers/utils/tree_view_controller.py @@ -136,7 +136,9 @@ class...
fix tree view error of #<I>
py
diff --git a/tests/mongod.py b/tests/mongod.py index <HASH>..<HASH> 100644 --- a/tests/mongod.py +++ b/tests/mongod.py @@ -29,6 +29,7 @@ class Mongod(object): '--dbpath', str(self.dbpath), '--noprealloc', '--nojournal', '--smallfiles', '--nssize', '1', + ...
--nohttpinterface added to temporary mongod process while testing
py
diff --git a/atrcopy/dos33.py b/atrcopy/dos33.py index <HASH>..<HASH> 100644 --- a/atrcopy/dos33.py +++ b/atrcopy/dos33.py @@ -248,7 +248,20 @@ class Dos33DiskImage(DiskImageBase): self.files = files def get_boot_segments(self): - return [] + segments = [] + s = self.get_sector_slic...
Added DOS <I> boot segments
py
diff --git a/tests/test_typechecks.py b/tests/test_typechecks.py index <HASH>..<HASH> 100644 --- a/tests/test_typechecks.py +++ b/tests/test_typechecks.py @@ -1,5 +1,5 @@ # typedload -# Copyright (C) 2018-2021 Salvo "LtWorf" Tomaselli +# Copyright (C) 2018-2022 Salvo "LtWorf" Tomaselli # # typedload is free software...
Added test for NotRequired in python<I>
py
diff --git a/src/sos/targets.py b/src/sos/targets.py index <HASH>..<HASH> 100644 --- a/src/sos/targets.py +++ b/src/sos/targets.py @@ -901,14 +901,16 @@ class sos_targets(BaseTarget, Sequence, os.PathLike): f'Cannot test existense for group of {len(self)} targets {self!r}') def __getattr__(self,...
Allow the use of attribute to access subtargets with source name
py
diff --git a/datefinder.py b/datefinder.py index <HASH>..<HASH> 100644 --- a/datefinder.py +++ b/datefinder.py @@ -156,7 +156,7 @@ class DateFinder(object): # add timezones to replace cloned_replacements = copy.copy(self.REPLACEMENTS) ## don't mutate for tz_string in captures.get('timezones'...
make sure timezone replacements add space
py
diff --git a/neutronclient/neutron/v2_0/lb/member.py b/neutronclient/neutron/v2_0/lb/member.py index <HASH>..<HASH> 100644 --- a/neutronclient/neutron/v2_0/lb/member.py +++ b/neutronclient/neutron/v2_0/lb/member.py @@ -29,7 +29,7 @@ class ListMember(neutronV20.ListCommand): resource = 'member' log = logging.g...
Adding weight column to Neutron lb member list CLI Adding 'weight' column to lbaas member-list command in order to quickly identify member properties. Protocol port was already been shown. This avoids having to enter each member details to see the weights settings. Change-Id: Id3c8cd8b<I>e2d<I>ed3bb<I> Closes-Bug: #<...
py
diff --git a/openquake/job/__init__.py b/openquake/job/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/job/__init__.py +++ b/openquake/job/__init__.py @@ -20,6 +20,7 @@ import os import re +import sys import subprocess import urlparse import logging @@ -108,8 +109,10 @@ def run_job(job_file, output_type)...
job/__init__: master process exits with code 1 if any of children fail Former-commit-id: 8abe9a<I>a<I>f<I>df9c<I>c3f3cf7e
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -137,8 +137,8 @@ html_theme_options = { 'github_banner': True, 'show_powered_by': False, 'extra_nav_links': { - 'invenio-records-ui@GitHub': 'http://github.com/inveniosoftware/invenio-reco...
docs: autodoc configuration and HTTPS fix * Replaces HTTP links with HTTPS where possible.
py
diff --git a/pyrtl/simulation.py b/pyrtl/simulation.py index <HASH>..<HASH> 100644 --- a/pyrtl/simulation.py +++ b/pyrtl/simulation.py @@ -598,9 +598,7 @@ class FastSimulation(object): read_addr, self.default_value) elif net.op == '@': m...
Small style cleanups in FastSim
py
diff --git a/tests/dining_test.py b/tests/dining_test.py index <HASH>..<HASH> 100644 --- a/tests/dining_test.py +++ b/tests/dining_test.py @@ -18,7 +18,9 @@ class TestDining(unittest.TestCase): self.assertTrue(len(venues) > 0) id = str(venues["id"]) data = self.din.menu_daily(id) - sel...
fix test case when dining hall is closed
py
diff --git a/traffic/plugins/leaflet.py b/traffic/plugins/leaflet.py index <HASH>..<HASH> 100644 --- a/traffic/plugins/leaflet.py +++ b/traffic/plugins/leaflet.py @@ -48,10 +48,10 @@ def airspace_leaflet(airspace: "Airspace", **kwargs) -> Polygon: kwargs = {**dict(weight=3), **kwargs} coords: List[Any] = [] ...
fix for geojson with altitudes
py
diff --git a/python/thunder/rdds/series.py b/python/thunder/rdds/series.py index <HASH>..<HASH> 100644 --- a/python/thunder/rdds/series.py +++ b/python/thunder/rdds/series.py @@ -321,6 +321,14 @@ class Series(Data): rdd = self.rdd.mapValues(func) return self._constructor(rdd, index=self._index).__fina...
Add methods for seriesMean and seriesMax
py
diff --git a/grimoire/elk/twitter.py b/grimoire/elk/twitter.py index <HASH>..<HASH> 100644 --- a/grimoire/elk/twitter.py +++ b/grimoire/elk/twitter.py @@ -94,13 +94,15 @@ class TwitterEnrich(Enrich): tweet = item # data fields to copy - copy_fields = ["id", "created_at", "lang", "place", "ret...
[enrich][twitter] Convert created_at string to date in enrich index so we can use it in Kibana
py
diff --git a/mongo-connector/oplog_manager.py b/mongo-connector/oplog_manager.py index <HASH>..<HASH> 100755 --- a/mongo-connector/oplog_manager.py +++ b/mongo-connector/oplog_manager.py @@ -88,7 +88,7 @@ class OplogThread(threading.Thread): if auth_key is not None: #Authenticate for the whole s...
Fixed oplog_manager connection, now authenticates the correct connection.
py
diff --git a/GPy/util/datasets.py b/GPy/util/datasets.py index <HASH>..<HASH> 100644 --- a/GPy/util/datasets.py +++ b/GPy/util/datasets.py @@ -87,8 +87,11 @@ def download_url(url, store_directory, save_name = None, messages = True, suffix if not hasattr(e, "code"): raise response = e - ...
Added some more error checking for downloading datasets.
py
diff --git a/tests/test_resolver.py b/tests/test_resolver.py index <HASH>..<HASH> 100644 --- a/tests/test_resolver.py +++ b/tests/test_resolver.py @@ -3,12 +3,12 @@ import socket import ipaddress import aiodns import unittest -import pytest from aiohttp.resolver import AsyncResolver, ExecutorResolver -@pytest.s...
Don't test BaseResolverTestCase
py
diff --git a/reana_commons/version.py b/reana_commons/version.py index <HASH>..<HASH> 100755 --- a/reana_commons/version.py +++ b/reana_commons/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.5.0.dev20190314" +__version__ = "0.5.0.de...
release: <I>.de<I>
py
diff --git a/telethon/_network/mtprotosender.py b/telethon/_network/mtprotosender.py index <HASH>..<HASH> 100644 --- a/telethon/_network/mtprotosender.py +++ b/telethon/_network/mtprotosender.py @@ -625,8 +625,16 @@ class MTProtoSender: """ self._log.debug('Handling gzipped data') with Binary...
Handle TypeNotFoundError during gzip packed msgs
py
diff --git a/htdocs/api/v1/alert-dbapi.py b/htdocs/api/v1/alert-dbapi.py index <HASH>..<HASH> 100755 --- a/htdocs/api/v1/alert-dbapi.py +++ b/htdocs/api/v1/alert-dbapi.py @@ -21,7 +21,7 @@ import logging import pytz import re -__version__ = '1.9.10' +__version__ = '1.9.11' BROKER_LIST = [('localhost', 61613)] #...
Fix bug that broke from-date alert query
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( packages=find_packages(), include_package_data=True, install_requires=['pyhamcrest'], - tests_requires=['pyhamcrest'], + tests_require=['pyhamcrest'], test_suite="tests", zi...
Update setup.py My apologies I got it wrong the first time. Always get the plural wrong.
py
diff --git a/libre/settings.py b/libre/settings.py index <HASH>..<HASH> 100644 --- a/libre/settings.py +++ b/libre/settings.py @@ -194,6 +194,10 @@ SUIT_CONFIG = { ), } +REST_FRAMEWORK = { + 'URL_FORMAT_OVERRIDE': '_format', +} + try: from settings_local import * except ImportError:
Change the suffix to switch renderer from "format" to "_format"
py
diff --git a/djangosaml2/tests/__init__.py b/djangosaml2/tests/__init__.py index <HASH>..<HASH> 100644 --- a/djangosaml2/tests/__init__.py +++ b/djangosaml2/tests/__init__.py @@ -25,8 +25,10 @@ from django.core.management import call_command from django.db.models import loading from django.template import Template, C...
Add a test for the config loader functionality
py
diff --git a/tests/test_simulator.py b/tests/test_simulator.py index <HASH>..<HASH> 100644 --- a/tests/test_simulator.py +++ b/tests/test_simulator.py @@ -47,7 +47,7 @@ class TestSimulationCell(unittest.TestCase): self.assertTupleEqual(state_size, sz) def test_interm_size(self): - expected = ...
Refactor test_simualtor to handle changed Reservoir domain
py
diff --git a/wiring/scopes.py b/wiring/scopes.py index <HASH>..<HASH> 100644 --- a/wiring/scopes.py +++ b/wiring/scopes.py @@ -6,6 +6,7 @@ from wiring import interface __all__ = ( 'IScope', + 'SingletonScope', 'ProcessScope', 'ThreadScope', )
Added SingletonScope to __all__.
py
diff --git a/engine/interpolation.py b/engine/interpolation.py index <HASH>..<HASH> 100644 --- a/engine/interpolation.py +++ b/engine/interpolation.py @@ -52,8 +52,13 @@ def interpolate_raster_vector_points(R, V, attribute_name=None): if attribute_name is None: attribute_name = R.get_name() - values ...
Caught error condition like the one encountered in issue #<I>
py