diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/saml2/config.py b/src/saml2/config.py index <HASH>..<HASH> 100644 --- a/src/saml2/config.py +++ b/src/saml2/config.py @@ -248,7 +248,11 @@ class Config(object): args["socktype"] = socket.SOCK_STREAM else: raise Exception...
Difference in logging SysLogHandler arguments between <I> and <I>
py
diff --git a/src/hieroglyph/builder.py b/src/hieroglyph/builder.py index <HASH>..<HASH> 100644 --- a/src/hieroglyph/builder.py +++ b/src/hieroglyph/builder.py @@ -44,7 +44,7 @@ def building_slides(app): class AbstractSlideBuilder(object): - format = 'slides' + format = 'html' add_permalinks = False ...
Fix #<I>: HieroglyphBuilder.format is not "html" To render custom nodes as HTML, hieroglyph builder should behave as a kind of HTML builder.
py
diff --git a/test/test_c_functions.py b/test/test_c_functions.py index <HASH>..<HASH> 100644 --- a/test/test_c_functions.py +++ b/test/test_c_functions.py @@ -10,6 +10,7 @@ except ImportError: from unittest.mock import patch, Mock from kernel_tuner.c import CFunctions, Argument +from kernel_tuner.core import Ke...
Adapt C backend compile test to new interface
py
diff --git a/sdmreader/sdmreader.py b/sdmreader/sdmreader.py index <HASH>..<HASH> 100644 --- a/sdmreader/sdmreader.py +++ b/sdmreader/sdmreader.py @@ -336,6 +336,7 @@ class BDFData (object): logger.warning('Something went wrong. Parsing bdf directly...') self._parse() else: ...
added message for no bdf pkl found
py
diff --git a/qiskit/tools/jupyter/job_widgets.py b/qiskit/tools/jupyter/job_widgets.py index <HASH>..<HASH> 100644 --- a/qiskit/tools/jupyter/job_widgets.py +++ b/qiskit/tools/jupyter/job_widgets.py @@ -67,7 +67,7 @@ def make_labels(): labels = widgets.HBox(children=[labels0, labels1, labels2, labels3, labels4],...
Increase job watcher cancel button width. (#<I>)
py
diff --git a/stanza/models/ner_tagger.py b/stanza/models/ner_tagger.py index <HASH>..<HASH> 100644 --- a/stanza/models/ner_tagger.py +++ b/stanza/models/ner_tagger.py @@ -116,6 +116,7 @@ def train(args): pretrain = None vocab = None trainer = None + if args['finetune'] and os.path.exists(model_file)...
Pass the charlm filenames to the trainer so that different charlm locations can be used when testing
py
diff --git a/autoflake.py b/autoflake.py index <HASH>..<HASH> 100644 --- a/autoflake.py +++ b/autoflake.py @@ -32,7 +32,7 @@ def standard_package_names(): yield name -SAFE_PACKAGES = set(standard_package_names()) - {'readline'} +SAFE_PACKAGES = set(standard_package_names()) - {'rlcompleter'} def u...
Blacklist "rlcompleter"
py
diff --git a/workers/worker_redis.py b/workers/worker_redis.py index <HASH>..<HASH> 100644 --- a/workers/worker_redis.py +++ b/workers/worker_redis.py @@ -81,7 +81,10 @@ class RedisResult(AsynchronousResultWrapper): @property def status(self): - raise NotImplementedError + return self.asyncres...
workflows: missing RQ worker code * Adds missing RQ worker code for .get() and .status().
py
diff --git a/mpop/satin/viirs_sdr.py b/mpop/satin/viirs_sdr.py index <HASH>..<HASH> 100644 --- a/mpop/satin/viirs_sdr.py +++ b/mpop/satin/viirs_sdr.py @@ -301,6 +301,7 @@ def load_viirs_sdr(satscene, options, *args, **kwargs): if not os.path.exists(directory): directory = globify(options["dir"]) % value...
Adding a bit of debug info...
py
diff --git a/cleverhans/dataset.py b/cleverhans/dataset.py index <HASH>..<HASH> 100644 --- a/cleverhans/dataset.py +++ b/cleverhans/dataset.py @@ -16,7 +16,7 @@ class Dataset(object): """ # The number of classes in the dataset. Should be specified by subclasses. - nb_classes = None + NB_CLASSES = None...
nb_classes -> NB_CLASSES
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ cmdclass = {} # -- versioning --------------------------------------------------------------- -import versioneer +import versioneer # nopep8 __version__ = versioneer.get_version() cmdclass.update(version...
setup.py: appeased pep8 [ci skip]
py
diff --git a/tests/load/test_load_report.py b/tests/load/test_load_report.py index <HASH>..<HASH> 100644 --- a/tests/load/test_load_report.py +++ b/tests/load/test_load_report.py @@ -19,7 +19,7 @@ def test_load_delivery_report_bad_case_id(panel_database): report_path=report_path) -def ...
renamed test method to match test
py
diff --git a/host/tune_noise_occupancy.py b/host/tune_noise_occupancy.py index <HASH>..<HASH> 100644 --- a/host/tune_noise_occupancy.py +++ b/host/tune_noise_occupancy.py @@ -25,7 +25,7 @@ class NoiseOccupancyScan(ScanBase): occupancy_limit : float Occupancy limit which is multiplied with measure...
ENH: add a few notes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -330,7 +330,7 @@ cmdclass = { 'test' : test, 'clean' : clean, } -extras_require = {'cuda': ['pycuda>=2015.1', 'scikits.cuda']} +extras_require = {'cuda': ['pycuda>=2015.1', 'scikit-cud...
Update dependancies for skcuda
py
diff --git a/scripts/parsedata.py b/scripts/parsedata.py index <HASH>..<HASH> 100755 --- a/scripts/parsedata.py +++ b/scripts/parsedata.py @@ -16,8 +16,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. import argparse -from time import strftime -from datetime import datetime +fr...
make url log sane
py
diff --git a/cwltool/argparser.py b/cwltool/argparser.py index <HASH>..<HASH> 100644 --- a/cwltool/argparser.py +++ b/cwltool/argparser.py @@ -215,7 +215,8 @@ def arg_parser(): # type: () -> argparse.ArgumentParser help="Will be passed to `docker run` as the '--net' " ...
Suppress command line help for --disable-validate to discourage people from using it.
py
diff --git a/salt/search/whoosh_search.py b/salt/search/whoosh_search.py index <HASH>..<HASH> 100644 --- a/salt/search/whoosh_search.py +++ b/salt/search/whoosh_search.py @@ -20,12 +20,15 @@ try: except ImportError: pass +# Define the module's virtual name +__virtualname__ = 'whoosh' + def __virtual__(): ...
`salt.search.whoosh_search` is now using `__virtualname__`
py
diff --git a/discord/http.py b/discord/http.py index <HASH>..<HASH> 100644 --- a/discord/http.py +++ b/discord/http.py @@ -33,7 +33,6 @@ from typing import ( ClassVar, Coroutine, Dict, - Final, Iterable, List, Optional, @@ -159,9 +158,6 @@ aiohttp.hdrs.WEBSOCKET = 'websocket' #type: ig...
Remove unused log lines in HTTPClient
py
diff --git a/lib/python/dxpy/bindings/dxfile_functions.py b/lib/python/dxpy/bindings/dxfile_functions.py index <HASH>..<HASH> 100644 --- a/lib/python/dxpy/bindings/dxfile_functions.py +++ b/lib/python/dxpy/bindings/dxfile_functions.py @@ -89,9 +89,12 @@ def download_dxfile(dxid, filename, chunksize=1024*1024): '''...
Fix bug in Python bindings: download_dxfile only downloaded one chunk.
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 @@ -45,7 +45,6 @@ extensions = [ 'sphinx.ext.autosummary', 'm2r', 'nbsphinx', - 'jupyter_sphinx.embed_widgets', ] exclude_patterns = ['_build', '**.ipynb_checkpoin...
Removing explicit call for jupyter sphinx embed widgets
py
diff --git a/mutant/hacks.py b/mutant/hacks.py index <HASH>..<HASH> 100644 --- a/mutant/hacks.py +++ b/mutant/hacks.py @@ -9,9 +9,10 @@ def patch_db_field_compare(): try: assert Field() != None except AttributeError: - def _Field__cmp__(self, other): + del Field.__cmp__ + def _Fi...
Updated the field comparison hack to reflect the update patch of django #<I>
py
diff --git a/paramz/__init__.py b/paramz/__init__.py index <HASH>..<HASH> 100644 --- a/paramz/__init__.py +++ b/paramz/__init__.py @@ -56,16 +56,23 @@ def load(file_or_path): :param file_name: path/to/file.pickle """ from pickle import UnpicklingError - try: + _python3 = True + try: im...
fix: load swallowed the import errors from missing packages...
py
diff --git a/cpt/test/unit/config_test.py b/cpt/test/unit/config_test.py index <HASH>..<HASH> 100644 --- a/cpt/test/unit/config_test.py +++ b/cpt/test/unit/config_test.py @@ -15,11 +15,11 @@ class RemotesTest(unittest.TestCase): def test_valid_config(self): manager = ConfigManager(self.conan_api, Printe...
Update Bincrafters config url for tests
py
diff --git a/cms_lab_publications/models.py b/cms_lab_publications/models.py index <HASH>..<HASH> 100644 --- a/cms_lab_publications/models.py +++ b/cms_lab_publications/models.py @@ -149,13 +149,13 @@ class Publication(models.Model): super(Publication, self).save(*args, **kwargs) def __str__(self): - ...
Return full publication title with Publication.__str__
py
diff --git a/angr/simos.py b/angr/simos.py index <HASH>..<HASH> 100644 --- a/angr/simos.py +++ b/angr/simos.py @@ -364,6 +364,9 @@ class SimCGC(SimOS): return s def state_entry(self, **kwargs): + if isinstance(self.proj.loader.main_bin, BackedCGC): + kwargs['permissions_backer'] = (Tru...
When loading from BackedCGC initialize the blank state with the permissions_map inside
py
diff --git a/bcbio/distributed/ipythontasks.py b/bcbio/distributed/ipythontasks.py index <HASH>..<HASH> 100644 --- a/bcbio/distributed/ipythontasks.py +++ b/bcbio/distributed/ipythontasks.py @@ -345,7 +345,7 @@ def machine_info(*args): @require(chipseq) def clean_chipseq_alignment(*args): args = ipython.unzip_ar...
Fix chipseq unique alignment cleaning. This was not getting run properly when running with IPython.
py
diff --git a/shap/plots/dependence.py b/shap/plots/dependence.py index <HASH>..<HASH> 100644 --- a/shap/plots/dependence.py +++ b/shap/plots/dependence.py @@ -151,9 +151,10 @@ def dependence_plot(ind, shap_values, features, feature_names=None, display_feat xvals = xvals.astype(np.float) xvals ...
Only apply jitter if we have at least 2 unique x-values after removing NaNs
py
diff --git a/SkyPy/util.py b/SkyPy/util.py index <HASH>..<HASH> 100644 --- a/SkyPy/util.py +++ b/SkyPy/util.py @@ -48,10 +48,13 @@ def initAttrs(cls): setattr(cls, "__init__", __init__) return cls -def convertIds(*types, user=(), users=(), chat=()): +def convertIds(*types, **kwargs): """ Class dec...
Keeping the compatibility with python<I>
py
diff --git a/beautifultable/rows.py b/beautifultable/rows.py index <HASH>..<HASH> 100644 --- a/beautifultable/rows.py +++ b/beautifultable/rows.py @@ -82,9 +82,11 @@ class RowData(BaseRow): if len(row_item) <= width: return row_item else: - assert width-len(delimiter) >= 0 - ...
Fixes #<I> : fixed exception on WEP_ELLIPSIS and token length less than 3
py
diff --git a/tests/test_crossbuild.py b/tests/test_crossbuild.py index <HASH>..<HASH> 100644 --- a/tests/test_crossbuild.py +++ b/tests/test_crossbuild.py @@ -11,6 +11,7 @@ from crossbuild import ( go_tarball, main, run_command, + version_from_tarball, working_directory, ) from utils import tem...
Added a test for version_from_tarball.
py
diff --git a/tests/test_client.py b/tests/test_client.py index <HASH>..<HASH> 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -284,8 +284,9 @@ class SSHClientTest (unittest.TestCase): def test_default_key_locations_trigger_cert_loads_if_found(self): # TODO: what it says on the tin: ~/.ss...
God damn it, really? Whatever.
py
diff --git a/src/sos/__main__.py b/src/sos/__main__.py index <HASH>..<HASH> 100755 --- a/src/sos/__main__.py +++ b/src/sos/__main__.py @@ -333,6 +333,10 @@ def cmd_run(args, workflow_args): except ImportError as e: raise RuntimeError(f'Python packages graphviz, pillow, and imageio are required for...
Checking the availability of command dot for the use of -p and -d #<I>
py
diff --git a/safe_qgis/impact_statistics/test/test_postprocessor_manager.py b/safe_qgis/impact_statistics/test/test_postprocessor_manager.py index <HASH>..<HASH> 100644 --- a/safe_qgis/impact_statistics/test/test_postprocessor_manager.py +++ b/safe_qgis/impact_statistics/test/test_postprocessor_manager.py @@ -77,7 +77,...
Try to make post processor tests pass (still gives one error due to layer count mismatch
py
diff --git a/.buildkite/pipeline.py b/.buildkite/pipeline.py index <HASH>..<HASH> 100644 --- a/.buildkite/pipeline.py +++ b/.buildkite/pipeline.py @@ -201,7 +201,6 @@ def dask_tests(): .on_integration_image( version, ['AWS_SECRET_ACCESS_KEY', 'AWS_ACCESS_KEY_ID', 'AWS_DEFAULT_REGION'] ...
Remove timeout for Dask builds Summary: Removes the aggressive timeout for Dask - builds that are running fine are getting killed Test Plan: n/a Reviewers: alangenfeld Reviewed By: alangenfeld Differential Revision: <URL>
py
diff --git a/globus_cli/commands/bookmark/list.py b/globus_cli/commands/bookmark/list.py index <HASH>..<HASH> 100644 --- a/globus_cli/commands/bookmark/list.py +++ b/globus_cli/commands/bookmark/list.py @@ -1,5 +1,6 @@ import click +from globus_sdk import TransferAPIError from globus_cli.parsing import common_optio...
catch TransferAPIError raised in BookmarkList when a bookmark exists for a deleted endpoint
py
diff --git a/ipyvolume/astro.py b/ipyvolume/astro.py index <HASH>..<HASH> 100644 --- a/ipyvolume/astro.py +++ b/ipyvolume/astro.py @@ -82,8 +82,9 @@ def stars(N=1000, radius=100000, thickness=3, seed=42, color=[255, 240, 240]): x /= r y /= r z /= r - return ipv.scatter(x, y, z, texture=radial_sprite((...
astro:fix: setting star material to transparent (doesn't seem to matter when no alpha channel in canvas)
py
diff --git a/drf_auto_endpoint/endpoints.py b/drf_auto_endpoint/endpoints.py index <HASH>..<HASH> 100644 --- a/drf_auto_endpoint/endpoints.py +++ b/drf_auto_endpoint/endpoints.py @@ -193,6 +193,9 @@ class Endpoint(with_metaclass(EndpointMetaClass, object)): def application_name(self): return self.model._m...
:heavy_plus_sign: add exclude_fields option to endpoints
py
diff --git a/app/actions/prottable/qvality.py b/app/actions/prottable/qvality.py index <HASH>..<HASH> 100644 --- a/app/actions/prottable/qvality.py +++ b/app/actions/prottable/qvality.py @@ -1,9 +1,12 @@ from app.dataformats import prottable as prottabledata +from app.dataformats import peptable as peptabledata -d...
Added svm as a measure to run qvality on for when it is run on peptide table
py
diff --git a/tests/mocktest.py b/tests/mocktest.py index <HASH>..<HASH> 100644 --- a/tests/mocktest.py +++ b/tests/mocktest.py @@ -19,7 +19,7 @@ if 'mocktest' in sys.modules: from testcase import TestCase from testutils import RunTests -from mock import Mock, sentinel, MakeMock +from mock import Mock, sentinel,...
Changing the way side_effect is called
py
diff --git a/abl/vpath/base/fs.py b/abl/vpath/base/fs.py index <HASH>..<HASH> 100644 --- a/abl/vpath/base/fs.py +++ b/abl/vpath/base/fs.py @@ -335,10 +335,12 @@ class BaseUri(object): @property def path(self): path = self.parse_result.path - if path.startswith('/.'): - return path[1...
Properly format file paths for Windows We were generating paths like `/c/path/to/some/file` on Windows, where paths should be formated like `c:/path/to/some/file`, resulting in errors in the web connector tests. This commit ensures paths are formatted correctly on Windows filesystems.
py
diff --git a/docs/level-7-use-custom-jinja2-filter-test-n-global/custom-jj2-plugin/filter.py b/docs/level-7-use-custom-jinja2-filter-test-n-global/custom-jj2-plugin/filter.py index <HASH>..<HASH> 100644 --- a/docs/level-7-use-custom-jinja2-filter-test-n-global/custom-jj2-plugin/filter.py +++ b/docs/level-7-use-custom-j...
:bug: fix filter for python 3
py
diff --git a/cosmic_ray/mutating.py b/cosmic_ray/mutating.py index <HASH>..<HASH> 100644 --- a/cosmic_ray/mutating.py +++ b/cosmic_ray/mutating.py @@ -46,6 +46,7 @@ def run_with_mutants(module_file, module_name, operator, func, q): log.info('{} successfully parsed'.format(module_name)) for record, mutant in...
Attaching filenames to activation records.
py
diff --git a/tests/test_routing.py b/tests/test_routing.py index <HASH>..<HASH> 100644 --- a/tests/test_routing.py +++ b/tests/test_routing.py @@ -554,9 +554,9 @@ def test_alias_redirects(): ]) a = m.bind('example.com') - def ensure_redirect(path, new_url): + def ensure_redirect(path, new_url, args=No...
Added another test case with query args
py
diff --git a/blockstore/lib/config.py b/blockstore/lib/config.py index <HASH>..<HASH> 100644 --- a/blockstore/lib/config.py +++ b/blockstore/lib/config.py @@ -46,7 +46,7 @@ BLOCKSTORED_CONFIG_FILE = 'blockstore.ini' try: BLOCKSTORED_SERVER = os.environ['BLOCKSTORED_SERVER'] - BLOCKSTORED_PORT = os.environ['B...
fixed bug where port read from ENV should be int
py
diff --git a/hwt/serializer/verilog/ops.py b/hwt/serializer/verilog/ops.py index <HASH>..<HASH> 100644 --- a/hwt/serializer/verilog/ops.py +++ b/hwt/serializer/verilog/ops.py @@ -43,6 +43,9 @@ class ToHdlAstVerilog_ops(): _, tmpVar = self.tmpVars.create_var_cached("tmp_concat_", operand._dtype, def_val=ope...
verilog: rewrite indexing on expression as tmp var
py
diff --git a/graphene_django_extras/fields.py b/graphene_django_extras/fields.py index <HASH>..<HASH> 100644 --- a/graphene_django_extras/fields.py +++ b/graphene_django_extras/fields.py @@ -221,7 +221,7 @@ class DjangoFilterPaginateListField(Field): kwargs["description"] = "{} list".format(_type._meta.mod...
NONNULL: Treat DjangoFilterPaginateListField the same as DjangoListField Currently DjangoFilterPaginateListField treats list items as nullable whereas DjangoListField doesn't. This ensures consistent handling of the two.
py
diff --git a/netmiko/paloalto/paloalto_panos.py b/netmiko/paloalto/paloalto_panos.py index <HASH>..<HASH> 100644 --- a/netmiko/paloalto/paloalto_panos.py +++ b/netmiko/paloalto/paloalto_panos.py @@ -51,6 +51,7 @@ class PaloAltoPanosBase(BaseConnection): def commit( self, + comment=None, ...
Add commit comment support to PaloAltoPanosBase class (#<I>)
py
diff --git a/perceval/backends/puppet/puppetforge.py b/perceval/backends/puppet/puppetforge.py index <HASH>..<HASH> 100644 --- a/perceval/backends/puppet/puppetforge.py +++ b/perceval/backends/puppet/puppetforge.py @@ -23,8 +23,8 @@ import json import logging -from grimoirelab.toolkit.datetime import datetime_to_ut...
[puppetforge] Change toolkit import This code replaces the import of grimoirelab toolkit to make the code working with the new package structure of the toolkit.
py
diff --git a/holoviews/ipython/display_hooks.py b/holoviews/ipython/display_hooks.py index <HASH>..<HASH> 100644 --- a/holoviews/ipython/display_hooks.py +++ b/holoviews/ipython/display_hooks.py @@ -236,7 +236,7 @@ def layout_display(layout, size, max_frames, max_branches, widget_mode): "recommended fo...
Updated link to nesting hierarchy diagram in warning message
py
diff --git a/src/livestreamer/plugins/beattv.py b/src/livestreamer/plugins/beattv.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/plugins/beattv.py +++ b/src/livestreamer/plugins/beattv.py @@ -50,12 +50,12 @@ _schema = validate.Schema( "status": int, "media": [{ "duratio...
plugins.beattv: Offsets can be floats or integers rather than just integers
py
diff --git a/tests/test_posthocs.py b/tests/test_posthocs.py index <HASH>..<HASH> 100644 --- a/tests/test_posthocs.py +++ b/tests/test_posthocs.py @@ -471,7 +471,7 @@ class TestPosthocs(unittest.TestCase): [2.857818e-06, 1.230888e-05, 1]]) results = sp.posthoc_wilcoxon(self.df....
increased abs tolerance for wilcoxon test
py
diff --git a/fusesoc/edalizer.py b/fusesoc/edalizer.py index <HASH>..<HASH> 100644 --- a/fusesoc/edalizer.py +++ b/fusesoc/edalizer.py @@ -63,7 +63,7 @@ class Edalizer(object): snippet['tool_options'] = {flags['tool'] : core.get_tool_options(_flags)} #Extract scripts - snippet['sc...
Fix broken hooks support in EDAM files
py
diff --git a/djcelery/loaders.py b/djcelery/loaders.py index <HASH>..<HASH> 100644 --- a/djcelery/loaders.py +++ b/djcelery/loaders.py @@ -20,12 +20,15 @@ class DjangoLoader(BaseLoader): self.configured = True return settings + def on_task_init(self, task_id, task): + self.close_database()...
Close database before and after. Closes #<I> (I hope)
py
diff --git a/PyFunceble.py b/PyFunceble.py index <HASH>..<HASH> 100755 --- a/PyFunceble.py +++ b/PyFunceble.py @@ -2107,6 +2107,7 @@ class Referer(object): "tj", "tp", "tt", + "va", "vi", "vn", "ye", @@ -3988,7 +3989,7 @@ if __name...
Introduction of `va` into the list of ignored extensions cf: No whois server.
py
diff --git a/workflows/transport/stomp_transport.py b/workflows/transport/stomp_transport.py index <HASH>..<HASH> 100644 --- a/workflows/transport/stomp_transport.py +++ b/workflows/transport/stomp_transport.py @@ -112,7 +112,7 @@ class StompTransport(CommonTransport): self._conn.set_listener('', self._stomp_lis...
don't need exception object. Python3 syntax error
py
diff --git a/data/db/db_migrations/env.py b/data/db/db_migrations/env.py index <HASH>..<HASH> 100644 --- a/data/db/db_migrations/env.py +++ b/data/db/db_migrations/env.py @@ -11,16 +11,13 @@ MRIDB_FOLDER = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__f from alembic import context from alembic.con...
Simplify setup of config var
py
diff --git a/pysat/_constellation.py b/pysat/_constellation.py index <HASH>..<HASH> 100644 --- a/pysat/_constellation.py +++ b/pysat/_constellation.py @@ -15,4 +15,6 @@ class Constellation(object): # FIXME pass - + + def __getitem__(instruments, index): + return self.instruments[index]
Added __getitem__ method
py
diff --git a/datajoint/erd.py b/datajoint/erd.py index <HASH>..<HASH> 100644 --- a/datajoint/erd.py +++ b/datajoint/erd.py @@ -149,15 +149,16 @@ class ERD(nx.DiGraph): Part: dict(size=7)} ax = plt.gca() for node in graph.nodes(data=True): - ax.text(pos[node[0]][0], pos[node[0]]...
fixed another bug specific to Python<I> and earlier versions
py
diff --git a/AlphaTwirl/Binning.py b/AlphaTwirl/Binning.py index <HASH>..<HASH> 100755 --- a/AlphaTwirl/Binning.py +++ b/AlphaTwirl/Binning.py @@ -65,6 +65,9 @@ class Round(object): return [self.__call__(v) for v in val] except TypeError: pass + return float(self._callImpDecima...
split Round.__call__() into two methods
py
diff --git a/hangups/ui/__main__.py b/hangups/ui/__main__.py index <HASH>..<HASH> 100644 --- a/hangups/ui/__main__.py +++ b/hangups/ui/__main__.py @@ -190,12 +190,6 @@ class ChatUI(object): """Open conversation tab for new messages & pass events to notifier.""" conv = self._conv_list.get(conv_event.co...
Fix attempt to notify for non-message events
py
diff --git a/src/sos/_version.py b/src/sos/_version.py index <HASH>..<HASH> 100644 --- a/src/sos/_version.py +++ b/src/sos/_version.py @@ -17,7 +17,7 @@ if _py_ver.major == 2 or (_py_ver.major == 3 and (_py_ver.minor, _py_ver.micro) # version of the SoS language __sos_version__ = '1.0' # version of the sos command ...
Release sos <I> for internal change
py
diff --git a/twitch/helix/api.py b/twitch/helix/api.py index <HASH>..<HASH> 100644 --- a/twitch/helix/api.py +++ b/twitch/helix/api.py @@ -133,6 +133,8 @@ class TwitchHelix(object): clip_ids=None, after=None, before=None, + started_at=None, + ended_at=None, page_size=20...
Added started_at and ended_at to get_clips function (#<I>)
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 __major_version__ = 0 __minor_version__ = 0 -__patch_version__ = 26 +__patch_version__ = 27 def readme():
Bumping version to <I>
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -5437,7 +5437,7 @@ class MenuNode(object): filename/linenr: The location where the menu node appears. The filename is relative to $srctree (or to the current directory if $srctree isn't s...
Make MenuNode.filename documentation more accurate re. absolute paths An absolute path to within $srctree is turned into a relative path, and a relative path with '..' in it might be turned into an absolute path. Only whether the path is within $srctree matters.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -15,6 +15,7 @@ # (see http://peterdowns.com/posts/first-time-with-pypi.html) +from setuptools import setup, find_packages from numpy.distutils.core import setup, Extension from os import path import io
setup.py is a fragile thing - unused packages with side effects on import
py
diff --git a/cheroot/test/pure_pytest/test_core.py b/cheroot/test/pure_pytest/test_core.py index <HASH>..<HASH> 100644 --- a/cheroot/test/pure_pytest/test_core.py +++ b/cheroot/test/pure_pytest/test_core.py @@ -77,27 +77,10 @@ def testing_server(wsgi_server): def server_client(testing_server): host, port = testin...
Do available IP version resolution at socket level
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( install_requires=["pluginbase", "future", # "oic", - # "pyjwkest", + "pyjwkest", # "pysa...
Add pyjwkest as a dependency in setup.py.
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -117,7 +117,7 @@ copyright = '2013 SaltStack, Inc.' version = salt.version.__version__ #release = '.'.join(map(str, salt.version.__version_info__)) -release = '2014.1.0' +release = '0.17.5' language = 'en' ...
Wait until actual announced release to change doc version
py
diff --git a/examples/plotting/file/color_sliders.py b/examples/plotting/file/color_sliders.py index <HASH>..<HASH> 100755 --- a/examples/plotting/file/color_sliders.py +++ b/examples/plotting/file/color_sliders.py @@ -127,5 +127,5 @@ layout = bkplt.hplot( vform(p1, p2) ) -bkplt.output_file("colorSliders.html") +b...
changed name of HTML output to fit with project convention
py
diff --git a/djrichtextfield/models.py b/djrichtextfield/models.py index <HASH>..<HASH> 100644 --- a/djrichtextfield/models.py +++ b/djrichtextfield/models.py @@ -6,8 +6,6 @@ from djrichtextfield.widgets import RichTextWidget class RichTextField(models.TextField): - _south_introspects = True - def __init__...
Remove unused _south_introspects member
py
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/dflow.py +++ b/parsl/dataflow/dflow.py @@ -714,6 +714,22 @@ class DataFlowKernel(object): if not self.cleanup_called: self.cleanup() + def cleanup_wait_for_all_tasks(self): + ...
Wait for all tasks to complete during DFK cleanup There is a potential race here with tasks that are submitted after DFK cleanup has begun: * a task on a local threaded executor might be running and submit such a task * I'm unclear if data stageout tasks appear as regular tasks The second of those point...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -69,6 +69,11 @@ class SWIG_build(build): self.run_command('build_ext') return build.run(self) +# list example scripts +examples = list(map( + lambda x: os.path.join('examples', x), + filter(lambda x: ...
Add examples and README etc to package data_files. This should ensure they are available when package is installed with pip.
py
diff --git a/pin_passcode/views.py b/pin_passcode/views.py index <HASH>..<HASH> 100644 --- a/pin_passcode/views.py +++ b/pin_passcode/views.py @@ -16,10 +16,14 @@ def auth(request): if not username: username = 'admin' - user = get_user_model().objects.get(username=username) - ...
Handle User.DoesNotExist
py
diff --git a/pinax/referrals/views.py b/pinax/referrals/views.py index <HASH>..<HASH> 100644 --- a/pinax/referrals/views.py +++ b/pinax/referrals/views.py @@ -48,6 +48,7 @@ def process_referral(request, code): referral = get_object_or_404(Referral, code=code) session_key = ensure_session_key(request) ref...
Update views.py Added `max_age` to set_cookie method
py
diff --git a/probfit/py23_compat.py b/probfit/py23_compat.py index <HASH>..<HASH> 100644 --- a/probfit/py23_compat.py +++ b/probfit/py23_compat.py @@ -13,6 +13,6 @@ else: # just in case PY4 if PY2: - range = xrange + range = xrange # pylint: disable=undefined-variable else: range = range
Disable pylint warning for xrange. Pylint complains that xrange is an undefined variable when its run under Python 3. This is true, which is why the offending line is wrapped with an 'if PY3' clause.
py
diff --git a/pysrt/srtfile.py b/pysrt/srtfile.py index <HASH>..<HASH> 100644 --- a/pysrt/srtfile.py +++ b/pysrt/srtfile.py @@ -286,7 +286,13 @@ class SubRipFile(UserList, object): @classmethod def _detect_encoding(cls, path): - report = charade.detect(open(path).read()) + sample = open(path).r...
Reintroduce manual BOM detection since charade/chadet often miss them
py
diff --git a/src/future/types/newobject.py b/src/future/types/newobject.py index <HASH>..<HASH> 100644 --- a/src/future/types/newobject.py +++ b/src/future/types/newobject.py @@ -86,6 +86,8 @@ class newobject(object): def __nonzero__(self): if hasattr(self, '__bool__'): return type(self).__bo...
Putative fix for issue #<I>
py
diff --git a/tests/test-scout2.py b/tests/test-scout2.py index <HASH>..<HASH> 100644 --- a/tests/test-scout2.py +++ b/tests/test-scout2.py @@ -22,3 +22,21 @@ class TestScout2Class: process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE) process.wait() assert process.returncode...
Add test cases for S3 acls and S3 encryption
py
diff --git a/ziggurat_foundations/models.py b/ziggurat_foundations/models.py index <HASH>..<HASH> 100644 --- a/ziggurat_foundations/models.py +++ b/ziggurat_foundations/models.py @@ -355,7 +355,7 @@ class ExternalIdentityMixin(BaseModel): @declared_attr def external_user_name(cls): - return sa.Column...
make sure model creates column of right size
py
diff --git a/acos_client/v21/action.py b/acos_client/v21/action.py index <HASH>..<HASH> 100644 --- a/acos_client/v21/action.py +++ b/acos_client/v21/action.py @@ -44,13 +44,18 @@ class Action(base.BaseV21): if partition is not None: write_cmd = "active-partition {0}\r\n{1}".format(partition, write...
throw last exception if retry loop finishes
py
diff --git a/cumulus/management/commands/syncstatic.py b/cumulus/management/commands/syncstatic.py index <HASH>..<HASH> 100644 --- a/cumulus/management/commands/syncstatic.py +++ b/cumulus/management/commands/syncstatic.py @@ -18,6 +18,8 @@ class Command(BaseCommand): optparse.make_option('-t', '--test-run', ...
Allow container name to be overridden at runtime
py
diff --git a/bibliopixel/animation/animation.py b/bibliopixel/animation/animation.py index <HASH>..<HASH> 100644 --- a/bibliopixel/animation/animation.py +++ b/bibliopixel/animation/animation.py @@ -52,7 +52,7 @@ class Animation(object): @color_list.setter def color_list(self, cl): - self.layout.colo...
Fix animation to use the layout's color_list property * Otherwise we don't get the cool conversions from the Layout.color_list setter.
py
diff --git a/test/test_exceptions.py b/test/test_exceptions.py index <HASH>..<HASH> 100644 --- a/test/test_exceptions.py +++ b/test/test_exceptions.py @@ -7,7 +7,7 @@ class Person(StructuredNode): def test_cypher_exception_can_be_displayed(): - print CypherException("SOME QUERY", (), "ERROR", None, None) + p...
Fix syntax Error for compability with python 3.X
py
diff --git a/modules/search.py b/modules/search.py index <HASH>..<HASH> 100644 --- a/modules/search.py +++ b/modules/search.py @@ -19,7 +19,19 @@ import urllib2 from xml.dom import minidom import xml.parsers.expat -#from subdownloader.modules import configuration +from subdownloader import subtitlefile + +class Movi...
Added the class Movie for crawling.
py
diff --git a/ait/core/bin/ait_ccsds_send_example.py b/ait/core/bin/ait_ccsds_send_example.py index <HASH>..<HASH> 100755 --- a/ait/core/bin/ait_ccsds_send_example.py +++ b/ait/core/bin/ait_ccsds_send_example.py @@ -26,8 +26,8 @@ zoe 1 packet_type 0001 <spare> ...
Issue #<I> - Prevent auto execute on import for ait_ccsds_send_example
py
diff --git a/cheroot/cli.py b/cheroot/cli.py index <HASH>..<HASH> 100644 --- a/cheroot/cli.py +++ b/cheroot/cli.py @@ -134,6 +134,7 @@ def parse_wsgi_bind_location(bind_addr_string): # with value: "<value>" and port: None if bind_addr_string.startswith('@'): return AbstractSocket(bind_addr_string[1:]...
Add some blank lines to give structure in `parse_wsgi_bind_location`
py
diff --git a/treepoem/__init__.py b/treepoem/__init__.py index <HASH>..<HASH> 100644 --- a/treepoem/__init__.py +++ b/treepoem/__init__.py @@ -77,10 +77,10 @@ def _get_bbox(code): BBOX_COMMAND, universal_newlines=True, stdin=subprocess.PIPE, - stdout=subprocess.DEVNULL, + stdout...
Remove Python 3isms - now works in <I> and <I>
py
diff --git a/cartoframes/context.py b/cartoframes/context.py index <HASH>..<HASH> 100644 --- a/cartoframes/context.py +++ b/cartoframes/context.py @@ -136,6 +136,12 @@ class CartoContext(object): def _is_authenticated(self): """Checks if credentials allow for authenticated carto access""" + # POS...
adds validation of baseurl on https
py
diff --git a/pygal/view.py b/pygal/view.py index <HASH>..<HASH> 100644 --- a/pygal/view.py +++ b/pygal/view.py @@ -135,8 +135,8 @@ class Box(object): if not self.width: self.xmax = self.xmin + 1 if not self.height: - self.ymin -= .5 - self.ymax = self.ymin + 1 + ...
Fix box differently to avoid getting a null height on huge numbers
py
diff --git a/astrobase/varbase/lcfit.py b/astrobase/varbase/lcfit.py index <HASH>..<HASH> 100644 --- a/astrobase/varbase/lcfit.py +++ b/astrobase/varbase/lcfit.py @@ -1967,11 +1967,11 @@ def mandelagol_fit_magseries(times, mags, errs, if plotcorner: if isinstance(trueparams,dict): trueparamke...
lcfit: code cleaning for readability
py
diff --git a/omxplayer/player.py b/omxplayer/player.py index <HASH>..<HASH> 100644 --- a/omxplayer/player.py +++ b/omxplayer/player.py @@ -90,8 +90,8 @@ class OMXPlayer(object): process = subprocess.Popen(command, stdout=devnull, preexec_f...
Cleanup: Beautify formatting in omxplayer/player.py
py
diff --git a/build.py b/build.py index <HASH>..<HASH> 100755 --- a/build.py +++ b/build.py @@ -178,7 +178,7 @@ def build_src_external_src_exports_js(t): '--exports', 'src/objectliterals.exports', EXPORTS) -@target('build/src/external/src/types.js', 'bin/generate-exports', +@target('build/src/external/...
Fix build/src/external/src/types.js dependency The dependencies for build/src/external/src/types.js were wrong, which meant that build/src/external/src/types.js would always be rebuilt, which meant that almost everything else would be rebuilt too.
py
diff --git a/zappa/cli.py b/zappa/cli.py index <HASH>..<HASH> 100755 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -450,6 +450,10 @@ class ZappaCLI(object): # been specified AND that stage_env='showmigrations') # By having command_rest collect everything but --all we can split it # apart here inst...
Fixed when running zappa with no parameters Fixed issue when running Zappa with no arguments. First, there was no checking to verify if any command was passed as an argument in the command-line and later on the dispatch_command function we were trying to get the value of 'json' in self.vargs causing an unhandled KeyEr...
py
diff --git a/messaging_client/messaging_client.py b/messaging_client/messaging_client.py index <HASH>..<HASH> 100644 --- a/messaging_client/messaging_client.py +++ b/messaging_client/messaging_client.py @@ -24,9 +24,16 @@ class MessagingClient(object): """ return self.command_line_parser.parse() - ...
Added option to add host and port to MessagingClient before connect.
py
diff --git a/lib/tri/table/__init__.py b/lib/tri/table/__init__.py index <HASH>..<HASH> 100644 --- a/lib/tri/table/__init__.py +++ b/lib/tri/table/__init__.py @@ -1334,7 +1334,7 @@ class Table(RefinableObject): .filter(**self.bulk_filter) \ .exclude(**self.bulk_exclude) - if self._bul...
bulk_queryset should be usable to create your own bulk actions without using Table.bulk_form
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup( name='claripy', version='4.6.6.28', - packages=['claripy', 'claripy.backends', 'claripy.frontends', 'claripy.vsa', 'claripy.ast'], + packages=['claripy', 'c...
Update setup.py with the new module.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,9 +53,9 @@ setup(license="Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)", ], install_requires=[ "attrs>=17.4.0", # https://github.com/biocommons/hgvs/issues/473 - "bioco...
pin biocommons dependencies to versions that support <I> and <I>+
py
diff --git a/angr/simos.py b/angr/simos.py index <HASH>..<HASH> 100644 --- a/angr/simos.py +++ b/angr/simos.py @@ -58,9 +58,17 @@ class SimOS(object): A class describing OS/arch-level configuration. """ - def __init__(self, project, name=None): + def __init__(self, project, name=None, disable_externs=...
Hack to disable externs support if there are no externs
py
diff --git a/simple_elastic/index.py b/simple_elastic/index.py index <HASH>..<HASH> 100644 --- a/simple_elastic/index.py +++ b/simple_elastic/index.py @@ -124,16 +124,19 @@ class ElasticIndex: results.append(items) return results - def scroll(self, query=None, scroll='5m', size=100): + ...
feat(Scroll): Add unpack param. This allows the user to specify wether the _source field is unpacked or not. In case of unpacking no metadata fields are returned.
py
diff --git a/spinoff/util/testing.py b/spinoff/util/testing.py index <HASH>..<HASH> 100644 --- a/spinoff/util/testing.py +++ b/spinoff/util/testing.py @@ -185,11 +185,15 @@ class MockActor(BaseActor): class RootActor(MockActor): - def handle(self, msg): - if msg[0] == 'error' and isinstance(msg[-2], Asse...
Added automatic raising of received exceptions in util.testing.run
py