From: realraum Date: Fri, 11 Sep 2009 01:49:31 +0000 (+0000) Subject: debug message update X-Git-Url: https://git.realraum.at/?p=svn42.git;a=commitdiff_plain;h=5528e0d1bcd2aa0dd44f5dc950da0d82bc4ae421 debug message update --- diff --git a/update-web-status.py b/update-web-status.py index 767a910..4776e6a 100755 --- a/update-web-status.py +++ b/update-web-status.py @@ -48,12 +48,13 @@ class UWSConfig: def checkConfigUpdates(self): if self.configfile is None: return - logging.debug("Reading Configfile "+self.configfile) + logging.debug("Checking Configfile mtime: "+self.configfile) try: mtime = os.path.getmtime(self.configfile) except IOError: return if self.config_mtime < mtime: + logging.debug("Reading Configfile") try: self.config_parser.read(self.configfile) self.config_mtime=os.path.getmtime(self.configfile)