forked from root/threadr.lostcave.ddnss.de
refined verbosity
parent
2d107e6234
commit
68d3a51a64
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/python2
|
||||
|
||||
print """
|
||||
Variable Grabbler - version 1.6
|
||||
Variable Grabbler - version 1.7
|
||||
-------------------------------"""
|
||||
|
||||
# definitions
|
||||
|
@ -20,10 +20,13 @@ print "Working on files:"
|
|||
for x in parsed:
|
||||
print "["+x+"]:"
|
||||
for path, dirs, files in os.walk(dir):
|
||||
print path+" >",
|
||||
printed_path = False
|
||||
for file_name in fnmatch.filter(files, file_name_pattern):
|
||||
file_path = os.path.join(path, file_name)
|
||||
|
||||
if not printed_path:
|
||||
print path+" >",
|
||||
printed_path = True
|
||||
print file_name,
|
||||
|
||||
file_in = open(file_path, "r")
|
||||
|
|
Loading…
Reference in New Issue