aboutsummaryrefslogtreecommitdiffhomepage
path: root/devscripts
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2015-01-07 16:09:43 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2015-01-07 16:09:43 +0100
commitc5d666d3741d076d668c16f0dd3601589484b7c3 (patch)
tree8fa68102dd003e4427c25db3c5f4abf163c091c7 /devscripts
parent5d8993b06adb24b9c275a42a67dc6bbeae590407 (diff)
downloadyoutube-dl-c5d666d3741d076d668c16f0dd3601589484b7c3.tar.gz
youtube-dl-c5d666d3741d076d668c16f0dd3601589484b7c3.zip
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 (limited to 'devscripts')
-rw-r--r--devscripts/make_supportedsites.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devscripts/make_supportedsites.py b/devscripts/make_supportedsites.py
index 140010644..3df4385a6 100644
--- 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