summary refs log tree commit diff
path: root/tools/test-networkmanager-service.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-networkmanager-service.py')
-rwxr-xr-xtools/test-networkmanager-service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py
index 6335fd80..4f81500a 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