Changeset 10496
- Timestamp:
- 13 Aug 2013, 16:59:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.cas/trunk/waeup/cas/db.py
r10419 r10496 19 19 ts = Column(Float, nullable=False) 20 20 service = Column(String(2048), nullable=True) 21 user = Column(String(512), nullable= False)21 user = Column(String(512), nullable=True) 22 22 sso = Column(Boolean, nullable=False, default=True) 23 23 … … 32 32 33 33 def __repr__(self): 34 return "ServiceTicket('%s', '%s', '%s', %s, %s)" % ( 35 self.ticket, self.user, self.service, self.sso, self.ts) 34 return ( 35 "ServiceTicket(ticket='%s', user='%s', service='%s', " 36 "sso=%s, timestamp=%s)" % ( 37 self.ticket, self.user, self.service, self.sso, self.ts)) 36 38 37 39
Note: See TracChangeset for help on using the changeset viewer.