gather: Do not require variant for module source
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
df27164c1c
commit
5cc612f966
@ -28,7 +28,8 @@ class GatherSourceModule(pungi.phases.gather.source.GatherSourceBase):
|
|||||||
enabled = True
|
enabled = True
|
||||||
|
|
||||||
def __call__(self, arch, variant):
|
def __call__(self, arch, variant):
|
||||||
logfile = self.compose.paths.log.log_file(arch, 'source-module-%s' % variant.uid)
|
uid = variant.uid if variant else 'no-variant'
|
||||||
|
logfile = self.compose.paths.log.log_file(arch, 'source-module-%s' % uid)
|
||||||
with open(logfile, 'w') as log:
|
with open(logfile, 'w') as log:
|
||||||
return self.worker(log, arch, variant)
|
return self.worker(log, arch, variant)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user