~bac/launchpad/bug-904335-create-milestone-tags

« back to all changes in this revision

Viewing changes to lib/lp/services/librarianserver/storage.py

  • Committer: Brad Crittenden
  • Date: 2012-01-03 20:40:03 UTC
  • mfrom: (11236.3.37 db-devel)
  • Revision ID: bac@canonical.com-20120103204003-typafjmh7twfv855
Merge from db-devel

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
__metaclass__ = type
5
5
 
6
 
import os
7
6
import errno
8
7
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 canonical.config import dbconfig
15
 
from canonical.database.postgresql import ConnectionString
16
 
from canonical.launchpad.webapp.interfaces import (
17
 
        IStoreSelector, MAIN_STORE, DEFAULT_FLAVOR)
 
14
from lp.services.config import dbconfig
18
15
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
 
19
23
 
20
24
__all__ = [
21
25
    'DigestMismatchError',