aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2006-11-30 13:07:14 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2006-11-30 13:07:14 +0000
commita7c361fa2cc9546d95583ffd3d60fe78381f44f2 (patch)
tree6f433d5349989bbe95d355b00e56b7cc346cc060 /RepSys
parent14c125b310d2aa3392d2382755beff4871adaee5 (diff)
downloadmgarepo-a7c361fa2cc9546d95583ffd3d60fe78381f44f2.tar
mgarepo-a7c361fa2cc9546d95583ffd3d60fe78381f44f2.tar.gz
mgarepo-a7c361fa2cc9546d95583ffd3d60fe78381f44f2.tar.bz2
mgarepo-a7c361fa2cc9546d95583ffd3d60fe78381f44f2.tar.xz
mgarepo-a7c361fa2cc9546d95583ffd3d60fe78381f44f2.zip
Fixed wrong variable name on "changed".
Diffstat (limited to 'RepSys')
-rw-r--r--RepSys/commands/changed.py2
-rw-r--r--RepSys/rpmutil.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/RepSys/commands/changed.py b/RepSys/commands/changed.py
index c99f3ae..d3094a8 100644
--- a/RepSys/commands/changed.py
+++ b/RepSys/commands/changed.py
@@ -25,7 +25,7 @@ def parse_options():
opts, args = parser.parse_args()
if len(args) != 1:
raise Error, "invalid arguments"
- opts.url = default_parent(args[0])
+ opts.pkgdirurl = default_parent(args[0])
opts.verbose = 1 # Unconfigurable
return opts
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py
index 0302089..4ae007d 100644
--- a/RepSys/rpmutil.py
+++ b/RepSys/rpmutil.py
@@ -284,10 +284,10 @@ def mark_release(pkgdirurl, version, release, revision):
svn.copy(currenturl, releaseurl, rev=revision,
log=markreleaselog)
-def check_changed(url, all=0, show=0, verbose=0):
+def check_changed(pkgdirurl, all=0, show=0, verbose=0):
svn = SVN(baseurl=pkgdirurl)
if all:
- baseurl = url
+ baseurl = pkgdirurl
packages = []
if verbose:
print "Getting list of packages...",
@@ -298,7 +298,7 @@ def check_changed(url, all=0, show=0, verbose=0):
if not packages:
raise Error, "couldn't get list of packages"
else:
- baseurl, basename = os.path.split(url)
+ baseurl, basename = os.path.split(pkgdirurl)
packages = [basename]
clean = []
changed = []