I've undoed your merge for this as it causes some trouble (heavy crashes).
TypeError: instancemethod expected at least 2 arguments, got 0
Traceback (most recent call last):
File "/home/ploum/gtg/GTG/taskbrowser/browser.py", line 768, in refresh_tb
self.refresh_list(toselect=toselect)
File "/home/ploum/gtg/GTG/taskbrowser/browser.py", line 877, in refresh_list
treeview=False)
File "/home/ploum/gtg/GTG/taskbrowser/browser.py", line 1007, in add_task_tree_to_list
tags = task.get_tags()
File "/home/ploum/gtg/GTG/core/task.py", line 401, in get_tags
return deepcopy(self.tags)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
It looks like our own implementation is more robust.
Maybe, using deepcopy uncovered a bug in GTG. If this is the case, then I would suggest to make thing easier by only calling deepcopy in the returnlist function, allowing easy change for developpers.
I've undoed your merge for this as it causes some trouble (heavy crashes).
TypeError: instancemethod expected at least 2 arguments, got 0 ploum/gtg/ GTG/taskbrowser /browser. py", line 768, in refresh_tb refresh_ list(toselect= toselect) ploum/gtg/ GTG/taskbrowser /browser. py", line 877, in refresh_list ploum/gtg/ GTG/taskbrowser /browser. py", line 1007, in add_task_ tree_to_ list ploum/gtg/ GTG/core/ task.py" , line 401, in get_tags python2. 6/copy. py", line 162, in deepcopy
Traceback (most recent call last):
File "/home/
self.
File "/home/
treeview=False)
File "/home/
tags = task.get_tags()
File "/home/
return deepcopy(self.tags)
File "/usr/lib/
y = copier(x, memo)
It looks like our own implementation is more robust.
Maybe, using deepcopy uncovered a bug in GTG. If this is the case, then I would suggest to make thing easier by only calling deepcopy in the returnlist function, allowing easy change for developpers.