mirror of https://github.com/zulip/zulip.git
zulip_codebase_mirror: Move Text/six imports after sys.path changes.
This commit is contained in:
parent
c155b9162d
commit
fa3a1de9c7
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from typing import Any, List, Dict, Optional
|
|
||||||
import requests
|
import requests
|
||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
|
@ -39,8 +38,6 @@ import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
import six
|
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import dateutil.parser
|
import dateutil.parser
|
||||||
|
@ -55,7 +52,9 @@ VERSION = "0.9"
|
||||||
|
|
||||||
if config.ZULIP_API_PATH is not None:
|
if config.ZULIP_API_PATH is not None:
|
||||||
sys.path.append(config.ZULIP_API_PATH)
|
sys.path.append(config.ZULIP_API_PATH)
|
||||||
|
import six
|
||||||
import zulip
|
import zulip
|
||||||
|
from typing import Any, List, Dict, Optional
|
||||||
|
|
||||||
client = zulip.Client(
|
client = zulip.Client(
|
||||||
email=config.ZULIP_USER,
|
email=config.ZULIP_USER,
|
||||||
|
|
Loading…
Reference in New Issue