summaryrefslogtreecommitdiff
path: root/test/test-ss-control-cb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-ss-control-cb')
-rwxr-xr-xtest/test-ss-control-cb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test-ss-control-cb b/test/test-ss-control-cb
index 505bcd74..d972097a 100755
--- a/test/test-ss-control-cb
+++ b/test/test-ss-control-cb
@@ -37,25 +37,25 @@ if __name__ == "__main__":
print("Trying invalid SS request for CB")
try:
print(ss.Initiate("*33#456666"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CB")
try:
print(ss.Initiate("*33*ABC#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CB")
try:
print(ss.Initiate("*33**ABC#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Trying invalid SS request for CB")
try:
print(ss.Initiate("*33***12#"))
- except dbus.DBusException, e:
+ except dbus.DBusException as e:
print("Failed with %s - Good" % e)
print("Query Outgoing All")