diff options
-rw-r--r-- | MgaRepo/rpmutil.py | 3 |
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() |