forked from sig_core/toolkit
fix up if statement
This commit is contained in:
parent
cf13fb0a02
commit
a7cf5db050
@ -1444,7 +1444,6 @@ class RepoSync:
|
|||||||
'release': self.fullversion,
|
'release': self.fullversion,
|
||||||
'timestamp': self.timestamp,
|
'timestamp': self.timestamp,
|
||||||
}
|
}
|
||||||
ksdata.clear()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
Shared.treeinfo_modify_write(ksdata, imagemap, self.log)
|
Shared.treeinfo_modify_write(ksdata, imagemap, self.log)
|
||||||
|
@ -127,9 +127,9 @@ class Shared:
|
|||||||
timestamp = data['timestamp']
|
timestamp = data['timestamp']
|
||||||
|
|
||||||
os_or_ks = ''
|
os_or_ks = ''
|
||||||
if '/os/' in variant_path or not imagemap['disc']:
|
if '/os' in variant_path or not imagemap['disc']:
|
||||||
os_or_ks = 'os'
|
os_or_ks = 'os'
|
||||||
if '/kickstart/' in variant_path:
|
if '/kickstart' in variant_path:
|
||||||
os_or_ks = 'kickstart'
|
os_or_ks = 'kickstart'
|
||||||
|
|
||||||
image = os.path.join(variant_path)
|
image = os.path.join(variant_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user