From 87de7069b90a5154c8fb625510891cf3fff6f713 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Tue, 2 Feb 2016 22:30:13 +0100 Subject: [PATCH] [utils] dfxp2srt: make TTMLPElementParser inherit from object For consistency between python 2 and 3. --- youtube_dl/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 18dbe28bb..4262ad6ac 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -2017,7 +2017,7 @@ def dfxp2srt(dfxp_data): 'ttaf1': 'http://www.w3.org/2006/10/ttaf1', }) - class TTMLPElementParser: + class TTMLPElementParser(object): out = '' def start(self, tag, attrib): -- 2.39.5