def _run_startup_files(self):
startup_dir = self.profile_dir.startup_dir<EOL>startup_files = glob.glob(os.path.join(startup_dir, '<STR_LIT>'))<EOL>startup_files += glob.glob(os.path.join(startup_dir, '<STR_LIT>'))<EOL>if not startup_files:<EOL><INDENT>return<EOL><DEDENT>self.log.debug("<STR_LIT>", startup_dir)<EOL>try:<EOL><INDENT>for fname in sorted(startup_files):<EOL><INDENT>self._exec_file(fname)<EOL><DEDENT><DEDENT>except:<EOL><INDENT>self.log.warn("<STR_LIT>")<EOL>self.shell.showtraceback()<EOL><DEDENT>
Run files from profile startup directory