Revision
356
Author
boklm
Date
2011-01-27 21:31:39 +0100 (Thu, 27 Jan 2011)

Log Message

remove all paths passed as argument

Modified Paths

Modified: build_system/mgarepo/trunk/MgaRepo/rpmutil.py
===================================================================
--- build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-27 19:19:30 UTC (rev 355)
+++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-27 20:31:39 UTC (rev 356)
@@ -669,7 +669,8 @@
     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()