##// END OF EJS Templates
config: pass some optional args as keywords...
Augie Fackler -
r31155:8266802f default
parent child Browse files
Show More
@@ -170,4 +170,5 b' class config(object):'
170 def read(self, path, fp=None, sections=None, remap=None):
170 def read(self, path, fp=None, sections=None, remap=None):
171 if not fp:
171 if not fp:
172 fp = util.posixfile(path, 'rb')
172 fp = util.posixfile(path, 'rb')
173 self.parse(path, fp.read(), sections, remap, self.read)
173 self.parse(path, fp.read(),
174 sections=sections, remap=remap, include=self.read)
General Comments 0
You need to be logged in to leave comments. Login now