equal
deleted
inserted
replaced
895 unicode(self.user.login), self.id, id(self)) |
895 unicode(self.user.login), self.id, id(self)) |
896 |
896 |
897 @property |
897 @property |
898 def sessionid(self): |
898 def sessionid(self): |
899 return self.id |
899 return self.id |
|
900 |
|
901 @property |
|
902 def login(self): |
|
903 # XXX backward compat with dbapi. deprecate me ASAP. |
|
904 return self.user.login |
900 |
905 |
901 def get_cnx(self, cnxid): |
906 def get_cnx(self, cnxid): |
902 """return the <cnxid> connection attached to this session |
907 """return the <cnxid> connection attached to this session |
903 |
908 |
904 Connection is created if necessary""" |
909 Connection is created if necessary""" |