libs/systemd.py: dont sort lists and sets
This commit is contained in:
parent
5b6d31742e
commit
c0ccd78517
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ template = '''
|
|||
${option}=${k}=${v}
|
||||
% endfor
|
||||
% elif isinstance(value, (list, set, tuple)):
|
||||
% for item in sorted(value):
|
||||
% for item in (sorted(value) if isinstance(value, set) else value):
|
||||
${option}=${item}
|
||||
% endfor
|
||||
% elif isinstance(value, type(None)):
|
||||
|
|
Loading…
Reference in a new issue