[mousetrap/gnome3-wip: 216/240] Remove supurfluous methods.



commit db3e51ae57504049068b3937df47d98699dd5db5
Author: Stoney Jackson <dr stoney gmail com>
Date:   Mon Jun 30 09:24:55 2014 -0400

    Remove supurfluous methods.

 src/mousetrap/image.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/mousetrap/image.py b/src/mousetrap/image.py
index 1eed2be..02a714b 100644
--- a/src/mousetrap/image.py
+++ b/src/mousetrap/image.py
@@ -36,12 +36,6 @@ class Image(object):
     def get_height(self):
         return self._image_cv.shape[1]
 
-    def __hash__(self):
-        return id(self)
-
-    def __eq__(self, other):
-        return hash(self) == hash(other)
-
 
 def _cv_rgb_to_cv_grayscale(image):
     return cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]