ctl: ignore error_log in collectstatic calls as it's run as root (#17761)

This commit is contained in:
Frédéric Péters 2017-07-22 09:14:40 +02:00
parent 1c687adc90
commit 483f20855a
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class CmdCollectStatic(Command):
def execute(self, base_options, sub_options, args):
import publisher
publisher.WcsPublisher.configure(self.config)
publisher.WcsPublisher.ERROR_LOG = None
pub = publisher.WcsPublisher.create_publisher(
register_cron=False, register_tld_names=False)
return self.collectstatic(pub,