diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -1240,6 +1240,7 @@ class MainWindow(QMainWindow): # Show dialog with missing dependencies self.report_missing_dependencies() + self....
Raise the menuBar to the top of the main window widget's stack.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -114,6 +114,7 @@ html_static_path = ['_static'] # html_theme_path = [sphinx_readable_theme.get_html_theme_path()] # html_theme = 'readable' # html_logo = "_static/logo.png" +html_theme = 'alabaster' html_th...
docs: use alabaster as docs theme
py
diff --git a/hamster/charting.py b/hamster/charting.py index <HASH>..<HASH> 100644 --- a/hamster/charting.py +++ b/hamster/charting.py @@ -382,8 +382,9 @@ class Chart(gtk.DrawingArea): bar_size = bar_size * 0.8 if self.values_on_bars and self.animate else bar_size * 0.9 bar_size = max(bar_size...
reduced gaps - looks much better now. refacturing is close! svn path=/trunk/; revision=<I>
py
diff --git a/ptpython/completer.py b/ptpython/completer.py index <HASH>..<HASH> 100644 --- a/ptpython/completer.py +++ b/ptpython/completer.py @@ -154,6 +154,12 @@ class PythonCompleter(Completer): # In jedi.api.helpers.py: 144, in get_stack_at_position # raise SystemError("Thi...
Suppress all unknown Jedi errors.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -99,12 +99,18 @@ def backend_extras(*requirements): EXTRAS_REQUIRE = { 'Cython': ['Cython>=0.24,<=0.28.2'], - 'cocos2d': backend_extras('cocos2d'), + 'cocos2d': backend_extras( + "cocos2d", + "pygl...
dist: set minimal pyglet requirements for darwin platform of cocos2d and pyglet extras (fixes #<I>)
py
diff --git a/optlang/interface.py b/optlang/interface.py index <HASH>..<HASH> 100644 --- a/optlang/interface.py +++ b/optlang/interface.py @@ -646,8 +646,8 @@ class Model(object): del self.constraints[key] def _set_linear_objective_term(self, variable, coefficient): - # TODO: the first option (Tr...
_set_linear_objective_term(variable, new_coeff) will replace ... + coeff*variable + ... with new_coeff*variable The current implementation is very slow for objectives with many terms.
py
diff --git a/src/wormhole/cli/cli.py b/src/wormhole/cli/cli.py index <HASH>..<HASH> 100644 --- a/src/wormhole/cli/cli.py +++ b/src/wormhole/cli/cli.py @@ -100,17 +100,16 @@ def _dispatch_command(reactor, cfg, command): try: yield maybeDeferred(command) - except WrongPasswordError as e: + except (W...
CLI: exit with rc=1 upon errors
py
diff --git a/dipper/sources/MGI.py b/dipper/sources/MGI.py index <HASH>..<HASH> 100644 --- a/dipper/sources/MGI.py +++ b/dipper/sources/MGI.py @@ -1257,7 +1257,7 @@ class MGI(PostgreSQLSource): raw = '/'.join((self.rawdir, 'bib_acc_view')) with open(raw, 'r', encoding="utf8") as csvfile: ...
getline -> readline (head in different language)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ setup( version = '0.0.1', author = 'Pierre-Francois Carpentier', author_email = 'carpentier.pf@gmail.com', - packages = ['ldapcherry'], + packages = ['...
include ldapcherry.backend in setup.py
py
diff --git a/salt/runners/state.py b/salt/runners/state.py index <HASH>..<HASH> 100644 --- a/salt/runners/state.py +++ b/salt/runners/state.py @@ -10,10 +10,11 @@ import json import logging # Import salt libs -import salt.overstate import salt.output +import salt.overstate import salt.syspaths import salt.utils....
Fix traceback when os_fn path does not exist for overstate
py
diff --git a/galpy/df_src/streamdf.py b/galpy/df_src/streamdf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/streamdf.py +++ b/galpy/df_src/streamdf.py @@ -53,7 +53,7 @@ class streamdf: tdisrupt= (5 Gyr) time since start of disruption (natural units) leading= (True) if True, model the leading...
always use a new Orbit for the streamdf progenitor, fixes #<I>
py
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index <HASH>..<HASH> 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -43,7 +43,8 @@ class BaseSSHConnection(object): # initiate SSH connection if verbose: print "SSH connection established to {0}:{1}".form...
FIX#1, paramiko auth issue trying to use keys
py
diff --git a/pandas/tests/indexes/interval/test_formats.py b/pandas/tests/indexes/interval/test_formats.py index <HASH>..<HASH> 100644 --- a/pandas/tests/indexes/interval/test_formats.py +++ b/pandas/tests/indexes/interval/test_formats.py @@ -1,7 +1,15 @@ import numpy as np import pytest -from pandas import DataFra...
TST: string representation of IntervalIndex (#<I>)
py
diff --git a/flask_ldap3_login/__init__.py b/flask_ldap3_login/__init__.py index <HASH>..<HASH> 100755 --- a/flask_ldap3_login/__init__.py +++ b/flask_ldap3_login/__init__.py @@ -71,6 +71,11 @@ class LDAP3LoginManager(object): ''' app.ldap3_login_manager = self + + servers = list(self...
Add support for app factories in init_app function
py
diff --git a/luigi/interface.py b/luigi/interface.py index <HASH>..<HASH> 100644 --- a/luigi/interface.py +++ b/luigi/interface.py @@ -373,7 +373,6 @@ def build(tasks, worker_scheduler_factory=None, **env_params): :return: """ if "no_lock" not in env_params: - # TODO(erikbern): should we really ov...
Remove old TODO And to this particular TODO, I think it makes sense to override the argument like is done in the code.
py
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -181,6 +181,8 @@ def test_test_command_install_requirements(virtualenv, tmpdir): "python -c \"__import__('pkg...
Disable index URL in pip-based fetch_build_eggs to avoid hitting PyPI.
py
diff --git a/simplekv/memory/redisstore.py b/simplekv/memory/redisstore.py index <HASH>..<HASH> 100644 --- a/simplekv/memory/redisstore.py +++ b/simplekv/memory/redisstore.py @@ -19,7 +19,7 @@ class RedisStore(KeyValueStore): return self.redis.delete(key) def keys(self): - return self.redis.keys(...
Fixed unicode issues with redis.
py
diff --git a/DrawTurksHead/color.py b/DrawTurksHead/color.py index <HASH>..<HASH> 100644 --- a/DrawTurksHead/color.py +++ b/DrawTurksHead/color.py @@ -8,10 +8,10 @@ import unittest def hsv_to_rgb(h, s, v): hi = int(h / 60) f = h / 60. - hi; - hi %= 60; p = v * (1 - s); q = v * (1 - f * s); ...
Fix bug when hsv_to_rgb is called with larger Hs Wasn't exercised in real use cases.
py
diff --git a/yabt/caching.py b/yabt/caching.py index <HASH>..<HASH> 100644 --- a/yabt/caching.py +++ b/yabt/caching.py @@ -138,10 +138,15 @@ def load_target_from_global_cache(target: Target, build_context) -> bool: return True -def get_artifacts_hashes(artifacts_desc): - return [artifact['hash'] for artifac...
take only artifact hashes that are not NO_CACHE_TYPES
py
diff --git a/treetime/treeanc.py b/treetime/treeanc.py index <HASH>..<HASH> 100644 --- a/treetime/treeanc.py +++ b/treetime/treeanc.py @@ -217,8 +217,10 @@ class TreeAnc(object): print('n_ij:', nij) print('T_i:', Ti) root_state = np.array([np.sum(self.tree.root.sequence==nuc) for nuc ...
preserve profile map in gtr inference
py
diff --git a/pysnow.py b/pysnow.py index <HASH>..<HASH> 100644 --- a/pysnow.py +++ b/pysnow.py @@ -129,10 +129,20 @@ class Query(object): def greater_than(self, value): """Query records with the given field greater than the value specified""" - return self._add_condition('>', value, types=[int]) ...
Added support for passing datetime objects to greater_than() and less_than
py
diff --git a/retext.py b/retext.py index <HASH>..<HASH> 100755 --- a/retext.py +++ b/retext.py @@ -1002,6 +1002,7 @@ class ReTextWindow(QMainWindow): if not ok: return settings.endGroup() command = settings.value(item, type='QString') + settings.endGroup() of = ('%of' in command) html = ('%html' in com...
Correctly handle filenames beginnig with a dot
py
diff --git a/searx/engines/arxiv.py b/searx/engines/arxiv.py index <HASH>..<HASH> 100644 --- a/searx/engines/arxiv.py +++ b/searx/engines/arxiv.py @@ -17,6 +17,7 @@ from searx.url_utils import urlencode categories = ['science'] +paging = True base_url = 'http://export.arxiv.org/api/query?search_query=all:'\ ...
[fix] enable paging support for arxiv engine
py
diff --git a/msm/skill_entry.py b/msm/skill_entry.py index <HASH>..<HASH> 100644 --- a/msm/skill_entry.py +++ b/msm/skill_entry.py @@ -219,7 +219,7 @@ class SkillEntry(object): @staticmethod def extract_repo_name(url): - s = url.split("/")[-1] + s = url.rstrip('/').split("/")[-1] a, b...
Re-add rstrip.
py
diff --git a/src/setup.py b/src/setup.py index <HASH>..<HASH> 100644 --- a/src/setup.py +++ b/src/setup.py @@ -9,7 +9,8 @@ setup( version="0.3.6", packages=find_packages(), package_data={'': ['*.ini', '*.pcapng']}, - install_requires=['lxml', 'py', 'trollius', 'logbook'], + # Temporarily using trol...
Changed setup to temporarily install an older version of trollius (for Python <I> support and other issues the new version has).
py
diff --git a/netmiko/cisco/cisco_ios.py b/netmiko/cisco/cisco_ios.py index <HASH>..<HASH> 100644 --- a/netmiko/cisco/cisco_ios.py +++ b/netmiko/cisco/cisco_ios.py @@ -22,12 +22,12 @@ class CiscoIosBase(CiscoBaseConnection): self.clear_buffer() -class CiscoIosSSH(CiscoBaseConnection): +class CiscoIosSSH(Cis...
Fixing cisco ios inheritance issue
py
diff --git a/ncdiff/src/yang/ncdiff/config.py b/ncdiff/src/yang/ncdiff/config.py index <HASH>..<HASH> 100755 --- a/ncdiff/src/yang/ncdiff/config.py +++ b/ncdiff/src/yang/ncdiff/config.py @@ -591,7 +591,7 @@ class ConfigDelta(object): config_dst=self.config_src, pr...
Fixed a typo in ConfigDelta
py
diff --git a/salt/daemons/masterapi.py b/salt/daemons/masterapi.py index <HASH>..<HASH> 100644 --- a/salt/daemons/masterapi.py +++ b/salt/daemons/masterapi.py @@ -488,6 +488,9 @@ class RemoteFuncs(object): ''' Gathers the data from the specified minions' mine ''' + # Don't allow matchi...
Disable pillar/compound for mine.get, master-side
py
diff --git a/tests/middleware/test_secure_headers_middleware.py b/tests/middleware/test_secure_headers_middleware.py index <HASH>..<HASH> 100644 --- a/tests/middleware/test_secure_headers_middleware.py +++ b/tests/middleware/test_secure_headers_middleware.py @@ -1,4 +1,4 @@ -""" Test Maintenance Mode Midddleware """ +"...
fix docstring for secure headers middleware (#<I>)
py
diff --git a/dsmr_parser/telegram_specifications.py b/dsmr_parser/telegram_specifications.py index <HASH>..<HASH> 100644 --- a/dsmr_parser/telegram_specifications.py +++ b/dsmr_parser/telegram_specifications.py @@ -148,14 +148,10 @@ BELGIUM_FLUVIUS['objects'].update({ ValueParser(timestamp), ValuePars...
Update telegram_specifications.py
py
diff --git a/examples/data_watcher.py b/examples/data_watcher.py index <HASH>..<HASH> 100644 --- a/examples/data_watcher.py +++ b/examples/data_watcher.py @@ -36,3 +36,5 @@ def run(client, args): for _ in range(5): yield client.set_data(args.path, data=random.choice(choices)) yield gen.sleep(1) +...
Fixup to data watcher example. Make sure to clean up after ourselves by deleting the target znode at the end.
py
diff --git a/tests/unit/states/eselect_test.py b/tests/unit/states/eselect_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/eselect_test.py +++ b/tests/unit/states/eselect_test.py @@ -44,7 +44,7 @@ class EselectTestCase(TestCase): mock = MagicMock(return_value=target) with patch.dict(esel...
tests/unit/states/eselect_test.py: remove raw string formatting
py
diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openstack_nova.py +++ b/sos/plugins/openstack_nova.py @@ -246,5 +246,15 @@ class RedHatNova(OpenStackNova, RedHatPlugin): "/etc/security/limits.d/91-nova.conf", "/etc/syscon...
[openstack-nova] Add missing placement api wsgi logs Resolves: #<I>
py
diff --git a/tika/tika.py b/tika/tika.py index <HASH>..<HASH> 100755 --- a/tika/tika.py +++ b/tika/tika.py @@ -325,8 +325,10 @@ def parse1(option, urlOrPath, serverEndpoint=ServerEndpoint, verbose=Verbose, ti service = services.get(option, services['all']) if service == '/tika': responseMimeType = 'text/plain...
handle file within with block in parent call to CallServer. Fixes #<I>
py
diff --git a/src/mistcommand/helpers/tunnels.py b/src/mistcommand/helpers/tunnels.py index <HASH>..<HASH> 100644 --- a/src/mistcommand/helpers/tunnels.py +++ b/src/mistcommand/helpers/tunnels.py @@ -87,7 +87,18 @@ def edit_tunnel(client, args): def get_conf(client, tunnel_id): - print client.tunnel_script(tunne...
revert back to the old way of retrieving the conf script to force auth
py
diff --git a/datasette/utils/asgi.py b/datasette/utils/asgi.py index <HASH>..<HASH> 100644 --- a/datasette/utils/asgi.py +++ b/datasette/utils/asgi.py @@ -48,7 +48,11 @@ class Request: if "raw_path" in self.scope: return self.scope["raw_path"].decode("latin-1") else: - return s...
Handle scope path if it is a string I ran into this while running a unit test with httpx.AsyncClient
py
diff --git a/languages_plus/migrations/0001_initial.py b/languages_plus/migrations/0001_initial.py index <HASH>..<HASH> 100644 --- a/languages_plus/migrations/0001_initial.py +++ b/languages_plus/migrations/0001_initial.py @@ -15,7 +15,7 @@ class Migration(migrations.Migration): name='CultureCode', ...
Adding `on_delete` to migration Intentionally adding this to existing migration, as the migration otherwise doesn't work with Django <I>.
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -9,11 +9,13 @@ from uuid import UUID from flaskext.zodb import (Model, List, Mapping, BTree, Timestamp, UUID4, PersistentList, PersistentMapping, OOBTree) -from ZODB.DemoStorage import DemoStorag...
Test with temporary FileStorages
py
diff --git a/parsl/version.py b/parsl/version.py index <HASH>..<HASH> 100644 --- a/parsl/version.py +++ b/parsl/version.py @@ -1,4 +1,4 @@ ''' Set module version <Major>.<Minor>.<maintenance>[-alpha/beta/..] ''' -VERSION = '0.3.0-alpha' +VERSION = '0.3.0'
Bumping from <I>-alpha to <I>
py
diff --git a/sass_processor/__init__.py b/sass_processor/__init__.py index <HASH>..<HASH> 100644 --- a/sass_processor/__init__.py +++ b/sass_processor/__init__.py @@ -1 +1 @@ -__version__ = '0.2.2' +__version__ = '0.2.3'
Force my requirements.txt files to upgrade from my branch
py
diff --git a/cyclotron_std/sys/stdout.py b/cyclotron_std/sys/stdout.py index <HASH>..<HASH> 100644 --- a/cyclotron_std/sys/stdout.py +++ b/cyclotron_std/sys/stdout.py @@ -5,10 +5,21 @@ from cyclotron import Component Sink = namedtuple('Sink', ['data']) -def make_driver(loop = None): + +def make_driver(loop=None): ...
stdout: error management and flush when sink is completed
py
diff --git a/luigi/hdfs.py b/luigi/hdfs.py index <HASH>..<HASH> 100644 --- a/luigi/hdfs.py +++ b/luigi/hdfs.py @@ -616,6 +616,14 @@ def get_configured_hdfs_client(show_warnings=True): """ config = hdfs() custom = config.client + if six.PY3 and (custom == "snakebite" or config.use_snakebite): + ...
Force hadoopcli as hadoop client on python3
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='Flask-RESTful', - version='0.1.8', + version='0.1.7', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', ...
Undo accidental version bump caused by Makefile
py
diff --git a/deepdish/io/hdf5io.py b/deepdish/io/hdf5io.py index <HASH>..<HASH> 100644 --- a/deepdish/io/hdf5io.py +++ b/deepdish/io/hdf5io.py @@ -104,7 +104,7 @@ def _get_compression_filters(compression='default'): try: ff = tables.Filters(complevel=level, complib=compression, ...
Remove pd.Panel referenced pd.Panel is depcreated for years and has been removed in pandas <I>.
py
diff --git a/tests/calculators/hazard/disagg/core_test.py b/tests/calculators/hazard/disagg/core_test.py index <HASH>..<HASH> 100644 --- a/tests/calculators/hazard/disagg/core_test.py +++ b/tests/calculators/hazard/disagg/core_test.py @@ -278,8 +278,10 @@ class DisaggHazardCalculatorTestcase(unittest.TestCase): ...
tests/calcs/hazard/disagg/core_test: Fixed a broken test, due the the change in a function name in hazardlib.
py
diff --git a/tools/run_tests/run_xds_tests.py b/tools/run_tests/run_xds_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_xds_tests.py +++ b/tools/run_tests/run_xds_tests.py @@ -1061,8 +1061,8 @@ def test_path_matching(gcp, original_backend_service, instance_group, original_backend_instanc...
xds testing: increase path and header matching timeout
py
diff --git a/simuvex/s_memory.py b/simuvex/s_memory.py index <HASH>..<HASH> 100644 --- a/simuvex/s_memory.py +++ b/simuvex/s_memory.py @@ -253,7 +253,7 @@ class SimMemory(SimStatePlugin): else: if remaining_symbolic is not None: remaining_symbolic -= 1 - if default: + if default is not None: cases....
fixed find's behavior when default is 0
py
diff --git a/provider_packages/setup_provider_packages.py b/provider_packages/setup_provider_packages.py index <HASH>..<HASH> 100644 --- a/provider_packages/setup_provider_packages.py +++ b/provider_packages/setup_provider_packages.py @@ -279,7 +279,7 @@ def do_setup_package_providers(provider_package_id: str, ...
Fixes dependencies to pre-release versions of apache-airflow (#<I>) The dependencies in Alphas are currently >= <I> and should be >=<I>a0 in order to work with Alphas in cases which are not PEP <I>-compliant. According to <URL> but in some cases it does not (<URL>) Changing to ">=<I>a0" should help. Fixes ...
py
diff --git a/tornado/httpclient.py b/tornado/httpclient.py index <HASH>..<HASH> 100644 --- a/tornado/httpclient.py +++ b/tornado/httpclient.py @@ -665,7 +665,7 @@ class HTTPResponse(object): @property def body(self) -> bytes: if self.buffer is None: - raise ValueError("body not set") + ...
httpclient: HTTPResponse.body returns empty string instead of raising In tornado 5, HTTPResponse.body would return None if there was no body buffer (which included errors like timeouts and socket errors, but not HTTP errors like <I>). In tornado 6 this was changed to never return None (to make it easier to work with t...
py
diff --git a/mpu/__init__.py b/mpu/__init__.py index <HASH>..<HASH> 100644 --- a/mpu/__init__.py +++ b/mpu/__init__.py @@ -13,6 +13,10 @@ def parallel_for(loop_function, parameters, nb_threads=100): """ Execute the loop body in parallel. + .. note:: Race-Conditions + Executing code in parallel c...
DOC: Add warning about race conditions to parallel_for
py
diff --git a/torchvision/datasets/cifar.py b/torchvision/datasets/cifar.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/cifar.py +++ b/torchvision/datasets/cifar.py @@ -18,7 +18,7 @@ class CIFAR10(data.Dataset): Args: root (string): Root directory of dataset where directory - ``cifa...
Clarify that root specifies download target folder (#<I>)
py
diff --git a/vhdl_toolkit/hdlObjects/typeDefs.py b/vhdl_toolkit/hdlObjects/typeDefs.py index <HASH>..<HASH> 100644 --- a/vhdl_toolkit/hdlObjects/typeDefs.py +++ b/vhdl_toolkit/hdlObjects/typeDefs.py @@ -328,9 +328,10 @@ class Std_logic_vector_contrained(Std_logic_vector): v.vldMask = (v.vldMask << w) | oth...
fix width of result from concatenation
py
diff --git a/kafka_scanner/msg_processor_handlers.py b/kafka_scanner/msg_processor_handlers.py index <HASH>..<HASH> 100644 --- a/kafka_scanner/msg_processor_handlers.py +++ b/kafka_scanner/msg_processor_handlers.py @@ -30,7 +30,7 @@ class MsgProcessorHandlers(object): """ Get messages batch from Kafka (list at...
don't set next messages bigger than max_next_messages
py
diff --git a/container/cli.py b/container/cli.py index <HASH>..<HASH> 100644 --- a/container/cli.py +++ b/container/cli.py @@ -306,7 +306,7 @@ host_commandline = HostCommand() def decode_b64json(encoded_params): - return json.loads(base64.b64decode(encoded_params)) + return json.loads(base64.b64decode(encode...
Decode byte-string returned by base<I>.b<I>decode() (#<I>)
py
diff --git a/did/plugins/gerrit.py b/did/plugins/gerrit.py index <HASH>..<HASH> 100644 --- a/did/plugins/gerrit.py +++ b/did/plugins/gerrit.py @@ -281,6 +281,7 @@ class AddedPatches(GerritUnit): date = self.get_gerrit_date(chg['date'][:10]) comment_date = self.get_gerrit_date(chg['date...
Make sure that the revision number is present
py
diff --git a/samalg/__init__.py b/samalg/__init__.py index <HASH>..<HASH> 100644 --- a/samalg/__init__.py +++ b/samalg/__init__.py @@ -781,6 +781,7 @@ class SAM(object): self.adata.var["spatial_dispersions"] = dispersions.copy() elif weight_mode == 'variance': dispersions = var + ...
saving spatial variances if weight mode is variance
py
diff --git a/ansible_runner/runner_config.py b/ansible_runner/runner_config.py index <HASH>..<HASH> 100644 --- a/ansible_runner/runner_config.py +++ b/ansible_runner/runner_config.py @@ -266,8 +266,6 @@ class RunnerConfig(object): if self.containerized: debug('containerization enabled') - ...
show full container invocation in debug output
py
diff --git a/bitshares/instance.py b/bitshares/instance.py index <HASH>..<HASH> 100644 --- a/bitshares/instance.py +++ b/bitshares/instance.py @@ -69,6 +69,10 @@ def set_shared_config(config): """ assert isinstance(config, dict) SharedInstance.config = config + # if one is already set, delete + if ...
if config is set, delete any existing connections
py
diff --git a/neutronclient/neutron/v2_0/securitygroup.py b/neutronclient/neutron/v2_0/securitygroup.py index <HASH>..<HASH> 100644 --- a/neutronclient/neutron/v2_0/securitygroup.py +++ b/neutronclient/neutron/v2_0/securitygroup.py @@ -106,6 +106,7 @@ class ShowSecurityGroup(neutronV20.ShowCommand): resource = 's...
Make secgroup rules more readable in security-group-show Previously security_group_rules in security-group-show is displayed in JSON dump in a format of one line per rule, but each line is too long and hard to understand rules. After this commit each rule is displayed as JSON dump with indentation and we can easily re...
py
diff --git a/gnupg/test/test_gnupg.py b/gnupg/test/test_gnupg.py index <HASH>..<HASH> 100644 --- a/gnupg/test/test_gnupg.py +++ b/gnupg/test/test_gnupg.py @@ -288,7 +288,7 @@ class GPGTestCase(unittest.TestCase): self.assertEqual(proc.returncode, 0) def test_gpg_binary_version_str(self): - """Tha...
Grammar fix, repeated word in test description
py
diff --git a/claripy/frontend.py b/claripy/frontend.py index <HASH>..<HASH> 100644 --- a/claripy/frontend.py +++ b/claripy/frontend.py @@ -195,11 +195,8 @@ class Frontend(ana.Storable): for c in to_add: v = self._eager_resolution('eval', [None], c, 1)[0] if v is None: - ...
remove some insanity from the constraint optimizations
py
diff --git a/tchannel/zipkin/tracers.py b/tchannel/zipkin/tracers.py index <HASH>..<HASH> 100644 --- a/tchannel/zipkin/tracers.py +++ b/tchannel/zipkin/tracers.py @@ -141,14 +141,15 @@ class TChannelZipkinTracer(object): self._tchannel = tchannel - def submit_callback(self, f): - if f.exception()...
move submit_callback within record method
py
diff --git a/pyrogram/client/methods/chats/get_chat_member.py b/pyrogram/client/methods/chats/get_chat_member.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/methods/chats/get_chat_member.py +++ b/pyrogram/client/methods/chats/get_chat_member.py @@ -37,8 +37,8 @@ class GetChatMember(BaseClient): U...
Update get_chat_member docstrings
py
diff --git a/woven/utils.py b/woven/utils.py index <HASH>..<HASH> 100644 --- a/woven/utils.py +++ b/woven/utils.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from __future__ import with_statement -import os, sys, tempfile +import os, shutil, sys, tempfile from functools import wraps from pkg_resources import parse_ver...
added in a local /tmp dir cleanup function
py
diff --git a/pyautogui/_pyautogui_osx.py b/pyautogui/_pyautogui_osx.py index <HASH>..<HASH> 100644 --- a/pyautogui/_pyautogui_osx.py +++ b/pyautogui/_pyautogui_osx.py @@ -413,7 +413,6 @@ def _multiClick(x, y, button, num, interval=0.0): time.sleep(interval) - def _sendMouseEvent(ev, x, y, button): mo...
Update_pyautogui_osx.py Removed an extra unneeded line.
py
diff --git a/cartoview/app_manager/views.py b/cartoview/app_manager/views.py index <HASH>..<HASH> 100644 --- a/cartoview/app_manager/views.py +++ b/cartoview/app_manager/views.py @@ -140,6 +140,7 @@ def finalize_setup(app_name, user): restart_server_batch = getattr(django_settings, 'RESTART_SERVER_BAT', None) ...
fixed syncdb on apache deployment
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -76,6 +76,8 @@ html_sidebars = { ### Issuetracker -issuetracker = "github" -issuetracker_project = "ask/django-celery" -issuetracker_issue_pattern = r'[Ii]ssue #(\d+)' +# this is not working for some reaso...
Issuetracker is not working, so disable
py
diff --git a/pam/pam.py b/pam/pam.py index <HASH>..<HASH> 100644 --- a/pam/pam.py +++ b/pam/pam.py @@ -30,6 +30,7 @@ a user against the Pluggable Authentication Modules (PAM) on the system. Implemented using ctypes, so no compilation is necessary. ''' +import six import __internals if __name__ == "__main__": #...
put the py2 stuff back
py
diff --git a/fuzzywuzzy/fuzz.py b/fuzzywuzzy/fuzz.py index <HASH>..<HASH> 100644 --- a/fuzzywuzzy/fuzz.py +++ b/fuzzywuzzy/fuzz.py @@ -30,7 +30,7 @@ import warnings try: from .StringMatcher import StringMatcher as SequenceMatcher except ImportError: - warnings.warn('Using slow pure-python SequenceMatcher') + ...
Add note on which package to install. Closes #<I>
py
diff --git a/salt/utils/jinja.py b/salt/utils/jinja.py index <HASH>..<HASH> 100644 --- a/salt/utils/jinja.py +++ b/salt/utils/jinja.py @@ -278,6 +278,26 @@ def to_bool(val): return False +@jinja_filter('tojson') +def tojson(val, indent=None): + ''' + Implementation of tojson filter (only present in Jinja...
Implement tojson jinja filter for those using Jinja < <I>
py
diff --git a/kubernetes_asyncio/config/kube_config_test.py b/kubernetes_asyncio/config/kube_config_test.py index <HASH>..<HASH> 100644 --- a/kubernetes_asyncio/config/kube_config_test.py +++ b/kubernetes_asyncio/config/kube_config_test.py @@ -526,9 +526,10 @@ class TestKubeConfigLoader(BaseTestCase): def test_lo...
Replaced namespace hack with clean solution.
py
diff --git a/sentry/management/commands/cleanup_sentry.py b/sentry/management/commands/cleanup_sentry.py index <HASH>..<HASH> 100644 --- a/sentry/management/commands/cleanup_sentry.py +++ b/sentry/management/commands/cleanup_sentry.py @@ -15,7 +15,7 @@ class Command(BaseCommand): help = 'Cleans up old entries in t...
Fixing manage.py cleanup_sentry command The key 'days' is always part of options. Using getattr for checking against None.
py
diff --git a/ddsc/core/fileuploader.py b/ddsc/core/fileuploader.py index <HASH>..<HASH> 100644 --- a/ddsc/core/fileuploader.py +++ b/ddsc/core/fileuploader.py @@ -109,7 +109,7 @@ class FileUploadOperations(object): def func(): return self.data_service.create_upload(project_id, name, mime_type, siz...
improve waiting/ready messages for uploading
py
diff --git a/src/livestreamer/stream/hls.py b/src/livestreamer/stream/hls.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/stream/hls.py +++ b/src/livestreamer/stream/hls.py @@ -48,6 +48,10 @@ class HLSStreamWriter(SegmentedStreamWriter): self.key_uri = key.uri iv = key.iv or num_to_iv(sequ...
stream.hls: Pad IV if needed.
py
diff --git a/zhmcclient/_port.py b/zhmcclient/_port.py index <HASH>..<HASH> 100644 --- a/zhmcclient/_port.py +++ b/zhmcclient/_port.py @@ -109,6 +109,13 @@ class PortManager(BaseManager): network_family = ('osa', 'roce', 'hipersockets') if self.adapter.get_property('adapter-family') in storage_family:...
Added circumvention for duplicate port URIs in FCP adapter.
py
diff --git a/tests/integration/states/test_network.py b/tests/integration/states/test_network.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/test_network.py +++ b/tests/integration/states/test_network.py @@ -49,5 +49,11 @@ class NetworkTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn): ...
Fix network test for cases where no network settings are configured This allows the test to pass inside a docker container where the networking is managed by docker and not by the OS' network mangagment daemon.
py
diff --git a/tests/core/gas-strategies/test_time_based_gas_price_strategy.py b/tests/core/gas-strategies/test_time_based_gas_price_strategy.py index <HASH>..<HASH> 100644 --- a/tests/core/gas-strategies/test_time_based_gas_price_strategy.py +++ b/tests/core/gas-strategies/test_time_based_gas_price_strategy.py @@ -150,7...
Remove cast in gas strategies unit tests This commit removes an integer case in a unit test for the time-based gas strategies code, that may have suppressed `TypeError` bugs in the target code.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import re import os -extensions = ( +extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.doctest', @@ -9,7 +9,7 @@ extensions = ( ...
Silly rtd, you don't know how to use tuples ...
py
diff --git a/pyetesync/api.py b/pyetesync/api.py index <HASH>..<HASH> 100644 --- a/pyetesync/api.py +++ b/pyetesync/api.py @@ -72,7 +72,7 @@ class EteSync: # CRUD operations def list(self): - for cache_journal in cache.JournalEntity.select().where(cache.JournalEntity.deleted == False): + for c...
Api: fix pep8 error with query.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( version='0.1.0', description="A graph manipulation library in pure Python", license="MIT", - packages=["graph"], + packages=["graph", "graph.classes", "graph.functions", "graph.helpers"...
Add missing modules in setup.py
py
diff --git a/zappa/zappa.py b/zappa/zappa.py index <HASH>..<HASH> 100644 --- a/zappa/zappa.py +++ b/zappa/zappa.py @@ -133,13 +133,6 @@ ATTACH_POLICY = """{ "route53:*" ], "Resource": "*" - }, - { - "Effect": "Allow", - "Action": [ - ...
Remove rekognition requirement for now, dont feel like updating placebo
py
diff --git a/pydevd_file_utils.py b/pydevd_file_utils.py index <HASH>..<HASH> 100644 --- a/pydevd_file_utils.py +++ b/pydevd_file_utils.py @@ -366,11 +366,11 @@ def get_abs_path_real_path_and_base_from_frame(frame): except: #This one is just internal (so, does not need any kind of client-server translatio...
--Fix translation of 'bdist' paths inside of eggs on windows (cherry picked from commit 9d<I>aa6)
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -969,7 +969,8 @@ _OS_FAMILY_MAP = { 'Linaro': 'Debian', 'elementary OS': 'Debian', 'ScientificLinux': 'RedHat', - 'Raspbian': 'Debian' + 'Raspbian': 'Debian', + ...
Add Devuan to _OS_FAMILY_MAP and report OS Family Debian
py
diff --git a/training/deepspeech_training/train.py b/training/deepspeech_training/train.py index <HASH>..<HASH> 100644 --- a/training/deepspeech_training/train.py +++ b/training/deepspeech_training/train.py @@ -814,6 +814,10 @@ def create_inference_graph(batch_size=1, n_steps=16, tflite=False): 'new_state_c': ...
Expose some internal layers for downstream applications
py
diff --git a/furious/context/__init__.py b/furious/context/__init__.py index <HASH>..<HASH> 100644 --- a/furious/context/__init__.py +++ b/furious/context/__init__.py @@ -82,12 +82,12 @@ def get_current_async(): def get_current_context(): - """Return a reference to the currently Context object. + """Return a...
Fixed typos in the comments and the Exception. Also fixed if condition to check registry
py
diff --git a/satpy/readers/fci_l1c_fdhsi.py b/satpy/readers/fci_l1c_fdhsi.py index <HASH>..<HASH> 100644 --- a/satpy/readers/fci_l1c_fdhsi.py +++ b/satpy/readers/fci_l1c_fdhsi.py @@ -76,7 +76,7 @@ class FCIFDHSIFileHandler(NetCDF4FileHandler): def get_dataset(self, key, info=None): """Load a dataset.""" ...
FCI reader more informative debug message Issue a more informative debug message when reading a channel, considering that the data are shared over up to <I> chunks/files.
py
diff --git a/metpy/io/gini.py b/metpy/io/gini.py index <HASH>..<HASH> 100644 --- a/metpy/io/gini.py +++ b/metpy/io/gini.py @@ -432,6 +432,32 @@ class GiniFile(AbstractDataStore): return [('x', x_var), ('y', y_var), ('lon', lon_var), ('lat', lat_var)] + # FIXME: Work around xarray <=0.10.3 docstring for ...
MNT: Work around docstring formatting in xarray The formatting for the load docstring is incorrect in xarray, which causes sphinx to warn when building our own docs. Inheritance is wonderful.
py
diff --git a/tests/test_utf8.py b/tests/test_utf8.py index <HASH>..<HASH> 100644 --- a/tests/test_utf8.py +++ b/tests/test_utf8.py @@ -11,7 +11,7 @@ import rapidxml def test_utf8(): data = "<root>éè</root>" - if sys.version_info.major >= 3: + if sys.version_info[0] >= 3: data = data.encode('utf-8...
patched a test for python<I>
py
diff --git a/elpy/ropebackend.py b/elpy/ropebackend.py index <HASH>..<HASH> 100644 --- a/elpy/ropebackend.py +++ b/elpy/ropebackend.py @@ -87,7 +87,8 @@ class RopeBackend(object): maxfixes=MAXFIXES) starting_offset = rope.contrib.codeassist.start...
Catch BadIdentifierError in rope get_completions. No reproduction case. Happened once, couldn't make it happen again.
py
diff --git a/django_bootstrap_breadcrumbs/templatetags/django_bootstrap_breadcrumbs.py b/django_bootstrap_breadcrumbs/templatetags/django_bootstrap_breadcrumbs.py index <HASH>..<HASH> 100644 --- a/django_bootstrap_breadcrumbs/templatetags/django_bootstrap_breadcrumbs.py +++ b/django_bootstrap_breadcrumbs/templatetags/d...
misc: minor pythonicity improvements
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( packages=find_packages(exclude=["tests"]), include_package_data=True, install_requires=[ - "requests==2.18.4" + "requests==2.20.1" ], author="datawire.io", author...
update dep in setup.py
py
diff --git a/vsphere/datadog_checks/vsphere/legacy/vsphere_legacy.py b/vsphere/datadog_checks/vsphere/legacy/vsphere_legacy.py index <HASH>..<HASH> 100644 --- a/vsphere/datadog_checks/vsphere/legacy/vsphere_legacy.py +++ b/vsphere/datadog_checks/vsphere/legacy/vsphere_legacy.py @@ -1006,6 +1006,8 @@ class VSphereLegacy...
Improve logging of the legacy implementation (#<I>)
py
diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py index <HASH>..<HASH> 100644 --- a/flask_socketio/__init__.py +++ b/flask_socketio/__init__.py @@ -763,7 +763,7 @@ def emit(event, *args, **kwargs): clients directly, without going through the queue. ...
docs: Fix simple typo, addresee -> addressee (#<I>) There is a small typo in flask_socketio/__init__.py. Closes #<I>
py
diff --git a/db/alchemy/models.py b/db/alchemy/models.py index <HASH>..<HASH> 100644 --- a/db/alchemy/models.py +++ b/db/alchemy/models.py @@ -123,9 +123,6 @@ class OqParams(Base): self.id, self.job_type, self.upload.id)) -ga.GeometryDDL(OqParams.__table__) - - class OqJob(Base): __tablename__ = ...
We don't need the GeometryDDL() statements in our model Former-commit-id: <I>a0e9acf4a<I>eb5b6b<I>e<I>ac<I>c8d<I>
py
diff --git a/fiesta/fiesta.py b/fiesta/fiesta.py index <HASH>..<HASH> 100644 --- a/fiesta/fiesta.py +++ b/fiesta/fiesta.py @@ -94,7 +94,12 @@ class FiestaAPI(object): Does the magic of actually sending the request and parsing the response """ # TODO: I'm sure all kinds of error checking needs...
Print HTTPError body for debugging. Handle cases when user_id isn't present in user creation.
py
diff --git a/snakeguice/__pkginfo__.py b/snakeguice/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/snakeguice/__pkginfo__.py +++ b/snakeguice/__pkginfo__.py @@ -5,7 +5,7 @@ libname = 'snake-guice' modname = 'snakeguice' packages = ['snakeguice'] -version = '0.2.0dev' +version = '0.2.1dev' license = 'MIT' copy...
Updatig the package version.
py
diff --git a/Legobot/Legos/Help.py b/Legobot/Legos/Help.py index <HASH>..<HASH> 100644 --- a/Legobot/Legos/Help.py +++ b/Legobot/Legos/Help.py @@ -54,9 +54,9 @@ class Help(Lego): try: help_str = lego_proxy.get_help(sub=sub).get() except (Typ...
Making Travis happy, corrected indents, rewrote help_str when a subcommand is not present in the lego to staisfy line length and indent issues
py
diff --git a/authomatic/providers/openid.py b/authomatic/providers/openid.py index <HASH>..<HASH> 100644 --- a/authomatic/providers/openid.py +++ b/authomatic/providers/openid.py @@ -95,6 +95,7 @@ class SessionWrapper(object): val = self.session.get(key) if val and val.startswith(self.prefix): ...
fix an error i was getting with yahoo openid
py
diff --git a/msmbuilder/featurizer/multichain.py b/msmbuilder/featurizer/multichain.py index <HASH>..<HASH> 100644 --- a/msmbuilder/featurizer/multichain.py +++ b/msmbuilder/featurizer/multichain.py @@ -69,8 +69,7 @@ class LigandFeaturizer(Featurizer): def _guess_chains(self, traj): - if self.protein_ch...
I was getting a "chain_dict referenced before assignment" error here. It's unclear to me if there was ever any reason for chain_dict to not be always initialized at the start of this method. It doesn't seem to be used anywhere else.
py
diff --git a/src/utils/setup.py b/src/utils/setup.py index <HASH>..<HASH> 100644 --- a/src/utils/setup.py +++ b/src/utils/setup.py @@ -18,13 +18,7 @@ else: setup( install_requires=[ 'PyPDF3>=1.0.1', - # 'pdfrw', - # 'PyMuPDF>=1.13.20', - # 'Pillow', - # 'reportlab', '...
Optimized install_requires
py