diff options
-rwxr-xr-x | jt | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -306,13 +306,6 @@ class JournalTool(cliapp.Application): '''List journal entry drafts.''' ListCommand(self).run(args) - def find_drafts(self): - drafts_dir = self.drafts_dir() - for name in os.listdir(drafts_dir): - # .# is what Emacs autosave files start with. - if name.endswith('.mdwn') and not name.startswith('.#'): - yield name[:-len('.mdwn')], os.path.join(drafts_dir, name) - def get_draft_title(self, filename): with open(filename) as f: for line in f: |