diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 19:10:48 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 19:10:48 +0200 |
commit | f4788df9c39664dfcf38c599f6d9acab6b401c92 (patch) | |
tree | 67cd7d46204191f3e2422759191dcc889e07e987 | |
parent | 59ee5ba950dca96d64ef11999e266da661edf8ba (diff) | |
download | jt-tmp-f4788df9c39664dfcf38c599f6d9acab6b401c92.tar.gz |
Remove now-unused draft_name method
-rwxr-xr-x | jt | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -297,9 +297,6 @@ class JournalTool(cliapp.Application): def drafts_dir(self): return os.path.join(self.settings['source'], 'drafts') - def draft_name(self, draft_id): - return os.path.join(self.drafts_dir(), '%s.mdwn' % draft_id) - def edit_file(self, pathname): safe_pathname = cliapp.shell_quote(pathname) cmdline = ['sh', '-c', self.settings['editor'] % pathname] |