diff options
author | Jesús <heckyel@hyperbola.info> | 2021-10-18 10:04:47 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-10-18 10:04:47 -0500 |
commit | cabfc066cb929d5496d984a0fde895a059dc0648 (patch) | |
tree | cc0ab44a1c6113c6116fa15e809204f98cee1e73 /devscripts/make_contributing.py | |
parent | d98d94032e3b45d4a1dc21404e2a520964aadedd (diff) | |
download | hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.tar.lz hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.tar.xz hypervideo-pre-cabfc066cb929d5496d984a0fde895a059dc0648.zip |
update from upstream
Diffstat (limited to 'devscripts/make_contributing.py')
-rwxr-xr-x | devscripts/make_contributing.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devscripts/make_contributing.py b/devscripts/make_contributing.py index 226d1a5d6..6b1b8219c 100755 --- a/devscripts/make_contributing.py +++ b/devscripts/make_contributing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import unicode_literals import io @@ -7,6 +7,8 @@ import re def main(): + return # This is unused in yt-dlp + parser = optparse.OptionParser(usage='%prog INFILE OUTFILE') options, args = parser.parse_args() if len(args) != 2: @@ -20,8 +22,7 @@ def main(): bug_text = re.search( r'(?s)#\s*BUGS\s*[^\n]*\s*(.*?)#\s*COPYRIGHT', readme).group(1) dev_text = re.search( - r'(?s)(#\s*DEVELOPER INSTRUCTIONS.*?)#\s*EMBEDDING YOUTUBE-DL', - readme).group(1) + r'(?s)(#\s*DEVELOPER INSTRUCTIONS.*?)#\s*EMBEDDING yt-dlp', readme).group(1) out = bug_text + dev_text |