File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ def secret(self):
4949
5050 @property
5151 def identity_class (self ):
52- """ The identity class to use. """
52+ """The identity class to use."""
5353 return morepath .Identity
5454
5555 @property
@@ -104,13 +104,13 @@ def identify(self, request):
104104 return self .identity_class (userid , ** signatures )
105105
106106 def remember (self , response , request , identity ):
107- """ Stores the given identity in the cookies of the response. """
107+ """Stores the given identity in the cookies of the response."""
108108 for key in self .required_keys :
109109 signed_value = self .sign (getattr (identity , key ), salt = key )
110110 response .set_cookie (key , signed_value , ** self .cookie_settings )
111111
112112 def forget (self , response , request ):
113- """ Removes the identity from the cookies, basically forgetting it. """
113+ """Removes the identity from the cookies, basically forgetting it."""
114114 for key in self .required_keys :
115115 response .delete_cookie (key )
116116
You can’t perform that action at this time.
0 commit comments