1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

PEP8: fix E261: at least two spaces before inline comment

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:
Joe Guo
2018-07-30 18:19:33 +12:00
committed by Douglas Bagnall
parent 1ccc36b401
commit c809a86023
34 changed files with 68 additions and 68 deletions

View File

@ -324,7 +324,7 @@ class WinsDatabase(object):
f = open(file, 'r')
assert f.readline().rstrip("\n") == "VERSION 1 0"
for l in f.readlines():
if l[0] == "#": # skip comments
if l[0] == "#": # skip comments
continue
entries = shellsplit(l.rstrip("\n"))
name = entries[0]
@ -352,7 +352,7 @@ class WinsDatabase(object):
"""Return the entries in this WINS database."""
return self.entries.items()
def close(self): # for consistency
def close(self): # for consistency
pass