beautify code

This commit is contained in:
Christophe Benz 2010-05-09 23:01:06 +02:00
commit e0eddf0299
2 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ import traceback
from dateutil import tz
__all__ = ['toUnicode', 'local2utc', 'html2text', 'getBacktrace']
__all__ = ['toUnicode', 'local2utc', 'html2text', 'get_backtrace']
def toUnicode(text):
@ -59,7 +59,7 @@ except ImportError:
def html2text(s):
return s
def getBacktrace(empty="Empty backtrace."):
def get_backtrace(empty="Empty backtrace."):
"""
Try to get backtrace as string.
Returns "Error while trying to get backtrace" on failure.