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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user