Revision 738436bf
ID | 738436bf45dc1c6a82a6fac70cbc09099bf210c1 |
Parent | f9b76ed4 |
Child | 3039e2dc |
Always return tuples in Expand*Name
ExpandNodeName and ExpandInstanceName now always return a tuple. If the
node/instance was not found, (None, None) is returned. This fixes bugs
where callers blindly assign the return value of those methods to
multiple variables without checking if it was None.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Files
- added
- modified
- copied
- renamed
- deleted