integrations: Remove usage of six.

This commit is contained in:
rht 2020-04-02 11:11:08 -04:00 committed by showell
parent 1412403037
commit 46c78ce7b5
10 changed files with 16 additions and 25 deletions

View file

@ -31,7 +31,6 @@ 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
@ -301,7 +300,7 @@ def check_permissions():
sys.stderr.write(str(e))
if __name__ == "__main__":
if not isinstance(config.RESUME_FILE, six.string_types):
if not isinstance(config.RESUME_FILE, str):
sys.stderr.write("RESUME_FILE path not given; refusing to continue")
check_permissions()
if config.LOG_FILE: