refactor: Remove six.moves.range import.

This commit is contained in:
rht 2017-11-05 06:27:00 +01:00 committed by Tim Abbott
parent ec5120e807
commit 549a26860f
7 changed files with 4 additions and 8 deletions

View File

@ -35,7 +35,7 @@ import pytz
import re
import time
from six.moves import filter, map, range
from six.moves import filter, map
from typing import Any, Callable, Dict, List, Optional, Set, Text, \
Tuple, Type, Union

View File

@ -53,7 +53,6 @@ import sys
import boto.utils
import netifaces
from six.moves import range
if False:
from typing import Optional

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3
from six.moves import input, map, range
from six.moves import input, map
import glob
import os
import sys

View File

@ -6,7 +6,7 @@ from django.utils import translation
from django.utils.translation import ugettext as _
from django.utils.lru_cache import lru_cache
from six.moves import zip_longest, range
from six.moves import zip_longest
from typing import Any, List, Dict, Optional, Text
import os

View File

@ -63,7 +63,6 @@ import ujson
from typing import Any, Dict, List, Optional, Set, Text
from six.moves import range
import urllib
import os

View File

@ -6,7 +6,7 @@ from django.http import HttpResponseRedirect, HttpResponse, HttpRequest
from django.shortcuts import redirect, render
from django.utils import translation
from django.utils.cache import patch_cache_control
from six.moves import zip_longest, range
from six.moves import zip_longest
from zerver.decorator import zulip_login_required, process_client
from zerver.forms import ToSForm

View File

@ -30,8 +30,6 @@ from zerver.lib.request import REQ, has_request_variables
from zerver.models import UserProfile
import ujson
from six.moves import range
@api_key_only_webhook_view('Taiga')
@has_request_variables