Skip to content

Commit

Permalink
Use urllib import from six
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango committed Jan 4, 2019
1 parent cffbc14 commit ce23c72
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -30,3 +30,4 @@ nosetests.xml

#Mr Developer
.mr.developer.cfg
/.vscode/settings.json
3 changes: 2 additions & 1 deletion CHANGES.rst
Expand Up @@ -5,7 +5,8 @@ Changelog
1.2 (unreleased)
----------------

- Nothing changed yet.
- Fixed missing urllib import with Python3 compatible import and add six as dependency
[MrTango]


1.1 (2018-10-17)
Expand Down
2 changes: 1 addition & 1 deletion redomino/tokenrole/tokenroleprovider.py
Expand Up @@ -22,6 +22,7 @@
from redomino.tokenrole.interfaces import ITokenRolesAnnotate
from redomino.tokenrole.interfaces import ITokenInfoSchema
from redomino.tokenrole.interfaces import ITokenRolesProviding
from six.moves import urllib
from zope.annotation.interfaces import IAnnotations
from zope.component import adapter
from zope.globalrequest import getRequest
Expand All @@ -33,7 +34,6 @@
def safeWrite(context, request=None):
return

import urllib


ANNOTATIONS_KEY = 'redomino.tokenrole.tokenrole_annotations'
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -43,6 +43,7 @@
'Products.validation',
'setuptools',
'z3c.jbot',
'six',
],
extras_require={
'test': [
Expand Down

0 comments on commit ce23c72

Please sign in to comment.