mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Remove debug output of dependency versions.
This commit is contained in:
parent
f4da821ab8
commit
1d2a00feab
4 changed files with 0 additions and 65 deletions
|
|
@ -26,21 +26,6 @@ __docformat__ = 'restructuredtext en'
|
|||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
try:
|
||||
import bs4
|
||||
logger.debug( "BS4 version: %s"%bs4.__version__)
|
||||
import html5lib
|
||||
logger.debug( "html5lib version: %s"%html5lib.__version__)
|
||||
import html2text
|
||||
logger.debug( "html2text version:")
|
||||
logger.debug( html2text.__version__)
|
||||
import chardet
|
||||
logger.debug( "chardet version: %s"%chardet.__version__)
|
||||
import six
|
||||
logger.debug( "six version: %s"%six.__version__)
|
||||
except:
|
||||
pass
|
||||
|
||||
import os, copy, threading, re, platform, sys
|
||||
from StringIO import StringIO
|
||||
from functools import partial
|
||||
|
|
|
|||
|
|
@ -115,21 +115,6 @@ def do_download_for_worker(book,options,merge,notification=lambda x,y:x):
|
|||
Child job, to download story when run as a worker job
|
||||
'''
|
||||
|
||||
try:
|
||||
import bs4
|
||||
logger.debug( "BS4 version: %s"%bs4.__version__)
|
||||
import html5lib
|
||||
logger.debug( "html5lib version: %s"%html5lib.__version__)
|
||||
import html2text
|
||||
logger.debug( "html2text version:")
|
||||
logger.debug( html2text.__version__)
|
||||
import chardet
|
||||
logger.debug( "chardet version: %s"%chardet.__version__)
|
||||
import six
|
||||
logger.debug( "six version: %s"%six.__version__)
|
||||
except:
|
||||
pass
|
||||
|
||||
from calibre_plugins.fanficfare_plugin import FanFicFareBase
|
||||
fffbase = FanFicFareBase(options['plugin_path'])
|
||||
with fffbase:
|
||||
|
|
|
|||
|
|
@ -148,24 +148,6 @@ def main(argv=None,
|
|||
if not options.debug:
|
||||
logger.setLevel(logging.WARNING)
|
||||
|
||||
|
||||
try:
|
||||
import bs4
|
||||
logger.debug( "BS4 version: %s"%bs4.__version__)
|
||||
import html5lib
|
||||
logger.debug( "html5lib version: %s"%html5lib.__version__)
|
||||
import html2text
|
||||
logger.debug( "html2text version:")
|
||||
logger.debug( html2text.__version__)
|
||||
import chardet
|
||||
logger.debug( "chardet version: %s"%chardet.__version__)
|
||||
import six
|
||||
logger.debug( "six version: %s"%six.__version__)
|
||||
import webencodings
|
||||
logger.debug( "webencodings version: %s"%webencodings.VERSION)
|
||||
except:
|
||||
pass
|
||||
|
||||
list_only = any((options.imaplist,
|
||||
options.siteslist,
|
||||
options.list,
|
||||
|
|
|
|||
|
|
@ -317,23 +317,6 @@ class AllRecentFilesServer(webapp2.RequestHandler):
|
|||
fics = q.fetch(200)
|
||||
logging.info("Recent fetched %d downloads for user %s."%(len(fics),user.nickname()))
|
||||
|
||||
try:
|
||||
import bs4
|
||||
logging.debug( "BS4 version: %s"%bs4.__version__)
|
||||
import html5lib
|
||||
logging.debug( "html5lib version: %s"%html5lib.__version__)
|
||||
import html2text
|
||||
logging.debug( "html2text version:")
|
||||
logging.debug( html2text.__version__)
|
||||
import chardet
|
||||
logging.debug( "chardet version: %s"%chardet.__version__)
|
||||
import six
|
||||
logging.debug( "six version: %s"%six.__version__)
|
||||
import webencodings
|
||||
logging.debug( "webencodings version: %s"%webencodings.VERSION)
|
||||
except:
|
||||
pass
|
||||
|
||||
sendslugs = []
|
||||
|
||||
for fic in fics:
|
||||
|
|
|
|||
Loading…
Reference in a new issue