From 0b39d2d873679ef79816d16aed639c534ce4489f Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 6 Jan 2014 15:17:21 +0100 Subject: [PATCH] Coding style --- weboob/tools/application/repl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/tools/application/repl.py b/weboob/tools/application/repl.py index c01d68e4..7139b3b5 100644 --- a/weboob/tools/application/repl.py +++ b/weboob/tools/application/repl.py @@ -265,7 +265,7 @@ class ReplApplication(Cmd, ConsoleApplication): # remove backends that do not have the required method new_backend_names = [] for backend in backend_names: - if isinstance(backend, str) or isinstance(backend, unicode): + if isinstance(backend, (str, unicode)): actual_backend = self.weboob.get_backend(backend) else: actual_backend = backend