def read_file(self):
<EOL>if not self._cfg_path:<EOL><INDENT>return<EOL><DEDENT>try:<EOL><INDENT>cfg_fp = open(self._cfg_path, '<STR_LIT:r>')<EOL>self.readfp(cfg_fp)<EOL><DEDENT>except IOError as exc:<EOL><INDENT>raise NipapConfigError(str(exc))<EOL><DEDENT>
Read the configuration file