*** empty log message ***

This commit is contained in:
Mike Goslin 2000-12-09 00:28:26 +00:00
parent 5010a9dbe8
commit f05f56ebf1
2 changed files with 16 additions and 13 deletions

View File

@ -32,11 +32,14 @@ class PickList(PandaObject.PandaObject):
# display the menu
self.__displayChoices(choiceList)
self.isClean = 0
return None
def cleanup(self):
"""cleanup(self)
"""
if self.isClean == 0:
self.isClean = 1
# remove keyboard events
self.ignore("up-up")
self.ignore("down-up")

View File

@ -11,7 +11,7 @@ class DirectObject:
"""
try:
self.cleanup()
except:
except NameError:
print "No cleanup() method defined!"
# Event Handling