backtrace when EMAIL env variable is not set

Bug #535414 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hydrazine
Fix Released
Low
Jelmer Vernooij

Bug Description

running feed-pqm without EMAIL set in the environment I get a rather nasty exception:

Traceback (most recent call last):
  File "./feed-pqm", line 165, in <module>
    sys.exit(main(sys.argv))
  File "./feed-pqm", line 157, in main
    send_mp(mp)
  File "./feed-pqm", line 98, in send_mp
    my_email = os.environ['EMAIL']
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'EMAIL'

Related branches

Martin Pool (mbp)
Changed in hydrazine:
status: New → In Progress
importance: Undecided → Low
Martin Packman (gz)
Changed in hydrazine:
assignee: nobody → Jelmer Vernooij (jelmer)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.