[CMF-checkins] CVS: CMF/CMFDefault/skins/generic - TitleOrId.py:1.4.40.1 clearCookie.py:1.2.40.1 discussion_reply.py:1.3.32.1 filterCookie.py:1.2.40.1 listMetaTags.py:1.1.34.1 truncID.py:1.2.40.1

Sidnei da Silva sidnei at awkly.org
Thu Apr 22 13:48:29 EDT 2004


Update of /cvs-repository/CMF/CMFDefault/skins/generic
In directory cvs.zope.org:/tmp/cvs-serv30596/CMFDefault/skins/generic

Modified Files:
      Tag: CMF-1_4-branch
	TitleOrId.py clearCookie.py discussion_reply.py 
	filterCookie.py listMetaTags.py truncID.py 
Log Message:
Fix version.txt to right version. Run reindent.py for removing extra tabs and whitespaces


=== CMF/CMFDefault/skins/generic/TitleOrId.py 1.4 => 1.4.40.1 ===
--- CMF/CMFDefault/skins/generic/TitleOrId.py:1.4	Tue Jun 11 09:17:21 2002
+++ CMF/CMFDefault/skins/generic/TitleOrId.py	Thu Apr 22 13:47:53 2004
@@ -8,6 +8,6 @@
     title = context.Title()
     id = context.getId()
 if title:
-    return title 
+    return title
 else:
-    return id 
+    return id


=== CMF/CMFDefault/skins/generic/clearCookie.py 1.2 => 1.2.40.1 ===
--- CMF/CMFDefault/skins/generic/clearCookie.py:1.2	Tue Jun 11 09:17:21 2002
+++ CMF/CMFDefault/skins/generic/clearCookie.py	Thu Apr 22 13:47:53 2004
@@ -5,4 +5,3 @@
 REQUEST=context.REQUEST
 REQUEST.RESPONSE.expireCookie('folderfilter', path='/')
 REQUEST.RESPONSE.redirect( context.absolute_url() + '/folder_contents?portal_status_message=Filter+cleared.')
-


=== CMF/CMFDefault/skins/generic/discussion_reply.py 1.3 => 1.3.32.1 ===
--- CMF/CMFDefault/skins/generic/discussion_reply.py:1.3	Thu Oct 17 15:38:36 2002
+++ CMF/CMFDefault/skins/generic/discussion_reply.py	Thu Apr 22 13:47:53 2004
@@ -11,4 +11,3 @@
 target = '%s/%s' % (context.absolute_url(), replyID)
 
 context.REQUEST.RESPONSE.redirect(target)
-


=== CMF/CMFDefault/skins/generic/filterCookie.py 1.2 => 1.2.40.1 ===
--- CMF/CMFDefault/skins/generic/filterCookie.py:1.2	Tue Jun 11 09:17:21 2002
+++ CMF/CMFDefault/skins/generic/filterCookie.py	Thu Apr 22 13:47:53 2004
@@ -4,11 +4,11 @@
 ##
 REQUEST=context.REQUEST
 if REQUEST.get('clear_view_filter', 0):
-  context.clearCookie()
-  REQUEST.set('folderfilter', '')
-  REQUEST.set('close_filter_form', '1')
+    context.clearCookie()
+    REQUEST.set('folderfilter', '')
+    REQUEST.set('close_filter_form', '1')
 elif REQUEST.get('set_view_filter', 0):
-  filter=context.encodeFolderFilter(REQUEST)
-  REQUEST.RESPONSE.setCookie('folderfilter', filter, path='/',
-                              expires='Wed, 19 Feb 2020 14:28:00 GMT')
-  REQUEST.set('folderfilter', '%s' % filter)
+    filter=context.encodeFolderFilter(REQUEST)
+    REQUEST.RESPONSE.setCookie('folderfilter', filter, path='/',
+                                expires='Wed, 19 Feb 2020 14:28:00 GMT')
+    REQUEST.set('folderfilter', '%s' % filter)


=== CMF/CMFDefault/skins/generic/listMetaTags.py 1.1 => 1.1.34.1 ===
--- CMF/CMFDefault/skins/generic/listMetaTags.py:1.1	Wed Jul 10 11:22:19 2002
+++ CMF/CMFDefault/skins/generic/listMetaTags.py	Thu Apr 22 13:47:53 2004
@@ -39,4 +39,4 @@
 hdrlist.append( ( 'DC.rights', context.Rights() ) )
 
 # Strip empty values
-return filter( lambda x: x[1], hdrlist ) 
+return filter( lambda x: x[1], hdrlist )


=== CMF/CMFDefault/skins/generic/truncID.py 1.2 => 1.2.40.1 ===
--- CMF/CMFDefault/skins/generic/truncID.py:1.2	Tue Jun 11 09:17:21 2002
+++ CMF/CMFDefault/skins/generic/truncID.py	Thu Apr 22 13:47:53 2004
@@ -1,8 +1,8 @@
 ## Script (Python) "truncID.py $Revision$"
-##parameters=objID, size 
+##parameters=objID, size
 ##title=return truncated objID
 ##
 if len(objID) > size:
     return objID[:size] + '...'
 else:
-   return objID
+    return objID




More information about the CMF-checkins mailing list