Show More
@@ -154,7 +154,7 b' class config(object):' | |||||
154 | if inst.errno != errno.ENOENT: |
|
154 | if inst.errno != errno.ENOENT: | |
155 | raise error.ParseError(_("cannot include %s (%s)") |
|
155 | raise error.ParseError(_("cannot include %s (%s)") | |
156 | % (inc, inst.strerror), |
|
156 | % (inc, inst.strerror), | |
157 |
"%s:% |
|
157 | "%s:%d" % (src, line)) | |
158 | continue |
|
158 | continue | |
159 | if emptyre.match(l): |
|
159 | if emptyre.match(l): | |
160 | continue |
|
160 | continue | |
@@ -185,7 +185,7 b' class config(object):' | |||||
185 | self._unset.append((section, name)) |
|
185 | self._unset.append((section, name)) | |
186 | continue |
|
186 | continue | |
187 |
|
187 | |||
188 |
raise error.ParseError(l.rstrip(), ("%s:% |
|
188 | raise error.ParseError(l.rstrip(), ("%s:%d" % (src, line))) | |
189 |
|
189 | |||
190 | def read(self, path, fp=None, sections=None, remap=None): |
|
190 | def read(self, path, fp=None, sections=None, remap=None): | |
191 | if not fp: |
|
191 | if not fp: |
General Comments 0
You need to be logged in to leave comments.
Login now