summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs4
-rw-r--r--templates/python/context.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 051ef0b..b976afd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,6 +4,10 @@
//! and how they are verified, in a way that's understood by all project
//! stakeholders.
+// disable clippy warning about using as_ref instead, as we
+// target the version of Rust in Debian 10 (buster), which
+// doesn't have it.
+#![allow(clippy::match_as_ref)]
#![deny(missing_docs)]
mod error;
pub use error::Result;
diff --git a/templates/python/context.py b/templates/python/context.py
index 8e89195..fac49de 100644
--- a/templates/python/context.py
+++ b/templates/python/context.py
@@ -16,7 +16,7 @@ class Context:
return self._vars[key]
def __setitem__(self, key, value):
- logging.info("Context: {}={!r}".format(key, value))
+ logging.debug("Context: key {!r} set to {!r}".format(key, value))
self._vars[key] = value
def __contains__(self, key):