# HG changeset patch # User Goffi # Date 1565968004 -7200 # Node ID 95e2fd14a761580b7feabeeaa33b4e714274ae36 # Parent 98d1f34ce5b94586781643cd0c473fe4284f62cb plugin XEP-0329: fixed ShareNode item() and values after Python 3 port diff -r 98d1f34ce5b9 -r 95e2fd14a761 sat/plugins/plugin_xep_0329.py --- a/sat/plugins/plugin_xep_0329.py Fri Aug 16 17:06:43 2019 +0200 +++ b/sat/plugins/plugin_xep_0329.py Fri Aug 16 17:06:44 2019 +0200 @@ -105,11 +105,11 @@ def __iter__(self): return self.children.__iter__() - def iteritems(self): - return iter(self.children.items()) + def items(self): + return self.children.items() - def itervalues(self): - return iter(self.children.values()) + def values(self): + return self.children.values() def getOrCreate(self, name, type_=TYPE_VIRTUAL, access=None): """Get a node or create a virtual node and return it"""