Commit 6d11974a authored by Guillaume Seguin's avatar Guillaume Seguin

Reduce "unknown variable" messages to debug level

parent cdb549ff
...@@ -846,7 +846,7 @@ class pronsole(cmd.Cmd): ...@@ -846,7 +846,7 @@ class pronsole(cmd.Cmd):
if not self.processing_rc and not self.processing_args: if not self.processing_rc and not self.processing_args:
self.save_in_rc("set " + var, "set %s %s" % (var, value)) self.save_in_rc("set " + var, "set %s %s" % (var, value))
except AttributeError: except AttributeError:
logging.warning("Unknown variable '%s'" % var) logging.debug("Unknown variable '%s'" % var)
except ValueError, ve: except ValueError, ve:
self.logError("Bad value for variable '%s', expecting %s (%s)" % (var, repr(t)[1:-1], ve.args[0])) self.logError("Bad value for variable '%s', expecting %s (%s)" % (var, repr(t)[1:-1], ve.args[0]))
......
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