From: Stephan Thamm <thammi@chaossource.net>
Subject: Fixes tuple out of range error
diff -Naur pyicqt-0.8.1.5.orig/src/debug.py pyicqt-0.8.1.5/src/debug.py
--- pyicqt-0.8.1.5.orig/src/debug.py 2009-08-24 14:37:59.000000000 +0200
+++ pyicqt-0.8.1.5/src/debug.py 2012-05-02 08:38:45.652740630 +0200
@@ -15,7 +15,7 @@
def observer2(eventDict):
edm = eventDict['message']
- if isinstance(edm, tuple): # LogEvent can be in tuple
+ if isinstance(edm, tuple) and len(edm): # LogEvent can be in tuple
edm = edm[0]
if isinstance(edm, LogEvent):
if edm.category == INFO and config.debugLevel < 3: