cwvreg.py
changeset 2800 31c3a045e04d
parent 2793 bfb21f7a0d13
child 2805 c6d10de521bc
--- a/cwvreg.py	Thu Aug 13 09:59:35 2009 +0200
+++ b/cwvreg.py	Thu Aug 13 10:02:18 2009 +0200
@@ -68,6 +68,7 @@
             obj = self.select(__fallback_oid, req, **kwargs)
         return obj.render(**kwargs)
 
+    @deprecated('[3.5] use select_or_none and test for obj.propval("visible")')
     def select_vobject(self, oid, *args, **kwargs):
         selected = self.select_or_none(oid, *args, **kwargs)
         if selected and selected.propval('visible'):