Skip to content

Commit

Permalink
Fix bad-python3-import
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed May 30, 2018
1 parent bb3cb8c commit ec5a5da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sc/social/like/tests/test_viewlets.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def capture():
http://stackoverflow.com/a/10743550/644075
"""
import sys
from cStringIO import StringIO
from io import StringIO
oldout, olderr = sys.stdout, sys.stderr
try:
out = [StringIO(), StringIO()]
Expand Down
2 changes: 1 addition & 1 deletion sc/social/like/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding:utf-8 -*-
from __future__ import division
from six.moves.urllib.parse import urlparse # noqa: I001
from Acquisition import aq_base
from plone.formwidget.namedfile.converter import b64decode_file
from plone.namedfile.file import NamedBlobImage
Expand All @@ -14,7 +15,6 @@
from sc.social.like.config import OG_LEAD_IMAGE_MIN_WIDTH
from sc.social.like.config import OG_TITLE_MAX_LENGTH
from sc.social.like.logger import logger
from urlparse import urlparse
from zope.interface import Invalid


Expand Down

0 comments on commit ec5a5da

Please sign in to comment.