zproject: Remove inheritance from object.

This commit is contained in:
rht
2017-11-05 11:31:53 +01:00
committed by showell
parent 5cfffb0e51
commit e33c8d91e0

View File

@@ -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. """