From bb5abd971ae59930f0c0d95af0bcfc5332431243 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 3 Jan 2017 20:24:03 -0800 Subject: [PATCH] zulip_codebase_mirror: Move Text/six imports after sys.path changes. --- integrations/codebase/zulip_codebase_mirror | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integrations/codebase/zulip_codebase_mirror b/integrations/codebase/zulip_codebase_mirror index 537edaf..3ab2e12 100755 --- a/integrations/codebase/zulip_codebase_mirror +++ b/integrations/codebase/zulip_codebase_mirror @@ -31,7 +31,6 @@ from __future__ import print_function from __future__ import absolute_import -from typing import Any, List, Dict, Optional import requests import logging import time @@ -39,8 +38,6 @@ import sys import os from datetime import datetime, timedelta -import six - try: import dateutil.parser @@ -55,7 +52,9 @@ VERSION = "0.9" if config.ZULIP_API_PATH is not None: sys.path.append(config.ZULIP_API_PATH) +import six import zulip +from typing import Any, List, Dict, Optional client = zulip.Client( email=config.ZULIP_USER,