diff options
author | Kevin Bowling <kbowling@FreeBSD.org> | 2021-04-12 13:33:27 -0700 |
---|---|---|
committer | Kevin Bowling <kbowling@FreeBSD.org> | 2021-04-12 13:34:54 -0700 |
commit | acbb2abb3369b1fbf4960872fbea1bd823714af1 (patch) | |
tree | b37813987adff2a0b7b4b05c3ad5fd98cd67ad82 /www/youtube_dlc/files/patch-youtube__dlc_____init____.py | |
parent | dns/credns: Remove from tree (diff) |
www/youtube_dlc: Remove, redirect users to www/yt-dlp
PR: 254375
Reported by: daniel.engberg.lists@pyret.net
Approved by: maintainer timeout
Diffstat (limited to 'www/youtube_dlc/files/patch-youtube__dlc_____init____.py')
-rw-r--r-- | www/youtube_dlc/files/patch-youtube__dlc_____init____.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/www/youtube_dlc/files/patch-youtube__dlc_____init____.py b/www/youtube_dlc/files/patch-youtube__dlc_____init____.py deleted file mode 100644 index 0f020f42de6c..000000000000 --- a/www/youtube_dlc/files/patch-youtube__dlc_____init____.py +++ /dev/null @@ -1,29 +0,0 @@ ---- youtube_dlc/__init__.py.orig 2021-02-19 21:44:01 UTC -+++ youtube_dlc/__init__.py -@@ -38,7 +38,6 @@ from .utils import ( - std_headers, - write_string, - ) --from .update import update_self - from .downloader import ( - FileDownloader, - ) -@@ -556,17 +555,9 @@ def _real_main(argv=None): - if opts.rm_cachedir: - ydl.cache.remove() - -- # Update version -- if opts.update_self: -- # If updater returns True, exit. Required for windows -- if update_self(ydl.to_screen, opts.verbose, ydl._opener): -- if actual_use: -- sys.exit('ERROR: The program must exit for the update to complete') -- sys.exit() -- - # Maybe do nothing - if not actual_use: -- if opts.update_self or opts.rm_cachedir: -+ if opts.rm_cachedir: - sys.exit() - - ydl.warn_if_short_id(sys.argv[1:] if argv is None else argv) |