Skip to content

Commit

Permalink
- after-merge cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Mar 24, 2019
1 parent b92c7b3 commit 9313a98
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Products/PageTemplates/ZopePageTemplate.py
Expand Up @@ -45,7 +45,6 @@
from zExceptions import ResourceLockedError



preferred_encodings = ['utf-8', 'iso-8859-15']
if 'ZPT_PREFERRED_ENCODING' in os.environ:
preferred_encodings.insert(0, os.environ['ZPT_PREFERRED_ENCODING'])
Expand Down
1 change: 0 additions & 1 deletion src/Products/PageTemplates/tests/testZopePageTemplate.py
Expand Up @@ -31,7 +31,6 @@
from zope.traversing.adapters import DefaultTraversable



ascii_binary = b'<html><body>hello world</body></html>'
iso885915_binary = u'<html><body>üöäÜÖÄß</body></html>'.encode('iso-8859-15')
utf8_text = iso885915_binary.decode('iso-8859-15').encode('utf-8')
Expand Down
2 changes: 1 addition & 1 deletion src/Testing/ZopeTestCase/zopedoctest/functional.py
Expand Up @@ -19,8 +19,8 @@
import sys
import warnings
from doctest import ELLIPSIS
from doctest import REPORT_NDIFF
from doctest import NORMALIZE_WHITESPACE
from doctest import REPORT_NDIFF
from functools import partial
from io import BytesIO

Expand Down
1 change: 0 additions & 1 deletion src/ZPublisher/utils.py
Expand Up @@ -23,7 +23,6 @@
from Acquisition import aq_parent



AC_LOGGER = logging.getLogger('event.AccessControl')


Expand Down
1 change: 1 addition & 0 deletions src/Zope2/App/tests/test_safe_formatter.py
Expand Up @@ -5,6 +5,7 @@
from Testing.ZopeTestCase import FunctionalTestCase
from zExceptions import Unauthorized


try:
from html import escape
import functools
Expand Down
1 change: 1 addition & 0 deletions src/Zope2/Startup/serve.py
Expand Up @@ -23,6 +23,7 @@
from paste.deploy import loadapp
from paste.deploy import loadserver


try:
import configparser
except ImportError:
Expand Down

0 comments on commit 9313a98

Please sign in to comment.