- support new schema
authorMark Huang <mlhuang@cs.princeton.edu>
Mon, 25 Sep 2006 14:48:07 +0000 (14:48 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Mon, 25 Sep 2006 14:48:07 +0000 (14:48 +0000)
PLC/BootStates.py

index 2cc0b22..fcfcd46 100644 (file)
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
+# $Id: BootStates.py,v 1.1 2006/09/06 15:36:06 mlhuang Exp $
 #
 
 from PLC.Parameter import Parameter
@@ -19,7 +19,7 @@ class BootStates(list):
         }
 
     def __init__(self, api):
-        sql = "SELECT * FROM node_bootstates"
+        sql = "SELECT * FROM boot_states"
         
         for row in api.db.selectall(sql):
             self.append(row['boot_state'])