From a7c361fa2cc9546d95583ffd3d60fe78381f44f2 Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Thu, 30 Nov 2006 13:07:14 +0000 Subject: Fixed wrong variable name on "changed". --- RepSys/commands/changed.py | 2 +- RepSys/rpmutil.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'RepSys') 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 = [] -- cgit v1.2.1