equal
deleted
inserted
replaced
171 |
171 |
172 def dc_title(self): |
172 def dc_title(self): |
173 return self.login |
173 return self.login |
174 |
174 |
175 dc_long_title = name |
175 dc_long_title = name |
176 |
|
177 def __call__(self, *args, **kwargs): |
|
178 """ugly hack for compatibility betweeb dbapi and repo api |
|
179 |
|
180 In the dbapi, Connection and Session have a ``user`` method to |
|
181 generated a user for a request In the repo api, Connection and Session |
|
182 have a user attribute inherited from SessionRequestBase prototype. This |
|
183 ugly hack allows to not break user of the user method. |
|
184 |
|
185 XXX Deprecate me ASAP""" |
|
186 return self |
|