projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a00bcf
)
tests: fix test-networkmanager-service.py for Python 3 incompatibility
author
Jan Tojnar
<jtojnar@gmail.com>
Sun, 13 Mar 2016 12:11:07 +0000
(13:11 +0100)
committer
Thomas Haller
<thaller@redhat.com>
Sun, 13 Mar 2016 17:30:05 +0000
(18:30 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=763544
tools/test-networkmanager-service.py
patch
|
blob
|
history
diff --git
a/tools/test-networkmanager-service.py
b/tools/test-networkmanager-service.py
index
6335fd8
..
4f81500
100755
(executable)
--- 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.
iter
values()]:
+ 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