Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit bd4d7c3631343d31b5c1f3e66bef30f2f9c10053
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Dec 19 11:28:59 2013 +0100
[backend] call correct function
addressing:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in
_bootstrap
self.run()
File "/usr/share/copr/copr-be.py", line 86, in run
self.fetch_jobs()
File "/usr/share/copr/copr-be.py", line 76, in fetch_jobs
ao.run()
File "/usr/share/copr/backend/actions.py", line 29, in run
self.events('Removing %s' % path)
TypeError: 'Queue' object is not callable
---------------------------------------------------------------
backend/actions.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/actions.py b/backend/actions.py
index 30cdb31..b2bb6ab 100644
--- a/backend/actions.py
+++ b/backend/actions.py
@@ -26,7 +26,7 @@ class Action(object):
project = self.data['old_value']
path = os.path.normpath(self.destdir + '/' + project)
if os.path.exists(path):
- self.events('Removing %s' % path)
+ self.event('Removing %s' % path)
shutil.rmtree(path)
result.job_ended_on = time.time()
result.result = 1 # success