Changeset - ea02c8b2b529
default
0
1
0
auth: prevent misuse of PermFunction in bool context
Evaluating a PermFunction as a boolean, rather than calling it, is
almost certainly an error. If not, "pf is not None" can be used.
Evaluating a PermFunction as a boolean, rather than calling it, is
almost certainly an error. If not, "pf is not None" can be used.
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)