commit | ba9c54c9338612355cd416e9369386fc7fca89ce | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Fri Oct 26 16:41:26 2007 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Fri Oct 26 16:41:26 2007 +0000 |
tree | 039bb8664c6a528ca8d70bafc9b1e5a3ca03451a | |
parent | 60dbd50c0d512d8ae659f144454b87062acf3c62 [diff] [blame] |
assign a default value to machine_map git-svn-id: http://test.kernel.org/svn/autotest/trunk@851 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/db.py b/tko/db.py index cf5c46c..7b1f265 100644 --- a/tko/db.py +++ b/tko/db.py
@@ -46,6 +46,8 @@ 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 = {}