From 0e14ef7f7c336d138c31a83845039cbea8dce4af Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sat, 5 Nov 2011 02:50:21 +0100 Subject: Add some verbosity --- pages/management/commands/parse_markdown.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/management/commands/parse_markdown.py b/pages/management/commands/parse_markdown.py index 500087a..38fc7ea 100644 --- a/pages/management/commands/parse_markdown.py +++ b/pages/management/commands/parse_markdown.py @@ -18,6 +18,13 @@ class Command(BaseCommand): htmlpath = '%s/templates/html_pages/%s' % (DEPLOY_PATH, mdname) htmlfile = '%s/index.html' % htmlpath + if options['verbosity'] == '3': + print 'Subdir: ', subdir + print 'Mdfile: ', mdfile + print 'Mdtuple: ', mdtuple + print 'Htmlpath: ', htmlpath + print 'Htmlfile: ', htmlfile + if mdtuple[1] == '.mdwn' and os.path.exists(mdfile) \ and (not os.path.exists(htmlfile) \ or os.path.getmtime(mdfile) > os.path.getmtime(htmlfile)): -- cgit v1.2.3-54-g00ecf