comparison roundup/install_util.py @ 3496:4ee255777c25

clean up digested_file_types [SF#1268303]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 25 Jan 2006 03:11:43 +0000
parents fc52d57c6c3e
children eddb82d0964c
comparison
equal deleted inserted replaced
3494:5a56abcf1b22 3496:4ee255777c25
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.11 2006-01-25 03:11:43 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/