Fix a couple of flake8 Python warnings (#13763)

* Tools: fix flake8 error

* platforms: fix flake8 error

This is just guessed.
This commit is contained in:
Julian Oes
2019-12-19 07:36:16 -08:00
committed by GitHub
parent 6dc55f97d4
commit a9ca16cafe
2 changed files with 3 additions and 2 deletions

View File

@@ -366,7 +366,7 @@ class Graph(object):
try:
content = f.read()
except:
print('Failed reading file: %s, skipping content.' % path)
print('Failed reading file: %s, skipping content.' % file_name)
return