Skip to content

Commit

Permalink
Merge pull request #927 from tony/patch-1
Browse files Browse the repository at this point in the history
fix(_safe_revert): Missing f-string
  • Loading branch information
etianen authored Nov 12, 2022
2 parents 3b9fa14 + d827bb1 commit 2ce16cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reversion/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _safe_revert(versions):
with transaction.atomic(using=version.db):
version.revert()
except (IntegrityError, ObjectDoesNotExist):
logger.warning('Could not revert to {version}', exc_info=True)
logger.warning(f'Could not revert to {version}', exc_info=True)
unreverted_versions.append(version)
if len(unreverted_versions) == len(versions):
raise RevertError(gettext("Could not save %(object_repr)s version - missing dependency.") % {
Expand Down

0 comments on commit 2ce16cb

Please sign in to comment.