only print changed opts
@@ -284,8 +284,10 @@ def load_agent_module(opt):
if opt.get('override'):
for k in opt['override']:
v = opt[k]
- print("[ warning: overriding opt['" + str(k) + "'] to " + str(v) +
- " (previously:" + str(str(new_opt.get(k, None))) + ") ]")
+ if str(v) != str(str(new_opt.get(k, None))):
+ print("[ warning: overriding opt['" + str(k) + "'] to " +
+ str(v) + " (previously:" +
+ str(str(new_opt.get(k, None))) + ") ]")
new_opt[k] = v
for k, v in opt.items():
if k not in new_opt:
