Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jul 2, 2018
1 parent 7027ce1 commit b3279fd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions plone/namedfile/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import six
import transaction


log = getLogger(__name__)


Expand Down
4 changes: 2 additions & 2 deletions plone/namedfile/marshaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def encode(self, value, charset='utf-8', primary=False):
# never in a header
if not primary:
raise ValueError(
'File fields can only be marshaled as primary fields'
'File fields can only be marshaled as primary fields',
)
if value is None:
return None
Expand Down Expand Up @@ -66,7 +66,7 @@ def postProcessMessage(self, message):
'filename',
filename.encode('utf-8') if six.PY2 else filename,
header='Content-Disposition',
charset='utf-8'
charset='utf-8',
)


Expand Down
1 change: 1 addition & 0 deletions plone/namedfile/scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import logging
import six


logger = logging.getLogger(__name__)
_marker = object()

Expand Down
1 change: 1 addition & 0 deletions plone/namedfile/storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import six


MAXCHUNKSIZE = 1 << 16


Expand Down
2 changes: 1 addition & 1 deletion plone/namedfile/testing.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
from plone.testing import Layer
from plone.testing import publisher
from plone.testing import zope
from plone.testing import zca
from plone.testing import zodb
from plone.testing import zope
from zope.configuration import xmlconfig


Expand Down
1 change: 1 addition & 0 deletions plone/namedfile/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import six
import struct


log = getLogger(__name__)

try:
Expand Down

0 comments on commit b3279fd

Please sign in to comment.