Skip to content
Snippets Groups Projects
Commit 20ff72c5 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[thorstenp] fix statements

parent eed5dc4e
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,6 @@ class Session:
features=Node('stream:features')
if NS_TLS in self.waiting_features:
features.T.starttls.setNamespace(NS_TLS)
features.T.starttls.T.required
if NS_SASL in self.waiting_features:
features.T.mechanisms.setNamespace(NS_SASL)
for mec in self._owner.SASL.mechanisms:
......
......@@ -214,7 +214,7 @@ class IterableIPShell:
possibilities = self.IP.complete(split_line[-1])
try:
__builtins__.all
__builtins__.all()
except AttributeError:
def all(iterable):
for element in iterable:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment