12345678910111213141516171819202122232425262728293031323334353637 |
- [36mcommit 65f33a326fb1d81e9b56cfa9dbe3af887ed91c8d
- [0m[36mAuthor: Steven Myint
- [0m[36mDate: Fri Mar 22 14:59:34 2013 -0700
- [0m[36m
- [0m[36m Remove unused imports
- [0m[36m
- [0m[36mdiff --git a/libmodernize/fixes/__init__.py b/libmodernize/fixes/__init__.py
- [0m[36mindex f8628f1..2e06052 100644
- [0m[33m--- a/libmodernize/fixes/__init__.py
- [0m[33m+++ b/libmodernize/fixes/__init__.py
- [0m[1;34m@@ -1,7 +1,3 @@
- [0m[33m1[0m [1;31mimport sys[0m [0m[33m [0m
- [33m2[0m [1;31mfrom lib2to3 import refactor[0m [0m[33m [0m
- [33m3[0m [1;31m[0m [0m[33m [0m
- [33m4[0m [1;31m[0m [0m[33m [0m
- [33m5[0m [0mlib2to3_fix_names = set([[0m [0m[33m1[0m [0mlib2to3_fix_names = set([[0m
- [33m6[0m [0m 'lib2to3.fixes.fix_apply',[0m [0m[33m2[0m [0m 'lib2to3.fixes.fix_apply',[0m
- [33m7[0m [0m 'lib2to3.fixes.fix_except',[0m [0m[33m3[0m [0m 'lib2to3.fixes.fix_except',[0m
- [36m
- [0m[36mcommit 2e80837bf815d0686138beec9a5bb94e3282204d
- [0m[36mAuthor: Steven Myint
- [0m[36mDate: Fri Mar 22 14:33:55 2013 -0700
- [0m[36m
- [0m[36m Format docstring
- [0m[36m
- [0m[36mdiff --git a/libmodernize/main.py b/libmodernize/main.py
- [0m[36mindex caf847d..b24db29 100644
- [0m[33m--- a/libmodernize/main.py
- [0m[33m+++ b/libmodernize/main.py
- [0m[1;34m@@ -14,6 +14,7 @@ def main(args=None):
- [0m[33m14[0m [0m """Main program.[0m [0m[33m14[0m [0m """Main program.[0m
- [33m15[0m [0m[0m [0m[33m15[0m [0m[0m
- [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
- [33m [0m [0m[33m17[0m [32m[0m
- [33m17[0m [0m """[0m [0m[33m18[0m [0m """[0m
- [33m18[0m [0m # Set up option parser[0m [0m[33m19[0m [0m # Set up option parser[0m
- [33m19[0m [0m parser = optparse.OptionParser(usage="modernize [options] file|di[1;35m>[0m [0m[33m20[0m [0m parser = optparse.OptionParser(usage="modernize [options] file|di[1;35m>[0m
|