Apply Python 3 futurize transform libmodernize.fixes.fix_xrange_six.
This commit is contained in:
parent
3cfe157299
commit
c5e2995b6e
3 changed files with 6 additions and 2 deletions
|
@ -24,6 +24,7 @@ from __future__ import absolute_import
|
|||
|
||||
import sys
|
||||
from six.moves import map
|
||||
from six.moves import range
|
||||
try:
|
||||
import simplejson
|
||||
except ImportError:
|
||||
|
@ -44,7 +45,7 @@ import select
|
|||
DEFAULT_SITE = "https://api.zulip.com"
|
||||
|
||||
class States:
|
||||
Startup, ZulipToZephyr, ZephyrToZulip, ChildSending = range(4)
|
||||
Startup, ZulipToZephyr, ZephyrToZulip, ChildSending = list(range(4))
|
||||
CURRENT_STATE = States.Startup
|
||||
|
||||
def to_zulip_username(zephyr_username):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue