Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sonarcloud): use None for verification_token_user_full_name w/o user
fix SonarCloud code bug pythonbugs:S2259: > Fix this attribute access on a value that can be 'None'. > Attributes should not be accessed on "None" values pythonbugs:S2259 See rule: https://rules.sonarsource.com/python/RSPEC-2259/ Previously obj.user.username was tried to be accessed when obj.user was None. Now return None when obj.user is None as there's no user, and thus no username to return either. refs KK-1416
- Loading branch information