youtube-dl

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

commit c073e35b1ed738461eba5cc539923d8fa539b03a
parent 5c892b0ba963713bd75d1c85698a660d9bc4bb05
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue,  1 Jan 2013 19:34:54 +0100

Simplify test parameter initialization

Diffstat:
Mtest/test_download.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/test_download.py b/test/test_download.py @@ -74,9 +74,8 @@ def generator(test_case): print('Skipping: {0}'.format(test_case['skip'])) return - params = dict(self.parameters) # Duplicate it locally - for p in test_case.get('params', {}): - params[p] = test_case['params'][p] + params = self.parameters.copy() + params.update(test_case.get('params', {})) fd = FileDownloader(params) fd.add_info_extractor(ie())