~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/parse-ppa-apache-access-logs.py

  • Committer: William Grant
  • Date: 2011-01-05 05:09:24 UTC
  • mto: This revision was merged to the branch mainline in revision 12164.
  • Revision ID: william.grant@canonical.com-20110105050924-mjd2lp4vrvmrh71l
Get the PPA log file glob from the config, and add a reasonable default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        """See `ParseApacheLogs`."""
33
33
        return config.ppa_apache_log_parser.logs_root
34
34
 
 
35
    @property
 
36
    def log_file_glob(self):
 
37
        return config.ppa_apache_log_parser.log_file_glob
 
38
 
35
39
    def getDownloadKey(self, path):
36
40
        """See `ParseApacheLogs`."""
37
41
        return get_ppa_file_key(path)