Mercurial > hgrepos > Python > libs > ConfigMix
diff configmix/variables.py @ 207:b3b5ed34d180
Handle most flake8 errors and warnings.
NOTE: E265 "block comment should start with '# ' ist not yet handled.
We would need to adjust our Python style.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 05 May 2019 18:29:47 +0200 |
| parents | 2e66178a09d8 |
| children | bbe8513ea649 |
line wrap: on
line diff
--- a/configmix/variables.py Sun May 05 16:53:13 2019 +0200 +++ b/configmix/variables.py Sun May 05 18:29:47 2019 +0200 @@ -12,7 +12,7 @@ import os from functools import wraps -from .compat import PY2, text_to_native_os_str, native_os_str_to_text, u +from .compat import PY2, native_os_str_to_text, u __all__ = [] @@ -45,7 +45,7 @@ if name == "version": return u(platform.python_version()) elif name == "implementation": - return u(platform.python_implementation()) + return u(platform.python_implementation()) elif name == "version_maj_min": t = platform.python_version_tuple() return u('.'.join(t[:2]))
