do not convert type None to string in cfgmnt.
This commit is contained in:
parent
bbe57f4a3d
commit
7e7a83c099
@ -92,7 +92,7 @@ def handle(_name, cfg, cloud, log, _args):
|
||||
# in case the user did not quote a field (likely fs-freq, fs_passno)
|
||||
# but do not convert None to 'None' (LP: #898365)
|
||||
for j in range(len(cfgmnt[i])):
|
||||
if j is None:
|
||||
if cfgmnt[i][j] is None:
|
||||
continue
|
||||
else:
|
||||
cfgmnt[i][j] = str(cfgmnt[i][j])
|
||||
|
Loading…
x
Reference in New Issue
Block a user