youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit c5d666d3741d076d668c16f0dd3601589484b7c3
parent 5d8993b06adb24b9c275a42a67dc6bbeae590407
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Wed,  7 Jan 2015 16:09:43 +0100

Fix build with python 2.6

* Packages cannot be executed
* '.format' needs the index of the argument

(Reported in https://github.com/Homebrew/homebrew/issues/35616)

Diffstat:
MMakefile | 2+-
Mdevscripts/make_supportedsites.py | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -63,7 +63,7 @@ youtube-dl: youtube_dl/*.py youtube_dl/*/*.py chmod a+x youtube-dl README.md: youtube_dl/*.py youtube_dl/*/*.py - COLUMNS=80 python -m youtube_dl --help | python devscripts/make_readme.py + COLUMNS=80 python youtube_dl/__main__.py --help | python devscripts/make_readme.py CONTRIBUTING.md: README.md python devscripts/make_contributing.py README.md CONTRIBUTING.md diff --git a/devscripts/make_supportedsites.py b/devscripts/make_supportedsites.py @@ -23,12 +23,12 @@ def main(): def gen_ies_md(ies): for ie in ies: - ie_md = '**{}**'.format(ie.IE_NAME) + ie_md = '**{0}**'.format(ie.IE_NAME) ie_desc = getattr(ie, 'IE_DESC', None) if ie_desc is False: continue if ie_desc is not None: - ie_md += ': {}'.format(ie.IE_DESC) + ie_md += ': {0}'.format(ie.IE_DESC) if not ie.working(): ie_md += ' (Currently broken)' yield ie_md