Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
d8e4ed3e
by Philipp Hörist at 2017-07-28T11:17:14+02:00
1 changed file:
Changes:
| ... | ... | @@ -961,7 +961,7 @@ class Protocol(Node): |
| 961 | 961 |
"""
|
| 962 | 962 |
Return at least a Protocol instance, so we dont fall back to simplexml level
|
| 963 | 963 |
"""
|
| 964 |
- tag = super().getTag(name, attrs, namespace)
|
|
| 964 |
+ tag = super(Protocol, self).getTag(name, attrs, namespace)
|
|
| 965 | 965 |
if not tag:
|
| 966 | 966 |
return None
|
| 967 | 967 |
|
| ... | ... | @@ -1098,7 +1098,7 @@ class Message(Protocol): |
| 1098 | 1098 |
"""
|
| 1099 | 1099 |
Return Message instance, fallback to Protocol
|
| 1100 | 1100 |
"""
|
| 1101 |
- tag = super().getTag(name, attrs, namespace)
|
|
| 1101 |
+ tag = super(Message, self).getTag(name, attrs, namespace)
|
|
| 1102 | 1102 |
if not tag:
|
| 1103 | 1103 |
return tag
|
| 1104 | 1104 |
|