shad7 / seedbox

Seedbox Task Manager
http://shad7.github.io/seedbox
MIT License
10 stars 0 forks source link

Health Improvements #11

Closed shad7 closed 9 years ago

shad7 commented 9 years ago

seedbox/torrent/parser.py Line 194 Character 26 raise IOError('No file found at %s'.format(torrent_file_path)) Too many arguments for format string

seedbox/process/flow.py Line 141 Character 8 LOG.debug('torrent: %s' % self.torrent) Specify string format arguments as logging function parameters

seedbox/torrent/parser.py Line 211 Character 21 LOG.info('bencode.bdecode failed: ({0});' Use % formatting in logging functions but pass the % parameters as arguments

seedbox/torrent/parser.py Line 272 Character 22 LOG.debug('files: |{0}|'.format(multiple_files_info)) Use % formatting in logging functions but pass the % parameters as arguments

seedbox/torrent/parser.py Line 277 Character 26 LOG.debug('dirname: |{0}|'.format(dir_name)) Use % formatting in logging functions but pass the % parameters as arguments

seedbox/torrent/parser.py Line 279 Character 30 LOG.debug('file_info: |{0}|'.format(file_info)) Use % formatting in logging functions but pass the % parameters as arguments

shad7 commented 9 years ago

pep8 issues related to switch from flake8 to hacking

shad7 commented 9 years ago

fixed with commit a1899bd34eafba71d51b74cc430ee58c3dd0c64c