summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--py/mock/backend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/mock/backend.py b/py/mock/backend.py
index e35c6c7..7aac040 100644
--- a/py/mock/backend.py
+++ b/py/mock/backend.py
@@ -551,9 +551,9 @@ class Root(object):
shutil.copytree(sources, self.makeChrootPath(self.builddir, "SOURCES"))
else:
shutil.copy(sources, self.makeChrootPath(self.builddir, "SOURCES"))
-
- spec = self.makeChrootPath(self.builddir, "SPECS", os.path.basename(spec))
- chrootspec = spec.replace(self.makeChrootPath(), '') # get rid of rootdir prefix
+
+ spec = self.makeChrootPath(self.builddir, "SPECS", os.path.basename(spec))
+ chrootspec = spec.replace(self.makeChrootPath(), '') # get rid of rootdir prefix
spec = self.makeChrootPath(self.builddir, "SPECS", os.path.basename(spec))
chrootspec = spec.replace(self.makeChrootPath(), '') # get rid of rootdir prefix