DebugClients/Python/coverage/config.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3499
f2d4b02c7e88
child 4489
d0d6e4ad31bd
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
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

eric ide

mercurial