aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/rpmutil.py
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-27 22:06:10 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-27 22:06:10 +0000
commit30b91ea3bcbd1bcc9323a50e59dbaa43ec5c1675 (patch)
treea8f845027a18b0ffb1794fe1faa2f930d33ba61a /MgaRepo/rpmutil.py
parent997ebea7a09b1390e4a202429b4bfa1e0ff2db96 (diff)
downloadmgarepo-30b91ea3bcbd1bcc9323a50e59dbaa43ec5c1675.tar
mgarepo-30b91ea3bcbd1bcc9323a50e59dbaa43ec5c1675.tar.gz
mgarepo-30b91ea3bcbd1bcc9323a50e59dbaa43ec5c1675.tar.bz2
mgarepo-30b91ea3bcbd1bcc9323a50e59dbaa43ec5c1675.tar.xz
mgarepo-30b91ea3bcbd1bcc9323a50e59dbaa43ec5c1675.zip
rename binrepo_delete as it is not only for binrepo
Diffstat (limited to 'MgaRepo/rpmutil.py')
-rw-r--r--MgaRepo/rpmutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 14789f3..76d7c7a 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -673,7 +673,7 @@ def upload(paths, commit=True):
message = "%s: new file %s" % (silent, path)
svn.commit(path, log=message)
-def binrepo_delete(paths, commit=True):
+def delete(paths, commit=True):
refurl = binrepo.svn_root(paths[0])
if not binrepo.enabled(refurl):
raise Error, "binary repository is not enabled for %s" % refurl