Some minor clean-up to Python script

This commit is contained in:
Phil Nash 2017-02-15 11:54:47 +00:00
parent fe690a68ef
commit 1f71d1f760

View File

@ -65,7 +65,7 @@ def parseFile( path, filename ):
if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
seenHeaders.add( headerFile )
write( "// #included from: {0}\n".format( header ) )
if( headerPath == "internal" and path.endswith( "internal/" ) ):
if headerPath == "internal" and path.endswith("internal/"):
headerPath = ""
sep = ""
if os.path.exists( path + headerPath + sep + headerFile ):