From f4788df9c39664dfcf38c599f6d9acab6b401c92 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 22 Nov 2014 19:10:48 +0200 Subject: Remove now-unused draft_name method --- jt | 3 --- 1 file changed, 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] -- cgit v1.2.1