Skip to content
Snippets Groups Projects
Commit d6785b7d authored by Mike Palmiotto's avatar Mike Palmiotto Committed by Android Git Automerger
Browse files

am f84a8ca7: am 070c01f8: tools: Don\'t error out of insertkeys script on whitespace

* commit 'f84a8ca7':
  tools: Don't error out of insertkeys script on whitespace
parents 81ee5898 f84a8ca7
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,8 @@ class GenerateKeys(object): ...@@ -79,7 +79,8 @@ class GenerateKeys(object):
# If we haven't started the certificate, then we should not encounter any data # If we haven't started the certificate, then we should not encounter any data
elif not inCert: elif not inCert:
sys.exit("Detected erroneous line \""+ line + "\" on " + str(lineNo) if line is not "":
sys.exit("Detected erroneous line \""+ line + "\" on " + str(lineNo)
+ " in pem file: " + path) + " in pem file: " + path)
# else we have started the certicate and need to append the data # else we have started the certicate and need to append the data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment