diff --git a/src/common/xmpp/session.py b/src/common/xmpp/session.py index 1850e2499..010dccba9 100644 --- a/src/common/xmpp/session.py +++ b/src/common/xmpp/session.py @@ -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: diff --git a/src/ipython_view.py b/src/ipython_view.py index 8ee34b294..08b19cda9 100644 --- a/src/ipython_view.py +++ b/src/ipython_view.py @@ -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: