All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

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

Propagate debug stuff better.

parent f188d2c2
...@@ -281,6 +281,10 @@ class XmlrpcNodeInfoFetcher: ...@@ -281,6 +281,10 @@ class XmlrpcNodeInfoFetcher:
# grab a mod_PLC4 agent # grab a mod_PLC4 agent
self.agent = agents[which_agent](plc) self.agent = agents[which_agent](plc)
try:
self.agent.setdebug(debug,verbose)
except:
pass
pass pass
...@@ -1791,6 +1795,10 @@ class PLC: ...@@ -1791,6 +1795,10 @@ class PLC:
primary_agent = DEF_AGENT primary_agent = DEF_AGENT
pass pass
self.agent = agents[primary_agent](self) self.agent = agents[primary_agent](self)
try:
self.agent.setdebug(debug,verbose)
except:
pass
return return
......
...@@ -610,6 +610,12 @@ class mod_PLC4: ...@@ -610,6 +610,12 @@ class mod_PLC4:
return return
def setdebug(self,sdebug,sverbose):
global debug, verbose
debug = sdebug
verbose = sverbose
pass
def __filterdict(self,d,key_list): def __filterdict(self,d,key_list):
retval = dict() retval = dict()
for k in key_list: 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