Skip to content

Commit

Permalink
- remove weird ancient strpickling shim
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Feb 3, 2020
1 parent f708ad4 commit 5293716
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/DocumentTemplate/DT_HTML.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from .DT_String import FileMixin
from .DT_String import String
from .DT_Util import ParseError
from .DT_Util import str


FactoryDefaultString = "Factory Default"
Expand Down
1 change: 0 additions & 1 deletion src/DocumentTemplate/DT_In.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@
from .DT_Util import name_param
from .DT_Util import parse_params
from .DT_Util import simple_name
from .DT_Util import str


if sys.version_info > (3, 0):
Expand Down
1 change: 0 additions & 1 deletion src/DocumentTemplate/DT_Let.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
from ._DocumentTemplate import render_blocks
from .DT_Util import Eval
from .DT_Util import ParseError
from .DT_Util import str # NOQA Probably needed for historical pickles


class Let(object):
Expand Down
1 change: 0 additions & 1 deletion src/DocumentTemplate/DT_Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
_safe_globals['sequence'] = sequence

LIMITED_BUILTINS = 1
str = str # NOQA - backwards compatibility for pickling


class ParseError(Exception):
Expand Down
1 change: 0 additions & 1 deletion src/DocumentTemplate/DT_Var.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@
# for import by other modules, dont remove!
from .DT_Util import name_param
from .DT_Util import parse_params
from .DT_Util import str
from .html_quote import html_quote
from .ustr import ustr

Expand Down
1 change: 0 additions & 1 deletion src/DocumentTemplate/DT_With.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
from ._DocumentTemplate import render_blocks
from .DT_Util import name_param
from .DT_Util import parse_params
from .DT_Util import str


class With(object):
Expand Down

0 comments on commit 5293716

Please sign in to comment.