From 5f8e548ca93a138d768c3682d707448d075e54b4 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 13 Nov 2012 10:24:58 +0200 Subject: [PATCH] test: Print fd_properties in test-profile --- test/test-profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test-profile b/test/test-profile index 7cfc376d2..46879d0df 100755 --- a/test/test-profile +++ b/test/test-profile @@ -28,6 +28,9 @@ class Profile(dbus.service.Object): def NewConnection(self, path, fd, properties): fd = fd.take() print("NewConnection(%s, %d)" % (path, fd)) + for key in properties.keys(): + print(" %s = %s" % key, properties[key]) + os.close(fd) if __name__ == '__main__': -- 2.47.3