Skip to content

Commit 6c78a81

Browse files
authored
Small log line fix (#12373)
Use attributes instead of putting the data into the message.
1 parent 0b15e3a commit 6c78a81

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

readthedocs/projects/models.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,11 +1233,9 @@ def update_stable_version(self):
12331233
return new_stable
12341234
else:
12351235
log.info(
1236-
"Creating new stable version: %(project)s:%(version)s",
1237-
{
1238-
"project": self.slug,
1239-
"version": new_stable.identifier,
1240-
},
1236+
"Creating new stable version",
1237+
project_slug=self.slug,
1238+
version_identifier=new_stable.identifier,
12411239
)
12421240
current_stable = self.versions.create_stable(
12431241
type=new_stable.type,

0 commit comments

Comments
 (0)