[Zope3-checkins] SVN: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/opaquenamespaces.py Snmall bugfix; we need to actually return the gotten value.

Martijn Pieters mj at zopatista.com
Sun Oct 10 15:38:19 EDT 2004


Log message for revision 27937:
  Snmall bugfix; we need to actually return the gotten value.
  


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


-=-
Modified: Zope3/branches/isarsprint-dav-work/src/zope/app/dav/opaquenamespaces.py
===================================================================
--- Zope3/branches/isarsprint-dav-work/src/zope/app/dav/opaquenamespaces.py	2004-10-10 19:34:28 UTC (rev 27936)
+++ Zope3/branches/isarsprint-dav-work/src/zope/app/dav/opaquenamespaces.py	2004-10-10 19:38:19 UTC (rev 27937)
@@ -38,7 +38,7 @@
         self._p_changed = True
 
     def get(self, key, default=None):
-        self._mapping.get(key, default)
+        return self._mapping.get(key, default)
 
     def __getitem__(self, key):
         return self._mapping[key]



More information about the Zope3-Checkins mailing list