mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fixed indentation to please tab nanny during unit tests.
This commit is contained in:
parent
5c76d969f7
commit
37ada49802
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Addresses(ElementBase):
|
||||||
for addrXML in self.xml.findall('{%s}address' % Address.namespace):
|
for addrXML in self.xml.findall('{%s}address' % Address.namespace):
|
||||||
# ElementTree 1.2.6 does not support [@attr='value'] in findall
|
# ElementTree 1.2.6 does not support [@attr='value'] in findall
|
||||||
if atype is None or addrXML.attrib.get('type') == atype:
|
if atype is None or addrXML.attrib.get('type') == atype:
|
||||||
addresses.append(Address(xml=addrXML, parent=None))
|
addresses.append(Address(xml=addrXML, parent=None))
|
||||||
return addresses
|
return addresses
|
||||||
|
|
||||||
def setAddresses(self, addresses, set_type=None):
|
def setAddresses(self, addresses, set_type=None):
|
||||||
|
|
Loading…
Reference in a new issue