Commit Graph

9 Commits

Author SHA1 Message Date
Ville Skyttä
e8a8be5788 Handle more file closing with "with" 2016-07-07 18:53:34 +03:00
Takeshi KOMIYA
3d5319e705 Use six in util/reindent.py 2016-06-12 00:27:59 +09:00
Takeshi KOMIYA
2483122c2f Fix flake8 violation (utils/reindent.py) 2016-06-12 00:02:11 +09:00
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Daniel Neuhäuser
ad9055868e Added latest reindent.py file 2010-05-17 02:26:31 +02:00
Daniel Neuhäuser
86d74d3052 ported utils/reindent.py to python 3.x 2010-05-17 01:11:22 +02:00
Daniel Neuhäuser
f6bf9b13ff Fixed issue #1 2010-05-01 19:17:52 +02:00
Georg Brandl
aedbdd953d Fix more line length and trailing whitespace. 2009-01-10 22:18:18 +01:00
Georg Brandl
d60ca8d49d Initial import of the doc tools. 2007-07-23 09:02:25 +00:00