mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
Add debug message when calculating MD5 checksum
This commit is contained in:
parent
658bfb7624
commit
af83adfdf6
@ -167,6 +167,7 @@ def md5sum(path, stopped_event=None):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
m = hashlib.md5()
|
m = hashlib.md5()
|
||||||
|
log.debug("Calculating MD5 sum of `{}`".format(path))
|
||||||
with open(path, 'rb') as f:
|
with open(path, 'rb') as f:
|
||||||
while True:
|
while True:
|
||||||
if stopped_event is not None and stopped_event.is_set():
|
if stopped_event is not None and stopped_event.is_set():
|
||||||
|
Loading…
Reference in New Issue
Block a user