From 5c8eded7ce5fabe7beab0d7a1ffcb2ba906e5949 Mon Sep 17 00:00:00 2001 From: khamidou Date: Thu, 18 Feb 2010 17:19:43 +0100 Subject: [PATCH] switched from '+' to '*' in add and update to look more like textile --- liszt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.43.0