From 18b92e5b4602bd8c3afb510f36d8815d2133deb2 Mon Sep 17 00:00:00 2001 From: derAnfaenger Date: Wed, 6 Sep 2017 23:41:37 +0200 Subject: [PATCH] zulip_bot_output.py: Fix misnamed import. Followup for the last commit. --- zulip_bots/zulip_bots/zulip_bot_output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zulip_bots/zulip_bots/zulip_bot_output.py b/zulip_bots/zulip_bots/zulip_bot_output.py index 4ca9538..fc447e8 100644 --- a/zulip_bots/zulip_bots/zulip_bot_output.py +++ b/zulip_bots/zulip_bots/zulip_bot_output.py @@ -16,7 +16,7 @@ from mock import MagicMock, patch from zulip_bots.lib import run_message_handler_for_bot, StateHandler from zulip_bots.provision import provision_bot -from zulip_bots.run import import_module_from_source, name_and_patch_match +from zulip_bots.run import import_module_from_source, name_and_path_match def parse_args(): usage = ''' @@ -64,7 +64,7 @@ the bot handler class. # checks if both of these are in sync, otherwise we'll # have to be bias towards one and the user may get incorrect # result. - elif not name_and_patch_match(options.name, options.path_to_bot): + elif not name_and_path_match(options.name, options.path_to_bot): error_message = """ Please make sure that the given name of the bot and the given path to the bot are same and valid.