1 Subject: Remove autoupdate mechanism
4 From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
5 Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br>
6 Last-Update: 2018-03-16
10 youtube_dl/__init__.py | 8 ++-
11 youtube_dl/options.py | 2 +-
12 youtube_dl/update.py | 187 -------------------------------------------------
13 3 files changed, 6 insertions(+), 191 deletions(-)
14 delete mode 100644 youtube_dl/update.py
16 --- a/youtube_dl/__init__.py
17 +++ b/youtube_dl/__init__.py
19 with YoutubeDL(ydl_opts) as ydl:
22 - update_self(ydl.to_screen, opts.verbose, ydl._opener)
24 + "youtube-dl's self-update mechanism is disabled on Debian.\n"
25 + "Please update youtube-dl using apt(8)."
30 --- a/youtube_dl/options.py
31 +++ b/youtube_dl/options.py
35 action='store_true', dest='update_self',
36 - help='Update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)')
37 + help=optparse.SUPPRESS_HELP)
39 '-i', '--ignore-errors',
40 action='store_true', dest='ignoreerrors', default=False,