[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_ - indentation cleanup

Yvo Schubbe y.2011 at wcm-solutions.de
Mon Feb 14 05:05:54 EST 2011


Log message for revision 120317:
  - indentation cleanup

Changed:
  UU  Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_control/disableSyndication.py
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/expanded_title.py

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_control/disableSyndication.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_control/disableSyndication.py	2011-02-14 10:05:29 UTC (rev 120316)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_control/disableSyndication.py	2011-02-14 10:05:54 UTC (rev 120317)
@@ -3,7 +3,9 @@
 ##parameters=
 
 if context.portal_syndication.isSyndicationAllowed(context):
-  context.portal_syndication.disableSyndication(context)
-  return context.REQUEST.RESPONSE.redirect(context.absolute_url() + '/synPropertiesForm?portal_status_message=Syndication+Disabled')
+    context.portal_syndication.disableSyndication(context)
+    return context.REQUEST.RESPONSE.redirect(context.absolute_url() +
+               '/synPropertiesForm?portal_status_message=Syndication+Disabled')
 else:
-  return context.REQUEST.RESPONSE.redirect(context.absolute_url() + '/synPropertiesForm?portal_status_message=Syndication+Not+Allowed')
+    return context.REQUEST.RESPONSE.redirect(context.absolute_url() +
+            '/synPropertiesForm?portal_status_message=Syndication+Not+Allowed')


Property changes on: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_control/disableSyndication.py
___________________________________________________________________
Deleted: svn:keywords
   - Author Date Id Revision

Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/expanded_title.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/expanded_title.py	2011-02-14 10:05:29 UTC (rev 120316)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/expanded_title.py	2011-02-14 10:05:54 UTC (rev 120317)
@@ -11,6 +11,6 @@
 page_title = context.Title()
 
 if page_title != site_title:
-   page_title = site_title + ": " + page_title
+    page_title = site_title + ": " + page_title
 
 return decode(page_title, script)



More information about the checkins mailing list