CVS: tmda-cgi EditList.py,1.3,1.4
Gre7g Luterman <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv8802
Modified Files:
EditList.py
Log Message:
Minor bugfix strips blank lines off of the beginning of the list.
Index: EditList.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/EditList.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- EditList.py 28 Apr 2003 02:09:28 -0000 1.3
+++ EditList.py 23 May 2003 21:30:01 -0000 1.4
@@ -116,6 +116,7 @@
# Make sure the list is properly formatted
List = re.sub("\r\n", "\n", List)
List = re.sub("\n*$", "", List)
+ List = re.sub("^\n*", "", List)
List += "\n"
try:
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs