mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
PEP8: fix E302: expected 2 blank lines, found 1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -22,12 +22,14 @@ import samba.dckeytab
|
||||
from samba import tests
|
||||
from samba.param import LoadParm
|
||||
|
||||
|
||||
def open_bytes(filename):
|
||||
if sys.version_info[0] == 3:
|
||||
return open(filename, errors='ignore')
|
||||
else:
|
||||
return open(filename, 'rb')
|
||||
|
||||
|
||||
class DCKeytabTests(tests.TestCase):
|
||||
def setUp(self):
|
||||
super(DCKeytabTests, self).setUp()
|
||||
|
Reference in New Issue
Block a user