diff options
author | William Jon McCann <jmccann@redhat.com> | 2008-02-12 22:30:05 -0500 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2008-02-12 22:30:05 -0500 |
commit | 5ab3eee820e97d632aa9401cbd2d25dc828ee1f0 (patch) | |
tree | ca006a7e0d50871d01cc8a47ad48974ab6c41e91 /src/test-method-access-policy | |
parent | 885708f75f493b85fb67114d112e950b6bfac652 (diff) |
ck_seat_get_active_session shouldn't return a null ssid
Da bus no likey nulls for object paths. Return false and set
error if there is no active session.
Diffstat (limited to 'src/test-method-access-policy')
-rwxr-xr-x | src/test-method-access-policy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test-method-access-policy b/src/test-method-access-policy index f9ea8e2..a950fc8 100755 --- a/src/test-method-access-policy +++ b/src/test-method-access-policy @@ -4,6 +4,7 @@ # import os +import sys import gobject import dbus import dbus.glib @@ -167,7 +168,6 @@ except: pass print "\t%s" % res - # Test Seat Interface seat_obj = bus.get_object ('org.freedesktop.ConsoleKit', '/org/freedesktop/ConsoleKit/Seat1') |