1
0
Fork 0

[man] num variable wasn't used here

This commit is contained in:
nemunaire 2015-10-30 00:22:52 +01:00
parent f496c31d1c
commit 9935e038fc
1 changed files with 1 additions and 5 deletions

View File

@ -65,10 +65,6 @@ def cmd_whatis(msg):
res.append_message(" ".join(line.decode().split()))
if len(res.messages) <= 0:
if num is not None:
res.append_message("There is no entry %s in section %d." %
(msg.args[0], num))
else:
res.append_message("There is no man page for %s." % msg.args[0])
res.append_message("There is no man page for %s." % msg.args[0])
return res