- except (IOError, ParsingError, NoSectionError, CmdException,
- StackException, GitException, GitMergeException,
- EditorException), err:
- print >> sys.stderr, '%s %s: %s' % (prog, cmd, err)
+ except (StgException, IOError, ParsingError, NoSectionError), err:
+ out.error(str(err), title = '%s %s' % (prog, cmd))