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