[yum-commits] reposync.py

Tim Lauridsen timlau at osuosl.org
Thu Mar 27 07:11:28 UTC 2014


 reposync.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c5d32c5599cda642c280e0c1711fa0766dbf608d
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Thu Mar 27 08:11:17 2014 +0100

    fixes issue in reposync using old cache af non-root user (rhbz #1079387)

diff --git a/reposync.py b/reposync.py
index e7c98a3..cc4798d 100755
--- a/reposync.py
+++ b/reposync.py
@@ -153,7 +153,7 @@ def main():
         opts.tempcache = True
 
     if opts.tempcache:
-        if not my.setCacheDir(force=True):
+        if not my.setCacheDir(force=True, reuse=False):
             print >> sys.stderr, "Error: Could not make cachedir, exiting"
             sys.exit(50)
         my.conf.uid = 1 # force locking of user cache


More information about the Yum-commits mailing list