[thorstenp] remove useless pass
This commit is contained in:
parent
464f62d580
commit
c9f3c94bb3
|
@ -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:
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue