equal
deleted
inserted
replaced
144 tags_list.append(tagnode.data) |
144 tags_list.append(tagnode.data) |
145 |
145 |
146 tag_date = datetime.utcnow().isoformat() |
146 tag_date = datetime.utcnow().isoformat() |
147 for tag_title in tags_list: |
147 for tag_title in tags_list: |
148 if tag_title not in self.tags: |
148 if tag_title not in self.tags: |
149 tag_id = uuid.uuid1() |
149 tag_id = unicode(uuid.uuid1()) |
150 new_tag = { |
150 new_tag = { |
151 "id":tag_id, |
151 "id":tag_id, |
152 "meta" : { |
152 "meta" : { |
153 "dc:creator":"IRI", |
153 "dc:creator":"IRI", |
154 "dc:created": tag_date, |
154 "dc:created": tag_date, |