Commit 882908b2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove a local variable that is not used.

parent fe5fdd51
......@@ -342,7 +342,6 @@ class ERP5KeyAuthPlugin(ERP5UserManager, CookieAuthHelper):
if sm.getUser().getId() != SUPER_USER:
newSecurityManager(self, self.getUser(SUPER_USER))
portal = self.getPortalObject()
# get assignment list
assignment_list = [x for x in user.contentValues(portal_type="Assignment") \
if x.getValidationState() == "open"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment