diff --git a/overlays/getmail6/getmail-read-exec-from-path.patch b/overlays/getmail6/getmail-read-exec-from-path.patch index 6a9455d..a85ab36 100644 --- a/overlays/getmail6/getmail-read-exec-from-path.patch +++ b/overlays/getmail6/getmail-read-exec-from-path.patch @@ -34,7 +34,7 @@ index 2d25558..d7adeba 100755 + # if not os.access(self.conf['path'], os.X_OK): + # raise getmailConfigurationError('%s not executable' + # % self.conf['path']) - if type(self.conf['arguments']) != tuple: + if not isinstance(self.conf['arguments'], tuple): raise getmailConfigurationError( 'incorrect arguments format; see documentation (%s)' diff --git a/getmailcore/filters.py b/getmailcore/filters.py