]> khamidou — GitHub mirrors - liszt.git/commitdiff
switched from '+' to '*' in add and update to look more like textile
authorkhamidou <khamidou@gmail.com>
Thu, 18 Feb 2010 16:19:43 +0000 (17:19 +0100)
committerkhamidou <khamidou@gmail.com>
Thu, 18 Feb 2010 16:19:43 +0000 (17:19 +0100)
liszt

diff --git a/liszt b/liszt
index 3baeb33eb567dc63ea5c09256770655c34462e7f..65fac61ead730f2af4c6b548231b44e938953457 100755 (executable)
--- 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.