Use python3 range.
Including potential memory reduction due to not created unnecessary lists.
This commit is contained in:
parent
ee0db7a50d
commit
bcd8674ef3
20 changed files with 66 additions and 46 deletions
|
|
@ -17,6 +17,8 @@ the Evennia API. It is also a severe security risk and should
|
|||
therefore always be limited to superusers only.
|
||||
|
||||
"""
|
||||
from builtins import range
|
||||
|
||||
from traceback import format_exc
|
||||
from django.conf import settings
|
||||
from evennia.utils.batchprocessors import BATCHCMD, BATCHCODE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue