~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:16:50 UTC
  • mfrom: (14606.3.7 apocaremains)
  • Revision ID: launchpad@pqm.canonical.com-20111231001650-pjeyhfjhm6mg3yp8
[r=wgrant][no-qa] Merge canonical.database into lp.services.database.

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
14
from lp.services.config import dbconfig
15
 
from canonical.database.postgresql import ConnectionString
 
15
from lp.services.database import write_transaction
 
16
from lp.services.database.postgresql import ConnectionString
16
17
from lp.services.webapp.interfaces import (
17
 
        IStoreSelector, MAIN_STORE, DEFAULT_FLAVOR)
18
 
from lp.services.database import write_transaction
 
18
    DEFAULT_FLAVOR,
 
19
    IStoreSelector,
 
20
    MAIN_STORE,
 
21
    )
 
22
 
19
23
 
20
24
__all__ = [
21
25
    'DigestMismatchError',