diff options
-rw-r--r-- | check.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,6 +1,5 @@ #!/usr/bin/python -import os import urllib2 import time import rfc822 @@ -68,7 +67,7 @@ class DistCheck(GardCheck): ts = self._get_timestamp_from_url(self.url+'/distfiles/timestamp.chk') if ts is not None and ((now - ts) > maxdlag or (now - ts) < 0): if verbose is True: - print 'ERROR: distfiles at %s is lagging by %s' \ + print 'ERROR: distfiles at %s is lagging - delta is %s' \ % (self.url, self.humanize_time(now - ts)) ret = False @@ -76,7 +75,7 @@ class DistCheck(GardCheck): ts = self._get_timestamp_from_url(self.url+'/releases/.test/timestamp.x') if ts is not None and ((now - ts) > maxrlag or (now - ts) < 0): if verbose is True: - print 'ERROR: releases at %s is lagging by %s seconds' \ + print 'ERROR: releases at %s is lagging - delta is %s' \ % (self.url, self.humanize_time(now - ts)) ret = False @@ -84,7 +83,7 @@ class DistCheck(GardCheck): # is not world readable if self._check_file_exists(self.url+'releases/.test/THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt'): if verbose is True: - print 'ERROR: THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt is visible to the outside world' + print 'ERROR: THIS-FILE-SHOULD-NOT-BE-PUBLIC.txt is visible on %s' % self.url ret = False return ret |