zerver/lib: Remove inheritance from object.

This commit is contained in:
rht
2017-11-05 11:37:41 +01:00
committed by showell
parent 0e71b243ce
commit e311842a1b
22 changed files with 28 additions and 28 deletions

View File

@@ -124,7 +124,7 @@ def resize_emoji(image_data, size=DEFAULT_EMOJI_SIZE):
### Common
class ZulipUploadBackend(object):
class ZulipUploadBackend:
def upload_message_image(self, uploaded_file_name, uploaded_file_size,
content_type, file_data, user_profile, target_realm=None):
# type: (Text, int, Optional[Text], binary_type, UserProfile, Optional[Realm]) -> Text