diff roundup/rest.py @ 7569:940f06dac1b4

flake8: add space between raise and (
author John Rouillard <rouilj@ieee.org>
date Sun, 23 Jul 2023 23:23:17 -0400
parents 5775d2c4a846
children 26ef5054e510
line wrap: on
line diff
--- a/roundup/rest.py	Sun Jul 23 23:21:57 2023 -0400
+++ b/roundup/rest.py	Sun Jul 23 23:23:17 2023 -0400
@@ -567,7 +567,7 @@
                             'Multilink Traversal not allowed: %s' % p)
                     # Now we have the classname in cn and the prop name in pn.
                     if not self.db.security.hasPermission('View', uid, cn, pn):
-                        raise(Unauthorised
+                        raise (Unauthorised
                             ('User does not have permission on "%s.%s"'
                             % (cn, pn)))
                     try:

Roundup Issue Tracker: http://roundup-tracker.org/