youtube-dl

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

commit 3c53b78720fa68ca801e026d981940387a2cb733
parent bb028346923a1b53bb8852ded546e08a1516dd49
Author: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date:   Tue, 22 Jul 2008 23:02:42 +0200

Strip newline from version

Diffstat:
Mgenerate-index | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generate-index b/generate-index @@ -3,7 +3,7 @@ import hashlib import subprocess template = file('index.html.in', 'r').read() -version = subprocess.Popen(['./youtube-dl', '--version'], stdout=subprocess.PIPE).communicate()[0] +version = subprocess.Popen(['./youtube-dl', '--version'], stdout=subprocess.PIPE).communicate()[0].strip() data = file('youtube-dl', 'rb').read() md5sum = hashlib.md5(data).hexdigest() sha1sum = hashlib.sha1(data).hexdigest()