12345678910111213141516171819202122232425262728293031323334353637
  1. commit 65f33a326fb1d81e9b56cfa9dbe3af887ed91c8d
  2. Author: Steven Myint
  3. Date: Fri Mar 22 14:59:34 2013 -0700
  4. 
  5.  Remove unused imports
  6. 
  7. diff --git a/libmodernize/fixes/__init__.py b/libmodernize/fixes/__init__.py
  8. index f8628f1..2e06052 100644
  9. --- a/libmodernize/fixes/__init__.py
  10. +++ b/libmodernize/fixes/__init__.py
  11. @@ -1,7 +1,3 @@
  12. 1 import sys  
  13. 2 from lib2to3 import refactor  
  14. 3   
  15. 4   
  16. 5 lib2to3_fix_names = set([ 1 lib2to3_fix_names = set([
  17. 6  'lib2to3.fixes.fix_apply', 2  'lib2to3.fixes.fix_apply',
  18. 7  'lib2to3.fixes.fix_except', 3  'lib2to3.fixes.fix_except',
  19. 
  20. commit 2e80837bf815d0686138beec9a5bb94e3282204d
  21. Author: Steven Myint
  22. Date: Fri Mar 22 14:33:55 2013 -0700
  23. 
  24.  Format docstring
  25. 
  26. diff --git a/libmodernize/main.py b/libmodernize/main.py
  27. index caf847d..b24db29 100644
  28. --- a/libmodernize/main.py
  29. +++ b/libmodernize/main.py
  30. @@ -14,6 +14,7 @@ def main(args=None):
  31. 14  """Main program. 14  """Main program.
  32. 15  15 
  33. 16  Returns a suggested exit status (0, 1, 2). 16  Returns a suggested exit status (0, 1, 2).
  34.   17 
  35. 17  """ 18  """
  36. 18  # Set up option parser 19  # Set up option parser
  37. 19  parser = optparse.OptionParser(usage="modernize [options] file|di> 20  parser = optparse.OptionParser(usage="modernize [options] file|di>