clearer names for actions, and infer actions better
[monitor.git] / monitor / reboot.py
index cd49a59..7dda1ae 100755 (executable)
@@ -9,7 +9,7 @@ import xml, xmlrpclib
 import errno, time, traceback
 import urllib2
 import urllib
-import threading, popen2
+import threading
 import array, struct
 import base64
 from subprocess import PIPE, Popen
@@ -43,7 +43,7 @@ verbose = 1
 
 def get_pcu_values(pcu_id):
        from monitor.database.info.model import FindbadPCURecord
-       print "pcuid: %s" % pcu_id
+       #print "pcuid: %s" % pcu_id
        try:
                pcurec = FindbadPCURecord.get_latest_by(plc_pcuid=pcu_id)
                if pcurec: