[Bf-python] Re: Request for adding a proposed new feature

Stephen Swaney sswaney at centurytel.net
Fri Dec 22 16:33:49 CET 2006


On Fri, Dec 22, 2006 at 03:14:28PM +1100, Campbell Barton wrote:
> Armature.Get('blah') returns None where 'blah' dosnt exist.
> Anyone mind if we make it raise an error like other Modules?

Throwing an exception is good.  

As a general rule, we want to raise an error when anything unexpected
happens.  Not getting the specific thing you ased for is one of those
times.

We will need to mention this in the Release Notes.

-- 
Stephen Swaney			
sswaney at centurytel.net




More information about the Bf-python mailing list