Implement support for more attributes and handle data type collisions when merging monitor group definitions
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import main
|
||||
from yaml import dump
|
||||
|
||||
class Mod:
|
||||
def __init__(self, register):
|
||||
@@ -11,10 +12,7 @@ class Mod:
|
||||
if not spl[1] in main.pool.keys():
|
||||
failure("Name does not exist: %s" % spl[1])
|
||||
return
|
||||
optionMap = ["Viewing options for %s" % spl[1]]
|
||||
for i in main.pool[spl[1]].keys():
|
||||
optionMap.append(" %s: %s" % (i, main.pool[spl[1]][i]))
|
||||
info("\n".join(optionMap))
|
||||
info(dump({spl[1]: main.pool[spl[1]]}))
|
||||
return
|
||||
|
||||
elif length == 3:
|
||||
|
||||
Reference in New Issue
Block a user