Mercurial > p > roundup > code
comparison roundup/install_util.py @ 406:bdc2ea127ae9
Added module docstrings to all modules.
| author | Jürgen Hermann <jhermann@users.sourceforge.net> |
|---|---|
| date | Thu, 22 Nov 2001 15:46:42 +0000 |
| parents | 2d92f93072f9 |
| children | fc461bf67c99 |
comparison
equal
deleted
inserted
replaced
| 405:f0b234ce301f | 406:bdc2ea127ae9 |
|---|---|
| 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.5 2001-11-12 23:17:38 jhermann Exp $ | 18 # $Id: install_util.py,v 1.6 2001-11-22 15:46:42 jhermann Exp $ |
| 19 | |
| 20 __doc__ = """ | |
| 21 Support module to generate and check fingerprints of installed files. | |
| 22 """ | |
| 19 | 23 |
| 20 import os, sha, shutil | 24 import os, sha, shutil |
| 21 | 25 |
| 22 sgml_file_types = [".xml", ".ent", ".html", ".filter", ".index", ".item"] | 26 sgml_file_types = [".xml", ".ent", ".html", ".filter", ".index", ".item"] |
| 23 hash_file_types = [".py", ".sh", ".conf", ".cgi", ''] | 27 hash_file_types = [".py", ".sh", ".conf", ".cgi", ''] |
| 143 if __name__ == '__main__': | 147 if __name__ == '__main__': |
| 144 test() | 148 test() |
| 145 | 149 |
| 146 # | 150 # |
| 147 # $Log: not supported by cvs2svn $ | 151 # $Log: not supported by cvs2svn $ |
| 152 # Revision 1.5 2001/11/12 23:17:38 jhermann | |
| 153 # Code using copyDigestedFile() that passes unit tests | |
| 154 # | |
| 148 # Revision 1.4 2001/11/12 23:14:40 jhermann | 155 # Revision 1.4 2001/11/12 23:14:40 jhermann |
| 149 # Copy function, and proper handling of unknown file types | 156 # Copy function, and proper handling of unknown file types |
| 150 # | 157 # |
| 151 # Revision 1.3 2001/11/12 22:38:48 richard | 158 # Revision 1.3 2001/11/12 22:38:48 richard |
| 152 # bleah typo | 159 # bleah typo |
