Author: kmtracey Date: 2011-01-19 10:36:20 -0600 (Wed, 19 Jan 2011) New Revision: 15245
Modified: django/trunk/django/contrib/staticfiles/management/commands/collectstatic.py Log: Call superclass init in collectstatic command, otherwise printing error messages for it fails since style has not been set. Modified: django/trunk/django/contrib/staticfiles/management/commands/collectstatic.py =================================================================== --- django/trunk/django/contrib/staticfiles/management/commands/collectstatic.py 2011-01-19 14:41:40 UTC (rev 15244) +++ django/trunk/django/contrib/staticfiles/management/commands/collectstatic.py 2011-01-19 16:36:20 UTC (rev 15245) @@ -33,6 +33,7 @@ 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() -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.