~nmu-sscheel/gtg/rework-task-editor

« back to all changes in this revision

Viewing changes to GTG/plugins/export/task_str.py

  • Committer: Bertrand Rousseau
  • Date: 2012-05-09 22:33:25 UTC
  • mfrom: (1178 trunk)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: bertrand.rousseau@gmail.com-20120509223325-a53d8nwo0x9g93bc
Merge nimit branch and trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# You should have received a copy of the GNU General Public License along with
15
15
# this program.  If not, see <http://www.gnu.org/licenses/>.
16
16
 
17
 
 
18
 
 
19
17
class TaskStr:
20
18
    '''
21
19
    This class is a wrapper around the classic GTG.core.task.Task. It provides
23
21
    instead of method calls. This makes writing Cheetah templates easier
24
22
    '''
25
23
 
26
 
 
27
24
    def __init__(self,
28
25
                 title,
29
26
                 text,
34
31
                 closed_date,
35
32
                 start_date,
36
33
                 days_left,
37
 
                 tags
 
34
                 tags,
38
35
                ):
39
36
        self.title         = title
40
37
        self.text          = text