Skip to content

Commit

Permalink
Fix deprecated-urllib-function
Browse files Browse the repository at this point in the history
Add dependency on six.
  • Loading branch information
hvelarde committed Jun 14, 2018
1 parent 075f8a0 commit 1800dc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,8 @@ Alterações
2.0.3 (unreleased)
^^^^^^^^^^^^^^^^^^

- Nothing changed yet.
- Adiciona dependência no `six <https://pypi.org/project/six/>`_ para futura compatibilidade com Python 3.
[hvelarde]


2.0.2 (2017-12-22)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -46,6 +46,7 @@
'raptus.autocompletewidget',
'rdflib',
'setuptools',
'six',
'zope.component',
'z3c.form',
'zope.interface',
Expand Down
2 changes: 1 addition & 1 deletion src/brasil/gov/vcge/browser/viewlets.py
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
"""Modulo que implementa o(s) viewlet(s) do VCGE."""
from six.moves.urllib.parse import urlencode # noqa: I001
from Acquisition import aq_base
from Acquisition import aq_inner
from plone.app.layout.viewlets import ViewletBase
from Products.CMFPlone.utils import safe_hasattr
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from urllib import urlencode
from zope.component import queryUtility
from zope.schema.interfaces import IVocabularyFactory

Expand Down

0 comments on commit 1800dc2

Please sign in to comment.