Skip to content

Commit

Permalink
Drop unused variable tags_str
Browse files Browse the repository at this point in the history
  • Loading branch information
zaitcev committed Feb 8, 2014
1 parent d1567b2 commit 36e2f13
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions slasti/tagbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,12 @@ def to_jsondict(self, path_prefix):
"key": "%d.%02d" % (self.stamp0, self.stamp1),
}

tags_str = []
for tag in self.tags:
tags_str.append(tag)
jsondict["tags"].append(
{"href_tag": '%s/%s/' % (path_prefix,
slasti.escapeURLComponent(tag)),
"name_tag": tag,
})
jsondict["tags_str"] = ' '.join(tags_str)

jsondict['_main_path'] = u"MOO"

Expand Down

0 comments on commit 36e2f13

Please sign in to comment.