honor topdir in cli
This commit is contained in:
parent
69068ad264
commit
7350ff6293
1 changed files with 5 additions and 0 deletions
5
cli/koji
5
cli/koji
|
|
@ -170,6 +170,11 @@ def get_options():
|
|||
value = os.path.expanduser(getattr(options, name))
|
||||
setattr(options, name, value)
|
||||
|
||||
#honor topdir
|
||||
if options.topdir:
|
||||
koji.BASEDIR = options.topdir
|
||||
koji.pathinfo.topdir = options.topdir
|
||||
|
||||
return options, cmd, args[1:]
|
||||
|
||||
def ensure_connection(session):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue