mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
fix python black formatting
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
parent
b0517d1cfb
commit
b2fdc87366
3 changed files with 13 additions and 14 deletions
|
|
@ -2524,11 +2524,11 @@ class Cmd_nm(Cmd):
|
|||
% (
|
||||
con.get_id(),
|
||||
con.get_uuid(),
|
||||
"not-active"
|
||||
if not is_active
|
||||
else "is-modified"
|
||||
if is_modified
|
||||
else "force-state-change",
|
||||
(
|
||||
"not-active"
|
||||
if not is_active
|
||||
else "is-modified" if is_modified else "force-state-change"
|
||||
),
|
||||
),
|
||||
)
|
||||
self.connections_data_set_changed(idx)
|
||||
|
|
@ -2784,11 +2784,11 @@ class Cmd_initscripts(Cmd):
|
|||
"up connection %s (%s)"
|
||||
% (
|
||||
name,
|
||||
"not-active"
|
||||
if is_active is not True
|
||||
else "is-modified"
|
||||
if is_modified
|
||||
else "force-state-change",
|
||||
(
|
||||
"not-active"
|
||||
if is_active is not True
|
||||
else "is-modified" if is_modified else "force-state-change"
|
||||
),
|
||||
),
|
||||
)
|
||||
cmd = "ifup"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue