mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
remove unnecessary brackets in conditions (#10328)
* remove unnecessary brackets in conditions * add changelog frag
This commit is contained in:
@@ -2484,7 +2484,7 @@ class Nmcli(object):
|
||||
|
||||
for line in out.splitlines():
|
||||
prefix = '%s.' % setting
|
||||
if (line.startswith(prefix)):
|
||||
if line.startswith(prefix):
|
||||
pair = line.split(':', 1)
|
||||
property = pair[0].strip().replace(prefix, '')
|
||||
properties.append(property)
|
||||
|
||||
Reference in New Issue
Block a user