[CMF-checkins] CVS: CMF/CMFDefault - Portal.py:1.29

Chris McDonough chrism@zope.com
Tue, 26 Feb 2002 22:01:05 -0500


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv4009

Modified Files:
	Portal.py 
Log Message:
Run id through string.strip before passing it along to the portal generator.


=== CMF/CMFDefault/Portal.py 1.28 => 1.29 ===
     '''
     gen = PortalGenerator()
+    from string import strip
+    id = strip(id)
     p = gen.create(self, id, create_userfolder)
     gen.setupDefaultProperties(p, title, description,
                                email_from_address, email_from_name,