|
@@ -0,0 +1,37 @@
|
|
1
|
+[36mcommit 65f33a326fb1d81e9b56cfa9dbe3af887ed91c8d
|
|
2
|
+[0m[36mAuthor: Steven Myint
|
|
3
|
+[0m[36mDate: Fri Mar 22 14:59:34 2013 -0700
|
|
4
|
+[0m[36m
|
|
5
|
+[0m[36m Remove unused imports
|
|
6
|
+[0m[36m
|
|
7
|
+[0m[36mdiff --git a/libmodernize/fixes/__init__.py b/libmodernize/fixes/__init__.py
|
|
8
|
+[0m[36mindex f8628f1..2e06052 100644
|
|
9
|
+[0m[33m--- a/libmodernize/fixes/__init__.py
|
|
10
|
+[0m[33m+++ b/libmodernize/fixes/__init__.py
|
|
11
|
+[0m[1;34m@@ -1,7 +1,3 @@
|
|
12
|
+[0m[33m1[0m [1;31mimport sys[0m [0m[33m [0m
|
|
13
|
+[33m2[0m [1;31mfrom lib2to3 import refactor[0m [0m[33m [0m
|
|
14
|
+[33m3[0m [1;31m[0m [0m[33m [0m
|
|
15
|
+[33m4[0m [1;31m[0m [0m[33m [0m
|
|
16
|
+[33m5[0m [0mlib2to3_fix_names = set([[0m [0m[33m1[0m [0mlib2to3_fix_names = set([[0m
|
|
17
|
+[33m6[0m [0m 'lib2to3.fixes.fix_apply',[0m [0m[33m2[0m [0m 'lib2to3.fixes.fix_apply',[0m
|
|
18
|
+[33m7[0m [0m 'lib2to3.fixes.fix_except',[0m [0m[33m3[0m [0m 'lib2to3.fixes.fix_except',[0m
|
|
19
|
+[36m
|
|
20
|
+[0m[36mcommit 2e80837bf815d0686138beec9a5bb94e3282204d
|
|
21
|
+[0m[36mAuthor: Steven Myint
|
|
22
|
+[0m[36mDate: Fri Mar 22 14:33:55 2013 -0700
|
|
23
|
+[0m[36m
|
|
24
|
+[0m[36m Format docstring
|
|
25
|
+[0m[36m
|
|
26
|
+[0m[36mdiff --git a/libmodernize/main.py b/libmodernize/main.py
|
|
27
|
+[0m[36mindex caf847d..b24db29 100644
|
|
28
|
+[0m[33m--- a/libmodernize/main.py
|
|
29
|
+[0m[33m+++ b/libmodernize/main.py
|
|
30
|
+[0m[1;34m@@ -14,6 +14,7 @@ def main(args=None):
|
|
31
|
+[0m[33m14[0m [0m """Main program.[0m [0m[33m14[0m [0m """Main program.[0m
|
|
32
|
+[33m15[0m [0m[0m [0m[33m15[0m [0m[0m
|
|
33
|
+[33m16[0m [0m Returns a suggested exit status (0, 1, 2).[0m [0m[33m16[0m [0m Returns a suggested exit status (0, 1, 2).[0m
|
|
34
|
+[33m [0m [0m[33m17[0m [1;32m[0m
|
|
35
|
+[33m17[0m [0m """[0m [0m[33m18[0m [0m """[0m
|
|
36
|
+[33m18[0m [0m # Set up option parser[0m [0m[33m19[0m [0m # Set up option parser[0m
|
|
37
|
+[33m19[0m [0m parser = optparse.OptionParser(usage="modernize [options] file|di[0m[1;35m>[0m [0m[33m20[0m [0m parser = optparse.OptionParser(usage="modernize [options] file|di[0m[1;35m>[0m
|