Fix for case where 'info' is None.
This commit is contained in:
parent
61645c6cd9
commit
a58ce6bb38
1 changed files with 2 additions and 0 deletions
|
|
@ -447,6 +447,8 @@ class RepoManager(object):
|
|||
repo = ManagedRepo(self, data, repodata)
|
||||
if self.options.ignore_other_volumes:
|
||||
info = repo.get_info()
|
||||
if info is None:
|
||||
continue
|
||||
volume = info.get('volume')
|
||||
if volume is not None and volume != 'DEFAULT':
|
||||
# Other volume
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue