aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys
diff options
context:
space:
mode:
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 = []