Revision
364
Author
boklm
Date
2011-01-27 23:58:03 +0100 (Thu, 27 Jan 2011)

Log Message

delete and upload are expecting a list as first argument

Modified Paths

Modified: build_system/mgarepo/trunk/MgaRepo/rpmutil.py
===================================================================
--- build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-27 22:48:48 UTC (rev 363)
+++ build_system/mgarepo/trunk/MgaRepo/rpmutil.py	2011-01-27 22:58:03 UTC (rev 364)
@@ -566,11 +566,11 @@
     for path in toremove:
         print "D\t%s" % path
         if not dryrun:
-            delete(path, commit=commit)
+            delete([path], commit=commit)
     for path in toadd:
         print "A\t%s" % path
         if not dryrun:
-            upload(path, commit=commit)
+            upload([path], commit=commit)
 
 def commit(target=".", message=None, logfile=None):
     svn = SVN()