Add some verbosity
This commit is contained in:
parent
186d47fe84
commit
0e14ef7f7c
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,13 @@ class Command(BaseCommand):
|
||||||
htmlpath = '%s/templates/html_pages/%s' % (DEPLOY_PATH, mdname)
|
htmlpath = '%s/templates/html_pages/%s' % (DEPLOY_PATH, mdname)
|
||||||
htmlfile = '%s/index.html' % htmlpath
|
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) \
|
if mdtuple[1] == '.mdwn' and os.path.exists(mdfile) \
|
||||||
and (not os.path.exists(htmlfile) \
|
and (not os.path.exists(htmlfile) \
|
||||||
or os.path.getmtime(mdfile) > os.path.getmtime(htmlfile)):
|
or os.path.getmtime(mdfile) > os.path.getmtime(htmlfile)):
|
||||||
|
|
Loading…
Reference in a new issue