~mvo/software-center/retire-gtk2

« back to all changes in this revision

Viewing changes to softwarecenter/backend/spawn_helper.py

  • Committer: Michael Vogt
  • Date: 2011-09-15 13:51:15 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110915135115-qx33hztgb68pgqls
remove gtk2 glade files, simplify imports

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
import sys
32
32
import json
33
33
 
34
 
if 'gobject' in sys.modules:
35
 
    import gobject as GObject
36
 
    GObject #pyflakes
37
 
else:
38
 
    from gi.repository import GObject
 
34
from gi.repository import GObject
39
35
 
40
36
LOG = logging.getLogger(__name__)
41
37