1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

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

View File

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