[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/zptpage/zptpage.py Removed duplicate property definition

Dmitry Vasiliev dima at hlabs.spb.ru
Mon Jul 26 04:27:36 EDT 2004


Log message for revision 26755:
  Removed duplicate property definition
  


Changed:
  U   Zope3/trunk/src/zope/app/zptpage/zptpage.py


-=-
Modified: Zope3/trunk/src/zope/app/zptpage/zptpage.py
===================================================================
--- Zope3/trunk/src/zope/app/zptpage/zptpage.py	2004-07-26 07:50:10 UTC (rev 26754)
+++ Zope3/trunk/src/zope/app/zptpage/zptpage.py	2004-07-26 08:27:36 UTC (rev 26755)
@@ -82,7 +82,8 @@
         debug_flags = request.debug
         request = ProxyFactory(request)
         instance = ProxyFactory(instance)
-        if args: args = ProxyFactory(args)
+        if args:
+            args = ProxyFactory(args)
         kw = ProxyFactory(keywords)
 
         namespace = self.pt_getContext(instance, request,
@@ -91,10 +92,7 @@
         return self.pt_render(namespace, showtal=debug_flags.showTAL,
                               sourceAnnotations=debug_flags.sourceAnnotations)
 
-    source = property(getSource, setSource, None,
-                      """Source of the Page Template.""")
 
-
 class Sized(object):
 
     implements(ISized)



More information about the Zope3-Checkins mailing list