Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 37476acd254332e66dbb5af8a650466ba34facb7
Author: Valentin Gologuzov <vgologuz(a)redhat.com>
Date: Fri Oct 24 17:29:30 2014 +0200
[backend] bugfix 2
---------------------------------------------------------------
backend/backend/actions.py | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/backend/backend/actions.py b/backend/backend/actions.py
index 4b6e02a..a6d80c1 100644
--- a/backend/backend/actions.py
+++ b/backend/backend/actions.py
@@ -5,7 +5,7 @@ import time
from bunch import Bunch
-from .createrepo import createrepo
+from .createrepo import createrepo, createrepo_unsafe
class Action(object):
@@ -52,11 +52,7 @@ class Action(object):
path = os.path.join(self.destdir, username, projectname, chroot)
- errcode, _, err = createrepo(
- path=path, lock=self.lock,
- front_url=self.front_url,
- username=username, projectname=projectname
- )
+ errcode, _, err = createrepo_unsafe(path=path, lock=self.lock)
if errcode != 0 or err.strip():
self.add_event("Error making local repo: {0}".format(err))
failure = True