                  # Don't return a filename that has already been processed
                  continue
              if face_name == frame_idx:
                  # If a matching filename already exists return that
                  self.seen_multihash.add((face_name, extension))
                  return face_name, extension
              if face_name.startswith(frame):
                  # If a matching framename already exists return that
                  self.seen_multihash.add((face_name, extension))
                  return face_name, extension
          # If no matches, just pop the first filename
 
</s> remove                 self.seen_multihash.add((face_name, extension))
                return face_name, extension
        # If no matches, just pop the first filename
        face_name, extension = faces[0]
        self.seen_multihash.add((face_name, extension))
        return face_name, extension
 </s> add                 retval = (face_name, extension)
                logger.debug("Matching freamename found: %s", retval)
                self.seen_multihash.add(retval)
                break
        if not retval:
            # If no matches, just pop the first filename
            retval = [face for face in faces if face not in self.seen_multihash][0]
            logger.debug("No matches found. Choosing: %s", retval)
            self.seen_multihash.add(retval)
        logger.debug("Returning: %s", retval)
        return retval
                retval = (face_name, extension)
                logger.debug("Matching filename found: %s", retval)
                self.seen_multihash.add(retval)
                break
                  # Don't return a filename that has already been processed
                  continue
              if face_name == frame_idx:
                  # If a matching filename already exists return that
                retval = (face_name, extension)
                logger.debug("Matching filename found: %s", retval)
                self.seen_multihash.add(retval)
                break
                retval = (face_name, extension)
                logger.debug("Matching filename found: %s", retval)
                self.seen_multihash.add(retval)
                break
              if face_name.startswith(frame):
                  # If a matching framename already exists return that
                  self.seen_multihash.add((face_name, extension))
                  return face_name, extension
          # If no matches, just pop the first filename
keep keep keep keep replace replace keep keep keep keep keep
 Alignment tool: rename - fix for identical faces 
tools/lib_alignments/jobs.py