# HG changeset patch # User Sylvain Thénault # Date 1260368354 -3600 # Node ID 64548076add4cb95f58908bdef52cd97cbc30e07 # Parent f88331eb374cbad22c284e413f4bd804869050f7 avoid infinite recursion error diff -r f88331eb374c -r 64548076add4 selectors.py --- a/selectors.py Wed Dec 09 15:18:57 2009 +0100 +++ b/selectors.py Wed Dec 09 15:19:14 2009 +0100 @@ -938,7 +938,7 @@ entity_implements = class_renamed('entity_implements', implements) -class but_etype(EntitySelector): +class _but_etype(EntitySelector): """accept if the given entity types are not found in the result set. See `EntitySelector` documentation for behaviour when row is not specified. @@ -954,6 +954,4 @@ return 0 return 1 -but_etype = class_renamed('but_etype', but_etype, 'use ~implements(*etypes) instead') - - +but_etype = class_renamed('but_etype', _but_etype, 'use ~implements(*etypes) instead')