diff options
author | 2009-01-11 01:20:48 +0530 | |
---|---|---|
committer | 2009-01-11 01:20:48 +0530 | |
commit | c68e7dfddf8810d122444569841c91d5f6a6907e (patch) | |
tree | ad7590933fd57cc615567e227d9a349dcf748441 | |
parent | Add rsync URL support to DistfilesCheck, and some minor changes (diff) | |
download | gard-c68e7dfddf8810d122444569841c91d5f6a6907e.tar.gz gard-c68e7dfddf8810d122444569841c91d5f6a6907e.tar.bz2 gard-c68e7dfddf8810d122444569841c91d5f6a6907e.zip |
Fix error in finding current time in get_lag()
-rw-r--r-- | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ class GardCheck: def get_lag(self, url): ts = self._get_timestamp_from_url(url) - now = time.mktime(time.gmtime()) + now = time.time() if ts is None or now < ts: return None return now - ts |