Lokaltog/powerline — pull request #178 by gburch (2013-02-06 04:17:48+00:00)
Title: Fix IMAP segment

I needed these changes to get the imap email segment working. I was getting AttributeError's in several places before. This works fine with gmail (which is the default) on 3 of my accounts. Also I return just the unread_count vs the hash. Not sure the best practice there but it seemed overkill to hard code the highlight group.