commit | a21c1f120081d1ca148b64adf628b6415f1ce712 | [log] [tgz] |
---|---|---|
author | lkuchlan <lkuchlan@redhat.com> | Wed Dec 30 13:47:08 2015 +0200 |
committer | lkuchlan <lkuchlan@redhat.com> | Thu Jan 07 18:22:47 2016 +0200 |
tree | 31b850a7c4a15a56c37f89af73c0b300c351476d | |
parent | 99da10d2e1d2cdb08e4b84db93d681a154d56861 [diff] |
Redundent if Statement The 'if' statement is redundant, because __getattr__ method only gets invoked for attributes that are not in the __dict__ attribute, therefore, if __getattr__ is called it means that the attribute is not in __dict__ Change-Id: I68b975c2e03395db90d421e3180cea81e9af271b