From 7ad41f9b19297470766b2940e35a673c24e6255a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 19 Jan 2011 21:46:43 +0000 Subject: [PATCH] bug fix (UnboundLocalError: local variable 'colType' referenced before assignment) --- lib/core/dump.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/core/dump.py b/lib/core/dump.py index 633541911..760b13949 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -183,6 +183,8 @@ class Dump: maxlength1 = 0 maxlength2 = 0 + colType = None + colList = columns.keys() colList.sort(key=lambda x: x.lower())