Typo in utils, 'line.replace[3:]' -> 'line[3:]'
This commit is contained in:
parent
82b40cc8b2
commit
096fd05cee
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue