Update security message

This commit is contained in:
Dimitris Zlatanidis 2017-02-23 20:19:05 +02:00
parent aaaa96be7d
commit 1eed21e41a

View file

@ -134,11 +134,13 @@ class Msg(object):
def security_pkg(self, pkg): def security_pkg(self, pkg):
"""Warning message for some special reasons """Warning message for some special reasons
""" """
print("")
self.template(78) self.template(78)
print("| {0}{1} *** WARNING ***{2}\n" print("| {0}{1}*** WARNING ***{2}").format(
"| Before proceed with package '{3}' will you must read the\n" " " * 27, self.meta.color["RED"], self.meta.color["ENDC"])
"| README file. You can use command 'slpkg -n {4}'").format( self.template(78)
" " * 20, self.meta.color["RED"], self.meta.color["ENDC"], print("| Before proceed with package '{0}' will you must read the\n"
"| README file. You can use command 'slpkg -n {1}'").format(
pkg, pkg) pkg, pkg)
self.template(78) self.template(78)
print("") print("")