fix messages

This commit is contained in:
Dimitris Zlatanidis 2014-08-27 06:32:11 +03:00
parent 7c58bf668c
commit cdf3091aae
3 changed files with 3 additions and 6 deletions

View file

@ -99,5 +99,4 @@ def pkg_tracking(name):
else: else:
sys.stdout.write("Done\n") sys.stdout.write("Done\n")
message = "From slackbuilds.org" message = "From slackbuilds.org"
bol, eol = "\n", "\n" pkg_not_found("\n", name, message, "\n")
pkg_not_found(bol, name, message, eol)

View file

@ -168,8 +168,7 @@ def sbo_build(name):
else: else:
sys.stdout.write("Done\n") sys.stdout.write("Done\n")
message = "From slackbuilds.org" message = "From slackbuilds.org"
bol, eol = "\n", "\n" pkg_not_found("\n", name, message, "\n")
pkg_not_found(bol, name, message, eol)
except KeyboardInterrupt: except KeyboardInterrupt:
print # new line at exit print # new line at exit
sys.exit() sys.exit()

View file

@ -144,6 +144,5 @@ def sbo_network(name):
else: else:
sys.stdout.write ("Done\n") sys.stdout.write ("Done\n")
message = "From slackbuilds.org" message = "From slackbuilds.org"
bol, eol = "\n", "\n" pkg_not_found("\n", name, message, "\n")
pkg_not_found(bol, name, message, eol)