Handle the EINTR error when doing a waitpid() in wvmagicloopback.
[wvapps.git] / photoreider / prthing.py
blobc5fde7dfa83a307d0623a8ea5e9835d8e640bef4
1 import wx
3 class PrThing(wx.Object):
4 def __init__(self, position="", objectives=[]):
5 ## instance variables
6 self.position = position
7 self.objectives = objectives
10 def setPosition(self, position):
11 self.position = position
13 def getPosition(self):
14 return self.position
17 def addObjective(self, objective):
18 self.objectives.append(objective)
20 def getObjectives(self):
21 return self.objectives