From 60683be2a454aefcac019c5a92ec521702ea772c Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 12 May 2010 13:59:30 +0200 Subject: [PATCH] [entropy.server] remove \t usage --- libraries/entropy/server/interfaces/main.py | 6 +++--- libraries/entropy/server/interfaces/mirrors.py | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libraries/entropy/server/interfaces/main.py b/libraries/entropy/server/interfaces/main.py index f0b91f537..8b1b6f9ce 100644 --- a/libraries/entropy/server/interfaces/main.py +++ b/libraries/entropy/server/interfaces/main.py @@ -2455,7 +2455,7 @@ class ServerPackagesHandlingMixin: header = red(" @@ ") ) self.output( - "[%s] %s:\t%s" % ( + "[%s] %s: %s" % ( red(crippled_uri), brown(_("Number of checked packages")), brown(str(len(match) + len(not_match))), @@ -2465,7 +2465,7 @@ class ServerPackagesHandlingMixin: header = brown(" # ") ) self.output( - "[%s] %s:\t%s" % ( + "[%s] %s: %s" % ( red(crippled_uri), darkgreen(_("Number of healthy packages")), darkgreen(str(len(match))), @@ -2475,7 +2475,7 @@ class ServerPackagesHandlingMixin: header = brown(" # ") ) self.output( - "[%s] %s:\t%s" % ( + "[%s] %s: %s" % ( red(crippled_uri), darkred(_("Number of broken packages")), darkred(str(len(not_match))), diff --git a/libraries/entropy/server/interfaces/mirrors.py b/libraries/entropy/server/interfaces/mirrors.py index 26c7a1779..78cda17dd 100644 --- a/libraries/entropy/server/interfaces/mirrors.py +++ b/libraries/entropy/server/interfaces/mirrors.py @@ -2254,7 +2254,7 @@ class Server(ServerNoticeBoardMixin): header = red(" @@ ") ) self._entropy.output( - red("%s:\t\t%s %s" % ( + red("%s: %s %s" % ( blue(_("upload directory")), bold(str(upload_files)), red(_("files ready")), @@ -2265,7 +2265,7 @@ class Server(ServerNoticeBoardMixin): header = red(" @@ ") ) self._entropy.output( - red("%s:\t\t%s %s" % ( + red("%s: %s %s" % ( blue(_("packages directory")), bold(str(local_files)), red(_("files ready")), @@ -2339,7 +2339,7 @@ class Server(ServerNoticeBoardMixin): ) self._entropy.output( - "%s:\t\t\t%s" % ( + "%s: %s" % ( blue(_("Packages to be removed")), darkred(str(len(removal))), ), @@ -2348,7 +2348,7 @@ class Server(ServerNoticeBoardMixin): header = blue(" @@ ") ) self._entropy.output( - "%s:\t\t%s" % ( + "%s: %s" % ( darkgreen(_("Packages to be moved locally")), darkgreen(str(len(copy))), ), @@ -2357,7 +2357,7 @@ class Server(ServerNoticeBoardMixin): header = blue(" @@ ") ) self._entropy.output( - "%s:\t\t\t%s" % ( + "%s: %s" % ( bold(_("Packages to be uploaded")), bold(str(len(upload))), ), @@ -2367,7 +2367,7 @@ class Server(ServerNoticeBoardMixin): ) self._entropy.output( - "%s:\t\t\t%s" % ( + "%s: %s" % ( darkred(_("Total removal size")), darkred( entropy.tools.bytes_into_human(metainfo['removal']) @@ -2379,7 +2379,7 @@ class Server(ServerNoticeBoardMixin): ) self._entropy.output( - "%s:\t\t\t%s" % ( + "%s: %s" % ( blue(_("Total upload size")), blue(entropy.tools.bytes_into_human(metainfo['upload'])), ), @@ -2388,7 +2388,7 @@ class Server(ServerNoticeBoardMixin): header = blue(" @@ ") ) self._entropy.output( - "%s:\t\t\t%s" % ( + "%s: %s" % ( brown(_("Total download size")), brown(entropy.tools.bytes_into_human(metainfo['download'])), ), @@ -2456,7 +2456,7 @@ class Server(ServerNoticeBoardMixin): self._calculate_remote_package_files(uri, handler, repo = repo) self._entropy.output( - "%s:\t\t\t%s %s" % ( + "%s: %s %s" % ( blue(_("remote packages")), bold(str(remote_files)), red(_("files stored")),