diff --git a/SoObjects/SOGo/gen-saml2-exceptions.py b/SoObjects/SOGo/gen-saml2-exceptions.py index 3738f6750..74450c34e 100755 --- a/SoObjects/SOGo/gen-saml2-exceptions.py +++ b/SoObjects/SOGo/gen-saml2-exceptions.py @@ -106,7 +106,7 @@ def FindHFile(args, filename): found = full_filename if found is None: - raise Exception, "'%s' not found in include dirs" % filename + raise Exception("'%s' not found in include dirs" % filename) return found