From 8f9de8b1d34e4fbc9bd2c8d5116fcc918e3576ae Mon Sep 17 00:00:00 2001 From: Willie Walker Date: Wed, 22 Apr 2009 06:38:20 -0400 Subject: [PATCH] Make getRelationType return a RelationType enum. --- pyatspi/relation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyatspi/relation.py b/pyatspi/relation.py index 6d1ede0..ef952c2 100644 --- a/pyatspi/relation.py +++ b/pyatspi/relation.py @@ -116,8 +116,7 @@ class Relation(object): """ @return the RelationType of this Relation. """ - # TODO Return a relation enum type - return self._type + return RelationType(self._type) def getRelationTypeName(self): """ -- 2.7.4