Fix editor spawning on null-string EDITOR and VISUAL.
authorW. Trevor King <wking@drexel.edu>
Fri, 29 Jan 2010 12:32:41 +0000 (07:32 -0500)
committerW. Trevor King <wking@drexel.edu>
Fri, 29 Jan 2010 12:32:41 +0000 (07:32 -0500)
commit12a948ddf009fb2510eda5be4f576dc3e7de401f
tree4de86d5d9819447f186fa457f4458835ece931cc
parentdcd4b86abb46f5763de1ac1b57d3bf4a9891c4a3
Fix editor spawning on null-string EDITOR and VISUAL.

  $ EDITOR= VISUAL= python -c 'import os; import sys; print os.environ'
  {..., 'EDITOR': '', ..., 'VISUAL': '', ...}
libbe/ui/util/editor.py