fix a couple of easy bugs

Author Daniel Folkinshteyn <nanotube at users dot sourceforge dot net>
Author date 2009-04-23 03:39:52
Author local date 2009-04-22 23:39:52 -0400
Committer Daniel Folkinshteyn <nanotube at users dot sourceforge dot net>
Committer date 2009-04-23 03:39:52
Committer local date 2009-04-22 23:39:52 -0400
Commit 6ed57ae951689329f84b1af783026391157d52a4
Tree 656f344c30f9020dcb1a78940f9cc91ac6aab627
Parent 45bd64ebdf536df1c35d653d96ebb382aa046076
fix a couple of easy bugs

- make username getter more generic, looking at several likely environment variables.
- wrap email sending in a try/except, and pass on errors, to avoid hanging the email thread on network errors and such.
ViewGit