##// END OF EJS Templates
config: re-calculate absolute %include path in `include` callback...
Martin von Zweigbergk -
r45816:83ca8d6f default
parent child Browse files
Show More
@@ -213,7 +213,10 b' class config(object):'
213 % (fp, fp.mode,)
213 % (fp, fp.mode,)
214 )
214 )
215
215
216 dir = os.path.dirname(path)
217
216 def include(rel, abs, remap, sections):
218 def include(rel, abs, remap, sections):
219 abs = os.path.normpath(os.path.join(dir, rel))
217 self.read(abs, remap=remap, sections=sections)
220 self.read(abs, remap=remap, sections=sections)
218
221
219 self.parse(
222 self.parse(
General Comments 0
You need to be logged in to leave comments. Login now