make sure to remove old overidden_attrs
This commit is contained in:
committed by
Gregory Becker
parent
56671984b5
commit
2ad94bc76a
@@ -1378,6 +1378,8 @@ def get_pkg_class(self, pkg_name):
|
||||
setattr(cls, key, val)
|
||||
if new_overidden_attrs:
|
||||
setattr(cls, "overidden_attrs", dict(new_overidden_attrs))
|
||||
else:
|
||||
delattr(cls, "overidden_attrs")
|
||||
|
||||
return cls
|
||||
|
||||
|
||||
Reference in New Issue
Block a user