data_import: Rename mattermost_user to user_handler.

This logic can be readily reused for new data import tools.
This commit is contained in:
Priyansh Garg 2021-06-23 15:09:03 +05:30 committed by Tim Abbott
parent c1885c1b98
commit a21a280054
3 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ from zerver.data_import.import_util import (
make_subscriber_map, make_subscriber_map,
make_user_messages, make_user_messages,
) )
from zerver.data_import.mattermost_user import UserHandler
from zerver.data_import.sequencer import NEXT_ID, IdMapper from zerver.data_import.sequencer import NEXT_ID, IdMapper
from zerver.data_import.user_handler import UserHandler
from zerver.lib.emoji import name_to_codepoint from zerver.lib.emoji import name_to_codepoint
from zerver.lib.markdown import IMAGE_EXTENSIONS from zerver.lib.markdown import IMAGE_EXTENSIONS
from zerver.lib.upload import sanitize_name from zerver.lib.upload import sanitize_name

View File

@ -23,8 +23,8 @@ from zerver.data_import.mattermost import (
reset_mirror_dummy_users, reset_mirror_dummy_users,
write_emoticon_data, write_emoticon_data,
) )
from zerver.data_import.mattermost_user import UserHandler
from zerver.data_import.sequencer import IdMapper from zerver.data_import.sequencer import IdMapper
from zerver.data_import.user_handler import UserHandler
from zerver.lib.emoji import name_to_codepoint from zerver.lib.emoji import name_to_codepoint
from zerver.lib.import_realm import do_import_realm from zerver.lib.import_realm import do_import_realm
from zerver.lib.test_classes import ZulipTestCase from zerver.lib.test_classes import ZulipTestCase