add unit test. drop redundant call arg
This commit is contained in:
parent
1dee091b78
commit
0d9777b785
2 changed files with 174 additions and 2 deletions
|
|
@ -5837,8 +5837,7 @@ class NewRepoTask(BaseTaskHandler):
|
|||
return None, None
|
||||
|
||||
# see if we can find a previous repo to update from
|
||||
oldrepo_state = koji.REPO_READY
|
||||
oldrepo = self.session.getRepo(tinfo['id'], state=oldrepo_state)
|
||||
oldrepo = self.session.getRepo(tinfo['id'])
|
||||
oldrepo_path = None
|
||||
if oldrepo:
|
||||
oldrepo_path = koji.pathinfo.repo(oldrepo['id'], tinfo['name'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue