From 9cb62c641bf693272f9ec7d5a3f4dd70c16f7d2c Mon Sep 17 00:00:00 2001 From: cgrigis <20282170+cgrigis@users.noreply.github.com> Date: Fri, 9 Jun 2023 21:33:49 +0200 Subject: [PATCH] Fix syntax errors (#2) --- plugins/dool_mysql_keys.py | 2 +- plugins/dool_squid.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dool_mysql_keys.py b/plugins/dool_mysql_keys.py index 763e3cb..640a830 100644 --- a/plugins/dool_mysql_keys.py +++ b/plugins/dool_mysql_keys.py @@ -38,7 +38,7 @@ def extract(self): for name in self.vars: self.val[name] = -1 except Exception as e: - if op.debug > 1: print('%s: exception' (self.filename, e)) + if op.debug > 1: print('%s: exception %s' % (self.filename, e)) for name in self.vars: self.val[name] = -1 # vim:ts=4:sw=4:et diff --git a/plugins/dool_squid.py b/plugins/dool_squid.py index c864cf5..7e8f535 100644 --- a/plugins/dool_squid.py +++ b/plugins/dool_squid.py @@ -45,7 +45,7 @@ def extract(self): if op.debug > 1: print('%s: lost pipe to squidclient, %s' % (self.filename, e)) for name in self.vars: self.val[name] = -1 except Exception as e: - if op.debug > 1: print('%s: exception' (self.filename, e)) + if op.debug > 1: print('%s: exception %s' % (self.filename, e)) for name in self.vars: self.val[name] = -1 # vim:ts=4:sw=4:et