Skip to content

Commit

Permalink
Replace f-strings with format() to ensure compatibility with Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeinazarov committed Jul 19, 2024
1 parent 1df3574 commit 2d63ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def process_config(self, do_usage=True):
if getattr(self, name) is None:
self.usage(message)

print(f"Before setting defaults - minfds: {self.minfds}, minprocs: {self.minprocs}")
print("Before setting defaults - minfds: {}, minprocs: {}".format(self.minfds, self.minprocs))

if self.minfds is None:
self.minfds = 1024
Expand Down

0 comments on commit 2d63ef7

Please sign in to comment.