Update zdev-generate.py

Adding "--quiet" as additional option to "lszdev" - here more for the reason of completeness and for consistency reasons.
The relevant change for solving LP#1944516 is the change in subiquity/server/controllers/zdev.py
This commit is contained in:
fheimes 2021-09-24 20:01:31 +02:00 committed by GitHub
parent 6cdf97088a
commit 913436c77a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,6 +12,6 @@ for row in rows:
record = dict([k.split('=',1) for k in row])
if record['COLUMN'] not in ('TYPE', 'ATTR:', 'ATTRPATH:'):
desired_columns.append(record['COLUMN'].lower())
cmd = ['lszdev','--pairs','--columns',','.join(desired_columns)]
cmd = ['lszdev', '--quiet', '--pairs','--columns',','.join(desired_columns)]
print(cmd)
print(' '.join(cmd))