Merge pull request #22299 from rallytime/pylinting-develop

Python 3 compatibility changes for develop
This commit is contained in:
jfindlay 2015-04-02 15:24:32 -06:00
commit 5376a13ca9
2 changed files with 8 additions and 0 deletions

View File

@ -7,10 +7,15 @@ Beacon to fire events at failed login of users
beacons:
btmp: {}
'''
# Import python libs
from __future__ import absolute_import
import os
import struct
# Import Salt Libs
from salt.ext.six.moves import range # pylint: disable=import-error,redefined-builtin
__virtualname__ = 'btmp'
BTMP = '/var/log/btmp'
FMT = '<hI32s4s32s256siili4l20s'

View File

@ -3,6 +3,9 @@
:codeauthor: :email:`Rahul Handay <rahulha@saltstack.com>`
'''
# Import Python Libs
from __future__ import absolute_import
# Import Salt Testing Libs
from salttesting import TestCase, skipIf
from salttesting.helpers import ensure_in_syspath