Skip to content

Commit

Permalink
Merge pull request #31 from Chilipp/py35-fix
Browse files Browse the repository at this point in the history
Remove f-strings
  • Loading branch information
Chilipp committed Sep 22, 2020
2 parents e0ab897 + 52f5970 commit fe2da1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ python:
- "3.8"
- "3.7"
- "3.6"
- "3.5"
env:
- SPHINX_VERSION=""
- SPHINX_VERSION=3.2.*
Expand Down
4 changes: 2 additions & 2 deletions autodocsumm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,8 @@ def run(self):
except (KeyError, ValueError, TypeError) as exc:
# an option is either unknown or has a wrong type
logger.error(
f'An option to {self.name} is either unknown or has an invalid '
f'value: {exc}',
'An option to %s is either unknown or has an invalid '
'value: %s', self.name, exc,
location=(self.env.docname, lineno))
return []

Expand Down

0 comments on commit fe2da1d

Please sign in to comment.