Update of /cvsroot/todo-manager/todo-manager
In directory sc8-pr-cvs1:/tmp/cvs-serv14884
Modified Files:
main.py
Log Message:
Erik Inge Bolsø reported that task values with "=" in them are loaded as a
blank task. This should fix this.
Index: main.py
===================================================================
RCS file: /cvsroot/todo-manager/todo-manager/main.py,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- main.py 14 May 2003 01:55:04 -0000 1.81
+++ main.py 14 May 2003 02:13:52 -0000 1.82
@@ -1061,7 +1061,7 @@
elif store:
# Parse the string value
try:
- key, value = line.split("=")
+ key, value = line.split("=", 1)
except ValueError: continue
# Change "special" characters to plain ones
|