def getBuildScript(self, charName):
        if not self.filePath:
            logger.error("No filepath found, suggest renaming scene using file(rn='sceneName')")
        if self.team == gv.teamA:
            return self.filePath.replace(self.filePath[self.filePath.rfind('/'):], '/%s.py' % charName)

        elif self.team == gv.teamD:
            return self.filePath.replace(self.filePath[self.filePath.rfind('/'):], '/%s.py' % charName)

        elif self.team == gv.teamD:
            return '%s%s.py' % (self.getMayaDir('buildScriptLoc'), charName)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/common/fileIO/parser_schema.py/RigParse.getBuildScript/original