فهرست منبع

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)