summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-11-22 19:10:48 +0200
committerLars Wirzenius <liw@liw.fi>2014-11-22 19:10:48 +0200
commitf4788df9c39664dfcf38c599f6d9acab6b401c92 (patch)
tree67cd7d46204191f3e2422759191dcc889e07e987
parent59ee5ba950dca96d64ef11999e266da661edf8ba (diff)
downloadjt-f4788df9c39664dfcf38c599f6d9acab6b401c92.tar.gz
Remove now-unused draft_name method
-rwxr-xr-xjt3
1 files changed, 0 insertions, 3 deletions
diff --git a/jt b/jt
index 80c7041..67220e5 100755
--- a/jt
+++ b/jt
@@ -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]