mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Some minor clean-up to Python script
This commit is contained in:
parent
fe690a68ef
commit
1f71d1f760
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
@ -65,7 +65,7 @@ def parseFile( path, filename ):
|
|||||||
if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
|
if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
|
||||||
seenHeaders.add( headerFile )
|
seenHeaders.add( headerFile )
|
||||||
write( "// #included from: {0}\n".format( header ) )
|
write( "// #included from: {0}\n".format( header ) )
|
||||||
if( headerPath == "internal" and path.endswith( "internal/" ) ):
|
if headerPath == "internal" and path.endswith("internal/"):
|
||||||
headerPath = ""
|
headerPath = ""
|
||||||
sep = ""
|
sep = ""
|
||||||
if os.path.exists( path + headerPath + sep + headerFile ):
|
if os.path.exists( path + headerPath + sep + headerFile ):
|
||||||
|
Loading…
Reference in New Issue
Block a user