Use python3 range.

Including potential memory reduction due to not created unnecessary lists.
This commit is contained in:
Ahmed Charles 2015-11-02 11:47:07 +00:00
parent ee0db7a50d
commit bcd8674ef3
20 changed files with 66 additions and 46 deletions

View file

@ -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