comparison roundup/install_util.py @ 3497:897ac2dab754 maint-0.8

merge from HEAD
author Richard Jones <richard@users.sourceforge.net>
date Wed, 25 Jan 2006 03:12:41 +0000
parents fc52d57c6c3e
children
comparison
equal deleted inserted replaced
3495:d92844be9612 3497:897ac2dab754
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: install_util.py,v 1.10 2004-02-11 23:55:08 richard Exp $ 18 # $Id: install_util.py,v 1.10.4.1 2006-01-25 03:12:41 richard Exp $
19 19
20 """Support module to generate and check fingerprints of installed files. 20 """Support module to generate and check fingerprints of installed files.
21 """ 21 """
22 __docformat__ = 'restructuredtext' 22 __docformat__ = 'restructuredtext'
23 23
24 import os, sha, shutil 24 import os, sha, shutil
25 25
26 # ".filter", ".index", ".item", ".newitem" are roundup-specific 26 sgml_file_types = [".xml", ".ent", ".html"]
27 sgml_file_types = [".xml", ".ent", ".html", ".filter", ".index", ".item", ".newitem"] 27 hash_file_types = [".py", ".sh", ".conf", ".cgi"]
28 hash_file_types = [".py", ".sh", ".conf", ".cgi", '']
29 slast_file_types = [".css"] 28 slast_file_types = [".css"]
30 29
31 digested_file_types = sgml_file_types + hash_file_types + slast_file_types 30 digested_file_types = sgml_file_types + hash_file_types + slast_file_types
32 31
33 def extractFingerprint(lines): 32 def extractFingerprint(lines):

Roundup Issue Tracker: http://roundup-tracker.org/