web/views/ibreadcrumbs.py
changeset 6451 f64899fa0b5c
parent 6431 a9ecd1d16a25
child 6698 b353e868b74f
--- a/web/views/ibreadcrumbs.py	Mon Oct 11 19:13:01 2010 +0200
+++ b/web/views/ibreadcrumbs.py	Mon Oct 11 19:45:15 2010 +0200
@@ -78,7 +78,11 @@
         """
         parent = self.parent_entity()
         if parent is not None:
-            if recurs:
+            if recurs is True:
+                _recurs = set()
+                warn('[3.10] recurs argument should be a set() or None',
+                     DeprecationWarning, stacklevel=2)
+            elif recurs:
                 _recurs = recurs
             else:
                 if recurs is False: