Skip to content

Commit

Permalink
fix import, verbose errors, ignore pycs
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Apr 12, 2012
1 parent d406d52 commit b2b7603
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
hippybot.conf
hippybot.pid
*.pyc
2 changes: 2 additions & 0 deletions hippybot/bot.py
Expand Up @@ -3,6 +3,7 @@
import sys
import codecs
import time
import traceback
from jabberbot import botcmd, JabberBot, xmpp
from ConfigParser import ConfigParser
from optparse import OptionParser
Expand Down Expand Up @@ -256,6 +257,7 @@ def run(self):
bot.serve_forever()
except Exception, e:
print >> sys.stderr, "ERROR: %s" % (e,)
print >> sys.stderr, traceback.format_exc()
return 1
else:
return 0
Expand Down

0 comments on commit b2b7603

Please sign in to comment.