CVS: tmda-cgi ChangeLog,1.54,1.55 EditList.py,1.6,1.7

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-serv13389

Modified Files:
	ChangeLog EditList.py 
Log Message:
Fixed list editor.  If a list cannot be found, the list editor used to blow up.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- ChangeLog	18 Aug 2003 23:17:07 -0000	1.54
+++ ChangeLog	18 Aug 2003 23:43:21 -0000	1.55
@@ -1,3 +1,8 @@
+2003-08-18  Gre7g Luterman  <[email protected]>
+
+	* Fixed list editor.  If a list cannot be found, the list editor used
+	  to blow up.
+
 2003-08-11  Gre7g Luterman  <[email protected]>
 
 	* Modified autoinstaller so it can handle user names with dots in them

Index: EditList.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/EditList.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- EditList.py	12 Jun 2003 04:10:32 -0000	1.6
+++ EditList.py	18 Aug 2003 23:43:21 -0000	1.7
@@ -45,6 +45,7 @@
   # Load the display template
   T = Template.Template("editlist.html")
   NoneList = T["NoneList"]
+  List = ""
 
   # Find pre-calculated buttons
   Filename = os.path.join \
@@ -124,8 +125,6 @@
     else:
       if Form.has_key("list"):
         List = Form["list"].value
-      else:
-        List = ""
 
       # Make sure the list is properly formatted
       List = re.sub("\r\n", "\n", List)

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.