youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 9b14f51a3eaf5b63dad288e092d8a083dd931ceb
parent f4bfd65ff2bfce77a6953281c037ca8e516b7648
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Thu, 20 Dec 2012 13:14:27 +0100

Remove legacy code

Diffstat:
Myoutube_dl/FileDownloader.py | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py @@ -449,11 +449,6 @@ class FileDownloader(object): infofn = filename + u'.info.json' self.report_writeinfojson(infofn) try: - json.dump - except (NameError,AttributeError): - self.trouble(u'ERROR: No JSON encoder found. Update to Python 2.6+, setup a json module, or leave out --write-info-json.') - return - try: json_info_dict = dict((k, v) for k,v in info_dict.items() if not k in ['urlhandle']) write_json_file(json_info_dict, encodeFilename(infofn)) except (OSError, IOError):