From 186803d9a97d7efb089acc470b98293b7e472db5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 23 Mar 2014 00:15:01 +0100 Subject: Fix formatting, some typos, and unused code, and add docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - No idea why subclasses of ConversationTab were working before (info_header was overriden with None in __init__) - Or why the date parsing worked (“Exeception”) - Some more reformatting with pylint indications - Document each module in the tabs module --- src/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.py') diff --git a/src/common.py b/src/common.py index e7568bb7..8fbf34fb 100644 --- a/src/common.py +++ b/src/common.py @@ -198,7 +198,7 @@ def datetime_tuple(timestamp): tz_msg = timestamp[15:] try: ret = datetime.strptime(date, '%Y%m%dT%H%M%S') - except Exeception as e: + except Exception as e: ret = datetime.now() # add the message timezone if any try: -- cgit v1.2.3