Call superclass init in collectstatic command, otherwise printing error messages for it fails since style has not been set.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2011-01-19 16:36:20 +00:00
parent d140318099
commit ca64a3cb2d
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class Command(NoArgsCommand):
help = "Collect static files from apps and other locations in a single location." help = "Collect static files from apps and other locations in a single location."
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(NoArgsCommand, self).__init__(*args, **kwargs)
self.copied_files = set() self.copied_files = set()
self.symlinked_files = set() self.symlinked_files = set()
self.unmodified_files = set() self.unmodified_files = set()