2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Use the fact that empty sequences are false.

This commit is contained in:
Mark Grassi
2022-08-09 22:34:16 -04:00
parent 68e3f12c2c
commit 854602c0d9
15 changed files with 25 additions and 26 deletions

View File

@@ -784,7 +784,7 @@ POLICYGROUPS_DIR="%s/templates"
if name is not None:
args.append('--name=%s' % name)
if len(extra_args) > 0:
if extra_args:
args += extra_args
args.append(self.binary)