Skip to content

Instantly share code, notes, and snippets.

@damnit
Created September 25, 2014 07:59
Show Gist options
  • Select an option

  • Save damnit/7f3495befbbc25c42d3f to your computer and use it in GitHub Desktop.

Select an option

Save damnit/7f3495befbbc25c42d3f to your computer and use it in GitHub Desktop.
Get mail address from trac session
from trac.web.session import Session
ses = Session(self.env, req)
email = ses.get('email')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment