[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py Comverted XXX to TODO and statement.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:45:29 EDT 2004


Log message for revision 26312:

Comverted XXX to TODO and statement.




-=-
Modified: Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py	2004-07-09 15:45:27 UTC (rev 26311)
+++ Zope3/trunk/src/zope/app/externaleditor/browser/__init__.py	2004-07-09 15:45:29 UTC (rev 26312)
@@ -33,15 +33,16 @@
         adapted = IReadFile(context)
 
         if hasattr(adapted, 'contentType'):
-            # XXX Although IReadFile declares contentType,
+            # Although IReadFile declares contentType,
             # the default adapter for File doesn't seem
             # to provide it.
             r.append('content_type:%s' % adapted.contentType)
 
-        # XXX There's no such thing as a meta_type
+        # There's no such thing as a meta_type
         # in Zope3, so we try to get as far as we can
         # using IContentType, which is a marker interface
-        # XXX Had to use trustedRemoveSecurityProxy because
+
+        # Had to use trustedRemoveSecurityProxy because
         # I was getting I was getting unauthorized on __iro__
         meta_type = queryType(trustedRemoveSecurityProxy(context), IContentType)
         if meta_type:
@@ -56,7 +57,7 @@
 
         r.append('cookie:%s' % request._environ.get('HTTP_COOKIE', ''))
 
-        # XXX Once we have lock, add the lock token here
+        # TODO: Once we have lock, add the lock token here
 
         r.append('')
 



More information about the Zope3-Checkins mailing list