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