Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _get_class_reference(cls, class_type):
module = __import__(u'pbxproj')
if hasattr(module, class_type):
class_ = getattr(module, class_type)
return class_
return PBXGenericObject