If self.approved_users was empty, all users would be approved regardless of self.approved_domains, which is incorrect. This problem was mentioned in #7 but still exists. The same bug in a different function was fixed in #9. (Also removed incorrect "not" in docstring.)
If
self.approved_users
was empty, all users would be approved regardless ofself.approved_domains
, which is incorrect. This problem was mentioned in #7 but still exists. The same bug in a different function was fixed in #9. (Also removed incorrect "not" in docstring.)