The prerelease project description contains < and > in submitter email address.
When update project meta in xml meta, it break xml syntax. So escape them when
format the meta.
Fixes: #1754
Change-Id: Ic623959270e2b4ab4ccd207710c4901c86810b70
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
'git_tag': git_tag,
'git_commit': git_revision}
if submitter:
- info['submitter'] = submitter
+ info['submitter'] = submitter.replace('<', '<').replace('>', '>')
if build.exists(obs_project):
# update project info