1
0
Fork 0
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:
Cristobal Rosa 2013-09-27 23:29:05 +02:00
parent be279295b6
commit 617f7bb0a0

View file

@ -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.