from django.core.management.base import BaseCommand
from django.core.management.color import color_style
from optparse import make_option
-from slughifi import slughifi
-import dcparser
-from catalogue.models import Book, Tag
+from catalogue.models import Book
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)