2009-04-16 Mike Gorse <mgorse@novell.com>
authorMike Gorse <mgorse@boston.site>
Thu, 16 Apr 2009 17:36:45 +0000 (12:36 -0500)
committerMike Gorse <mgorse@boston.site>
Thu, 16 Apr 2009 17:36:45 +0000 (12:36 -0500)
* pyatspi/base.py: Derive enum from uint.

pyatspi/base.py

index 1a7141a..438f9e5 100644 (file)
@@ -33,7 +33,7 @@ class AccessibleObjectNotAvailable(Exception):
 
 #------------------------------------------------------------------------------
 
-class Enum(int):
+class Enum(uint):
         def __str__(self):
                 return self._enum_lookup[int(self)]