From 8e7d14bae4d3c836f029a1235eb227380acc3f75 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 21:59:10 +0100 Subject: Fix plugins to work on 0.4.10 --- module/utils/printer.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 module/utils/printer.py (limited to 'module/utils/printer.py') diff --git a/module/utils/printer.py b/module/utils/printer.py deleted file mode 100644 index 5d333e238..000000000 --- a/module/utils/printer.py +++ /dev/null @@ -1,16 +0,0 @@ -# -*- coding: utf-8 -*- -# @author: vuolter - -import colorama - -colorama.init(autoreset=True) - -def color(color, text): - return colorama.Fore.(c.upper())(text) - -for c in colorama.Fore: - eval("%(color) = lambda msg: color(%(color), msg)" % {'color': c.lower()} - - -def overline(line, msg): - print "\033[%(line)s;0H\033[2K%(msg)s" % {'line': str(line), 'msg': msg} -- cgit v1.2.3