Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
commit c4f21e6c2b94af0a400d70730d21f0b6f2b437fc Author: Seth Vidal skvidal@fedoraproject.org Date: Thu Dec 6 02:34:48 2012 -0500
log output a little simpler to read
backend/dispatcher.py | 2 +- copr-be.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py index fc9a958..69aafd6 100644 --- a/backend/dispatcher.py +++ b/backend/dispatcher.py @@ -76,7 +76,7 @@ class WorkerCallback(object):
now = time.strftime('%F %T') try: - open(self.logfile, 'a').write(str(now) + ':' + msg + '\n') + open(self.logfile, 'a').write(str(now) + ': ' + msg + '\n') except (IOError, OSError), e: print >>sys.stderr, 'Could not write to logfile %s - %s' % (self.logfile, str(e))
diff --git a/copr-be.py b/copr-be.py index 6564134..6631ac4 100644 --- a/copr-be.py +++ b/copr-be.py @@ -92,7 +92,7 @@ class CoprBackend(object):
def log(self, msg): now = time.strftime('%F %T') - output = str(now) + ':' + msg + output = str(now) + ': ' + msg if not self.opts.daemonize: print output
copr-devel@lists.fedorahosted.org