Skip to content

Commit 40a4ff3

Browse files
committed
Fix lint issues
1 parent 77d9145 commit 40a4ff3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

readthedocs/projects/search_indexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def prepare_text(self, obj):
8686
content = f.read()
8787
except IOError as e:
8888
log.info(
89-
'(Search Index) Unable to index file: %',
89+
'(Search Index) Unable to index file: %s',
9090
file_path,
9191
exc_info=True,
9292
)

readthedocs/projects/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def run(self, version_pk): # pylint: disable=arguments-differ
185185
return True
186186
except RepositoryError as e:
187187
# Do not log as ERROR handled exceptions
188-
log.warning('There was an error with the repository: msg=%', e.msg)
188+
log.warning('There was an error with the repository: msg=%s', e.msg)
189189
except Exception:
190190
# Catch unhandled errors when syncing
191191
log.exception(

0 commit comments

Comments
 (0)