projects
/
profile
/
ivi
/
python.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update to 2.7.3
[profile/ivi/python.git]
/
Tools
/
scripts
/
reindent-rst.py
1
#!/usr/bin/env python
2
3
# Make a reST file compliant to our pre-commit hook.
4
# Currently just remove trailing whitespace.
5
6
import sys
7
8
import patchcheck
9
10
def main(argv=sys.argv):
11
patchcheck.normalize_docs_whitespace(argv[1:])
12
13
if __name__ == '__main__':
14
sys.exit(main())