Import python3 compatible object.
This commit is contained in:
parent
4f07da29c2
commit
11b61fe335
43 changed files with 43 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ it is run by Evennia just before returning data to/from the
|
|||
user.
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
import re
|
||||
from evennia.utils import utils
|
||||
from evennia.utils.utils import to_str, to_unicode
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ caller.msg("The object was created!")
|
|||
script = create.create_script()
|
||||
```
|
||||
"""
|
||||
from builtins import object
|
||||
|
||||
import re
|
||||
import codecs
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ in-situ, e.g `obj.db.mynestedlist[3][5] = 3` would never be saved and
|
|||
be out of sync with the database.
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
|
||||
from functools import update_wrapper
|
||||
from collections import defaultdict, MutableSequence, MutableSet, MutableMapping
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ and initialize it:
|
|||
displayed in the editor.
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
|
||||
import re
|
||||
from django.conf import settings
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@ form will raise an error.
|
|||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from builtins import object
|
||||
|
||||
import re
|
||||
import copy
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@ evennia.utils.evmenu`.
|
|||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from builtins import object
|
||||
|
||||
from textwrap import dedent
|
||||
from inspect import isfunction, getargspec
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ long enough to need to scroll and **kwargs will be passed on to the
|
|||
caller.msg() construct (text will be using the pager restrictor).
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
|
||||
from django.conf import settings
|
||||
from evennia import Command, CmdSet
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ table string.
|
|||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from builtins import object
|
||||
#from textwrap import wrap
|
||||
from django.conf import settings
|
||||
from textwrap import TextWrapper
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ Pickle field implementation for Django.
|
|||
Modified for Evennia by Griatch.
|
||||
|
||||
"""
|
||||
from builtins import object
|
||||
from ast import literal_eval
|
||||
|
||||
from copy import deepcopy
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from __future__ import print_function
|
||||
from builtins import object
|
||||
__version__ = "trunk"
|
||||
|
||||
import copy
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ snippet #577349 on http://code.activestate.com.
|
|||
(extensively modified by Griatch 2010)
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
from builtins import object
|
||||
|
||||
import re
|
||||
import cgi
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ be of use when designing your own game.
|
|||
"""
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from builtins import object
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue