[Bf-python] Getting data that isnt there.

Stephen Swaney sswaney at centurytel.net
Thu Apr 21 12:28:24 CEST 2005


On Thu, Apr 21, 2005 at 02:53:21PM +1000, Campbell Barton wrote:
> Hi, an Issue I have with a python script Im writing is getting data that 
> might not be there.
> 
> image = Image.Get(someImageName)# If the image name isnt there then an 
> error is returned.
> Id prefer Image.Get(someImgName)  to return None if the image dosent exist.

Asking specifically for something that does not exist sounds
like an error to me.

-- 
Stephen Swaney			
sswaney at centurytel.net




More information about the Bf-python mailing list