/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: Vincent Ladeuil
  • Date: 2008-05-05 18:18:08 UTC
  • mfrom: (487 trunk)
  • mto: (487.1.1 gtk)
  • mto: This revision was merged to the branch mainline in revision 490.
  • Revision ID: v.ladeuil+lp@free.fr-20080505181808-ilh1cyl2v4crpc5i
merge bzr-gtk trunk

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()