equal
deleted
inserted
replaced
168 raise error.ParseError(l.rstrip(), ("%s:%s" % (src, line))) |
168 raise error.ParseError(l.rstrip(), ("%s:%s" % (src, line))) |
169 |
169 |
170 def read(self, path, fp=None, sections=None, remap=None): |
170 def read(self, path, fp=None, sections=None, remap=None): |
171 if not fp: |
171 if not fp: |
172 fp = util.posixfile(path, 'rb') |
172 fp = util.posixfile(path, 'rb') |
173 self.parse(path, fp.read(), sections, remap, self.read) |
173 self.parse(path, fp.read(), |
|
174 sections=sections, remap=remap, include=self.read) |