source: python/trunk/Tools/scripts/reindent-rst.py@ 403

Last change on this file since 403 was 391, checked in by dmik, 11 years ago

python: Merge vendor 2.7.6 to trunk.

  • Property svn:eol-style set to native
File size: 278 bytes
Line 
1#!/usr/bin/env python
2
3# Make a reST file compliant to our pre-commit hook.
4# Currently just remove trailing whitespace.
5
6import sys
7
8import patchcheck
9
10def main(argv=sys.argv):
11 patchcheck.normalize_docs_whitespace(argv[1:])
12
13if __name__ == '__main__':
14 sys.exit(main())
Note: See TracBrowser for help on using the repository browser.