From 9935e038fc88140ed34a7888b5da753f8dd4ce99 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Fri, 30 Oct 2015 00:22:52 +0100 Subject: [PATCH] [man] num variable wasn't used here --- modules/man.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/man.py b/modules/man.py index 31ed9f2..7e7b715 100644 --- a/modules/man.py +++ b/modules/man.py @@ -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