~ubuntu-branches/ubuntu/raring/mnemosyne/raring

« back to all changes in this revision

Viewing changes to mnemosyne/libmnemosyne/criteria/default_criterion.py

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-04-18 20:43:08 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130418204308-tiwzzs0n1n79qhyt
Tags: 2.2.1-0ubuntu1
New upstream bugfix release (LP: #1169634)

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
        else:
68
68
            pass
69
69
 
 
70
    def is_tag_active(self, tag):
 
71
        return (tag._id in self._tag_ids_active)
 
72
 
70
73
    def tag_deleted(self, tag):
71
74
        self._tag_ids_active.discard(tag._id)
72
75
        self._tag_ids_forbidden.discard(tag._id)