def utime(self, tarinfo, targetpath):
if not hasattr(os, '<STR_LIT>'):<EOL><INDENT>return<EOL><DEDENT>try:<EOL><INDENT>os.utime(targetpath, (tarinfo.mtime, tarinfo.mtime))<EOL><DEDENT>except EnvironmentError as e:<EOL><INDENT>raise ExtractError("<STR_LIT>")<EOL><DEDENT>
Set modification time of targetpath according to tarinfo.