diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/service/__init__.py b/src/service/__init__.py index <HASH>..<HASH> 100644 --- a/src/service/__init__.py +++ b/src/service/__init__.py @@ -311,6 +311,12 @@ class Service(object): except lockfile.NotLocked: pass + # Clear previously received SIGTERMs. This must be d...
Fix a race condition regarding the reception of SIGTERM
py
diff --git a/src/jupyter_notebook_gist/config.py b/src/jupyter_notebook_gist/config.py index <HASH>..<HASH> 100644 --- a/src/jupyter_notebook_gist/config.py +++ b/src/jupyter_notebook_gist/config.py @@ -1,3 +1,4 @@ +import six from traitlets.config import LoggingConfigurable from traitlets.traitlets import Unicode ...
Use six for correct Python2/3 compatibility
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -3012,7 +3012,7 @@ class BaseHighState(object): 'top_file_merging_strategy set to \'same\', but no ' 'default_top configuration option was set' ) -...
fix forward port of #<I> self.opts key 'environment' have been renamed to 'saltenv' after <I>, thus the forward port broke the 'same' merging strategy again.
py
diff --git a/refcycle/annotated_graph.py b/refcycle/annotated_graph.py index <HASH>..<HASH> 100644 --- a/refcycle/annotated_graph.py +++ b/refcycle/annotated_graph.py @@ -143,14 +143,12 @@ class AnnotatedGraph(IDirectedGraph): for vertex in obj['vertices'] ] - vertex_map = {vertex.id: ver...
Fix AnnotatedGraph.from_json to use the correct edge head and tail.
py
diff --git a/coconut/command/command.py b/coconut/command/command.py index <HASH>..<HASH> 100644 --- a/coconut/command/command.py +++ b/coconut/command/command.py @@ -431,6 +431,7 @@ class Command(object): def start_running(self): """Starts running the Runner.""" + self.comp.bind() self....
Attempts to reduce first command interpreter slowdown
py
diff --git a/salt/transport/client.py b/salt/transport/client.py index <HASH>..<HASH> 100644 --- a/salt/transport/client.py +++ b/salt/transport/client.py @@ -164,8 +164,11 @@ class AsyncPubChannel(AsyncChannel): import salt.transport.tcp return salt.transport.tcp.AsyncTCPPubChannel(opts, **kw...
Implement `AsyncPubChannel` as a context manager
py
diff --git a/salt/utils/error.py b/salt/utils/error.py index <HASH>..<HASH> 100644 --- a/salt/utils/error.py +++ b/salt/utils/error.py @@ -6,8 +6,10 @@ Utilities to enable exception reraising across the master commands from __future__ import absolute_import # Import python libs -import exceptions - +try: + impor...
Checking if exceptions module can be imported as it's removed from Python3
py
diff --git a/pyroSAR/ancillary.py b/pyroSAR/ancillary.py index <HASH>..<HASH> 100644 --- a/pyroSAR/ancillary.py +++ b/pyroSAR/ancillary.py @@ -209,13 +209,13 @@ def multicore(function, cores, multiargs, **singleargs): pool = mp.Pool(processes=cores) except NameError: raise ImportError...
[ancillary.multiprocessing] switched from using imap_unordered to imap
py
diff --git a/xarray/util/print_versions.py b/xarray/util/print_versions.py index <HASH>..<HASH> 100755 --- a/xarray/util/print_versions.py +++ b/xarray/util/print_versions.py @@ -9,7 +9,7 @@ import sys def get_sys_info(): - "Returns system information as a dict" + """Returns system information as a dict""" ...
Fix minor code quality issues (#<I>) * Fix minor code quality issues Changes: - Use `_` for unused variables - Use `"""` for docstrings - Add `.deepsource.toml` file to run continuous static analysis on repository with DeepSource * Remove deepsource @sauravsrijan best of luck with your project, even if w...
py
diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test_ssl.py +++ b/cheroot/test/test_ssl.py @@ -179,11 +179,11 @@ def test_tls_client_auth( interface, host, port = _get_conn_data(ANY_INTERFACE_IPV4) cert = ca.issue_server_cert(ntou(interface), ) ...
Move CA selection outside of CM block in tests
py
diff --git a/src/feat/database/driver.py b/src/feat/database/driver.py index <HASH>..<HASH> 100644 --- a/src/feat/database/driver.py +++ b/src/feat/database/driver.py @@ -570,7 +570,13 @@ class Database(common.ConnectionManager, log.LogProxy, ChangeListener): def _set_version(self, response): self.versi...
Disable pipelining again. CouchDB closes connection after responsding with <I>, its not clear how http client should handle that.
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 @@ -27,7 +27,7 @@ author = "The Font Bakery Authors" # The short X.Y version version = "0.7" # The full version, including alpha/beta/rc tags -release = "0.7.12" +release = "0.7.13" ...
update version on docs/source/conf.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,10 +5,10 @@ from setuptools import find_packages setup( name='Collectfast', - version='0.1.10', + version='0.1.11', description='Custom management command that compares the MD5 sum and ' ...
fixed long_description in setup.py and bumped version
py
diff --git a/py/selenium/webdriver/remote/webdriver.py b/py/selenium/webdriver/remote/webdriver.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/webdriver.py +++ b/py/selenium/webdriver/remote/webdriver.py @@ -606,7 +606,7 @@ class WebDriver(object): or a command to complete. This method on...
SimonStewart on behalf of YuviPanda: indicate that implicit wait timeouts are measured in seconds r<I>
py
diff --git a/panwid/datatable/datatable.py b/panwid/datatable/datatable.py index <HASH>..<HASH> 100644 --- a/panwid/datatable/datatable.py +++ b/panwid/datatable/datatable.py @@ -605,7 +605,7 @@ class DataTable(urwid.WidgetWrap, urwid.listbox.ListWalker): @focus_position.setter def focus_position(self, valu...
DataTable: Ensure focus events happen when focus is changed.
py
diff --git a/commands/weather.py b/commands/weather.py index <HASH>..<HASH> 100644 --- a/commands/weather.py +++ b/commands/weather.py @@ -125,6 +125,7 @@ def get_forecast(cmdargs, send, apikey): def cmd(send, msg, args): """Gets the weather. Syntax: !weather [--date date] <location|--set default> + Power...
Update help text to (hopefully) satisfy wunderground licensing requirements
py
diff --git a/test/unit/Postprocessing/PlotsTest.py b/test/unit/Postprocessing/PlotsTest.py index <HASH>..<HASH> 100644 --- a/test/unit/Postprocessing/PlotsTest.py +++ b/test/unit/Postprocessing/PlotsTest.py @@ -4,6 +4,8 @@ import matplotlib as mpl class PlotsTest: def setup_class(self): + ctrl = OpenPNM....
Trying to get last test passing on Travis. Not sure why it's failing as it passes locally.
py
diff --git a/scripts/run.py b/scripts/run.py index <HASH>..<HASH> 100755 --- a/scripts/run.py +++ b/scripts/run.py @@ -773,7 +773,7 @@ class TestRunner: abspath_test = os.path.abspath(test_to_run) return abspath_test - for d, subdirs, files in os.walk(os.path.dirname(os.path.realpath(...
Change search for test to start from cwd instead of script path since the script moved.
py
diff --git a/eventkit/admin.py b/eventkit/admin.py index <HASH>..<HASH> 100644 --- a/eventkit/admin.py +++ b/eventkit/admin.py @@ -79,16 +79,20 @@ class EventAdmin(PolymorphicParentModelAdmin): 'id', 'parent', 'title', 'all_day', 'starts', 'ends', 'is_repeat') data = [] - ...
Set colours for calendar view consistently by via the seen index across ALL root and variation events.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def dependencies(file): setup( name='halo', packages=find_packages(exclude=('tests', 'examples')), - version='0.0.14', + version='0.0.15', license='MIT', description='Beautiful terminal ...
Version: Bumped to <I>
py
diff --git a/salt/utils/reactor.py b/salt/utils/reactor.py index <HASH>..<HASH> 100644 --- a/salt/utils/reactor.py +++ b/salt/utils/reactor.py @@ -180,7 +180,6 @@ class Reactor(multiprocessing.Process, salt.state.Compiler): ''' Execute the reaction state ''' - log.debug('=== running Re...
one more unneeded debug line.
py
diff --git a/greenclock/utils.py b/greenclock/utils.py index <HASH>..<HASH> 100644 --- a/greenclock/utils.py +++ b/greenclock/utils.py @@ -62,18 +62,18 @@ class every_hour(object): scheduled = time_now.replace(hour=self.hour, minute=self.minute, second=self.second, microsecond=0) if sc...
Fixed: last hour of a day and last day of a month caused: ValueError: day is out of range for month and ValueError: hour must be in <I>
py
diff --git a/project_generator_definitions/main.py b/project_generator_definitions/main.py index <HASH>..<HASH> 100644 --- a/project_generator_definitions/main.py +++ b/project_generator_definitions/main.py @@ -29,7 +29,7 @@ def main(): parser.add_argument('-v', dest='verbosity', action='count', default=0, ...
Fix quietness cmdline option help
py
diff --git a/tests/test_hunter.py b/tests/test_hunter.py index <HASH>..<HASH> 100644 --- a/tests/test_hunter.py +++ b/tests/test_hunter.py @@ -881,7 +881,7 @@ def test_debugger(LineMatcher): module="test_hunter", function="foo", actions=[CodePrinter, - VarsPrinter("a", "node",...
Completely rip out globals setting.
py
diff --git a/pykube/http.py b/pykube/http.py index <HASH>..<HASH> 100644 --- a/pykube/http.py +++ b/pykube/http.py @@ -73,7 +73,7 @@ class HTTPClient(object): version = kwargs.pop("version", "v1") if version == "v1": base = kwargs.pop("base", "/api") - elif any(map(version.startswi...
Loosen check on different APIs
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -64,6 +64,7 @@ install_requires = [ 'Flask-BabelEx>=0.9.2', 'Flask-Breadcrumbs>=0.3.0', 'Flask-Menu>=0.5.0', + 'Flask-WTF<0.13', 'Flask>=0.11.1', 'github3.py>=1.0.0a4', 'humanize>=0.5.1',
installation: pin Flask-WTF to <I>
py
diff --git a/openfisca_web_api/wsgihelpers.py b/openfisca_web_api/wsgihelpers.py index <HASH>..<HASH> 100644 --- a/openfisca_web_api/wsgihelpers.py +++ b/openfisca_web_api/wsgihelpers.py @@ -123,8 +123,11 @@ def respond_json(ctx, data, code = None, headers = None, jsonp = None): if code is not None: ...
Don't fail when returned JSON is not valid utf-8.
py
diff --git a/src/resolvelib/resolvers.py b/src/resolvelib/resolvers.py index <HASH>..<HASH> 100644 --- a/src/resolvelib/resolvers.py +++ b/src/resolvelib/resolvers.py @@ -241,7 +241,8 @@ class Resolution(object): name, crit = self._merge_into_criterion(r, parent=None) except RequirementsCo...
Fix duplicate requirement reporting The input requirement is already in the criterion when the exception is raised, so we don't need to report it again.
py
diff --git a/examples/philosophers/manage.py b/examples/philosophers/manage.py index <HASH>..<HASH> 100644 --- a/examples/philosophers/manage.py +++ b/examples/philosophers/manage.py @@ -94,7 +94,7 @@ def pickup_fork(request, fork_right): class DiningPhilosophers(pulsar.Application): description = 'Dining philoso...
fixed philosophers example for pulsar <I>
py
diff --git a/check50.py b/check50.py index <HASH>..<HASH> 100755 --- a/check50.py +++ b/check50.py @@ -834,7 +834,7 @@ class Checks(unittest.TestCase): # Only raise exception if we encountered errors. if reported: - raise Error("valgrind tests failed; rerun with --log for more information...
Wording tweak for valgrind
py
diff --git a/openquake/commonlib/source.py b/openquake/commonlib/source.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/source.py +++ b/openquake/commonlib/source.py @@ -173,9 +173,9 @@ class RlzsAssoc(collections.Mapping): def get_rlzs_by_gsim(self, grp_id): """ - Returns a dictionary g...
Converted rlzs_by_gsim into an OrderedDict
py
diff --git a/skyfield/positionlib.py b/skyfield/positionlib.py index <HASH>..<HASH> 100644 --- a/skyfield/positionlib.py +++ b/skyfield/positionlib.py @@ -258,7 +258,7 @@ class Apparent(ICRS): topos = self.observer.topos uze = topos.up une = topos.north - uwe = topos.we...
Move "uwe" minus sign to top of method
py
diff --git a/cmd2.py b/cmd2.py index <HASH>..<HASH> 100755 --- a/cmd2.py +++ b/cmd2.py @@ -1887,6 +1887,13 @@ class Cmd(cmd.Cmd): # Get all tokens through the one being completed tokens = tokens_for_completion(line, begidx, endidx, preserve_quotes=True) + # Either had ...
Added an extra parsing check
py
diff --git a/openquake/engine/export/risk.py b/openquake/engine/export/risk.py index <HASH>..<HASH> 100644 --- a/openquake/engine/export/risk.py +++ b/openquake/engine/export/risk.py @@ -147,6 +147,18 @@ def export_agg_loss_curve_xml(key, output, target): return dest +@core.export_output.add(('agg_loss_curve',...
Added a CSV exporter for aggregated loss curves Former-commit-id: 2d4d<I>fcd<I>a8adf3a<I>d5c0f7cb<I>ed
py
diff --git a/safe_qgis/impact_statistics/zonal_stats.py b/safe_qgis/impact_statistics/zonal_stats.py index <HASH>..<HASH> 100644 --- a/safe_qgis/impact_statistics/zonal_stats.py +++ b/safe_qgis/impact_statistics/zonal_stats.py @@ -131,7 +131,7 @@ def calculateZonalStats(theRasterLayer, thePolygonLayer): myFeature ...
zstats optimization: don't fetch feature attributes
py
diff --git a/salt/states/saltmod.py b/salt/states/saltmod.py index <HASH>..<HASH> 100644 --- a/salt/states/saltmod.py +++ b/salt/states/saltmod.py @@ -779,8 +779,7 @@ def parallel_runners(name, runners): __orchestration_jid__=jid, _...
Fixed incorrect use of list as dict key. The name parameter in a call to dict.get(...) was accidentally wrapped in brackets, leading to a TypeError ("unhashable type: 'list'").
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ license: GNU-GPL2 from setuptools import setup setup(name='consoleprinter', - version='22', + version='23', description='Console printer with linenumbers, stacktraces, logging, conversions and...
pip Monday <I> March <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/convertdate/utils.py b/convertdate/utils.py index <HASH>..<HASH> 100644 --- a/convertdate/utils.py +++ b/convertdate/utils.py @@ -94,10 +94,10 @@ def nth_day_of_month(n, weekday, month, year): Return (year, month, day) tuple that represents nth weekday of month in year. If n==0, returns last week...
Repairs off-by-one error in nth_day_of_month. Fixes #<I>
py
diff --git a/build/build.py b/build/build.py index <HASH>..<HASH> 100755 --- a/build/build.py +++ b/build/build.py @@ -898,6 +898,7 @@ class Release(): antJar, antLauncherJar, os.pathsep.join(dependencyJarPaths()), os.path.join(jingTrangDir, "build", "jing.jar"), + os.p...
Build releases with validator.jar in classpath
py
diff --git a/anonlink/identifier_types.py b/anonlink/identifier_types.py index <HASH>..<HASH> 100644 --- a/anonlink/identifier_types.py +++ b/anonlink/identifier_types.py @@ -47,3 +47,28 @@ basic_types = { 'PHONE freetext': IdentifierType(unigram=True, toremove='()-') } +# Weighted Types +# Zip Code, Birth Year...
Add weighted identifier types
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -120,7 +120,7 @@ class NumPyTestCase(unittest.TestCase): def assertArrayEqual(self, arr1, arr2, msg=None): import numpy as np - if arr1.dtype is not arr2.dtype: + if arr1.d...
Adding NO-COVER for test branch.
py
diff --git a/src/app/actions/psmtable/refine.py b/src/app/actions/psmtable/refine.py index <HASH>..<HASH> 100644 --- a/src/app/actions/psmtable/refine.py +++ b/src/app/actions/psmtable/refine.py @@ -190,7 +190,7 @@ def generate_psms_with_proteingroups(psms, pgdb, specfncol, unroll): psm_masters.append(mast...
Sort proteingroup masters if multiple so we can have reproducible output
py
diff --git a/pyromancer/objects.py b/pyromancer/objects.py index <HASH>..<HASH> 100644 --- a/pyromancer/objects.py +++ b/pyromancer/objects.py @@ -197,7 +197,14 @@ class Match(object): self.line.target if not raw: - message = message.format(*args, m=self, **kwargs) + if...
Fix messaging with args as list not working
py
diff --git a/datanommer.models/datanommer/models/__init__.py b/datanommer.models/datanommer/models/__init__.py index <HASH>..<HASH> 100644 --- a/datanommer.models/datanommer/models/__init__.py +++ b/datanommer.models/datanommer/models/__init__.py @@ -34,14 +34,19 @@ import logging log = logging.getLogger("datanommer")...
Allow initialization by an already-created engine.
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100644 --- a/jira/client.py +++ b/jira/client.py @@ -1278,8 +1278,13 @@ class JIRA(object): def assign_issue(self, issue, assignee): """Assign an issue to a user. None will set it to unassigned. -1 will set it to Automatic. - :para...
Update docs of assign_issue()
py
diff --git a/sphinx_gallery/docs_resolv.py b/sphinx_gallery/docs_resolv.py index <HASH>..<HASH> 100644 --- a/sphinx_gallery/docs_resolv.py +++ b/sphinx_gallery/docs_resolv.py @@ -414,9 +414,8 @@ def _embed_code_links(app, gallery_conf, gallery_dir): # ensure greediness names = sorted(str_rep...
Fix regular expression for adding embedded links (#<I>) The regular expression was not matching for the first (i.e. also the longest) name.
py
diff --git a/tests/test_class_import.py b/tests/test_class_import.py index <HASH>..<HASH> 100644 --- a/tests/test_class_import.py +++ b/tests/test_class_import.py @@ -80,7 +80,8 @@ def test_import_localtime(): struct = fake_localtime_function() assert struct.tm_year == 2012 assert struct.tm_mon == 1 - ...
Fix test to work when current timezone is GMT-<I> or GMT<I>. Wikipedia says that UTC<I> is a thing. /usr/share/zoneinfo says that GMT-<I> is a thing. Ensure both of them work in tests when using local time. Python accepts up to a whole day (so, GMT<I> is valid). Fix the test on local time to accept all that. Fix #<I>...
py
diff --git a/modin/experimental/cloud/cluster.py b/modin/experimental/cloud/cluster.py index <HASH>..<HASH> 100644 --- a/modin/experimental/cloud/cluster.py +++ b/modin/experimental/cloud/cluster.py @@ -252,6 +252,14 @@ def create( The object that knows how to destroy the cluster and how to activate it as remo...
DOCS-#<I>: Add notes about using MODIN_SOCKS_PROXY variable (#<I>)
py
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index <HASH>..<HASH> 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -243,11 +243,12 @@ class StdlibChecker(BaseChecker): py_vers = sys.version_info[0] qname = infer.qname() - if(isinstance(node.func,...
Add a comment regarding the nodes we're not interested into.
py
diff --git a/claripy/balancer.py b/claripy/balancer.py index <HASH>..<HASH> 100644 --- a/claripy/balancer.py +++ b/claripy/balancer.py @@ -172,7 +172,7 @@ class Balancer(object): high, low, to_extract = args cond_operation, cond_operand = condition # Make sure the condition operand has the sa...
fix length calculation in the extract simplification
py
diff --git a/openid/stores/sqlstore.py b/openid/stores/sqlstore.py index <HASH>..<HASH> 100644 --- a/openid/stores/sqlstore.py +++ b/openid/stores/sqlstore.py @@ -53,9 +53,9 @@ class SQLStore(OpenIDStore): @sort: __init__, createTables """ - settings_table = 'oidc_settings' - associations_table = 'oid...
[project @ Change default table names, now that the store isn't consumer-only]
py
diff --git a/stellar_sdk/operation/allow_trust.py b/stellar_sdk/operation/allow_trust.py index <HASH>..<HASH> 100644 --- a/stellar_sdk/operation/allow_trust.py +++ b/stellar_sdk/operation/allow_trust.py @@ -62,9 +62,9 @@ class AllowTrust(Operation): authorize: Union[TrustLineEntryFlag, bool], source: ...
chore: Amend the deprecation warning message of `AllowTrust`. We keep this class to ensure that the SDK can correctly parse historical transactions.
py
diff --git a/spyder/plugins/projects.py b/spyder/plugins/projects.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/projects.py +++ b/spyder/plugins/projects.py @@ -27,7 +27,7 @@ from spyder.utils import icon_manager as ima from spyder.utils.qthelpers import add_actions, create_action, get_icon from spyder.widgets...
Projects: Use empty projects for all new projects (for now)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ except: from distutils.core import setup setup(name='sprinter', - version='0.3.7', + version='0.3.8', description='a utility library to help environment bootstrapping scripts', auth...
<I> release Bugfix: * refactor of install, per @tmckay Features: * SSH recipe now prompts on overriding existing config.
py
diff --git a/linshareapi/user/documents.py b/linshareapi/user/documents.py index <HASH>..<HASH> 100644 --- a/linshareapi/user/documents.py +++ b/linshareapi/user/documents.py @@ -59,6 +59,16 @@ class Invalid(IInvalid): # ----------------------------------------------------------------------------- class Documents(Gen...
Get method added to document api.
py
diff --git a/src/shell.py b/src/shell.py index <HASH>..<HASH> 100644 --- a/src/shell.py +++ b/src/shell.py @@ -6,3 +6,5 @@ if sys.hexversion >= 0x030300F0: else: from pipes import quote +# TODO: Provide a way for split() to note that shell characters (like | or &&) +# shouldn't be quoted by quote().
Add a comment about an issue with shell.split()
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,7 @@ files = [ 'pyontutils/ilx_utils.py', 'pyontutils/namespaces.py', 'pyontutils/necromancy.py', + 'pyontutils/neurons/__init__.py', 'pyontutils/neurons/core.py', 'pyontutils/neurons/lang...
setup.py added missing __init__.py for neurons
py
diff --git a/Lib/glyphsLib/builder/custom_params.py b/Lib/glyphsLib/builder/custom_params.py index <HASH>..<HASH> 100644 --- a/Lib/glyphsLib/builder/custom_params.py +++ b/Lib/glyphsLib/builder/custom_params.py @@ -360,7 +360,7 @@ GLYPHS_UFO_CUSTOM_PARAMS_GLYPHS3_PROPERTIES = ( ("licenseURL", "openTypeNameLicenseU...
Fix converting sampleText from version 3 fonts The property name is plural, sampleTexts, not singular.
py
diff --git a/pyup/requirements.py b/pyup/requirements.py index <HASH>..<HASH> 100644 --- a/pyup/requirements.py +++ b/pyup/requirements.py @@ -2,7 +2,6 @@ from __future__ import unicode_literals import re from pkg_resources import Requirement as RequirementBase, parse_requirements from pkg_resources import parse_ver...
fetch the more generic ValueError
py
diff --git a/satpy/readers/nc_nwcsaf_msg.py b/satpy/readers/nc_nwcsaf_msg.py index <HASH>..<HASH> 100644 --- a/satpy/readers/nc_nwcsaf_msg.py +++ b/satpy/readers/nc_nwcsaf_msg.py @@ -143,3 +143,20 @@ class NcNWCSAFMSG(BaseFileHandler): return datetime.strptime( self.nc.attrs['time_coverage...
Convert projection parameters from kilometers to meters
py
diff --git a/salt/version.py b/salt/version.py index <HASH>..<HASH> 100644 --- a/salt/version.py +++ b/salt/version.py @@ -684,8 +684,8 @@ def system_information(): version = item release = version - _, ver, sp, extra = platform.win32_ver() - version = ' '.join([release...
Enabled Aluminium. Edited 2-letter variable that pylint did not agree with.
py
diff --git a/hamster/HamsterApplet.py b/hamster/HamsterApplet.py index <HASH>..<HASH> 100755 --- a/hamster/HamsterApplet.py +++ b/hamster/HamsterApplet.py @@ -141,6 +141,8 @@ class HamsterApplet(object): item.connect("clicked", self.changeActivity, activity['id']) prev_item = item ...
fixed bug with redrawing menu window after editing activities svn path=/trunk/; revision=<I>
py
diff --git a/salt/modules/dockerio.py b/salt/modules/dockerio.py index <HASH>..<HASH> 100644 --- a/salt/modules/dockerio.py +++ b/salt/modules/dockerio.py @@ -263,7 +263,7 @@ def _get_client(version=None, timeout=None): # only if defined by user. kwargs['timeout'] = timeout - if not 'base_url' in...
Fix PEP8 E<I> - test for membership should be "not in"
py
diff --git a/emailit/api.py b/emailit/api.py index <HASH>..<HASH> 100644 --- a/emailit/api.py +++ b/emailit/api.py @@ -15,7 +15,7 @@ def construct_mail(recipients=None, context=None, template_base='emailit/email', """ usage: construct_mail(['my@email.com'], {'my_obj': obj}, template_base='myapp/emails/my...
Add ability to pass single email instead of list
py
diff --git a/parler/managers.py b/parler/managers.py index <HASH>..<HASH> 100644 --- a/parler/managers.py +++ b/parler/managers.py @@ -121,7 +121,9 @@ class TranslatableManager(models.Manager): return self.queryset_class(self.model, using=self._db) # For Django 1.5 - if django.VERSION < (1, 7): + ...
Leaving TranslatableManager.get_query_set in Django <I>. This meaks it easier to fix backwards incompatible issues
py
diff --git a/manticore/ethereum/account.py b/manticore/ethereum/account.py index <HASH>..<HASH> 100644 --- a/manticore/ethereum/account.py +++ b/manticore/ethereum/account.py @@ -105,7 +105,7 @@ class EVMContract(EVMAccount): if not name.startswith('_'): self.__init_hashes() if self._...
Let EVMAccount control the gas of the transaction. (#<I>) * Let EVMAccount control the gas of the transaction. Forgiving default added * Let EVMAccount control the gas of the transaction. Forgiving default added
py
diff --git a/bulbs/content/models.py b/bulbs/content/models.py index <HASH>..<HASH> 100644 --- a/bulbs/content/models.py +++ b/bulbs/content/models.py @@ -10,6 +10,7 @@ from django.db import models from django.db.backends import util from django.template.defaultfilters import slugify from django.utils import timezon...
Fixing the slug save issue
py
diff --git a/marquise.py b/marquise.py index <HASH>..<HASH> 100644 --- a/marquise.py +++ b/marquise.py @@ -226,6 +226,8 @@ class Marquise(object): # Test calling the hash function test_identifier = "hostname:fe1.example.com,metric:BytesUsed,service:memory," +sample_address = 5753895591108871589 + print("This shoul...
Try calling send_extended() with address argument as well
py
diff --git a/python-package/lightgbm/basic.py b/python-package/lightgbm/basic.py index <HASH>..<HASH> 100644 --- a/python-package/lightgbm/basic.py +++ b/python-package/lightgbm/basic.py @@ -1618,6 +1618,15 @@ class Booster(object): num_iteration = self.best_iteration return predictor.predict(data...
[python] add get_leaf_output in Booster
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -2,8 +2,6 @@ Export Directory API client """ import ast -import pip.download -from pip.req import parse_requirements import re from setuptools import setup, find_packages
Remove offending line Remove offending line
py
diff --git a/cldoc/generators/xml.py b/cldoc/generators/xml.py index <HASH>..<HASH> 100644 --- a/cldoc/generators/xml.py +++ b/cldoc/generators/xml.py @@ -147,6 +147,14 @@ class Xml(Generator): def enumvalue_to_xml(self, node, elem): elem.set('value', str(node.value)) + def enum_to_xml(self, node, el...
Mark enum and struct as typedef in xml
py
diff --git a/manage.py b/manage.py index <HASH>..<HASH> 100644 --- a/manage.py +++ b/manage.py @@ -1,9 +1,22 @@ #!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" import os +import sys -os.environ["DJANGO_SETTINGS_MODULE"] = "tests.settings" -from django.core import management +d...
Regenerate manage.py.
py
diff --git a/pydbus/registration.py b/pydbus/registration.py index <HASH>..<HASH> 100644 --- a/pydbus/registration.py +++ b/pydbus/registration.py @@ -100,7 +100,14 @@ class ObjectRegistration(ExitableWithAliases("unregister")): self._at_exit(wrapper.SignalEmitted.connect(func).__exit__) - ids = [con.register_o...
Useful error message when GLib is too old.
py
diff --git a/kubernaut/cli.py b/kubernaut/cli.py index <HASH>..<HASH> 100644 --- a/kubernaut/cli.py +++ b/kubernaut/cli.py @@ -1,6 +1,7 @@ #!/usr/bin/env python import click +import codecs import json import functools import platform @@ -95,8 +96,8 @@ def create_kubeconfig_var_message(path): def save_config...
Do some encoding codec stuff to make Py 2 happy. Hopefully fixes GH-<I>
py
diff --git a/schema_salad/python_codegen.py b/schema_salad/python_codegen.py index <HASH>..<HASH> 100644 --- a/schema_salad/python_codegen.py +++ b/schema_salad/python_codegen.py @@ -74,13 +74,13 @@ class PythonCodeGen(CodeGenBase): def begin_class( self, # pylint: disable=too-many-arguments - c...
Type annotations for begin_class on python codgen
py
diff --git a/tldap/base.py b/tldap/base.py index <HASH>..<HASH> 100644 --- a/tldap/base.py +++ b/tldap/base.py @@ -461,6 +461,10 @@ class LDAPobject(object): assert len(kwargs)==1 name,value = kwargs.iteritems().next() + # replace pk with the real attribute + if name == "pk": + ...
Support pk= in rename.
py
diff --git a/src/core/backends.py b/src/core/backends.py index <HASH>..<HASH> 100644 --- a/src/core/backends.py +++ b/src/core/backends.py @@ -5,7 +5,7 @@ import Queue as queue from collections import deque import traceback import time - +import gc #logger = multiprocessing.log_to_stderr() #logger.setLevel(multipr...
workaround AssertionError <Finalize, dead>
py
diff --git a/sentry/helpers.py b/sentry/helpers.py index <HASH>..<HASH> 100644 --- a/sentry/helpers.py +++ b/sentry/helpers.py @@ -3,6 +3,7 @@ import sys import urllib import urllib2 import uuid +from types import ClassType, TypeType import django from django.conf import settings @@ -79,7 +80,8 @@ def transform(...
Don't fail sentry.helpers.transform with TypeError when called on class having __sentry__ method
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 @@ -177,7 +177,7 @@ class GEMPRO(Object): self._root_dir = path - for d in [self.base_dir, self.model_dir, self.data_dir, self.genes_dir, self.st...
Remove structures_dir for now, to be developed later
py
diff --git a/serenata_toolbox/chamber_of_deputies/dataset.py b/serenata_toolbox/chamber_of_deputies/dataset.py index <HASH>..<HASH> 100644 --- a/serenata_toolbox/chamber_of_deputies/dataset.py +++ b/serenata_toolbox/chamber_of_deputies/dataset.py @@ -57,10 +57,10 @@ class Dataset: 'co...
Remove double underscore from `__parse_file` method and calls
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -519,6 +519,18 @@ class LocalClientEvent(MasterEvent): ''' +class NamespacedEvent(object): + ''' + A wrapper for sending events within a specific base namespace + '...
Add a "namespacedevent" object, this give a convinent wrapper for firing events within a specific namespace
py
diff --git a/benchexec/runexecutor.py b/benchexec/runexecutor.py index <HASH>..<HASH> 100644 --- a/benchexec/runexecutor.py +++ b/benchexec/runexecutor.py @@ -925,7 +925,6 @@ class RunExecutor(containerexecutor.ContainerExecutor): def preSubprocess(): """Setup that is executed in the forked proces...
Do not increase nice-ness of benchmarked process This was never documented, can influence the performance of the benchmarked process, and can be easily done by the user themselves if desired, so there is no reason for BenchExec to do it.
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/recommended_monitors.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/recommended_monitors.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/recommended_monitors.py +++ b/d...
Add more allowed recommended monitor types (#<I>)
py
diff --git a/quart/exceptions.py b/quart/exceptions.py index <HASH>..<HASH> 100644 --- a/quart/exceptions.py +++ b/quart/exceptions.py @@ -50,6 +50,10 @@ class BadRequest(HTTPStatusException): status = HTTPStatus.BAD_REQUEST +class Unauthorized(HTTPStatusException): + status = HTTPStatus.UNAUTHORIZED + + c...
adding analogue of Unauthorized (<I>) from werkzeug.exceptions
py
diff --git a/qiskit/visualization/counts_visualization.py b/qiskit/visualization/counts_visualization.py index <HASH>..<HASH> 100644 --- a/qiskit/visualization/counts_visualization.py +++ b/qiskit/visualization/counts_visualization.py @@ -172,7 +172,7 @@ def plot_histogram(data, figsize=(7, 5), color=None, number_to_ke...
plot_histogram does not raise for neg values (#<I>) * plot_histogram does not raise for neg values * make lint happy * keep lower y-lim at zero
py
diff --git a/master/buildbot/status/words.py b/master/buildbot/status/words.py index <HASH>..<HASH> 100644 --- a/master/buildbot/status/words.py +++ b/master/buildbot/status/words.py @@ -717,7 +717,8 @@ class IRCContact(base.StatusReceiver): command_COMMANDS.usage = "commands - List available commands" def ...
Don't react to "destroy buildbot"
py
diff --git a/tests/unit/network/EmptyNetworksTest.py b/tests/unit/network/EmptyNetworksTest.py index <HASH>..<HASH> 100644 --- a/tests/unit/network/EmptyNetworksTest.py +++ b/tests/unit/network/EmptyNetworksTest.py @@ -13,7 +13,13 @@ class EmptyNetworksTest: nets = importlib.import_module('openpnm.network') ...
temp fix of test to pass in cloud [ci min]
py
diff --git a/isochrones/summary.py b/isochrones/summary.py index <HASH>..<HASH> 100644 --- a/isochrones/summary.py +++ b/isochrones/summary.py @@ -25,12 +25,12 @@ def get_quantiles(name, rootdir='.', columns=['eep','mass','radius','age','feh', # Get actual column names true_cols = [] - for c1 in mod.samp...
have summaries use derived samples
py
diff --git a/command/bdist_rpm.py b/command/bdist_rpm.py index <HASH>..<HASH> 100644 --- a/command/bdist_rpm.py +++ b/command/bdist_rpm.py @@ -95,7 +95,7 @@ class bdist_rpm (Command): "RPM 2 compatibility mode"), ] - boolean_options = ['keep-temp', 'rpm2-mode'] + boolean_options = ['keep-temp'...
[Bug #<I>] bdist_rpm didn't list all of its Boolean options. (Someone should check the other commands for this same error.) Bugfix candidate.
py
diff --git a/osuapi/__init__.py b/osuapi/__init__.py index <HASH>..<HASH> 100644 --- a/osuapi/__init__.py +++ b/osuapi/__init__.py @@ -2,7 +2,7 @@ __title__ = "osuapi" __author__ = "khazhyk" __license__ = "MIT" __copyright__ = "Copyright khazhyk" -__version__ = "0.0.25" +__version__ = "0.0.26" from .osu import Os...
<I> This version introduces a slight breaking change: instead of User.events being a list of strings, it is now a list of UserEvent, which is hopefully more useful.
py
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index <HASH>..<HASH> 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -105,7 +105,9 @@ class Networking(Plugin): "ip neigh show", "nmcli general status", "nmcli connection show", + ...
[networking] additional nmcli commands Collect 'nmcli con show active' and 'nmcli dev show'.
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -51,7 +51,7 @@ class SonosDiscovery(object): # ZP90 = Sonos Connect # If it's the bridge, then it's not a speaker and shouldn't # be returned - ...
Change to implicit check of None value, as per comment in #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name='dj-places', version='5.0.0', install_requires=['Django>=3.0'], - python_requires='>=3', + python_requires='>=3.6', keywords='django geocomplete google maps places', cl...
Update setup.py Python version to match required version by Django - Fixes #<I>
py
diff --git a/webview/platforms/cocoa.py b/webview/platforms/cocoa.py index <HASH>..<HASH> 100755 --- a/webview/platforms/cocoa.py +++ b/webview/platforms/cocoa.py @@ -457,6 +457,7 @@ class BrowserView: self._add_view_menu() BrowserView.app.activateIgnoringOtherApps_(Foundation.YES) + ...
Make Ctrl-C (SIGINT) work on Cocoa when running from the command line to close the app.
py
diff --git a/indra/tests/test_live_curation.py b/indra/tests/test_live_curation.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_live_curation.py +++ b/indra/tests/test_live_curation.py @@ -5,7 +5,7 @@ import unittest from nose.plugins.attrib import attr from indra.statements import * from indra.tools.live_cura...
Update tests of json formatters
py
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py index <HASH>..<HASH> 100644 --- a/sos/plugins/powerpc.py +++ b/sos/plugins/powerpc.py @@ -27,7 +27,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): profiles = ('system', 'hardware') def check_enabled(self): - return (se...
[powerpc] allow PowerPC plugin to run on ppc<I>le The plugin currently tests whether policy().get_arch() is equal to "ppc<I>". On little endian PowerPC machines this method returns "ppc<I>le". Change the check_enabled() method to test whether the returned string contains "ppc<I>".
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ install_requires = [ "docutils>=0.14", "pymongo>=3.2.2", "PyYAML>=3.11", - "web.py>=0.40.dev0", + "web.py>=0.40", "lti>=0.9.0", "oauth2>=1.9.0.post1", "httplib2>=0.9",
update setup.py - Using right version of webpy.
py
diff --git a/pyexchange/exchange2010/__init__.py b/pyexchange/exchange2010/__init__.py index <HASH>..<HASH> 100644 --- a/pyexchange/exchange2010/__init__.py +++ b/pyexchange/exchange2010/__init__.py @@ -161,8 +161,8 @@ class Exchange2010CalendarEvent(BaseExchangeCalendarEvent): elif self.recurrence == u'weekly...
Fixed max interval in weekly recurrence
py
diff --git a/ncclient/manager.py b/ncclient/manager.py index <HASH>..<HASH> 100644 --- a/ncclient/manager.py +++ b/ncclient/manager.py @@ -84,8 +84,7 @@ def make_device_handler(device_params): def connect_ssh(*args, **kwds): """ Initialize a :class:`Manager` over the SSH transport. - For documentation of ...
Fix docstring indentation issue
py
diff --git a/src/Interface.py b/src/Interface.py index <HASH>..<HASH> 100755 --- a/src/Interface.py +++ b/src/Interface.py @@ -4,14 +4,23 @@ class Interface: def create_interface(self, int_alias, ifname, ip_address, netmask): """ Creates interface """ + if_ip_address = "1" + vertaus = ...
first version of more complex ip address allocation
py