From 226ef191092f4ed9b7d4d7bcd5b81243580910cc Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 13 Mar 2016 13:11:07 +0100 Subject: tests: fix test-networkmanager-service.py for Python 3 incompatibility https://bugzilla.gnome.org/show_bug.cgi?id=763544 --- tools/test-networkmanager-service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index 6335fd8070..4f81500a79 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -1082,7 +1082,7 @@ class Settings(dbus.service.Object): con = Connection(self.bus, path, settings, self.delete_connection, verify_connection) uuid = con.get_uuid() - if uuid in [c.get_uuid() for c in self.connections.itervalues()]: + if uuid in [c.get_uuid() for c in self.connections.values()]: raise InvalidSettingException('cannot add duplicate connection with uuid %s' % (uuid)) self.counter = self.counter + 1 -- cgit v1.2.1