Update scratch context uniqueness suffix character from '.' to '_'.

Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
This commit is contained in:
Merlin Mathesius
2019-03-28 11:32:06 -05:00
committed by mprahl
parent 663b7fc4d0
commit cd76a1dca5
2 changed files with 2 additions and 2 deletions

View File

@@ -683,7 +683,7 @@ def submit_module_build(username, mmd, params):
log.debug('Found %d previous scratch module build context(s): %s',
scrmods.count(), ",".join(scrmod_contexts))
# append incrementing counter to context
context_suffix = '.' + str(scrmods.count() + 1)
context_suffix = '_' + str(scrmods.count() + 1)
mmd.set_context(mmd.get_context() + context_suffix)
log.debug('Creating new module build')
module = models.ModuleBuild.create(