/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to seahorse.py

  • Committer: Jelmer Vernooij
  • Date: 2008-05-01 21:49:50 UTC
  • mfrom: (473.2.1 fix-missing-dbus)
  • Revision ID: jelmer@samba.org-20080501214950-zjs5qxi898ol12eb
Merge DBus fix from Daniel, fix comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
try:
32
32
    dbus.validate_bus_name(BUS_NAME)
33
33
except ValueError:
 
34
    # Seahorse isn't installed
 
35
    raise ImportError
 
36
except AttributeError:
 
37
    # Outdated version of DBus that doesn't have validate_bus_name
34
38
    raise ImportError
35
39
 
36
40
bus = dbus.SessionBus()