Commit 789823b2 authored by David Johnson's avatar David Johnson

Propagate debug stuff better.

parent f188d2c2
......@@ -281,6 +281,10 @@ class XmlrpcNodeInfoFetcher:
# grab a mod_PLC4 agent
self.agent = agents[which_agent](plc)
try:
self.agent.setdebug(debug,verbose)
except:
pass
pass
......@@ -1791,6 +1795,10 @@ class PLC:
primary_agent = DEF_AGENT
pass
self.agent = agents[primary_agent](self)
try:
self.agent.setdebug(debug,verbose)
except:
pass
return
......
......@@ -610,6 +610,12 @@ class mod_PLC4:
return
def setdebug(self,sdebug,sverbose):
global debug, verbose
debug = sdebug
verbose = sverbose
pass
def __filterdict(self,d,key_list):
retval = dict()
for k in key_list:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment