@staticmethod<EOL><INDENT>def sanitize_for_archive(cmd):<DEDENT>
sanitized_cmd = re.sub(r"<STR_LIT>", '<STR_LIT>', cmd)<EOL>return sanitized_cmd<EOL>
Sanitize the Gerrit command by removing username information
        before storing/retrieving archived items

        :param: cmd: Gerrit command

        :returns the sanitized cmd