示例#1
0
文件: mail.py 项目: zxfly/trac
 def get_address_for_session(self, sid, authenticated):
     return get_session_attribute(self.env, sid, authenticated, 'email')
示例#2
0
文件: prefs.py 项目: rwbaumg/trac
def get_preferred_format(env, sid, authenticated, transport):
    return get_session_attribute(env, sid, authenticated,
                                 'notification.format.%s' % transport)