summaryrefslogtreecommitdiffstats
path: root/presentty/ansiparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'presentty/ansiparser.py')
-rw-r--r--presentty/ansiparser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/presentty/ansiparser.py b/presentty/ansiparser.py
index 4750b9e..11d9de6 100644
--- a/presentty/ansiparser.py
+++ b/presentty/ansiparser.py
@@ -13,9 +13,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+from __future__ import absolute_import, division, print_function
+
import re
import urwid
+from six.moves import range
class ANSIParser(object):
colors = [