diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2016-03-13 13:11:07 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-03-13 18:30:05 +0100 |
commit | 226ef191092f4ed9b7d4d7bcd5b81243580910cc (patch) | |
tree | eb7da1741b81c11338c4af5dcdaca4ab261c9e91 | |
parent | 4a00bcf5a6a8ad37d5bebd13dc640992cc104c18 (diff) | |
download | NetworkManager-226ef191092f4ed9b7d4d7bcd5b81243580910cc.tar.gz |
tests: fix test-networkmanager-service.py for Python 3 incompatibility
https://bugzilla.gnome.org/show_bug.cgi?id=763544
-rwxr-xr-x | tools/test-networkmanager-service.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |