diff options
author | Tom Willemsen | 2011-11-05 02:50:21 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-11-05 02:50:21 +0100 |
commit | 0e14ef7f7c336d138c31a83845039cbea8dce4af (patch) | |
tree | 922eda7beb6e1b848ee5d3849825715cc3ad9931 | |
parent | 186d47fe849e03766427557a14ea1cd44c2c5623 (diff) | |
download | dotfiles-0e14ef7f7c336d138c31a83845039cbea8dce4af.tar.gz dotfiles-0e14ef7f7c336d138c31a83845039cbea8dce4af.zip |
Add some verbosity
-rw-r--r-- | pages/management/commands/parse_markdown.py | 7 |
1 files changed, 7 insertions, 0 deletions
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)): |