about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-01-27 00:22:50 -0800
committerRicho Healey <richo@psych0tik.net>2015-01-27 01:26:02 -0800
commitf7509df8f9c63454ce70b5e5519c0e09de96158a (patch)
treebd3b1eaa161d252d8d6f3a337c76729d8ec40ab5
parentab0081ae45f959fbf15cc532f8e2f4fa5192c4c5 (diff)
downloadrust-f7509df8f9c63454ce70b5e5519c0e09de96158a.tar.gz
rust-f7509df8f9c63454ce70b5e5519c0e09de96158a.zip
Fix PEP8 in sugarise-doc-comments
-rwxr-xr-xsrc/etc/sugarise-doc-comments.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/etc/sugarise-doc-comments.py b/src/etc/sugarise-doc-comments.py
index 7d4ad749fe3..62870f3ed47 100755
--- a/src/etc/sugarise-doc-comments.py
+++ b/src/etc/sugarise-doc-comments.py
@@ -17,7 +17,10 @@
 # it sugarises all .rs/.rc files underneath the working directory
 #
 
-import sys, os, fnmatch, re
+import sys
+import os
+import fnmatch
+import re
 
 
 DOC_PATTERN = '^(?P<indent>[\\t ]*)#\\[(\\s*)doc(\\s*)=' + \
@@ -85,7 +88,6 @@ def sugarise_file(path):
     if s != ns:
         open(path, 'w').write(ns)
 
-
 for (dirpath, dirnames, filenames) in os.walk('.'):
     for name in fnmatch.filter(filenames, '*.r[sc]'):
         sugarise_file(os.path.join(dirpath, name))