##// END OF EJS Templates
quotes around "Section.key"
MinRK -
Show More
@@ -213,7 +213,7 b' class Config(dict):'
213 return False
213 return False
214
214
215 def __contains__(self, key):
215 def __contains__(self, key):
216 # allow nested contains of the form `Section.key in config`
216 # allow nested contains of the form `"Section.key" in config`
217 if '.' in key:
217 if '.' in key:
218 first, remainder = key.split('.', 1)
218 first, remainder = key.split('.', 1)
219 if first not in self:
219 if first not in self:
General Comments 0
You need to be logged in to leave comments. Login now