Commit Graph

3 Commits

Author SHA1 Message Date
Michael W. Hudson
a9793cb94a backport tim_one's checkin of
revision 1.3 of reindent.py

SF bug #497839:  reindent chokes on empty first lines.
Reindenter.run():  copy over initial all-whitespace lines (if any, and
after normalizing to remove trailing blanks and tabs).
Bugfix candidate.
2002-02-22 13:30:17 +00:00
Tim Peters
ba001a0b67 Changed the reindenter to strip only trailing spaces and tabs from lines,
not other control characters string.rstrip() got rid of.  This caters to
the \f thingies Barry likes putting in Python source files.
2001-10-04 19:44:10 +00:00
Tim Peters
ad14720262 New tool for normalizing indentation of .py files. 2000-10-05 03:48:38 +00:00