Move the downloader return code to a class member
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Thu, 23 Apr 2009 19:43:04 +0000 (21:43 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:08 +0000 (11:24 +0100)
commit9bf386d74bdc3e1785df03e24a7f875482b43705
treeb165690ad17872613c14de23c2053adf0db33b23
parent2f4d18a9f78f9d18635c6047e56b33c689b8d026
Move the downloader return code to a class member

This makes it possible to initialize it with value zero and later let the
trouble() overwrite the value. It simplifies error treatment and paves the way
for the InfoExtracto objects to call process_info() themselves, which should
solve the issues with tor and some other problems.
youtube-dl