Skip to content

Commit

Permalink
reporter-bugzilla: Fix string interpolation
Browse files Browse the repository at this point in the history
Fixes #788
  • Loading branch information
mgrabovsky authored and msrb committed Mar 24, 2023
1 parent 146a19c commit b2bb46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/python/reporter_bugzilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def log_out(bug_info, rhbz, dump_dir_name):
logger.warning(_('Creating a new bug'))

if existing_id < 0 <= crossver_id:
report['text'] += "\nPotential duplicate: bug {crossver_id}\n"
report['text'] += f"\nPotential duplicate: bug {crossver_id}\n"

new_id = bz_conn.bug_create(problem_data, rhbz['b_product'], rhbz['b_product_version'],
report['summary'], report['text'], rhbz['b_create_private'],
Expand Down

0 comments on commit b2bb46d

Please sign in to comment.