« Previous | Next » 

Revision 738436bf

ID738436bf45dc1c6a82a6fac70cbc09099bf210c1
Parent f9b76ed4
Child 3039e2dc

Added by Thomas Thrainer over 10 years ago

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 <>
Reviewed-by: Helga Velroyen <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences