mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
export: Remove unused parameter from _get_exported_s3_record.
This commit is contained in:
parent
5a59bf329e
commit
5dfd4ea38d
@ -1180,7 +1180,6 @@ def _check_key_metadata(email_gateway_bot: Optional[UserProfile],
|
||||
def _get_exported_s3_record(
|
||||
bucket_name: str,
|
||||
key: Key,
|
||||
processing_avatars: bool,
|
||||
processing_emoji: bool) -> Dict[str, Union[str, int]]:
|
||||
# Helper function for export_files_from_s3
|
||||
record = dict(s3_path=key.name, bucket=bucket_name,
|
||||
@ -1270,7 +1269,7 @@ def export_files_from_s3(realm: Realm, bucket_name: str, output_dir: Path,
|
||||
|
||||
# This can happen if an email address has moved realms
|
||||
_check_key_metadata(email_gateway_bot, key, processing_avatars, realm, user_ids)
|
||||
record = _get_exported_s3_record(bucket_name, key, processing_avatars, processing_emoji)
|
||||
record = _get_exported_s3_record(bucket_name, key, processing_emoji)
|
||||
|
||||
record['path'] = key.name
|
||||
_save_s3_object_to_file(key, output_dir, processing_avatars, processing_emoji,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user