FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

added decoding for effort · grandrew/taskjuggler-python@ff6a967 · GitHub

Commit ff6a967

Browse files
committed
added decoding for effort
1 parent b47325c commit ff6a967

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎taskjuggler_python/juggler.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,13 @@ def set_value(self, value):
261261
262262
Default class unit is 'days'. Can be overrided by setting "UNIT" global class attribute
263263
'''
264-
self.value = int(value)
264+
self.value = int(value) # TODO: support for FP?
265265
def get_hash(self):
266266
return self.get_name()
267+
268+
def decode(self):
269+
return self.value # only hours supported yet
270+
267271
def validate(self, task, tasks):
268272
'''
269273
Validate (and correct) the current task property

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL