/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: 2011-06-18 17:41:11 UTC
  • Revision ID: jelmer@samba.org-20110618174111-1f7601d96qs4h52x
Catch org.freedesktop.DBus.Error.NotSupported

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    # DBus sometimes fails like this, just treat it as if seahorse is not
50
50
    # available rather than crashing.
51
51
    if name in ("org.freedesktop.DBus.Error.Spawn.ExecFailed", 
52
 
                "org.freedesktop.DBus.Error.ServiceUnknown"):
 
52
                "org.freedesktop.DBus.Error.ServiceUnknown",
 
53
                "org.freedesktop.DBus.Error.NotSupported"):
53
54
        raise ImportError
54
55
    else:
55
56
        raise