Skip to content

Commit

Permalink
Merge pull request #86 from mtreinish/fix-35
Browse files Browse the repository at this point in the history
Avoid f-strings for now
  • Loading branch information
davidhewitt authored Nov 9, 2020
2 parents 75fa9ab + 2e4279b commit 277f29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools_rust/tomlgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def iter_dependencies(self, ext=None):
for section in sections:
if self.cfg.has_section(section):
for dep, options in self.cfg.items(section):
yield dep, toml.loads(f"{dep} = {options}")[dep]
yield dep, toml.loads("%s = %s" % (dep, options))[dep]


def _slugify(name):
Expand Down

0 comments on commit 277f29b

Please sign in to comment.