summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17e0309)
raw | patch | inline | side by side (parent: 17e0309)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 12 Nov 2001 22:38:48 +0000 (22:38 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 12 Nov 2001 22:38:48 +0000 (22:38 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@396 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/install_util.py | patch | blob | history |
index bbf1edf52cf3b326906cb866b7d6d21a4a2da42d..da82bca717695e52fa567952a4e60a97bf104ee3 100644 (file)
--- a/roundup/install_util.py
+++ b/roundup/install_util.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: install_util.py,v 1.2 2001-11-12 22:37:13 richard Exp $
+# $Id: install_util.py,v 1.3 2001-11-12 22:38:48 richard Exp $
import os, sha
fingerprint = fingerprint.replace('-->', '')
fingerprint = fingerprint.strip()
elif lines[-1][:8] == "/* SHA: ":
+ # handle css files
fingerprint = lines[-1][8:]
fingerprint = fingerprint.replace('*/', '')
fingerprint = fingerprint.strip()
elif ext in [".py", ".sh", ".conf", ".cgi", '']:
self.file.write("#SHA: %s\n" % (self.digest.hexdigest(),))
elif ext in [".css"]:
- self.file.write("/* SHA: %s %/\n" % (self.digest.hexdigest(),))
+ self.file.write("/* SHA: %s */\n" % (self.digest.hexdigest(),))
self.file.close()
#
# $Log: not supported by cvs2svn $
+# Revision 1.2 2001/11/12 22:37:13 richard
+# Handle all the various file formats in roundup
+#
# Revision 1.1 2001/11/12 22:26:32 jhermann
# Added install utils (digest calculation)
#