From d3a568d769727f9c4e1e2e2644e9a77f9c5a0d12 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 16 Oct 2011 15:08:41 +0200 Subject: [PATCH] [eit.commands.files] add more output to command (show repo and matched atom) --- server/eit/commands/files.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/eit/commands/files.py b/server/eit/commands/files.py index 9979a66a5..7faa6d973 100644 --- a/server/eit/commands/files.py +++ b/server/eit/commands/files.py @@ -13,7 +13,7 @@ import sys import argparse from entropy.i18n import _ -from entropy.output import purple, darkgreen, blue, brown, teal +from entropy.output import bold, purple, darkgreen, blue, brown, teal from eit.commands.descriptor import EitCommandDescriptor from eit.commands.command import EitCommand @@ -83,6 +83,12 @@ class EitFiles(EitCommand): else: for path in files: entropy_server.output(path) + entropy_server.output( + "[%s] %s: %s %s" % ( + purple(pkg_repo), + darkgreen(atom), + bold(str(len(files))), + teal(_("files found")))) return exit_st