summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-17 20:10:53 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-17 20:10:53 +0000
commit1479a2324832fd7ab43a19ba0ef52670904dfdb7 (patch)
treeb6403cf756644e551e9d66f1f88ffea47112e9d2
parente0cc9415a669e965aa95a0dab02e37dfa07f4bb4 (diff)
downloadportage-1479a2324832fd7ab43a19ba0ef52670904dfdb7.tar.gz
portage-1479a2324832fd7ab43a19ba0ef52670904dfdb7.tar.bz2
portage-1479a2324832fd7ab43a19ba0ef52670904dfdb7.zip
More eblank.v2.1.5.6
svn path=/main/branches/2.1.2/; revision=10703
-rw-r--r--pym/elog_modules/mod_echo.py3
-rw-r--r--pym/output.py14
2 files changed, 1 insertions, 16 deletions
diff --git a/pym/elog_modules/mod_echo.py b/pym/elog_modules/mod_echo.py
index f064a0dc0..5b13c924f 100644
--- a/pym/elog_modules/mod_echo.py
+++ b/pym/elog_modules/mod_echo.py
@@ -33,8 +33,7 @@ def finalize(mysettings=None):
"WARN": printer.ewarn,
"ERROR": printer.eerror,
"LOG": printer.einfo,
- "QA": printer.ewarn,
- "BLANK": printer.eblank}
+ "QA": printer.ewarn}
for line in msgcontent:
fmap[msgtype](line.strip("\n"))
_items = []
diff --git a/pym/output.py b/pym/output.py
index ff2944bc2..c00ab00d4 100644
--- a/pym/output.py
+++ b/pym/output.py
@@ -485,20 +485,6 @@ class EOutput:
sys.stdout.flush()
self.__last_e_cmd = "ewarn"
- def eblank(self, msg):
- """
- Shows a blank line. Consecutive eblank calls are all collapsed
- into a single blank line.
- """
- if self.__last_e_cmd == "eblank":
- return
- if not self.quiet:
- if self.__last_e_cmd == "ebegin":
- sys.stdout.write("\n")
- sys.stdout.write(colorize("BLANK", " * ") + "\n")
- sys.stdout.flush()
- self.__last_e_cmd = "eblank"
-
def ewend(self, errno, *msg):
"""
Indicates the completion of a process, optionally displaying a message