MCPcopy Create free account
hub / github.com/ImageEngine/cortex / convertNamespaces

Function convertNamespaces

contrib/scripts/convertSceneC++.py:80–90  ·  view source on GitHub ↗
( lines )

Source from the content-addressed store, hash-verified

78]
79
80def convertNamespaces( lines ) :
81
82 newLines = []
83 for line in lines :
84 newLine = line
85 if not line.strip().startswith( "/" ) :
86 for old, new in replacements :
87 newLine = old.sub( new, newLine )
88 newLines.append( newLine )
89
90 return newLines
91
92def convertUsingNamespace( lines ) :
93

Callers 1

convertFileFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected