summaryrefslogtreecommitdiff
path: root/dedup
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-02-23 18:19:35 +0100
committerHelmut Grohne <helmut@subdivi.de>2014-02-23 18:19:35 +0100
commit8d4c5512edbdcdd1063a7e6508f398a5a57981be (patch)
treee747725f537bb6d4499c1375a328b15a59411e8c /dedup
parent8ccd5205f77276b333c56efb8271a0ddf11590a0 (diff)
downloaddebian-dedup-8d4c5512edbdcdd1063a7e6508f398a5a57981be.tar.gz
spell check comments
Diffstat (limited to 'dedup')
-rw-r--r--dedup/hashing.py2
-rw-r--r--dedup/image.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/dedup/hashing.py b/dedup/hashing.py
index 70f6268..a8a46c7 100644
--- a/dedup/hashing.py
+++ b/dedup/hashing.py
@@ -115,7 +115,7 @@ class DecompressedHash(object):
class SuppressingHash(object):
"""A hash that silences exceptions from the update and hexdigest methods of
- a hashlib-like object. If an exception has occured, hexdigest always
+ a hashlib-like object. If an exception has occurred, hexdigest always
returns None."""
def __init__(self, hashobj, exceptions=()):
"""
diff --git a/dedup/image.py b/dedup/image.py
index c1f2de0..ef17989 100644
--- a/dedup/image.py
+++ b/dedup/image.py
@@ -4,7 +4,7 @@ import struct
import PIL.Image
class ImageHash(object):
- """A hash on the contents of an image datat type supported by PIL. This
+ """A hash on the contents of an image data type supported by PIL. This
disregards mode, depth and meta information. Note that due to limitations
in PIL and the image format (interlacing) the full contents are stored and
decoded in hexdigest."""