Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
- assignment operator fix (fixes #39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jajcus committed Jul 8, 2010
1 parent 4b2c2fb commit c41a93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxmpp/stanzaprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def set_message_handler(self, typ, handler, namespace=None, priority=100):
self.lock.acquire()
try:
if not typ:
typ=="normal"
typ = "normal"
self.__add_handler(self._message_handlers,typ,namespace,priority,handler)
finally:
self.lock.release()
Expand Down

0 comments on commit c41a93f

Please sign in to comment.