plugin adhoc_dbus, jp (cmd/adhoc): fixes adHocDBusAddAuto when no bus is found
fix bug 134
This commit is contained in:
parent
4408147e2d
commit
edb31e2d74
1 changed files with 4 additions and 1 deletions
|
|
@ -48,6 +48,9 @@ class Remote(base.CommandBase):
|
|||
bus_name, methods = self.host.bridge.adHocDBusAddAuto(name, jids, self.args.groups, magics,
|
||||
self.args.forbidden_jids, self.args.forbidden_groups,
|
||||
flags, self.profile)
|
||||
if not bus_name:
|
||||
self.disp(_("No bus name found"), 1)
|
||||
return
|
||||
self.disp(_("Bus name found: [%s]" % bus_name), 1)
|
||||
for method in methods:
|
||||
path, iface, command = method
|
||||
|
|
|
|||
Loading…
Reference in a new issue