Mercurial > p > roundup > code
comparison roundup/install_util.py @ 4982:9ba03348f923
Remove roundup/anypy/hashlib_.py
The hashlib_ module was being used to provide backwards compatibility
for python v2.4. Roundup has dropped support for python v2.4 so we can
get rid of it.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 09 May 2014 17:32:44 +1000 |
| parents | 6e3e4f24c753 |
| children | 88cf5614e0f4 |
comparison
equal
deleted
inserted
replaced
| 4981:7f8f27ce1a06 | 4982:9ba03348f923 |
|---|---|
| 19 """Support module to generate and check fingerprints of installed files. | 19 """Support module to generate and check fingerprints of installed files. |
| 20 """ | 20 """ |
| 21 __docformat__ = 'restructuredtext' | 21 __docformat__ = 'restructuredtext' |
| 22 | 22 |
| 23 import os, shutil | 23 import os, shutil |
| 24 from roundup.anypy.hashlib_ import sha1 | 24 from hashlib import sha1 |
| 25 | 25 |
| 26 sgml_file_types = [".xml", ".ent", ".html"] | 26 sgml_file_types = [".xml", ".ent", ".html"] |
| 27 hash_file_types = [".py", ".sh", ".conf", ".cgi"] | 27 hash_file_types = [".py", ".sh", ".conf", ".cgi"] |
| 28 slast_file_types = [".css"] | 28 slast_file_types = [".css"] |
| 29 | 29 |
