From 1eed21e41af3ba046542dda58aaecdabc4f57653 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 23 Feb 2017 20:19:05 +0200 Subject: [PATCH] Update security message --- slpkg/messages.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/slpkg/messages.py b/slpkg/messages.py index 34e33aa2..c05248b3 100644 --- a/slpkg/messages.py +++ b/slpkg/messages.py @@ -134,11 +134,13 @@ class Msg(object): def security_pkg(self, pkg): """Warning message for some special reasons """ + print("") self.template(78) - print("| {0}{1} *** WARNING ***{2}\n" - "| Before proceed with package '{3}' will you must read the\n" - "| README file. You can use command 'slpkg -n {4}'").format( - " " * 20, self.meta.color["RED"], self.meta.color["ENDC"], + print("| {0}{1}*** WARNING ***{2}").format( + " " * 27, self.meta.color["RED"], self.meta.color["ENDC"]) + self.template(78) + print("| Before proceed with package '{0}' will you must read the\n" + "| README file. You can use command 'slpkg -n {1}'").format( pkg, pkg) self.template(78) print("")