aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-02-02 22:30:13 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-02-02 22:30:13 +0100
commit87de7069b90a5154c8fb625510891cf3fff6f713 (patch)
treeeb8e5f24b831070c41bc1053dd55c67b598e4aa5 /youtube_dl/utils.py
parent6fba62c87a39686c0424ce9acd0fd29700a21076 (diff)
[utils] dfxp2srt: make TTMLPElementParser inherit from object
For consistency between python 2 and 3.
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
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):