import plc
api = plc.getAuthAPI()
from unified_model import *
-from monitor_policy import MINUP
+from const import MINUP
round = 1
externalState = {'round': round, 'nodes': {}}
except Exception, err:
import traceback
print traceback.print_exc()
+ from nodecommon import email_exception
+ email_exception()
print "Exception: %s" % err
print "Saving data... exitting."
database.dbDump(config.dbname, externalState)