def _print_split_app(self, path, apps_models):
for app, models in apps_models:<EOL><INDENT>if self._has_extension(path):<EOL><INDENT>app_path = re.sub(r'<STR_LIT>', r'<STR_LIT>' % app, path)<EOL><DEDENT>else:<EOL><INDENT>app_path = '<STR_LIT>' % (path, app)<EOL><DEDENT>self._print_single_file(app_path, [(app, models)])<EOL><DEDENT>
Print each app in apps_models associative list into its own file.