PR#1458: remove deprecated koji.util.relpath

Merges #1458
https://pagure.io/koji/pull-request/1458

Fixes: #834
https://pagure.io/koji/issue/834
Remove deprecated koji.util.relpath function
This commit is contained in:
Mike McLean 2019-08-12 17:59:27 -04:00
commit af673d985a

View file

@ -504,12 +504,6 @@ def move_and_symlink(src, dst, relative=True, create_dir=False):
os.symlink(dst, src)
def relpath(*args, **kwargs):
deprecated("koji.util.relpath() is deprecated and will be removed in a "
"future version. See: https://pagure.io/koji/issue/834")
return os.path.relpath(*args, **kwargs)
def eventFromOpts(session, opts):
"""Determine event id from standard cli options