~mvo/software-center/piston-generic-helper-offline-mode

« back to all changes in this revision

Viewing changes to softwarecenter/db/__init__.py

  • Committer: Michael Vogt
  • Date: 2012-05-22 12:13:02 UTC
  • mfrom: (2989.5.27 5.2)
  • Revision ID: michael.vogt@ubuntu.com-20120522121302-g89pbzfydf0zc3vw
merge the 5.2 branch in

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import logging
 
2
 
2
3
try:
3
 
    from debfile import DebFileApplication
 
4
    from debfile import DebFileApplication, DebFileOpenError
4
5
    DebFileApplication  # pyflakes
 
6
    DebFileOpenError  # pyflakes
5
7
except:
6
8
    logging.exception("DebFileApplication import")
7
9
 
8
 
    class DebFileApplication():
 
10
    class DebFileApplication(object):
 
11
        pass
 
12
 
 
13
    class DebFileOpenError(Exception):
9
14
        pass