[copr] master: typos or thinkos pychecker unveiled for me in mockremote fixed (bc8ad33)
skvidal at fedoraproject.org
skvidal at fedoraproject.org
Tue Jan 15 21:15:44 UTC 2013
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit bc8ad33549ef654c2b049d733ec56e80ae431200
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Jan 15 16:15:01 2013 -0500
typos or thinkos pychecker unveiled for me in mockremote fixed
>---------------------------------------------------------------
backend/mockremote.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 45af993..8c81580 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -203,7 +203,7 @@ class CliLogCallBack(DefaultCallBack):
try:
open(self.logfn, 'a').write(str(now) + ':' + msg + '\n')
except (IOError, OSError), e:
- print >>sys.stderr, 'Could not write to logfile %s - %s' % (self.lf, str(e))
+ print >>sys.stderr, 'Could not write to logfile %s - %s' % (self.logfn, str(e))
if not self.quiet:
print msg
@@ -299,7 +299,7 @@ class Builder(object):
#print ' Running %s on %s' % (buildcmd, hostname)
# run the mockchain command async
# this runs it sync - FIXME
- self.callback.log('executing: %r' % buildcmd)
+ self.mockremote.callback.log('executing: %r' % buildcmd)
self.conn.module_name="shell"
self.conn.module_args = str(buildcmd)
results = self.conn.run()
More information about the copr-devel
mailing list