Just "try" - iControl Exception Handling in Python
I've been working with the iControl REST interface on a few different things trying to get comfortable with the new kid on the block. One of the things I really like about the SOAP interface is the c...
Published Dec 16, 2014
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
Jan 13, 2015
You also may be able to look into the "get()" method of dict objects. It allows you to specify a default value if the given key is missing. So you could have your code do this: x.get('allowService', 'none')