From 9db45b19e164e6ac64630186ff4a2d3021ece51b Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Jan 08 2019 22:04:40 +0000 Subject: fconf: store the timestamp of loaded configuration Turns out that we never stored this. It just was never a problem with python2, because comparing a float with None is totally fine there. Signed-off-by: Patrick Uiterwijk --- diff --git a/ipsilon/util/data.py b/ipsilon/util/data.py index 70364e6..1741395 100644 --- a/ipsilon/util/data.py +++ b/ipsilon/util/data.py @@ -296,6 +296,7 @@ class FileStore(BaseStore): self._config = ConfigParser.RawConfigParser() self._config.optionxform = str self._config.read(self._filename) + self._timestamp = timestamp return self._config def add_constraint(self, constraint):