mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Add comment about magic hat trick with class properties.
This commit is contained in:
parent
904dc11b03
commit
146fce3878
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ class BaseConfig(object):
|
|||
self.__class__,
|
||||
newer_config.__class__))
|
||||
for prop_name in self.config_properties:
|
||||
# get the specified property off of the current class
|
||||
prop = self.__class__.__dict__.get(prop_name)
|
||||
assert prop
|
||||
new_value = prop.fget(newer_config)
|
||||
|
|
|
|||
Loading…
Reference in a new issue