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:
Treehugger Robot 2021-04-21 01:26:33 +00:00 committed by Automerger Merge Worker
commit 8ed685d70d

View file

@ -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] == "#":