Show More
@@ -7,7 +7,7 | |||
|
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,6 +103,7 class config(object): | |||
|
103 | 103 | try: |
|
104 | 104 | include(inc, remap=remap, sections=sections) |
|
105 | 105 | except IOError, inst: |
|
106 | if inst.errno != errno.ENOENT: | |
|
106 | 107 | raise error.ParseError(_("cannot include %s (%s)") |
|
107 | 108 | % (inc, inst.strerror), |
|
108 | 109 | "%s:%s" % (src, line)) |
General Comments 0
You need to be logged in to leave comments.
Login now