From c9f3c94bb34a11e4aa171043174ca814d1efee2c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 20 Oct 2008 15:21:26 +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 356d22a75..9cc9630c9 100644 --- a/src/common/xmpp/protocol.py +++ b/src/common/xmpp/protocol.py @@ -458,7 +458,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)