From df8301fef55f9144f06337c10b8570b6560caa24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 30 Apr 2015 20:18:42 +0200 Subject: [PATCH] [YoutubeDL] pep8: use 'k not in' instead of 'not k in' --- youtube_dl/YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index e747c6892d..584dbf8a6e 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1339,7 +1339,7 @@ def process_info(self, info_dict): self.to_screen('[info] Writing video description metadata as JSON to: ' + infofn) filtered_info_dict = dict( (k, v) for k, v in info_dict.items() - if not k in ['requested_formats', 'requested_subtitles']) + if k not in ['requested_formats', 'requested_subtitles']) try: write_json_file(filtered_info_dict, infofn) except (OSError, IOError):