Typo in utils, 'line.replace[3:]' -> 'line[3:]'

This commit is contained in:
jesopo 2018-10-04 16:01:34 +01:00
parent 82b40cc8b2
commit 096fd05cee

View file

@ -136,7 +136,7 @@ def get_hashflags(filename):
if not line.startswith("#"): if not line.startswith("#"):
break break
elif line.startswith("#--"): elif line.startswith("#--"):
hashflag, sep, value = line.replace[3:].partition(" ") hashflag, sep, value = line[3:].partition(" ")
hashflags[hashflag] = value if sep else None hashflags[hashflag] = value if sep else None
return hashflags.items() return hashflags.items()