From: Marek Stępniowski Date: Wed, 3 Sep 2008 20:57:09 +0000 (+0200) Subject: Now importbooks command prints imported book files also on normal verbosity level. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4abdab4d76b494343946a10b9c6cd7c7d28f5e57 Now importbooks command prints imported book files also on normal verbosity level. --- diff --git a/catalogue/management/commands/importbooks.py b/catalogue/management/commands/importbooks.py index fbc653f4b..838fd4f17 100644 --- a/catalogue/management/commands/importbooks.py +++ b/catalogue/management/commands/importbooks.py @@ -40,7 +40,7 @@ class Command(BaseCommand): if not os.path.splitext(file_name)[1] == '.xml': print self.style.NOTICE("Skipping '%s': not an XML file." % file_path) continue - if verbosity > 1: + if verbosity > 0: print "Parsing '%s'" % file_path Book.from_xml_file(file_path)