changeset 575:5f186e65da09

STUB: python/lsexts.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 17 Jan 2014 15:01:44 -0800
parents 00f5e55cbce8
children 637c9fac3f8d
files python/lsexts.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/python/lsexts.py	Fri Jan 17 14:58:26 2014 -0800
+++ b/python/lsexts.py	Fri Jan 17 15:01:44 2014 -0800
@@ -12,8 +12,8 @@
         for _, _, fnames in os.walk(directory):
             _extensions.update(extensions(*fnames))
     return _extensions
-        
+
 if __name__ == '__main__':
     import sys
-    for ext in sorted(find_extensions(*sys.argv[1:])):
+    for ext in sorted(find_extensions(*(sys.argv[1:] or [os.getcwd()]))):
         print ext