Mercurial > p > roundup > code
comparison roundup/install_util.py @ 7230:8e118eb20d86
flake8 spacing changes, split multiple imports
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 19 Mar 2023 12:26:42 -0400 |
| parents | 6c7f03902e5a |
| children |
comparison
equal
deleted
inserted
replaced
| 7229:1dd48b540b35 | 7230:8e118eb20d86 |
|---|---|
| 12 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | 12 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
| 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 | 18 |
| 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 |
| 24 import shutil | |
| 24 from hashlib import sha1 | 25 from hashlib import sha1 |
| 25 | 26 |
| 26 from roundup.anypy.strings import s2b | 27 from roundup.anypy.strings import s2b |
| 27 | 28 |
| 28 sgml_file_types = [".xml", ".ent", ".html"] | 29 sgml_file_types = [".xml", ".ent", ".html"] |
