git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run external checks on hosts to determine their boot state.
[monitor.git]
/
plctool.py
diff --git
a/plctool.py
b/plctool.py
index
9d22202
..
f40c436
100644
(file)
--- a/
plctool.py
+++ b/
plctool.py
@@
-5,7
+5,7
@@
# Faiyaz Ahmed <faiyaza@cs.princeton.edu>
# Copyright (C) 2006, 2007 The Trustees of Princeton University
#
# Faiyaz Ahmed <faiyaza@cs.princeton.edu>
# Copyright (C) 2006, 2007 The Trustees of Princeton University
#
-# $Id: plctool.py,v 1.
1 2007/04/02 20:59:37 faiyaza
Exp $
+# $Id: plctool.py,v 1.
2 2007/04/19 20:43:00 mef
Exp $
#
from emailTxt import *
#
from emailTxt import *
@@
-390,7
+390,11
@@
def main():
logger.addHandler(ch)
result = cmd(argv[1:])
if result <> None:
logger.addHandler(ch)
result = cmd(argv[1:])
if result <> None:
- print result
+ if argv[0] == "nodesDbg":
+ for n in result:
+ print n
+ else:
+ print result
funclist = (("nodesDbg",nodesDbg),
("siteId", siteId),
funclist = (("nodesDbg",nodesDbg),
("siteId", siteId),