git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2b143
)
- support new schema
author
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 25 Sep 2006 14:48:07 +0000
(14:48 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Mon, 25 Sep 2006 14:48:07 +0000
(14:48 +0000)
PLC/BootStates.py
patch
|
blob
|
history
diff --git
a/PLC/BootStates.py
b/PLC/BootStates.py
index
2cc0b22
..
fcfcd46
100644
(file)
--- a/
PLC/BootStates.py
+++ b/
PLC/BootStates.py
@@
-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_boot
states"
+ sql = "SELECT * FROM
boot_
states"
for row in api.db.selectall(sql):
self.append(row['boot_state'])