1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Do not duplicate verbose output when parsing metadata

This commit is contained in:
Daniel Martí 2013-08-14 14:24:52 +02:00
parent cb1df491f4
commit 36f524e624

View File

@ -670,8 +670,6 @@ def write_metadata(dest, app):
def read_metadata(verbose=False, xref=True): def read_metadata(verbose=False, xref=True):
apps = [] apps = []
for metafile in sorted(glob.glob(os.path.join('metadata', '*.txt'))): for metafile in sorted(glob.glob(os.path.join('metadata', '*.txt'))):
if verbose:
print "Reading " + metafile
apps.append(parse_metadata(metafile, verbose=verbose)) apps.append(parse_metadata(metafile, verbose=verbose))
if xref: if xref: