~izidor/gtg/bug1002463

« back to all changes in this revision

Viewing changes to GTG/core/tag.py

  • Committer: Izidor Matušov
  • Date: 2012-04-22 11:56:25 UTC
  • Revision ID: izidor.matusov@gmail.com-20120422115625-pczaaeghjvoyfiq1
Further cleaning of the code

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
            raise Exception("The name of tag cannot be set manually")
86
86
        elif att_name == "parent":
87
87
            self.add_parent(att_value)
88
 
            #self.new_relationship(att_value, self._name)
89
 
            self._attributes['parent'] = "We don't care about that value"
90
88
        else:
91
89
            # Attributes should all be strings.
92
90
            val = unicode(str(att_value), "UTF-8")