From 1102057e35e5e80accdde0c567f812f5c72875d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20H=C3=B6nig?= Date: Wed, 6 Dec 2017 12:44:42 +0100 Subject: [PATCH] zulip_bots: Make typing import work in Python 3.5. See https://github.com/python/mypy/issues/1838. --- zulip_bots/zulip_bots/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zulip_bots/zulip_bots/run.py b/zulip_bots/zulip_bots/run.py index 21bc771..a623e11 100755 --- a/zulip_bots/zulip_bots/run.py +++ b/zulip_bots/zulip_bots/run.py @@ -9,7 +9,9 @@ import os from types import ModuleType from importlib import import_module from os.path import basename, splitext -from typing import Any, Optional, Text + +if False: + from typing import Any, Optional, Text from zulip_bots.lib import ( run_message_handler_for_bot,