aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--section-parse-insane.py3
-rwxr-xr-xsection-parse.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/section-parse-insane.py b/section-parse-insane.py
index e7c6d9e..6dc531e 100644
--- a/section-parse-insane.py
+++ b/section-parse-insane.py
@@ -28,8 +28,7 @@
#
# load libraries
-import re
-import sys
+import re, sys
# section and row matches
S = re.compile('(?m)^test-text "[^"]+/foo"\n((?:^[^\n]*bar\.\d+\n)+)^\s*\n')
diff --git a/section-parse.py b/section-parse.py
index f2633dc..f590254 100755
--- a/section-parse.py
+++ b/section-parse.py
@@ -31,8 +31,7 @@
#
# load libraries
-import re
-import sys
+import re, sys
# regex to match section header line
# (e.g. a line that looks like this: test-text "GARBAGE/foo"