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

[thorstenp] fix unequal operator

parent c271d1f1
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ class P2PClient(IdleObject):
self.Dispatcher._metastream)[:-2])
def _check_stream_start(self, ns, tag, attrs):
if ns<>NS_STREAMS or tag<>'stream':
if ns != NS_STREAMS or tag != 'stream':
self.Connection.DEBUG('Incorrect stream start: (%s,%s).Terminating! ' \
% (tag, ns), 'error')
self.Connection.disconnect()
......
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