Fix allocations handling for tj3

* org-taskjuggler.el (org-taskjuggler-open-task): Only emit a "purge
allocations" statement if we are not targeting tj3.
This commit is contained in:
Christian Egli 2011-03-21 20:11:07 +00:00 committed by Bastien Guerry
parent ce9f1d858c
commit e5340a3650
1 changed files with 2 additions and 2 deletions

View File

@ -660,8 +660,8 @@ org-mode priority string."
(format " depends %s\n" previous-sibling)
(and depends (format " depends %s\n" depends)))
(and allocate (format " purge %s\n allocate %s\n"
(or (and (org-taskjuggler-targeting-tj3-p) "allocations")
"allocate")
(or (and (org-taskjuggler-targeting-tj3-p) "allocate")
"allocations")
allocate))
(and complete (format " complete %s\n" complete))
(and effort (format " effort %s\n" effort))