cleanup help.py (flake8)

This commit is contained in:
2017-05-29 22:55:08 -04:00
parent 5b363d1a57
commit 6495190b00
+3 -1
View File
@@ -44,7 +44,7 @@ def _implementation():
if sys.pypy_version_info.releaselevel != 'final':
implementation_version = ''.join([
implementation_version, sys.pypy_version_info.releaselevel
])
])
elif implementation == 'Jython':
implementation_version = platform.python_version() # Complete Guess
elif implementation == 'IronPython':
@@ -101,10 +101,12 @@ def info():
},
}
def main():
"""Pretty-print the bug information as JSON."""
print(json.dumps(info(), sort_keys=True, indent=2))
if __name__ == '__main__':
main()