Remove duplicates for md5 and keep only utils.md5
[osm/osmclient.git] / osmclient / common / utils.py
index 5336577..6279234 100644 (file)
@@ -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""):