Make sure the gtd base path has a trailing slash.
[matthijs/upstream/mobilegtd.git] / src / model / info.py
1 from model import ObservableItem
2 class Info(ObservableItem):
3     def __init__(self,text=u''):
4         super(Info,self).__init__()
5         self.text=text
6     def file_string(self):
7         return u'# %s'%self.text
8
9     def __str__(self):
10         return self.text
11     def __repr__(self):
12         return repr(self.text)
13     def __eq__(self,other):
14         return self.text == other.text
15     
16     def __neq__(self,other):
17         return not self.__eq__(other)