From: khamidou Date: Thu, 18 Feb 2010 16:19:43 +0000 (+0100) Subject: switched from '+' to '*' in add and update to look more like textile X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5c8eded7ce5fabe7beab0d7a1ffcb2ba906e5949;p=liszt.git switched from '+' to '*' in add and update to look more like textile --- diff --git a/liszt b/liszt index 3baeb33..65fac61 100755 --- a/liszt +++ b/liszt @@ -218,7 +218,7 @@ class CommandParser(object): fd = codecs.getwriter(locale.getpreferredencoding())(fd) for entry in entries: - str = "+\t%s\t%s\t%s\n" % (entry["title"], entry["date"], entry["done"]) + str = "*\t%s\t%s\t%s\n" % (entry["title"], entry["date"], entry["done"]) fd.write(str) fd.close() @@ -231,7 +231,7 @@ class CommandParser(object): # Now, reopen the fd, as a python file handle. fd = open(filename) - lines = fd.read().split('+') + lines = fd.read().split('*') # Delete the list and recreate the entries. dict = {"request" : "delete-list", "listname" : listname,} @@ -288,7 +288,7 @@ class CommandParser(object): # Now, reopen the fd, as a python file handle. fd = open(filename) - lines = fd.read().split('+') + lines = fd.read().split('*') for i, line in enumerate(lines): # fields = lines[i].split("\t") FIXME: add support for different fields on a line.