projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb02834
)
Strip newline from version
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Tue, 22 Jul 2008 21:02:42 +0000
(23:02 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:23:31 +0000
(11:23 +0100)
generate-index
patch
|
blob
|
history
diff --git
a/generate-index
b/generate-index
index 324001cae0fc10ef6cdad92b446531f2542f62c4..f8f940e4cb14fee306f1d4d849477aa892dc13f4 100755
(executable)
--- 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()