mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
zproject: Remove inheritance from object.
This commit is contained in:
@@ -101,7 +101,7 @@ def common_get_active_user_by_email(email, return_data=None):
|
|||||||
return None
|
return None
|
||||||
return user_profile
|
return user_profile
|
||||||
|
|
||||||
class ZulipAuthMixin(object):
|
class ZulipAuthMixin:
|
||||||
def get_user(self, user_profile_id):
|
def get_user(self, user_profile_id):
|
||||||
# type: (int) -> Optional[UserProfile]
|
# type: (int) -> Optional[UserProfile]
|
||||||
""" Get a UserProfile object from the user_profile_id. """
|
""" Get a UserProfile object from the user_profile_id. """
|
||||||
|
|||||||
Reference in New Issue
Block a user