trimming the regex comment out since its superfluous and breaks PEP8

This commit is contained in:
techdragon 2013-08-22 20:05:39 +08:00
parent 1b9db71681
commit abc8df0ea0

View file

@ -94,7 +94,6 @@ class YoutubeBackend(VideoBackend):
Backend for YouTube URLs.
"""
re_code = re.compile(
# r'youtu(?:be\.com/watch\?v=|\.be/)(?P<code>[\w-]*)(&(amp;)?[\w\?=]*)?',
r'''youtu(\.?)be(\.com)?/ # match youtube's domains
(embed/)? # match the embed url syntax
(v/)?