-prev_html = html(fullpath(current_key, current_blog_post))
-try:
- prev_mtime = os.path.getmtime(prev_html)
-except OSError:
- pass
-else:
- if current_mtime is not None and (prev_mtime < current_mtime):
- os.remove(prev_html)
+ prev_html = html(fullpath(current_key, current_blog_post))
+ try:
+ prev_mtime = os.path.getmtime(prev_html)
+ except OSError:
+ pass
+ else:
+ if current_mtime is not None and (prev_mtime < current_mtime):
+ os.remove(prev_html)