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:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user