1 |
commit: a9765320f1d51e2eed037a892bfd7c9e3e8b533d |
2 |
Author: Dylan Baker <baker.dylan.c <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Oct 13 09:07:37 2013 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 26 17:22:51 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=a9765320 |
7 |
|
8 |
catalyst: split combined import |
9 |
|
10 |
Combining multiple modules into a single import is discouraged in |
11 |
python's PEP8 style guide: |
12 |
|
13 |
""" |
14 |
Imports should usually be on separate lines, e.g.: |
15 |
|
16 |
Yes: import os |
17 |
import sys |
18 |
|
19 |
No: import sys, os |
20 |
""" |
21 |
|
22 |
Reviewed-by: Matt Turner <mattst88 <AT> gmail.com> |
23 |
|
24 |
--- |
25 |
catalyst | 6 +++++- |
26 |
1 file changed, 5 insertions(+), 1 deletion(-) |
27 |
|
28 |
diff --git a/catalyst b/catalyst |
29 |
index 2378a87..36bd709 100755 |
30 |
--- a/catalyst |
31 |
+++ b/catalyst |
32 |
@@ -7,7 +7,11 @@ |
33 |
# Chris Gianelloni <wolf31o2@××××××××.org> |
34 |
# $Id$ |
35 |
|
36 |
-import os, sys, imp, string, getopt |
37 |
+import os |
38 |
+import sys |
39 |
+import imp |
40 |
+import string |
41 |
+import getopt |
42 |
import pdb |
43 |
import os.path |