mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Pylint fixes
This commit is contained in:
parent
da3ebf83e6
commit
c906c8a0d5
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,10 @@
|
|||
'''
|
||||
Module for viewing and modifying sysctl parameters
|
||||
'''
|
||||
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
import logging
|
||||
|
||||
# Import salt libs
|
||||
import salt.utils
|
||||
|
@ -11,6 +14,9 @@ from salt.exceptions import CommandExecutionError
|
|||
# Define the module's virtual name
|
||||
__virtualname__ = 'sysctl'
|
||||
|
||||
# Get logging started
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
|
@ -79,7 +85,7 @@ def show(config_file=False):
|
|||
elif comps[0]:
|
||||
ret[comps[0]] += '{0}\n'.format(line)
|
||||
else:
|
||||
continue
|
||||
continue
|
||||
return ret
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue