[CMF-checkins] CVS: CMF - DublinCore.py:1.9

Jeffrey Shell jeffrey@digicool.com
Mon, 4 Jun 2001 14:25:15 -0400 (EDT)


Update of /cvs-repository/CMF/CMFDefault
In directory korak.digicool.com:/home/jeffrey/InstanceHomes/about-stuff/CMF/CMFDefault

Modified Files:
	DublinCore.py 
Log Message:
Modified getMetadataHeaders() to join Subject by commas, instead of
spaces.  Since we parse/split Subject on commas or semicolons now when 
a document is saved by FTP or WebDAV, we need to feed it out in the
same format.



--- Updated File DublinCore.py in package CMF --
--- DublinCore.py	2001/05/28 20:56:10	1.8
+++ DublinCore.py	2001/06/04 18:25:14	1.9
@@ -309,7 +309,7 @@
         """
         hdrlist = []
         hdrlist.append( ( 'Title', self.Title() ) )
-        hdrlist.append( ( 'Subject', string.join( self.Subject() ) ) )
+        hdrlist.append( ( 'Subject', string.join( self.Subject(), ', ' ) ) )
         hdrlist.append( ( 'Publisher', self.Publisher() ) )
         hdrlist.append( ( 'Description', self.Description() ) )
         hdrlist.append( ( 'Contributors', string.join(