Mercurial > xib
comparison irclib.py @ 67:2e3561313b0f
Don't ever do copy/paste ...
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sun, 30 Aug 2009 18:58:33 +0200 |
parents | 75604669fcd9 |
children | 7aa1f59800b0 |
comparison
equal
deleted
inserted
replaced
66:91b98275f2eb | 67:2e3561313b0f |
---|---|
193 c.lock.acquire() | 193 c.lock.acquire() |
194 if hasattr(c, 'socket'): | 194 if hasattr(c, 'socket'): |
195 try: | 195 try: |
196 c.process_data() | 196 c.process_data() |
197 except: | 197 except: |
198 self.error('[Error] Unkonwn exception on IRC thread:') | 198 self.bot.error('[Error] Unkonwn exception on IRC thread:') |
199 traceback.print_exc() | 199 traceback.print_exc() |
200 c.lock.release() | 200 c.lock.release() |
201 | 201 |
202 def process_timeout(self): | 202 def process_timeout(self): |
203 """Called when a timeout notification is due. | 203 """Called when a timeout notification is due. |