Corrected return logic in the face of an API error to use the newer
style return object.
1 parent da522e0 commit cae886045449408325dec8c6cb68021751f77459
@tundra tundra authored on 2 Apr 2004
Showing 1 changed file
View
16
tconfpy.py
 
# Program Information
 
PROGNAME = "tconfpy"
RCSID = "$Id: tconfpy.py,v 1.156 2004/04/01 22:09:22 tundra Exp $"
RCSID = "$Id: tconfpy.py,v 1.157 2004/04/02 08:04:52 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
deserror = True
 
# If any of the passed symbols had bogus descriptor contents, we're done
if deserror:
return (SymTable, ErrMsgs, WarnMsgs, DebugMsgs, LiteralLines)
 
 
retobj.SymTable = SymTable
retobj.Errors = ErrMsgs
retobj.Warnings = WarnMsgs
retobj.Debug = DebugMsgs
retobj.Literals = LiteralLines
return retobj
 
 
# Symbol Table passed to API was OK, sokeep going