[pyatspi2] Inherit interface from object



commit b0ed4c207824851cdc292b2073a0929c4c126a7b
Author: Mike Gorse <mgorse suse com>
Date:   Fri Jul 13 18:50:18 2012 -0500

    Inherit interface from object
    
    Objects need to inherit from object, rather than not inheriting from anything.
    Otherwise they have no __hash__ defined for them, for instance.

 pyatspi/interface.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/interface.py b/pyatspi/interface.py
index b70997b..f2fc482 100644
--- a/pyatspi/interface.py
+++ b/pyatspi/interface.py
@@ -21,7 +21,7 @@ __all__ = [
            "interface"
 ]
 
-class interface:
+class interface(object):
         def __init__(self, obj):
                 self.obj = obj
 



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