Merge lp:~antonio-roquentin-deactivatedaccount/gtg/bugfix-1013869 into lp:~gtg/gtg/old-trunk

Proposed by Roquentin on 2012-07-26
Status: Merged
Merged at revision: 1220
Proposed branch: lp:~antonio-roquentin-deactivatedaccount/gtg/bugfix-1013869
Merge into: lp:~gtg/gtg/old-trunk
Diff against target: 17 lines (+2/-0)
1 file modified
GTG/core/datastore.py (+2/-0)
To merge this branch: bzr merge lp:~antonio-roquentin-deactivatedaccount/gtg/bugfix-1013869
Reviewer Review Type Date Requested Status
Bertrand Rousseau (community) code, run 2012-07-26 Approve on 2012-07-28
Review via email: mp+116956@code.launchpad.net
To post a comment you must log in.

Seems ok for me. Approve

review: Approve (code, run)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'GTG/core/datastore.py'
2--- GTG/core/datastore.py 2012-07-23 12:04:01 +0000
3+++ GTG/core/datastore.py 2012-07-26 20:28:21 +0000
4@@ -152,12 +152,14 @@
5 self._add_new_tag(name, tag, search_filter,
6 parameters, parent_id = CoreConfig.SEARCH_TAG)
7 Log.debug("*** view added %s ***" % name)
8+ self.save_tagtree()
9 return tag
10
11 def remove_tag(self, name):
12 """ Removes a tag from the tagtree """
13 if self.__tagstore.has_node(name):
14 self.__tagstore.del_node(name)
15+ self.save_tagtree()
16 else:
17 raise IndexError("There is no tag %s" % name)
18

Subscribers

People subscribed via source and target branches

to status/vote changes: