From 6333298fd72fb70bd6c295b8d1847a7539443a54 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Thu, 14 Sep 2006 22:39:41 +0000 Subject: [PATCH] - Replaced ... or ... or ... with ... in ... git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@356 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- client/beautifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/beautifier.py b/client/beautifier.py index 916a3f6b..8f20d452 100644 --- a/client/beautifier.py +++ b/client/beautifier.py @@ -80,7 +80,7 @@ class Beautifier: elif inC == ["stop"]: if response == None: msg = "Shutdown successful" - elif inC[2] == "logpath" or inC[2] == "addlogpath" or inC[2] == "dellogpath": + elif inC[2] in ("logpath", "addlogpath", "dellogpath"): msg = "Current monitored log file(s):\n" for path in response[:-1]: msg = msg + "|- " + path + "\n"