aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/rpmutil.py
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2006-11-13 20:20:17 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2006-11-13 20:20:17 +0000
commita5ae5fc7033a0d13d999713620a2816b5aa3bc21 (patch)
tree99d61c85f26390f9c078d06b118d93ba587c7c05 /RepSys/rpmutil.py
parentd132547bf943cbeabc56edb71eb089033e8e5721 (diff)
downloadmgarepo-a5ae5fc7033a0d13d999713620a2816b5aa3bc21.tar
mgarepo-a5ae5fc7033a0d13d999713620a2816b5aa3bc21.tar.gz
mgarepo-a5ae5fc7033a0d13d999713620a2816b5aa3bc21.tar.bz2
mgarepo-a5ae5fc7033a0d13d999713620a2816b5aa3bc21.tar.xz
mgarepo-a5ae5fc7033a0d13d999713620a2816b5aa3bc21.zip
Fixed undeclared name "pkgdirurl" in "co" subcommand. Replaced url by
pkgdirurl, as in the rest of the code.
Diffstat (limited to 'RepSys/rpmutil.py')
-rw-r--r--RepSys/rpmutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py
index ed62901..0302089 100644
--- a/RepSys/rpmutil.py
+++ b/RepSys/rpmutil.py
@@ -344,11 +344,11 @@ def check_changed(url, all=0, show=0, verbose=0):
"nocurrent": nocurrent,
"nopristine": nopristine}
-def checkout(url, path=None, revision=None):
+def checkout(pkgdirurl, path=None, revision=None):
svn = SVN(baseurl=pkgdirurl)
- current = os.path.join(url, "current")
+ current = os.path.join(pkgdirurl, "current")
if path is None:
- _, path = os.path.split(url)
+ _, path = os.path.split(pkgdirurl)
svn.checkout(current, path, rev=revision, show=1)
def get_submit_info(path):