projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/master' into paas
[osm/osmclient.git]
/
osmclient
/
common
/
utils.py
diff --git
a/osmclient/common/utils.py
b/osmclient/common/utils.py
index
5336577
..
6279234
100644
(file)
--- a/
osmclient/common/utils.py
+++ b/
osmclient/common/utils.py
@@
-47,6
+47,11
@@
def validate_uuid4(uuid_text):
def md5(fname):
+ """
+ Checksum generator
+ :param fname: file path
+ :return: checksum string
+ """
hash_md5 = hashlib.md5()
with open(fname, "rb") as f:
for chunk in iter(lambda: f.read(4096), b""):