~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/librarian/storage.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
__metaclass__ = type
5
5
 
 
6
import os
6
7
import errno
7
8
import hashlib
8
 
import os
9
9
import shutil
10
10
import tempfile
11
11
 
12
12
from zope.component import getUtility
13
13
 
14
 
from lp.services.config import dbconfig
 
14
from canonical.config import dbconfig
 
15
from canonical.database.postgresql import ConnectionString
 
16
from lp.services.webapp.interfaces import (
 
17
        IStoreSelector, MAIN_STORE, DEFAULT_FLAVOR)
15
18
from lp.services.database import write_transaction
16
 
from lp.services.database.postgresql import ConnectionString
17
 
from lp.services.webapp.interfaces import (
18
 
    DEFAULT_FLAVOR,
19
 
    IStoreSelector,
20
 
    MAIN_STORE,
21
 
    )
22
 
 
23
19
 
24
20
__all__ = [
25
21
    'DigestMismatchError',