From fe0a02e3eccc93eb5547154bd98089f823429642 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 22 Nov 2014 18:11:24 +0200 Subject: Remove useless code (cf. self.settings.require) --- jt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jt b/jt index d9a0b07..c784411 100755 --- a/jt +++ b/jt @@ -91,10 +91,6 @@ class JournalTool(cliapp.Application): self.settings.require('source') self.settings.require('layout') - if not self.settings['source']: - raise cliapp.AppException( - 'The --source setting is empty or missing.') - if not os.path.exists(self.drafts_dir()): os.mkdir(self.drafts_dir()) -- cgit v1.2.1