209 """Set an attribute on self if it exists in the ConfigParser.""" |
209 """Set an attribute on self if it exists in the ConfigParser.""" |
210 section, option = where.split(":") |
210 section, option = where.split(":") |
211 if cp.has_option(section, option): |
211 if cp.has_option(section, option): |
212 method = getattr(cp, 'get'+type_) |
212 method = getattr(cp, 'get'+type_) |
213 setattr(self, attr, method(section, option)) |
213 setattr(self, attr, method(section, option)) |
|
214 |
|
215 # |
|
216 # eflag: FileType = Python2 |