From b4565d0596222104297d860695f95fd855245d8e Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 4 Jul 2009 20:40:26 -0500
Subject: linhes-config: tz_subregion was not defined on error

---
 abs/core-testing/LinHES-config/timezip.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/abs/core-testing/LinHES-config/timezip.py b/abs/core-testing/LinHES-config/timezip.py
index 31acd67..bf6b389 100755
--- a/abs/core-testing/LinHES-config/timezip.py
+++ b/abs/core-testing/LinHES-config/timezip.py
@@ -1,4 +1,5 @@
 #!/usr/bin/python
+# -*- coding: utf-8 -*-
 # import MySQL module
 #used to import the zipcode/timezone/nfs info fromMBE
 import MySQLdb
@@ -90,7 +91,7 @@ def selectvars():
     try:
         tz_region=result[0]
     except TypeError:
-        tz=""
+        tz_region=""
     tempsubregion="HostTimeZoneRegion_" + tz_region
 
     cursor.execute("select data from settings where value=%s and hostname=(%s)",(tempsubregion,BEhostname))
-- 
cgit v0.12