[createrepo] fix 'createrepo_deltas' option
'createrepo_deltas = False' in configuration doesn't work Signed-off-by: Qixiang Wan <qwan@redhat.com>
This commit is contained in:
parent
11bbbae2ed
commit
c32080e7f9
@ -83,7 +83,7 @@ class CreaterepoPhase(PhaseBase):
|
|||||||
except ValueError as exc:
|
except ValueError as exc:
|
||||||
errors = exc.message.split('\n')
|
errors = exc.message.split('\n')
|
||||||
|
|
||||||
if not self.compose.old_composes and 'createrepo_deltas' in self.compose.conf:
|
if not self.compose.old_composes and self.compose.conf.get('createrepo_deltas', False):
|
||||||
errors.append('Can not generate deltas without old compose')
|
errors.append('Can not generate deltas without old compose')
|
||||||
|
|
||||||
if errors:
|
if errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user