Removed print statements for changing dates

This commit is contained in:
Charles Haley 2010-06-07 19:15:50 +01:00
parent 93a751cc78
commit 5f3e1f5128

View File

@ -426,11 +426,6 @@ class XMLCache(object):
timestamp = os.path.getctime(path) timestamp = os.path.getctime(path)
date = strftime(timestamp) date = strftime(timestamp)
if date != record.get('date', None): if date != record.get('date', None):
if DEBUG:
debug_print('Changing date of', path, 'from',
record.get('date', ''), 'to', date)
prints('\tctime', strftime(os.path.getctime(path)))
prints('\tmtime', strftime(os.path.getmtime(path)))
record.set('date', date) record.set('date', date)
record.set('size', str(os.stat(path).st_size)) record.set('size', str(os.stat(path).st_size))
title = book.title if book.title else _('Unknown') title = book.title if book.title else _('Unknown')