mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added an space between code and comments in order to follow the coding standars
This commit is contained in:
parent
be279295b6
commit
617f7bb0a0
1 changed files with 1 additions and 1 deletions
|
@ -1440,7 +1440,7 @@ class LinuxNetwork(Network):
|
||||||
path = os.path.join(path, 'bonding', 'all_slaves_active')
|
path = os.path.join(path, 'bonding', 'all_slaves_active')
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
interfaces[device]['all_slaves_active'] = open(path).read() == '1'
|
interfaces[device]['all_slaves_active'] = open(path).read() == '1'
|
||||||
#Check whether a interface is in promiscuous mode
|
# Check whether a interface is in promiscuous mode
|
||||||
if os.path.exists(os.path.join(path,'flags')):
|
if os.path.exists(os.path.join(path,'flags')):
|
||||||
promisc_mode = False
|
promisc_mode = False
|
||||||
# The second byte indicates whether the interface is in promiscuous mode.
|
# The second byte indicates whether the interface is in promiscuous mode.
|
||||||
|
|
Loading…
Reference in a new issue