Change-Id: If3c67153aa0248b70705e2b56f90d74fff7ce609
obs_use_specname = item['OBS_use_specname']
if build_type == 'prerelease':
- if obs_stg_prj == 'abs':
- if git_branch.endswith('_tpk') or git_branch.endswith('_wgt'):
+ if obs_stg_prj == 'abs' \
+ and (git_branch.endswith('_tpk') or git_branch.endswith('_wgt')):
print 'Create ABS prerelease project...'
elif obs_stg_prj != 'prerelease':
print "%s is not 'prerelease' project in git-obs-mapping.xml." \