objdictgen/objdictgen.py
changeset 93 16c8ceea8f18
parent 0 4472ee7c6c3e
child 184 fb253029c7d4
equal deleted inserted replaced
92:0d84d95790d9 93:16c8ceea8f18
    54 if __name__ == '__main__':
    54 if __name__ == '__main__':
    55     if fileIn != "" and fileOut != "":
    55     if fileIn != "" and fileOut != "":
    56         manager = NodeManager()
    56         manager = NodeManager()
    57         if os.path.isfile(fileIn):
    57         if os.path.isfile(fileIn):
    58             print "Parsing input file"
    58             print "Parsing input file"
    59             result = manager.ImportCurrentFromFile(fileIn)
    59             result = manager.OpenFileInCurrent(fileIn)
    60             if type(result) != UnicodeType:
    60             if type(result) != UnicodeType:
    61                 Node = result
    61                 Node = result
    62             else:
    62             else:
    63                 print result
    63                 print result
    64                 sys.exit(-1)
    64                 sys.exit(-1)