[Zope3-checkins] SVN: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py Simplification; this lookup is redundant.

Martijn Pieters mj at zopatista.com
Sun Oct 10 15:27:22 EDT 2004


Log message for revision 27935:
  Simplification; this lookup is redundant.
  


Changed:
  U   Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py


-=-
Modified: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py
===================================================================
--- Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py	2004-10-10 18:58:40 UTC (rev 27934)
+++ Zope3/branches/isarsprint-dav-work/src/zope/app/dav/propfind.py	2004-10-10 19:27:22 UTC (rev 27935)
@@ -238,7 +238,7 @@
         for ns in _props.keys():
             iface = _props[ns]['iface']
             for p in _props[ns]['props']:
-                if _props[ns]['iface'] is None:
+                if iface is None:
                     l = not_avail.get(ns, [])
                     l.append(p)
                     not_avail[ns] = l



More information about the Zope3-Checkins mailing list