Drop pre-2.6 compat function koji.util._relpath
Fixes: https://pagure.io/koji/issue/818
This commit is contained in:
parent
22a7998f3a
commit
2eff45f763
6 changed files with 24 additions and 55 deletions
|
|
@ -725,7 +725,7 @@ class BuildRoot(object):
|
|||
raise ValueError(
|
||||
'path %r is not within the BuildRoot at %r' % (path, root)
|
||||
)
|
||||
return os.path.join('/', koji.util.relpath(path, root))
|
||||
return os.path.join('/', os.path.relpath(path, root))
|
||||
|
||||
def resultdir(self):
|
||||
return "%s/%s/result" % (self.options.mockdir, self.name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue