~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Ian Booth
  • Date: 2011-12-23 13:48:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14595.
  • Revision ID: ian.booth@canonical.com-20111223134828-i6tlk56o433bstng
Write tests to ensure limited view permission for teams works with the API

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
# pylint: disable-msg=W0403
20
20
import _pythonpath
21
 
 
22
21
from storm.sqlobject import SQLObjectNotFound
23
22
from zope.component import getUtility
24
23
 
 
24
from canonical.config import config
25
25
from lp.services.apachelogparser.script import ParseApacheLogs
26
 
from lp.services.config import config
27
 
from lp.services.librarian.interfaces import ILibraryFileAliasSet
28
 
from lp.services.librarianserver.apachelogparser import (
 
26
from lp.services.librarian.apachelogparser import (
29
27
    DBUSER,
30
28
    get_library_file_id,
31
29
    )
 
30
from lp.services.librarian.interfaces import ILibraryFileAliasSet
32
31
 
33
32
 
34
33
class ParseLibrarianApacheLogs(ParseApacheLogs):