zulip_bots: Move six imports.

This commit is contained in:
Robert Hönig 2018-01-06 10:43:54 +01:00
parent 0893a5f61e
commit 78d7f9694e
7 changed files with 8 additions and 13 deletions

View file

@ -1,6 +1,6 @@
# See readme.md for instructions on running this code.
import logging
from six.moves.urllib import parse
from urllib import parse
import json
import apiai

View file

@ -1,4 +1,4 @@
from six.moves.configparser import SafeConfigParser
from configparser import SafeConfigParser
from typing import Dict, Any, Union
import requests
import logging

View file

@ -2,7 +2,7 @@ import re
import os
import sys
import logging
import six.moves.configparser
import configparser
import requests

View file

@ -1,6 +1,6 @@
# See readme.md for instructions on running this code.
import logging
from six.moves.urllib import parse
from urllib import parse
import requests

View file

@ -1,7 +1,7 @@
import requests
import logging
import re
from six.moves import urllib
import urllib
from zulip_bots.lib import Any
from typing import Optional, Any, Dict

View file

@ -8,7 +8,7 @@ import sys
import time
import re
from six.moves import configparser
import configparser
from contextlib import contextmanager

View file

@ -5,7 +5,6 @@ import importlib
import os
import zulip_bots.run
from zulip_bots.lib import extract_query_without_mention
import six
import unittest
import zulip
@ -13,10 +12,6 @@ from importlib import import_module
from typing import Optional
from unittest import TestCase
if six.PY2:
import mock
from unittest.mock import patch
else:
from unittest import mock
from unittest.mock import patch