[Python-apps-commits] r8643 - in packages/pyicqt/trunk/debian/patches (no_error.patch)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Wed May 9 11:38:44 UTC 2012
Date: Wednesday, May 9, 2012 @ 11:38:42
Author: nijel
Revision: 8643
Missing patch.
Added:
packages/pyicqt/trunk/debian/patches/no_error.patch
Added: packages/pyicqt/trunk/debian/patches/no_error.patch
===================================================================
--- packages/pyicqt/trunk/debian/patches/no_error.patch (rev 0)
+++ packages/pyicqt/trunk/debian/patches/no_error.patch 2012-05-09 11:38:42 UTC (rev 8643)
@@ -0,0 +1,14 @@
+From: Stephan Thamm <thammi at 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:
More information about the Python-apps-commits
mailing list