Merge "Fix overly-zealous strip." am: 74dab83037
am: 0666485a01
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682685 Change-Id: Ic0f1bce1d6c7f746ef1aa3db3b941cd7c1ac721d
This commit is contained in:
commit
8ed685d70d
1 changed files with 2 additions and 2 deletions
|
@ -299,8 +299,8 @@ class ConfigParser:
|
|||
self.items = {}
|
||||
self.duplicates = False
|
||||
|
||||
def parseLine(self,line):
|
||||
line = line.strip(line)
|
||||
def parseLine(self, line):
|
||||
line = line.strip()
|
||||
|
||||
# skip empty and comment lines
|
||||
if len(line) == 0 or line[0] == "#":
|
||||
|
|
Loading…
Reference in a new issue