Show More
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | |
|
8 | 8 | from i18n import _ |
|
9 | 9 | import error, util |
|
10 | import re, os | |
|
10 | import re, os, errno | |
|
11 | 11 | |
|
12 | 12 | class sortdict(dict): |
|
13 | 13 | 'a simple sorted dictionary' |
@@ -103,9 +103,10 b' class config(object):' | |||
|
103 | 103 | try: |
|
104 | 104 | include(inc, remap=remap, sections=sections) |
|
105 | 105 | except IOError, inst: |
|
106 | raise error.ParseError(_("cannot include %s (%s)") | |
|
107 | % (inc, inst.strerror), | |
|
108 |
|
|
|
106 | if inst.errno != errno.ENOENT: | |
|
107 | raise error.ParseError(_("cannot include %s (%s)") | |
|
108 | % (inc, inst.strerror), | |
|
109 | "%s:%s" % (src, line)) | |
|
109 | 110 | continue |
|
110 | 111 | if emptyre.match(l): |
|
111 | 112 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now