Remove the --max-quality option
[youtube-dl] / youtube_dl / utils.py
index edeee1853e30c2b409fe53809ae7912e7966446c..c69d3e165fc1fa9b0d19c029ee74ae41a1c49d3f 100644 (file)
@@ -1109,15 +1109,6 @@ def shell_quote(args):
     return ' '.join(quoted_args)
 
 
-def takewhile_inclusive(pred, seq):
-    """ Like itertools.takewhile, but include the latest evaluated element
-        (the first element so that Not pred(e)) """
-    for e in seq:
-        yield e
-        if not pred(e):
-            return
-
-
 def smuggle_url(url, data):
     """ Pass additional data in a URL for internal use. """