def _NeedUpdate(self):
    Trace(': scan refs %s', self._gitdir)

    for name, mtime in self._mtime.items():
      try:
        if mtime != os.path.getmtime(os.path.join(self._gitdir, name)):
          return True
      except __HOLE__:
        return True
    return False
dataset/ETHPy150Open esrlabs/git-repo/git_refs.py/GitRefs._NeedUpdate