[thorstenp] remove useless pass

This commit is contained in:
Yann Leboulanger 2008-10-20 15:21:26 +00:00
parent 464f62d580
commit c9f3c94bb3
2 changed files with 2 additions and 3 deletions

View File

@ -19,7 +19,6 @@ class IdleObject:
''' '''
def __init__(self): def __init__(self):
self.fd = -1 self.fd = -1
pass
def pollend(self): def pollend(self):
''' called on stream failure ''' ''' called on stream failure '''
@ -220,4 +219,4 @@ class SelectIdleQueue(IdleQueue):
self.check_time_events() self.check_time_events()
return True return True
# vim: se ts=3: # vim: se ts=3:

View File

@ -458,7 +458,7 @@ class Message(Protocol):
self.setTag('html',namespace=NS_XHTML_IM).addChild(node=dom) self.setTag('html',namespace=NS_XHTML_IM).addChild(node=dom)
except Exception, e: except Exception, e:
print "Error", 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): def setSubject(self,val):
""" Sets the subject of the message. """ """ Sets the subject of the message. """
self.setTagData('subject',val) self.setTagData('subject',val)