diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 19:11:35 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 19:11:35 +0200 |
commit | 94c6c0e24d8debd6d562af2fa0d8ffcf4dfd69b6 (patch) | |
tree | fbe9caf4ed2036a2c315368d0f36a06f3457d0ae /jt | |
parent | f4788df9c39664dfcf38c599f6d9acab6b401c92 (diff) | |
download | jt-94c6c0e24d8debd6d562af2fa0d8ffcf4dfd69b6.tar.gz |
Remove now-unused find_drafts method
Diffstat (limited to 'jt')
-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: |