From 826ae0186a508de901f3abd6b4bce0cca4cc0a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Thu, 28 Feb 2019 19:02:16 +0100 Subject: [PATCH] Fix linter failure in Maxima interop --- pymbolic/interop/maxima.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pymbolic/interop/maxima.py b/pymbolic/interop/maxima.py index 4be1dcf..14e9f5c 100644 --- a/pymbolic/interop/maxima.py +++ b/pymbolic/interop/maxima.py @@ -346,9 +346,9 @@ class MaximaKernel: raise MaximaError( "maxima asked a question and had to be restarted:\n%s\n%s\n%s" % (75*"-", txt.rstrip("\n"), 75*"-")) - else: - self.restart() - raise MaximaError("unexpected output from maxima, restarted") + + self.restart() + raise MaximaError("unexpected output from maxima, restarted") # }}} -- GitLab