From 11deb3b9332bf1e8d1c3875ba05ba37d6ce7d83d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 2 Dec 2008 14:03:32 +0000 Subject: [PATCH] [thorstenp] remove useless pass --- src/common/xmpp/idlequeue.py | 3 +-- src/common/xmpp/protocol.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/xmpp/idlequeue.py b/src/common/xmpp/idlequeue.py index 085902580..e8453c430 100644 --- a/src/common/xmpp/idlequeue.py +++ b/src/common/xmpp/idlequeue.py @@ -19,7 +19,6 @@ class IdleObject: ''' def __init__(self): self.fd = -1 - pass def pollend(self): ''' called on stream failure ''' @@ -220,4 +219,4 @@ class SelectIdleQueue(IdleQueue): self.check_time_events() return True -# vim: se ts=3: \ No newline at end of file +# vim: se ts=3: diff --git a/src/common/xmpp/protocol.py b/src/common/xmpp/protocol.py index e80e26bc9..c9693dc29 100644 --- a/src/common/xmpp/protocol.py +++ b/src/common/xmpp/protocol.py @@ -459,7 +459,7 @@ class Message(Protocol): self.setTag('html',namespace=NS_XHTML_IM).addChild(node=dom) except Exception, e: print "Error", e - pass #FIXME: log. we could not set xhtml (parse error, whatever) + #FIXME: log. we could not set xhtml (parse error, whatever) def setSubject(self,val): """ Sets the subject of the message. """ self.setTagData('subject',val)