diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,8 +41,8 @@ setup( setup_requires=['setuptools_scm!=1.5.3,!=1.5.4'], description="CMSIS-DAP debugger for Python", long_description=open('README.rst', 'Ur').read(), - author="Martin Kojtal, Russ Butler", - ...
Add me to owners in setup.py.
py
diff --git a/uncompyle6/scanners/scanner3.py b/uncompyle6/scanners/scanner3.py index <HASH>..<HASH> 100644 --- a/uncompyle6/scanners/scanner3.py +++ b/uncompyle6/scanners/scanner3.py @@ -916,7 +916,7 @@ class Scanner3(Scanner): # Python 3.5 may remove as dead code a JUMP # inst...
Accept x0ret's suggestion for <I>+ if detection.. in the presense of a try block. Fixes #<I>
py
diff --git a/tests/test_version_metadata.py b/tests/test_version_metadata.py index <HASH>..<HASH> 100644 --- a/tests/test_version_metadata.py +++ b/tests/test_version_metadata.py @@ -79,7 +79,7 @@ class TestVersionedMetadata(object): assert var.history[-1]['dependencies']['arch2'] == '0.2.0' - assert len(ds.tmi...
push to master to test on travis
py
diff --git a/webwhatsapi/__init__.py b/webwhatsapi/__init__.py index <HASH>..<HASH> 100644 --- a/webwhatsapi/__init__.py +++ b/webwhatsapi/__init__.py @@ -79,8 +79,9 @@ class WhatsAPIDriver(object): self.reloadQRCode() qr = self.driver.find_element_by_css_selector(self._SELECTORS['qrCode']) ...
amended firstrun to wait for visibility of mainPage (instead of invisibility of qrCode)
py
diff --git a/dallinger/docker/tools.py b/dallinger/docker/tools.py index <HASH>..<HASH> 100644 --- a/dallinger/docker/tools.py +++ b/dallinger/docker/tools.py @@ -305,7 +305,7 @@ def build_image( """ (Path(tmp_dir) / "Dockerfile").write_text(dockerfile_text) env = { - "SSH_AUTH_SOCK": os.environ["...
Do not fail in case SSH_AUTH_SOCK is not in the environment
py
diff --git a/pwnypack/shellcode/x86/null_safe.py b/pwnypack/shellcode/x86/null_safe.py index <HASH>..<HASH> 100644 --- a/pwnypack/shellcode/x86/null_safe.py +++ b/pwnypack/shellcode/x86/null_safe.py @@ -56,6 +56,7 @@ class X86NullSafe(X86): orig_reg = reg orig_reg_width = reg_width = self.REGISTER_WID...
Fix using negative immediates on null safe x<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -44,9 +44,10 @@ LibraryDirs = None if os.name == 'nt' or sys.platform == 'win32': Libraries = ['eay32', 'Ws2_32'] # Try to find it... - for path in ["C:/Python25/libs/", "C:/Python26/libs/", "C:/OpenSSL/lib/MinGW...
Work around a gross distutils bug - forward slashes cause the path to get mangled incorrectly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,8 @@ setup( 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2.7, 3.x', + ...
Fix minor bug on setup.py
py
diff --git a/holoviews/element/chart.py b/holoviews/element/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/element/chart.py +++ b/holoviews/element/chart.py @@ -367,9 +367,9 @@ class Histogram(Element2D): settings = {} (values, edges) = values if isinstance(values, tuple) else (values, edges) ...
Fixed bug when constructing Histogram from Chart type
py
diff --git a/test/test_regression_208.py b/test/test_regression_208.py index <HASH>..<HASH> 100644 --- a/test/test_regression_208.py +++ b/test/test_regression_208.py @@ -91,7 +91,7 @@ def schema_json(): return json.loads(schema) -def test_unpack_arraywrapper_on_init(schema_json): +def test_roundtrip_oneof_ser...
cleanup: Fix test name that was misleading
py
diff --git a/src/_parsers.py b/src/_parsers.py index <HASH>..<HASH> 100644 --- a/src/_parsers.py +++ b/src/_parsers.py @@ -413,14 +413,12 @@ def _is_allowed(input): '--fingerprint', ]) - ## check that allowed is a subset of possible try: - assert allowed....
Clean up an assert in _parsers.
py
diff --git a/tensorforce/models/trpo_model.py b/tensorforce/models/trpo_model.py index <HASH>..<HASH> 100755 --- a/tensorforce/models/trpo_model.py +++ b/tensorforce/models/trpo_model.py @@ -43,6 +43,7 @@ class TRPOModel(PolicyGradientModel): default_config = dict( optimizer=None, learning_rate=N...
Overriding line search option added back in TRPO
py
diff --git a/spikeextractors/extractors/nwbextractors/nwbextractors.py b/spikeextractors/extractors/nwbextractors/nwbextractors.py index <HASH>..<HASH> 100644 --- a/spikeextractors/extractors/nwbextractors/nwbextractors.py +++ b/spikeextractors/extractors/nwbextractors/nwbextractors.py @@ -372,11 +372,16 @@ class NwbRe...
check for channels gains, only add to file if any channel has gain != 0
py
diff --git a/MAVProxy/modules/mavproxy_wp.py b/MAVProxy/modules/mavproxy_wp.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_wp.py +++ b/MAVProxy/modules/mavproxy_wp.py @@ -105,9 +105,12 @@ class WPModule(mp_module.MPModule): if last_w.frame != w.frame: print("WARNING...
wp: fix division by zero in slope command
py
diff --git a/ella/positions/newman_admin.py b/ella/positions/newman_admin.py index <HASH>..<HASH> 100644 --- a/ella/positions/newman_admin.py +++ b/ella/positions/newman_admin.py @@ -7,7 +7,7 @@ class PositionOptions(newman.NewmanModelAdmin): # list_filter = ('category', 'name', 'active_from', 'active_till',) ...
Use category title, not (empty) tree_path in position's suggester. Fixes #<I>
py
diff --git a/asammdf/mdf4.py b/asammdf/mdf4.py index <HASH>..<HASH> 100644 --- a/asammdf/mdf4.py +++ b/asammdf/mdf4.py @@ -2139,7 +2139,6 @@ class MDF4(object): fields.append(samples) types.append((field_name, samples.dtype)) - types.append(vals.dtype) ...
fix(mdf4): local variable 'vals' referenced before assignment
py
diff --git a/holoviews/core/io.py b/holoviews/core/io.py index <HASH>..<HASH> 100644 --- a/holoviews/core/io.py +++ b/holoviews/core/io.py @@ -640,7 +640,7 @@ class FileArchive(Archive): except: raise Exception("Timestamp format invalid") - def add(self, obj=None, filename=None, data=None, info={}): + ...
Made FileArchive signature of add method compatible with NotebookArchive
py
diff --git a/phydmslib/file_io.py b/phydmslib/file_io.py index <HASH>..<HASH> 100644 --- a/phydmslib/file_io.py +++ b/phydmslib/file_io.py @@ -4,6 +4,7 @@ Module for input / output from files. import sys +import io import re import time import platform
added back io module so doctests pass
py
diff --git a/chess/pgn.py b/chess/pgn.py index <HASH>..<HASH> 100644 --- a/chess/pgn.py +++ b/chess/pgn.py @@ -532,7 +532,7 @@ class BaseVisitor(object): def visit_result(self, result): """ - Called at the end of a game with the value from the *Result*-header. + Called at the end of a game...
minor doc tweak (#<I>)
py
diff --git a/storage/tests/system.py b/storage/tests/system.py index <HASH>..<HASH> 100644 --- a/storage/tests/system.py +++ b/storage/tests/system.py @@ -1335,9 +1335,9 @@ class TestAnonymousClient(unittest.TestCase): def test_access_to_public_bucket(self): anonymous = storage.Client.create_anonymous_cli...
Harden 'test_access_to_public_bucket' systest against <I> / <I> errors. (#<I>) Closes #<I>.
py
diff --git a/fabric/group.py b/fabric/group.py index <HASH>..<HASH> 100644 --- a/fabric/group.py +++ b/fabric/group.py @@ -10,8 +10,10 @@ class Group(list): """ A collection of `.Connection` objects whose API operates on its contents. - This is a partially abstract class; see its subclasses for details o...
Make Group docstring clearer re: it not being useful by itself
py
diff --git a/ib_insync/order.py b/ib_insync/order.py index <HASH>..<HASH> 100644 --- a/ib_insync/order.py +++ b/ib_insync/order.py @@ -65,7 +65,11 @@ class Trade(Object): """ Number of shares filled. """ - return sum(f.execution.shares for f in self.fills) + fills = self.fills +...
Fix trade.filled() for combo contracts.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -version = '0.1' +version = '0.1.dev1' try: from setuptools import setup
Changes version in setup.py
py
diff --git a/zipline/finance/order.py b/zipline/finance/order.py index <HASH>..<HASH> 100644 --- a/zipline/finance/order.py +++ b/zipline/finance/order.py @@ -34,6 +34,8 @@ BUY = 1 << 1 STOP = 1 << 2 LIMIT = 1 << 3 +ORDER_FIELDS_TO_IGNORE = {'type', 'direction', '_status'} + class Order(object): # using __s...
BUG: Restoring 'broker_order_id' to Order's dict More long-term fix is coming later, this restores existing downstream behavior.
py
diff --git a/cflib/bootloader/cloader.py b/cflib/bootloader/cloader.py index <HASH>..<HASH> 100644 --- a/cflib/bootloader/cloader.py +++ b/cflib/bootloader/cloader.py @@ -110,15 +110,18 @@ class Cloader: if pk: new_address = (0xb1,) + struct.unpack('<BBBB', pk.data[2:6][::-1]) - pk = ...
Closes #<I>: fix reboot to bootloader Send bootloader reboot packet <I> times in a row to increase the chances the packet is received by the Crazyflie
py
diff --git a/sitetree/sitetreeapp.py b/sitetree/sitetreeapp.py index <HASH>..<HASH> 100644 --- a/sitetree/sitetreeapp.py +++ b/sitetree/sitetreeapp.py @@ -10,7 +10,7 @@ from django.template.defaulttags import url as url_tag from models import Tree, TreeItem -class SiteTree(): +class SiteTree(object): def __...
Fixes #<I> (SiteTree now inherits from object).
py
diff --git a/pyqode/core/system.py b/pyqode/core/system.py index <HASH>..<HASH> 100644 --- a/pyqode/core/system.py +++ b/pyqode/core/system.py @@ -513,8 +513,9 @@ class SubprocessServer(object): """ logger.info("Close server") if self.__running: - self.__process.terminate() ...
Fix segfault with pyside (emitting a signal with None causes a segfault with pyside)
py
diff --git a/modularodm/storedobject.py b/modularodm/storedobject.py index <HASH>..<HASH> 100644 --- a/modularodm/storedobject.py +++ b/modularodm/storedobject.py @@ -839,11 +839,12 @@ class FlaskCache(Cache): except KeyError: return None + # todo: should this check for keyerrors? def po...
don't crash on clearing non-existent schemas from cache
py
diff --git a/pytuya/__init__.py b/pytuya/__init__.py index <HASH>..<HASH> 100644 --- a/pytuya/__init__.py +++ b/pytuya/__init__.py @@ -390,6 +390,34 @@ class BulbDevice(Device): return hexvalue + def _hexvalue_to_rgb(hexvalue): + """ + Converts the hexvalue used by tuya for colour represen...
Added functions to convert from hexvalue to rgb and hsv
py
diff --git a/pyfolio/timeseries.py b/pyfolio/timeseries.py index <HASH>..<HASH> 100644 --- a/pyfolio/timeseries.py +++ b/pyfolio/timeseries.py @@ -636,7 +636,7 @@ def perf_stats( """ - all_stats = {} + all_stats = OrderedDict() all_stats['annual_return'] = annual_return( returns, s...
ENH Add Skewness and Kurtosis measures to perf stats. Closes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ with open('README.rst') as readme: install_requires = [ # third-party dependencies (versions should be flexible to allow for bug fixes) 'Django>=2.2,<2.3', - 'django-anymail[mailgun]~=7.2', + 'd...
Update django-anymail library …as it contains bug fixes but no relevant breaking changes according to the change log
py
diff --git a/visidata/help.py b/visidata/help.py index <HASH>..<HASH> 100644 --- a/visidata/help.py +++ b/visidata/help.py @@ -115,6 +115,8 @@ def getHelpPane(vd, name, module='vdplus'): vd.debug(str(e)) except ModuleNotFoundError as e: vd.debug(str(e)) + except KeyError as e: + vd.debu...
[help] do not crash in the event of a missing help file
py
diff --git a/skpy/chat.py b/skpy/chat.py index <HASH>..<HASH> 100644 --- a/skpy/chat.py +++ b/skpy/chat.py @@ -160,7 +160,9 @@ class SkypeChat(SkypeObj): if not image: meta["filename"] = name objId = self.skype.conn("POST", "https://api.asm.skype.com/v1/objects", - ...
Send dummy client version when uploading files Fixes #<I>.
py
diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/oqvalidation.py +++ b/openquake/commonlib/oqvalidation.py @@ -103,7 +103,7 @@ class OqParam(valid.ParamSet): region = valid.Param(valid.coordinates, None) region_constra...
Restored risk_imtls
py
diff --git a/ravel.py b/ravel.py index <HASH>..<HASH> 100644 --- a/ravel.py +++ b/ravel.py @@ -320,7 +320,7 @@ class Connection : self #end attach_asyncio - class Name : + class BusName : __slots__ = ("conn", "name") def __init__(self, conn, name) : @@ -332,15 +332,15 @@ cl...
Changing “Connection.Name” to “Connection.BusName” makes more sense since “Bus” was changed to “Connection”.
py
diff --git a/src/transformers/modeling_fx_utils.py b/src/transformers/modeling_fx_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_fx_utils.py +++ b/src/transformers/modeling_fx_utils.py @@ -68,6 +68,8 @@ class HFProxy(Proxy): if self.tracer.num_choices <= 0: raise Valu...
fixed shape issue for T5 tracing (#<I>)
py
diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -47,6 +47,7 @@ def install_suse(release, codename, version_kind, version): 'rpm', '-Uvh', '--replacepkgs', + '--force', ...
install: --force when installing the rpm Otherwise we get annoying errors if a different version of the same pkg is already installed. Blah!
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( '': ['*.po', '*.mo'], }, install_requires=[ - 'django>=1.11', + 'django>=1.11.17,<3.0', ], keywords='django choices models enum', classifiers=[
Django 3 is not yet supported
py
diff --git a/influxdb/client.py b/influxdb/client.py index <HASH>..<HASH> 100755 --- a/influxdb/client.py +++ b/influxdb/client.py @@ -132,8 +132,8 @@ localhost:8086/databasename', timeout=5, udp_port=159) :type **kwargs: dict :note: parameters provided in **kwargs may override dsn parameters. ...
More improvements to from_DSN docstring
py
diff --git a/scanpy/tests/test_marker_gene_overlap.py b/scanpy/tests/test_marker_gene_overlap.py index <HASH>..<HASH> 100644 --- a/scanpy/tests/test_marker_gene_overlap.py +++ b/scanpy/tests/test_marker_gene_overlap.py @@ -42,8 +42,8 @@ def test_marker_overlap_methods(): t4 = sc.tl.marker_gene_overlap(test_data, m...
made assert statement in tests 4 and 5 specific to named clusters instead of ordering
py
diff --git a/spinoff/contrib/timings.py b/spinoff/contrib/timings.py index <HASH>..<HASH> 100644 --- a/spinoff/contrib/timings.py +++ b/spinoff/contrib/timings.py @@ -1,9 +1,10 @@ -from spinoff.actor.process import Process -from spinoff.util.async import sleep +from gevent import sleep +from spinoff.actor import Acto...
Updated contrib.timings to work with the new gevent-based framework
py
diff --git a/insights/client/auto_config.py b/insights/client/auto_config.py index <HASH>..<HASH> 100644 --- a/insights/client/auto_config.py +++ b/insights/client/auto_config.py @@ -20,9 +20,6 @@ def verify_connectivity(): Verify connectivity to satellite server """ logger.debug("Verifying Connectivity"...
Removing redundant config logging (#<I>)
py
diff --git a/zipline/lines.py b/zipline/lines.py index <HASH>..<HASH> 100644 --- a/zipline/lines.py +++ b/zipline/lines.py @@ -172,6 +172,8 @@ class SimulatedTrading(object): def close(self): log.info("Closing Simulation: {id}".format(id=self.sim_id)) + if self.results_socket: + self.r...
Close the results socket to ensure messages are sent
py
diff --git a/TYPO3.Flow/Documentation/conf.py b/TYPO3.Flow/Documentation/conf.py index <HASH>..<HASH> 100644 --- a/TYPO3.Flow/Documentation/conf.py +++ b/TYPO3.Flow/Documentation/conf.py @@ -59,9 +59,9 @@ author = u'Neos Team and Contributors' # built documents. # # The short X.Y version. -version = 'dev-master' +ve...
TASK: Update Documentation/conf.py for <I> branch
py
diff --git a/src/pyctools/components/qt/qtdisplay.py b/src/pyctools/components/qt/qtdisplay.py index <HASH>..<HASH> 100644 --- a/src/pyctools/components/qt/qtdisplay.py +++ b/src/pyctools/components/qt/qtdisplay.py @@ -36,14 +36,15 @@ from guild.actor import * from guild.qtactor import ActorSignal, QtActorMixin impor...
Delay making window visible until input arrives
py
diff --git a/eyap/core/github_comments.py b/eyap/core/github_comments.py index <HASH>..<HASH> 100644 --- a/eyap/core/github_comments.py +++ b/eyap/core/github_comments.py @@ -366,7 +366,8 @@ class GitHubCommentThread(comments.CommentThread): return comments.CommentSection(cthread_list) - def add_comment...
Allow passing in optional summary (currently ignored)
py
diff --git a/ldapdomaindump/__init__.py b/ldapdomaindump/__init__.py index <HASH>..<HASH> 100644 --- a/ldapdomaindump/__init__.py +++ b/ldapdomaindump/__init__.py @@ -462,7 +462,7 @@ class reportWriter(object): for att in attributes: try: of.append(u'<td>%s</td>' % s...
Catch some changed ldap3 errors
py
diff --git a/bse/api.py b/bse/api.py index <HASH>..<HASH> 100644 --- a/bse/api.py +++ b/bse/api.py @@ -232,7 +232,7 @@ def get_basis(name, else: raise RuntimeError('Unknown basis set format "{}"'.format(fmt)) - if header: + if header and fmt != 'json': ret_str = _header_string_basis(basis...
Never put header in json output
py
diff --git a/openprovider/modules/domain.py b/openprovider/modules/domain.py index <HASH>..<HASH> 100644 --- a/openprovider/modules/domain.py +++ b/openprovider/modules/domain.py @@ -9,15 +9,18 @@ class DomainModule(common.Module): Check availability for a single domain. Returns the domain's status as...
Abstract XML generation for check cmd into own method
py
diff --git a/arviz/stats/density_utils.py b/arviz/stats/density_utils.py index <HASH>..<HASH> 100644 --- a/arviz/stats/density_utils.py +++ b/arviz/stats/density_utils.py @@ -357,7 +357,10 @@ def _check_custom_lims(custom_lims, x_min, x_max): ) if not custom_lims[0] < custom_lims[1]: - raise Attr...
Disable KDE domain narrower than data limits (#<I>) * Fix area under KDE when custom domain is narrower than observed domain * KDE does not allow narrower limits anymore * Fix trailing spaces and bad indentations
py
diff --git a/aioresponses/core.py b/aioresponses/core.py index <HASH>..<HASH> 100644 --- a/aioresponses/core.py +++ b/aioresponses/core.py @@ -109,11 +109,10 @@ class aioresponses(object): if asyncio.iscoroutinefunction(f): @wraps(f) - @asyncio.coroutine - def wrapped(*args...
async/await in aioresponses core
py
diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/ec2.py +++ b/salt/cloud/clouds/ec2.py @@ -3763,7 +3763,7 @@ def create_snapshot(kwargs=None, call=None, wait_to_finish=False): argument_being_watched='sta...
Make ec2.create_snapshot return less unweildly and more relevant
py
diff --git a/qface/idl/domain.py b/qface/idl/domain.py index <HASH>..<HASH> 100644 --- a/qface/idl/domain.py +++ b/qface/idl/domain.py @@ -79,7 +79,7 @@ class System(object): return (module_name, type_name, fragment_name) def toJson(self): - o = {} + o = OrderedDict() o['modules']...
fixed random changes in generated JSON output by using OrderedDict
py
diff --git a/test/test_functional_tensor.py b/test/test_functional_tensor.py index <HASH>..<HASH> 100644 --- a/test/test_functional_tensor.py +++ b/test/test_functional_tensor.py @@ -934,8 +934,7 @@ def test_resized_crop(device, mode): (F_t.hflip, ()), (F_t.crop, (1, 2, 4, 5)), (F_t.adjust_brightness, (0., ))...
Removed tests executing deprecated F_t.center/five/ten_crop methods (#<I>) Description: - Removed tests executing deprecated F_t.center/five/ten_crop methods - Suppressed deprecation warnings while running test/test_functional_tensor.py
py
diff --git a/examples/sanic_aiomysql_with_global_pool.py b/examples/sanic_aiomysql_with_global_pool.py index <HASH>..<HASH> 100644 --- a/examples/sanic_aiomysql_with_global_pool.py +++ b/examples/sanic_aiomysql_with_global_pool.py @@ -6,7 +6,6 @@ import asyncio import os import aiomysql -import uvloop from sanic i...
Change some code in sanic aiomysql code
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,5 +53,6 @@ setup( include_package_data=True, install_requires=[ 'Django', + 'django-libs', ], )
Added django-libs dependency
py
diff --git a/safe/impact_functions/inundation/tsunami_raster_building/impact_function.py b/safe/impact_functions/inundation/tsunami_raster_building/impact_function.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/inundation/tsunami_raster_building/impact_function.py +++ b/safe/impact_functions/inundation/tsun...
Fix legend to use greater number than preious range.
py
diff --git a/PyFunceble/engine/auto_save.py b/PyFunceble/engine/auto_save.py index <HASH>..<HASH> 100644 --- a/PyFunceble/engine/auto_save.py +++ b/PyFunceble/engine/auto_save.py @@ -308,9 +308,11 @@ class Travis: self.end_commit() - def push(self): + def push(self, exit_it=True): """ ...
Fix issue with the push. Indeed, before this patch, I forgot to handle the push exit.
py
diff --git a/pushbullet/pushbullet.py b/pushbullet/pushbullet.py index <HASH>..<HASH> 100644 --- a/pushbullet/pushbullet.py +++ b/pushbullet/pushbullet.py @@ -34,6 +34,32 @@ class PushBullet(object): d._account = self self.devices.append(d) + def get_pushes(self, modified_after=None): + ...
Added: getting, dismissing and deleting pushes.
py
diff --git a/umbra/reporter.py b/umbra/reporter.py index <HASH>..<HASH> 100644 --- a/umbra/reporter.py +++ b/umbra/reporter.py @@ -674,7 +674,7 @@ mailing this report to <b>{0}</b> would help improving <b>{1}</b>!".format(__ema title = re.escape("".join(map(lambda x: x.strip(), traceback.format_exception_only(cls, ...
Prevent Javascript parsing errors in "Crittercism" custom error stack.
py
diff --git a/asammdf/mdf_v4.py b/asammdf/mdf_v4.py index <HASH>..<HASH> 100644 --- a/asammdf/mdf_v4.py +++ b/asammdf/mdf_v4.py @@ -3810,6 +3810,9 @@ class MDF4(object): channel.name = name channel.comment = signal.comment or '' + data_type = channel['data_type'] + channel_type ...
fix error for VLSD channels in get method
py
diff --git a/sanitized_dump/management/commands/init_sanitizer.py b/sanitized_dump/management/commands/init_sanitizer.py index <HASH>..<HASH> 100644 --- a/sanitized_dump/management/commands/init_sanitizer.py +++ b/sanitized_dump/management/commands/init_sanitizer.py @@ -1,9 +1,21 @@ +import os + from django.contrib.au...
Add code for creating an initial configuration from the current django models
py
diff --git a/ipyrad/assemble/cluster_across.py b/ipyrad/assemble/cluster_across.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/cluster_across.py +++ b/ipyrad/assemble/cluster_across.py @@ -321,6 +321,10 @@ def cluster(data, noreverse, ipyclient): elapsed = datetime.timedelta(seconds=int(time....
backup catcher for pty process added. Pretty printer of prog
py
diff --git a/charmhelpers/contrib/network/ip.py b/charmhelpers/contrib/network/ip.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/network/ip.py +++ b/charmhelpers/contrib/network/ip.py @@ -426,7 +426,7 @@ def ns_query(address): try: answers = dns.resolver.query(address, rtype) - except: + ...
Be more explicit in the eception catch
py
diff --git a/tests/rdfsupport_tests/test_fhirrdf.py b/tests/rdfsupport_tests/test_fhirrdf.py index <HASH>..<HASH> 100644 --- a/tests/rdfsupport_tests/test_fhirrdf.py +++ b/tests/rdfsupport_tests/test_fhirrdf.py @@ -48,12 +48,12 @@ class FhirDataLoaderTestCase(unittest.TestCase): json_file = fname + ".json" ...
Switch source and target in test to conform to expected/actual idiom
py
diff --git a/src/mistclient/model.py b/src/mistclient/model.py index <HASH>..<HASH> 100644 --- a/src/mistclient/model.py +++ b/src/mistclient/model.py @@ -146,7 +146,13 @@ class Cloud(object): data = json.dumps(payload) req = self.request(self.mist_client.uri+'/clouds/'+self.id+'/networks', ...
add delete_network method and add response to create_network
py
diff --git a/tests/scripts/sql_coverage_test.py b/tests/scripts/sql_coverage_test.py index <HASH>..<HASH> 100755 --- a/tests/scripts/sql_coverage_test.py +++ b/tests/scripts/sql_coverage_test.py @@ -388,8 +388,6 @@ The following place holders are supported, """ if __name__ == "__main__": - #print " ".join(sys.ar...
clean debug comment in sql_coverage_test.py
py
diff --git a/aikif/environments/internet.py b/aikif/environments/internet.py index <HASH>..<HASH> 100644 --- a/aikif/environments/internet.py +++ b/aikif/environments/internet.py @@ -41,7 +41,7 @@ class Internet(mod_env.Environment): Creates the environment Code in Base class = self.log.record_process...
removed unwanted super command interferring with vais
py
diff --git a/examples/mybot.py b/examples/mybot.py index <HASH>..<HASH> 100644 --- a/examples/mybot.py +++ b/examples/mybot.py @@ -21,6 +21,15 @@ class MyPlugin: self.bot = bot self.log = self.bot.log + def connection_made(self): + """triggered when connection is up""" + + def server_re...
add some docs for plugin hooks
py
diff --git a/spyderlib/widgets/varexp/collectionseditor.py b/spyderlib/widgets/varexp/collectionseditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/varexp/collectionseditor.py +++ b/spyderlib/widgets/varexp/collectionseditor.py @@ -1035,8 +1035,8 @@ class BaseTableView(QTableView): if not idx.is...
Variable Explorer: Simplify a little bit how NumPy arrays are copied This is a follow up to PR #<I>
py
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py index <HASH>..<HASH> 100644 --- a/astrobase/lcproc.py +++ b/astrobase/lcproc.py @@ -1607,6 +1607,9 @@ def variability_threshold(featuresdir, def plot_variability_thresholds(varthreshpkl, + min_stetj_stdev=2.0, + ...
lcproc: stetson_threshold -> variability_threshold, now per mag-bin
py
diff --git a/avatar/models.py b/avatar/models.py index <HASH>..<HASH> 100644 --- a/avatar/models.py +++ b/avatar/models.py @@ -20,8 +20,12 @@ from avatar import AVATAR_STORAGE_DIR, AVATAR_RESIZE_METHOD, \ AVATAR_MAX_AVATARS_PER_USER, AVATAR_THUMB_FORMAT -def avatar_file_path(instance=None, filen...
Thumbnails path simplification - /AVATAR_STORAGE_DIR/<user>/resized/<size>/<name> is enough. And this method is more DRY, which will help when we'll implement the advanced storage path stuff
py
diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/httpclient_test.py +++ b/tornado/test/httpclient_test.py @@ -141,7 +141,7 @@ class HTTPClientCommonTestCase(AsyncHTTPTestCase): return self.wait() def test_patch_receives_payload...
Fix tests so they are compatible with python 3.x
py
diff --git a/registration/tests/test_views.py b/registration/tests/test_views.py index <HASH>..<HASH> 100644 --- a/registration/tests/test_views.py +++ b/registration/tests/test_views.py @@ -14,13 +14,18 @@ class ActivationViewTests(TestCase): simple string URL as the success redirect. """ + ...
Factor out data in the views tests.
py
diff --git a/lib/svtplay_dl/fetcher/rtmp.py b/lib/svtplay_dl/fetcher/rtmp.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/fetcher/rtmp.py +++ b/lib/svtplay_dl/fetcher/rtmp.py @@ -4,6 +4,7 @@ from __future__ import absolute_import import subprocess import re import shlex +import os from svtplay_dl.log import l...
rtmp: complain when the file exists
py
diff --git a/superset/db_engine_specs/oracle.py b/superset/db_engine_specs/oracle.py index <HASH>..<HASH> 100644 --- a/superset/db_engine_specs/oracle.py +++ b/superset/db_engine_specs/oracle.py @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. from datetime import date...
fix(db-engine-spec): execute oracle DML statement bug in sqllab (#<I>) * fix execute oracle DML statement bug in sqllab when i execute oracle sql statements like update in SQLLAB, get "oracle error: not a query" error. Refer <URL> method yet. * Apply suggestions from code review
py
diff --git a/ssbio/pipeline/gempro.py b/ssbio/pipeline/gempro.py index <HASH>..<HASH> 100644 --- a/ssbio/pipeline/gempro.py +++ b/ssbio/pipeline/gempro.py @@ -1075,8 +1075,14 @@ class GEMPRO(Object): file_type=hdict['file_type'], is_experimental=False) ...
Add try except for pdb exception when loading homology models
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ setup( 'choices = hamper.plugins.questions:ChoicesPlugin', 'quotes = hamper.plugins.quotes:Quotes', 'remindme = hamper.plugins.remindme:Reminder', - ...
Fix spelling of Roulette in setup.py.
py
diff --git a/tests/unit/modules/pkg_resource_test.py b/tests/unit/modules/pkg_resource_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/pkg_resource_test.py +++ b/tests/unit/modules/pkg_resource_test.py @@ -75,12 +75,12 @@ class PkgresTestCase(TestCase): (None, None)) ...
Changed mock path to be absolute in test_parse_targets
py
diff --git a/stcrestclient/tccsh.py b/stcrestclient/tccsh.py index <HASH>..<HASH> 100644 --- a/stcrestclient/tccsh.py +++ b/stcrestclient/tccsh.py @@ -24,6 +24,9 @@ if sys.version_info < (2, 7): print("requires python2.7 or later", file=sys.stderr) sys.exit(1) +if __name__ == '__main__' and __package__ is N...
Work in py3 when executed by name
py
diff --git a/playback/mysql_config.py b/playback/mysql_config.py index <HASH>..<HASH> 100644 --- a/playback/mysql_config.py +++ b/playback/mysql_config.py @@ -27,7 +27,7 @@ class MysqlConfig(common.Common): context={'wsrep_cluster_address': wsrep_cluster_address, ...
Do not buckup openstack.cnf, the conf.d include anything
py
diff --git a/thinc/api.py b/thinc/api.py index <HASH>..<HASH> 100644 --- a/thinc/api.py +++ b/thinc/api.py @@ -12,7 +12,7 @@ from .schedules import decaying, slanted_triangular, compounding from .types import Ragged, Padded, ArgsKwargs, Unserializable from .util import fix_random_seed, is_cupy_array, set_active_gpu ...
add to_numpy to thinc's api (#<I>)
py
diff --git a/minio/api.py b/minio/api.py index <HASH>..<HASH> 100644 --- a/minio/api.py +++ b/minio/api.py @@ -264,7 +264,7 @@ class Minio(object): url = self._endpoint_url + '/' + bucket_name + '/' # Get signature headers if any. - headers = sign_v4(method, url, 'us-east-1', + headers...
Override all other regions if region is set (#<I>) Fixes #<I>
py
diff --git a/bambou/nurest_fetcher.py b/bambou/nurest_fetcher.py index <HASH>..<HASH> 100644 --- a/bambou/nurest_fetcher.py +++ b/bambou/nurest_fetcher.py @@ -350,7 +350,7 @@ class NURESTFetcher(list): >>> print entity.children.get() [<NUChildren at xxx>, <NUChildren at yyyy>, <NUChild...
Fix a bug where the parameter commit of the method get was not passed correctly to fetch
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,7 +13,7 @@ def pytest_generate_tests(metafunc): if 'fs_name' in metafunc.fixturenames: - metafunc.parametrize('fs_name', ['OSFS', 'TempFS', 'S3FS']) - # metafunc.p...
remove tempfs authority tests, add lots of osfs tests
py
diff --git a/Python/ibmcloudsql/__init__.py b/Python/ibmcloudsql/__init__.py index <HASH>..<HASH> 100644 --- a/Python/ibmcloudsql/__init__.py +++ b/Python/ibmcloudsql/__init__.py @@ -14,7 +14,7 @@ # limitations under the License. # ------------------------------------------------------------------------------ -__ve...
Update numpy to <I>
py
diff --git a/photini/configstore.py b/photini/configstore.py index <HASH>..<HASH> 100644 --- a/photini/configstore.py +++ b/photini/configstore.py @@ -51,12 +51,20 @@ class ConfigStore(object): self.set(section, option, default) return default + def getu(self, section, option, default=None): ...
Added method to get config value as unicode.
py
diff --git a/grammpy_transforms/NongeneratingSymbolsRemove/nongeneratingSymbolsRemove.py b/grammpy_transforms/NongeneratingSymbolsRemove/nongeneratingSymbolsRemove.py index <HASH>..<HASH> 100644 --- a/grammpy_transforms/NongeneratingSymbolsRemove/nongeneratingSymbolsRemove.py +++ b/grammpy_transforms/NongeneratingSymbo...
Count with epsilon in nongenerating symbols remove alg
py
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py index <HASH>..<HASH> 100644 --- a/holoviews/core/dimension.py +++ b/holoviews/core/dimension.py @@ -119,7 +119,7 @@ class Dimension(param.Parameterized): return value def __repr__(self): - return self.script_repr() + re...
Updated Dimension repr to use pprint instead of script_repr
py
diff --git a/eventsourcing/domain.py b/eventsourcing/domain.py index <HASH>..<HASH> 100644 --- a/eventsourcing/domain.py +++ b/eventsourcing/domain.py @@ -122,7 +122,7 @@ class Aggregate: originator_id=id, originator_version=1, timestamp=datetime.now(tz=TZINFO), - ...
Resolved two remaining mypy issues (with "type: ignore" comment).
py
diff --git a/birdhousebuilder/recipe/conda/__init__.py b/birdhousebuilder/recipe/conda/__init__.py index <HASH>..<HASH> 100644 --- a/birdhousebuilder/recipe/conda/__init__.py +++ b/birdhousebuilder/recipe/conda/__init__.py @@ -10,17 +10,6 @@ from zc.buildout.buildout import bool_option import logging -def as_bool(...
removed as_bool and makedirs
py
diff --git a/src/Exscriptd/Daemon.py b/src/Exscriptd/Daemon.py index <HASH>..<HASH> 100644 --- a/src/Exscriptd/Daemon.py +++ b/src/Exscriptd/Daemon.py @@ -122,7 +122,7 @@ class Daemon(object): except Exception, e: self.log(order, 'Exception in Service.enter: %s' % e) order.close() - ...
exscriptd: better status names for incoming orders.
py
diff --git a/eventkit/models.py b/eventkit/models.py index <HASH>..<HASH> 100644 --- a/eventkit/models.py +++ b/eventkit/models.py @@ -172,6 +172,7 @@ class AbstractEvent(PolymorphicModel, AbstractBaseModel): Create missing repeat events according to the recurrence rule, up until the configured limit....
Add TODO comment. When a large number of repeat events are being created (e.g. hourly, years into the future) it can take a while to return. Make use of celery of available?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -224,6 +224,11 @@ assert len(_README) == 1 _README = _README[0] with open(os.path.join(_HERE, _README), encoding='utf-8') as f: long_description = f.read() +if _README[-3:] == ".md": + long_description_content_type="...
[bug-fix] fixing error for pip deployment
py
diff --git a/doc/examples/cartopy_atlantic.py b/doc/examples/cartopy_atlantic.py index <HASH>..<HASH> 100644 --- a/doc/examples/cartopy_atlantic.py +++ b/doc/examples/cartopy_atlantic.py @@ -5,16 +5,18 @@ import cartopy.crs as ccrs nlat = 15 nlon = 5 -atlantic = xray.DataArray(np.random.randn(nlat, nlon), +arr = np...
Show orthographic projection in cartopy example and flip data array to correct orientation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( "grab", "grab.spider", "grab.spider.queue_backend", - "grab.service", + "grab.spider.service", "grab.util", ], include_package_data=True,
Fix setup.py (really)
py
diff --git a/vtki/container.py b/vtki/container.py index <HASH>..<HASH> 100644 --- a/vtki/container.py +++ b/vtki/container.py @@ -180,7 +180,7 @@ class MultiBlock(vtkMultiBlockDataSet): self._iter_n = 0 return self - def __next__(self): + def next(self): if self._iter_n < self.n_bloc...
Fix MultiBlock iter to be both Python 2 and 3 compatible
py
diff --git a/mollom/mollom.py b/mollom/mollom.py index <HASH>..<HASH> 100644 --- a/mollom/mollom.py +++ b/mollom/mollom.py @@ -62,6 +62,7 @@ class Mollom(object): for attempt in xrange(0, self._attempts): try: response = self._client.post(url, data, timeout=self._timeout) + ...
Fixing bug where it was running retries even when successful.
py
diff --git a/dipper/sources/ClinVarXML_alpha.py b/dipper/sources/ClinVarXML_alpha.py index <HASH>..<HASH> 100644 --- a/dipper/sources/ClinVarXML_alpha.py +++ b/dipper/sources/ClinVarXML_alpha.py @@ -121,6 +121,13 @@ def make_spo(sub, prd, obj, # object is a curie or bnode or literal [string|number] + if sub...
Added logic to deal with sub/obj is None in make_spo()
py
diff --git a/ca/django_ca/tests/base.py b/ca/django_ca/tests/base.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/tests/base.py +++ b/ca/django_ca/tests/base.py @@ -34,10 +34,10 @@ def _load_key(path, typ=crypto.FILETYPE_PEM): return crypto.load_privatekey(typ, stream.read()) -def _load_csr(path, typ=cry...
We don't really need a loaded CSR
py