def parseGraph(fileName): try: Message("\n* Parsing graph file: " + fileName) return processGraphFile(fileName) except IOError: print "*** ERROR: Could not open " + fileName + ". Aborting. (Run with -? for help) ***" print " " sys.exit(2)
def LoadGraph(fileName): try: return processGraphFile(fileName) except IOError: sys.exit(2)