Skip to content

Commit f392c97

Browse files
authored
Remove parens around logger.error params
As requested, I've just removed the parameters to logger.error from within the tuple.
1 parent ae9fef2 commit f392c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangosaml2/backends.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def _get_saml2_user(self, main_attribute, attributes, attribute_mapping):
188188
user = User.objects.get(**user_query_args)
189189
user = self.update_user(user, attributes, attribute_mapping)
190190
except User.DoesNotExist:
191-
logger.error('The user "%s" does not exist, searched %s', (main_attribute, django_user_main_attribute))
191+
logger.error('The user "%s" does not exist, searched %s', main_attribute, django_user_main_attribute)
192192
return None
193193
except MultipleObjectsReturned:
194194
logger.error("There are more than one user with %s = %s",

0 commit comments

Comments
 (0)