def create_noread_version(self):
if not self.is_file or self.is_template_path:<EOL><INDENT>return self<EOL><DEDENT>output = ContentHandler()<EOL>output.is_template_content = self.is_template_content<EOL>with open(self.content, '<STR_LIT:r>') as f:<EOL><INDENT>output.content = f.read()<EOL><DEDENT>return output<EOL>
Read file content if it is static and return content handler with no I/O