Pylint fix

This commit is contained in:
rallytime 2016-03-30 16:05:03 -06:00
parent fa5e17b342
commit 3a0987c7c1

View File

@ -85,7 +85,10 @@ these states. Here is some example SLS:
installed if it is not present.
'''
# Import Python libs
from __future__ import absolute_import
import sys
# Import salt libs
import salt.utils
@ -480,7 +483,7 @@ def absent(name, **kwargs):
'changes': {},
'result': None,
'comment': ''}
repo = {}
if 'ppa' in kwargs and __grains__['os'] in ('Ubuntu', 'Mint'):
name = kwargs.pop('ppa')
if not name.startswith('ppa:'):