Skip to content

Commit

Permalink
image_name_obj
Browse files Browse the repository at this point in the history
  • Loading branch information
bfontecc007 committed Apr 5, 2018
1 parent e5f5768 commit 4f7f83d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atomic_reactor/plugins/exit_sendmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def _render_mail(self, rebuild, success, auto_canceled, manual_canceled):
if not repos:
pass

image_name = ImageName().parse(repos[0]).namespace
image_name_obj = ImageName().parse(repos[0])
image_name = image_name_obj.namespace + '/' + image_name_obj.repo

formatting_dict = {
'repositories': json.dumps(repos, sort_keys=False, indent=4, separators=(',', ': ')),
Expand Down

0 comments on commit 4f7f83d

Please sign in to comment.