server/session.py
changeset 9050 635862b48485
parent 9049 9d62d53b49df
child 9052 4cba5f2cd57b
--- a/server/session.py	Fri Jun 21 15:47:01 2013 +0200
+++ b/server/session.py	Mon Jun 24 18:00:20 2013 +0200
@@ -898,6 +898,11 @@
     def sessionid(self):
         return self.id
 
+    @property
+    def login(self):
+        # XXX backward compat with dbapi. deprecate me ASAP.
+        return self.user.login
+
     def get_cnx(self, cnxid):
         """return the <cnxid> connection attached to this session