Permalink
Browse files

Add missing '@' tag marker in serialization code.

The '@' sign was missing if a tag had a parameter.
  • Loading branch information...
1 parent b02ac08 commit b7c6a6506c3a9d2e4b5d86c52d057b91b4be4318 @brandenburg brandenburg committed Aug 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 taskpaper.py
View
@@ -134,7 +134,7 @@ def drop_tag(self, tag):
return False
def format(self, with_tabs=True):
- tag_txt = " ".join(['@%s' % x if self.tags[x] is None else "%s(%s)" % (x, self.tags[x])
+ tag_txt = " ".join(['@%s' % x if self.tags[x] is None else "@%s(%s)" % (x, self.tags[x])
for x in self.tags])
tabs_txt = '\t' * self.level() if with_tabs else ''
return "%s%s%s%s" % (tabs_txt, self.txt, ' ' if tag_txt else '', tag_txt)

0 comments on commit b7c6a65

Please sign in to comment.