Last change
on this file 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
|
Rev | Line | |
---|
[2] | 1 | #!/usr/bin/env python
|
---|
| 2 |
|
---|
| 3 | # Make a reST file compliant to our pre-commit hook.
|
---|
| 4 | # Currently just remove trailing whitespace.
|
---|
| 5 |
|
---|
[391] | 6 | import sys
|
---|
[2] | 7 |
|
---|
[391] | 8 | import patchcheck
|
---|
[2] | 9 |
|
---|
| 10 | def main(argv=sys.argv):
|
---|
[391] | 11 | patchcheck.normalize_docs_whitespace(argv[1:])
|
---|
[2] | 12 |
|
---|
| 13 | if __name__ == '__main__':
|
---|
| 14 | sys.exit(main())
|
---|
Note:
See
TracBrowser
for help on using the repository browser.