Projet

Général

Profil

0001-ctl-ignore-error_log-in-collectstatic-calls-as-it-s-.patch

Frédéric Péters, 22 juillet 2017 09:15

Télécharger (916 octets)

Voir les différences:

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

 wcs/ctl/collectstatic.py | 1 +
 1 file changed, 1 insertion(+)
wcs/ctl/collectstatic.py
34 34
    def execute(self, base_options, sub_options, args):
35 35
        import publisher
36 36
        publisher.WcsPublisher.configure(self.config)
37
        publisher.WcsPublisher.ERROR_LOG = None
37 38
        pub = publisher.WcsPublisher.create_publisher(
38 39
                register_cron=False, register_tld_names=False)
39 40
        return self.collectstatic(pub,
40
-