aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/make_contributing.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-10-18 10:04:47 -0500
committerJesús <heckyel@hyperbola.info>2021-10-18 10:04:47 -0500
commitcabfc066cb929d5496d984a0fde895a059dc0648 (patch)
treecc0ab44a1c6113c6116fa15e809204f98cee1e73 /devscripts/make_contributing.py
parentd98d94032e3b45d4a1dc21404e2a520964aadedd (diff)
downloadhypervideo-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-xdevscripts/make_contributing.py7
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