diff --git a/.travis.yml b/.travis.yml index 77b07c8..18ebed0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ language: python python: - - "2.6" - "2.7" + - "3.5" + - "3.6" + - "3.7" install: - pip install -r requirements.txt before_script: diff --git a/rtkit/__init__.py b/rtkit/__init__.py index 08369ea..7c0d71e 100644 --- a/rtkit/__init__.py +++ b/rtkit/__init__.py @@ -1,5 +1,5 @@ __author__ = 'Andrea De Marco <24erre@gmail.com>' -__version__ = '0.7.2' +__version__ = '0.7.3' __classifiers__ = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -11,7 +11,7 @@ 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries', ] -__copyright__ = "2011 - 2017, %s " % __author__ +__copyright__ = "2011 - 2019, %s " % __author__ __license__ = """ Copyright (C) %s diff --git a/rtkit/parser.py b/rtkit/parser.py index 7f48dec..99ec0c7 100644 --- a/rtkit/parser.py +++ b/rtkit/parser.py @@ -1,9 +1,11 @@ try: - from itertools import filterfalse as ifilterfalse from cStringIO import StringIO except ImportError: - from itertools import ifilterfalse from io import StringIO +try: + from itertools import ifilterfalse +except ImportError: + from itertools import filterfalse as ifilterfalse import re from rtkit import comment