Fix: genlist can now import files without extension
authoralbertogomcas <devnull@localhost>
Fri, 22 Jan 2010 07:10:10 +0000 (07:10 +0000)
committeralbertogomcas <devnull@localhost>
Fri, 22 Jan 2010 07:10:10 +0000 (07:10 +0000)
hooke_cli.py

index d3c9693093a8c3f78f3d12af1c5ef32f1121d784..783b8992d290a5dd5886960639359521263f083f 100755 (executable)
@@ -295,9 +295,9 @@ Syntax: genlist [input files]
             else:
                 SLASH="/"
             if list_path[-1] == SLASH:
-                list_path=list_path+'*.*'
+                list_path=list_path+'*'
             else:    
-                list_path=list_path+SLASH+'*.*'
+                list_path=list_path+SLASH+'*'
         
         #expanding correctly the input list with the glob module :)        
         list_files=glob.glob(list_path)