From ce94c09da765bc5eb799c8390ee5bc70d3b8bc7e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 3 Jan 2017 18:36:12 -0800 Subject: [PATCH] zulip_basecamp_mirror: Move some imports after sys.path updates. --- integrations/basecamp/zulip_basecamp_mirror | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/integrations/basecamp/zulip_basecamp_mirror b/integrations/basecamp/zulip_basecamp_mirror index f490c0f..f3cf743 100755 --- a/integrations/basecamp/zulip_basecamp_mirror +++ b/integrations/basecamp/zulip_basecamp_mirror @@ -35,9 +35,6 @@ import sys from stderror import write import os from datetime import datetime, timedelta -from six.moves.html_parser import HTMLParser -from typing import Any, Dict -import six sys.path.insert(0, os.path.dirname(__file__)) import zulip_basecamp_config as config @@ -46,7 +43,9 @@ VERSION = "0.9" if config.ZULIP_API_PATH is not None: sys.path.append(config.ZULIP_API_PATH) import zulip - +from six.moves.html_parser import HTMLParser +from typing import Any, Dict +import six client = zulip.Client( email=config.ZULIP_USER,