summaryrefslogtreecommitdiff
path: root/tko/db.py
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-10-26 16:41:26 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-10-26 16:41:26 +0000
commitf9ccd88b20561d77f59d6e9c6ed96606d58e3334 (patch)
tree039bb8664c6a528ca8d70bafc9b1e5a3ca03451a /tko/db.py
parente98ff5d800a22d08c5c1237d2146aa95ad925383 (diff)
assign a default value to machine_map
git-svn-id: svn://test.kernel.org/autotest/trunk@851 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/db.py')
-rw-r--r--tko/db.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tko/db.py b/tko/db.py
index cf5c46cd..7b1f265c 100644
--- a/tko/db.py
+++ b/tko/db.py
@@ -46,6 +46,8 @@ class db:
machine_map = os.path.join(dir, 'machines')
if os.path.exists(machine_map):
self.machine_map = machine_map
+ else:
+ self.machine_map = None
self.machine_group = {}