diff .emacs @ 658:c2e89dafa397

add __all__
author Jeff Hammel <k0scist@gmail.com>
date Wed, 02 Apr 2014 11:04:47 -0700
parents b4dc72b7c5c3
children 8466deea2eaf
line wrap: on
line diff
--- a/.emacs	Sun Mar 30 18:27:53 2014 -0700
+++ b/.emacs	Wed Apr 02 11:04:47 2014 -0700
@@ -160,11 +160,13 @@
 import subprocess
 import sys
 
+__all__ = ['main']
 here = os.path.dirname(os.path.realpath(__file__))
 string = (str, unicode)
 
 def main(args=sys.argv[1:]):
 
+    # parse command line
     parser = argparse.ArgumentParser(description=__doc__)
     parser.add_argument('input', nargs='?',
                         type=argparse.FileType('r'), default=sys.stdin,