X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plctool.py;h=f40c43624dddab3511a43e37a418d3230e90ceb0;hb=c37d926831daac873d8868aa471debcc9f918753;hp=9d222023312539a74aedc3c444696c3c51b106d0;hpb=b97ae656a9616f0e4b33116338d2ee949f565ebd;p=monitor.git diff --git a/plctool.py b/plctool.py index 9d22202..f40c436 100644 --- a/plctool.py +++ b/plctool.py @@ -5,7 +5,7 @@ # Faiyaz Ahmed # 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 * @@ -390,7 +390,11 @@ def main(): 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),