Skip to content

Commit

Permalink
doc text
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Dec 14, 2024
1 parent 71e8cd6 commit 8c07782
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Products/zms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ def initialize(context):
standard.writeStdout(context, "add %s (Packed: %i -> %i Bytes)"%(fn, l0, l1))
fileobj.write(fc)
fileobj.close()
# Before closing minified file finally create hash
# of packed file content and write it into separate file
# Finally create hash value of packed file content:
# a. write it into separate file and
# b. create a configuration parameter
min_fileobj = open(fileobj.name, 'r')
min_hash = standard.encrypt_password(min_fileobj.read(),hex=True)
min_hash_fileobj = open(fileobj.name + '.hash', 'w')
Expand Down

0 comments on commit 8c07782

Please sign in to comment.