removed cruft from script printouts

git-svn-id: http://comictagger.googlecode.com/svn/trunk@512 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-02-15 01:02:35 +00:00
parent d100572aa4
commit 527e690170
3 changed files with 3 additions and 3 deletions

View File

@ -30,11 +30,11 @@ def main():
for filename in filelist:
ca = ComicArchive(filename, settings )
if ca.seemsToBeAComicArchive() and ca.hasMetadata( style ):
max_name_len = max ( max_name_len, len(filename))
fmt_str = u"{{0:{0}}}".format(max_name_len)
print >> sys.stderr, fmt_str.format( filename ) + "\r",
sys.stderr.flush()
comic_list.append((filename, ca.readMetadata( style )))
max_name_len = max ( max_name_len, len(filename))
print >> sys.stderr, fmt_str.format( "" ) + "\r",
print "-----------------------------------------------"

View File

@ -48,10 +48,10 @@ def main():
#make a list of paired filenames and metadata objects
metadata_list.append((filename, ca.readMetadata( style )))
max_name_len = max ( max_name_len, len(filename))
fmt_str = u"{{0:{0}}}".format(max_name_len)
print >> sys.stderr, fmt_str.format( filename ) + "\r",
sys.stderr.flush()
max_name_len = max ( max_name_len, len(filename))
print >> sys.stderr, fmt_str.format( "" ) + "\r",
print "-----------------------------------------------"

View File

@ -71,10 +71,10 @@ def main():
comic_list.append((filename, ca.readMetadata( style )))
max_name_len = max ( max_name_len, len(filename))
fmt_str = u"{{0:{0}}}".format(max_name_len)
print >> sys.stderr, fmt_str.format( filename ) + "\r",
sys.stderr.flush()
max_name_len = max ( max_name_len, len(filename))
print >> sys.stderr, fmt_str.format( "" )
print "Found {0} tagged comics.".format( len(comic_list))