mirror of https://github.com/zulip/zulip.git
zproject: Remove inheritance from object.
This commit is contained in:
parent
5cfffb0e51
commit
e33c8d91e0
|
@ -101,7 +101,7 @@ def common_get_active_user_by_email(email, return_data=None):
|
|||
return None
|
||||
return user_profile
|
||||
|
||||
class ZulipAuthMixin(object):
|
||||
class ZulipAuthMixin:
|
||||
def get_user(self, user_profile_id):
|
||||
# type: (int) -> Optional[UserProfile]
|
||||
""" Get a UserProfile object from the user_profile_id. """
|
||||
|
|
Loading…
Reference in New Issue