From ca64a3cb2d5c1a6c5abf040ab3810acfeb829c04 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Wed, 19 Jan 2011 16:36:20 +0000 Subject: [PATCH] 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 --- django/contrib/staticfiles/management/commands/collectstatic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/staticfiles/management/commands/collectstatic.py b/django/contrib/staticfiles/management/commands/collectstatic.py index c7c98f6a39..25f683f770 100644 --- a/django/contrib/staticfiles/management/commands/collectstatic.py +++ b/django/contrib/staticfiles/management/commands/collectstatic.py @@ -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()