chiark / gitweb /
Factorize editor handling.
authorYann Dirson <ydirson@altern.org>
Wed, 28 Feb 2007 08:41:55 +0000 (08:41 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 28 Feb 2007 08:41:55 +0000 (08:41 +0000)
commit83bb4e4cba222cb3f7701d5ab50cd6966c8b4dab
tree58b2c90da5fada42c88cd0ec28938c843bf7ea0b
parente0d32236084276e0e509180ab7629ab23aee11c5
Factorize editor handling.

At the same time we trap the editor error for all editor calls, not
just when called from "stg mail".  We may want to define a new
exception for this though.

Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/commands/mail.py
stgit/stack.py
stgit/utils.py