diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-01-27 22:58:03 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-01-27 22:58:03 +0000 |
commit | f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a (patch) | |
tree | 2a611bfc6f5bfe9e5bf62055ce3d3549d43daca9 | |
parent | a95e0f94f137f70ca8e4c8d07c7cb1f610a70e79 (diff) | |
download | mgarepo-f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a.tar mgarepo-f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a.tar.gz mgarepo-f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a.tar.bz2 mgarepo-f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a.tar.xz mgarepo-f3a89c8199d79e46aec1eba0d4ecce4d167bfe2a.zip |
delete and upload are expecting a list as first argument
-rw-r--r-- | MgaRepo/rpmutil.py | 4 |
1 files 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() |