diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-10-30 11:19:11 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-10-30 11:19:11 +0000 |
commit | 39f4217b61567556ae2dfa936a07e797bbd997e1 (patch) | |
tree | 9617355f3a6e336fbc1d8828b79831d0907ce3b7 | |
parent | 97755806efc52658a8eef434f3510fcc9e75d0b7 (diff) | |
parent | 0a1d06d6ecea1c6ebda980fb91339fe0363ff52f (diff) | |
download | jt-39f4217b61567556ae2dfa936a07e797bbd997e1.tar.gz |
Merge remote-tracking branch 'origin/kinnison/editor'
This is useful to get terminal editors to work.
-rwxr-xr-x | jt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ class JournalTool(cliapp.Application): def edit_file(self, pathname): safe_pathname = cliapp.shell_quote(pathname) cmdline = ['sh', '-c', self.settings['editor'] % pathname] - self.runcmd(cmdline) + self.runcmd(cmdline, stdin=None, stdout=None, stderr=None) def cmd_list(self, args): '''List journal entry drafts.''' |