浏览代码

Removing debug prints

Swaroop C H 12 年之前
父节点
当前提交
348ed68eac
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fabfile.py

+ 0 - 2
fabfile.py

@@ -212,11 +212,9 @@ def fix_links_to_other_chapters(chapter, chapters, all_headers):
                     "#{} does not exist, referred in {}".format(
                     header_id, chapter['file'])
                 other_chapter = chapters[all_headers[header_id]]
-                previous = link['href']
                 link['href'] = '{}#{}'.format(
                     other_chapter['link'],
                     header_id)
-                print("Replacing {} with {}".format(previous, link['href']))
     chapter['html'] = unicode(soup)