mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Fix etree deprecation
This commit is contained in:
parent
126e6b7443
commit
e9f37ab201
2 changed files with 3 additions and 2 deletions
|
@ -17,8 +17,9 @@ import re
|
||||||
import markdown
|
import markdown
|
||||||
import six
|
import six
|
||||||
from sqlalchemy.orm.session import object_session
|
from sqlalchemy.orm.session import object_session
|
||||||
from markdown.util import etree, AtomicString
|
|
||||||
|
|
||||||
|
from markdown.util import AtomicString
|
||||||
|
import xml.etree.ElementTree as etree
|
||||||
|
|
||||||
@six.python_2_unicode_compatible
|
@six.python_2_unicode_compatible
|
||||||
class MarkdownString(object):
|
class MarkdownString(object):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -11,7 +11,7 @@ setup(
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'SQLAlchemy>=1.0,<1.4',
|
'SQLAlchemy>=1.0,<1.4',
|
||||||
'whoosh>=2.5,<2.7',
|
'whoosh>=2.5,<2.7',
|
||||||
'markdown>=2.4.1,<=2.6.11',
|
'markdown>=3.4,<3.5',
|
||||||
'construct==2.5.3',
|
'construct==2.5.3',
|
||||||
'six>=1.9.0',
|
'six>=1.9.0',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue