aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-27 20:31:39 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-27 20:31:39 +0000
commit24a6cc8b9efd62d7b5b87c0f433b10ca36c925a6 (patch)
tree2a241fa4717b02158bdf34118bafcfa11e3f00cd
parent583ab46a21db6cc022307e1c82a1d459dafc5ccf (diff)
downloadmgarepo-24a6cc8b9efd62d7b5b87c0f433b10ca36c925a6.tar
mgarepo-24a6cc8b9efd62d7b5b87c0f433b10ca36c925a6.tar.gz
mgarepo-24a6cc8b9efd62d7b5b87c0f433b10ca36c925a6.tar.bz2
mgarepo-24a6cc8b9efd62d7b5b87c0f433b10ca36c925a6.tar.xz
mgarepo-24a6cc8b9efd62d7b5b87c0f433b10ca36c925a6.zip
remove all paths passed as argument
-rw-r--r--MgaRepo/rpmutil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 64afe95..1515183 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -669,7 +669,8 @@ def binrepo_delete(paths, commit=False):
refurl = binrepo.svn_root(paths[0])
if not binrepo.enabled(refurl):
raise Error, "binary repository is not enabled for %s" % refurl
- binrepo.remove(paths[0])
+ for path in paths:
+ binrepo.remove(path)
def switch(mirrorurl=None):
svn = SVN()