Mercurial > p > roundup > code
diff roundup/install_util.py @ 385:66e18fd9f5a2
bleah typo
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 12 Nov 2001 22:38:48 +0000 |
| parents | a72ad731b2cb |
| children | c066d3c91728 |
line wrap: on
line diff
--- a/roundup/install_util.py Mon Nov 12 22:37:13 2001 +0000 +++ b/roundup/install_util.py Mon Nov 12 22:38:48 2001 +0000 @@ -15,7 +15,7 @@ # 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 @@ -37,6 +37,7 @@ fingerprint = fingerprint.replace('-->', '') fingerprint = fingerprint.strip() elif lines[-1][:8] == "/* SHA: ": + # handle css files fingerprint = lines[-1][8:] fingerprint = fingerprint.replace('*/', '') fingerprint = fingerprint.strip() @@ -76,7 +77,7 @@ 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() @@ -108,6 +109,9 @@ # # $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) #
