Skip to content

Commit a7b1143

Browse files
committed
Add parentheses for readability
1 parent 90f0ed9 commit a7b1143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplepam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def my_conv(n_messages, messages, p_response, app_data):
149149
return False
150150

151151
retval = pam_authenticate(handle, 0)
152-
auth_success = retval == 0
152+
auth_success = (retval == 0)
153153

154154
# Re-initialize credentials (for Kerberos users, etc)
155155
# Don't check return code of pam_setcred(), it shouldn't matter

0 commit comments

Comments
 (0)