Diff between 419f00496cb793ff25d3dba1048e668f12d9662d and f6655d0a884dc7eb2ff5e204ab0b8dede14a39fe
Changed Files
| File | Additions | Deletions | Status |
| test/bluezutils.py | +2 | -2 | modified |
Full Patch
diff --git a/test/bluezutils.py b/test/bluezutils.py
index d0c4773..de08cbd 100644
--- a/test/bluezutils.py
+++ b/test/bluezutils.py
@@ -19,8 +19,8 @@ def find_adapter_in_objects(objects, pattern=None):
adapter = ifaces.get(ADAPTER_INTERFACE)
if adapter is None:
continue
- if not pattern or pattern == adapter["Address"] or
- path.endswith(pattern)):
+ if not pattern or pattern == adapter["Address"] or \
+ path.endswith(pattern):
obj = bus.get_object(SERVICE_NAME, path)
return dbus.Interface(obj, ADAPTER_INTERFACE)
raise Exception("Bluetooth adapter not found")