Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
import_util: Update a comment in `get_attachment_path_and_content`.
PieterCK36cb7abcf8a2
diff --git a/zerver/data_import/import_util.py b/zerver/data_import/import_util.pyindex db779c8d3ab..108dc478fe4 100644--- a/zerver/data_import/import_util.py+++ b/zerver/data_import/import_util.py@@ -893,8 +893,8 @@ def get_data_file(path: str) -> Any:def get_attachment_path_and_content(link_name: str, filename: str, realm_id: int) -> AttachmentLinkResult:- # Should be kept in sync with its equivalent in zerver/lib/uploads in the function- # 'upload_message_attachment'+ # Since the files will be remapped during import, the layout is+ # to prevent directories from getting too big.path_id = "/".join([str(realm_id),