Fixing nits in scripts/readme.py to pass pep8 check

Change-Id: If2ee4c76d9fa9e86080ec2c08b877e4148d8e279
This commit is contained in:
Vinay Potluri 2017-04-05 13:36:30 -05:00
parent 956aa0672e
commit df5d024706
1 changed files with 2 additions and 2 deletions

View File

@ -41,6 +41,7 @@ Team and repository tags
"""
def find_docs():
"""Yields files as per the whitelist."""
loc = "../doc/source/{}.rst"
@ -61,8 +62,7 @@ def concat_docs():
"""Concatinates files yielded by the generator `find_docs`."""
file_path = os.path.dirname(os.path.realpath(__file__))
head, tail = os.path.split(file_path)
outfile = head +"/README.rst"
outfile = head + "/README.rst"
if not os.path.isfile(outfile):
print("../README.rst not found, exiting!")
exit(1)