From f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Thu, 27 Jan 2011 22:58:03 +0000 Subject: delete and upload are expecting a list as first argument --- MgaRepo/rpmutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py index 22eec42..62c486d 100644 --- a/MgaRepo/rpmutil.py +++ b/MgaRepo/rpmutil.py @@ -566,11 +566,11 @@ def sync(dryrun=False, commit=False, download=False): 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() -- cgit v1.2.1