Update for Vulkan-Docs 1.2.195
This commit is contained in:
parent
e500c7c809
commit
fa27a13cf7
14 changed files with 2873 additions and 430 deletions
|
|
@ -43,7 +43,10 @@ def enquote(s):
|
|||
"""Return string argument with surrounding quotes,
|
||||
for serialization into Python code."""
|
||||
if s:
|
||||
return "'{}'".format(s)
|
||||
if isinstance(s, str):
|
||||
return "'{}'".format(s)
|
||||
else:
|
||||
return s
|
||||
return None
|
||||
|
||||
|
||||
|
|
@ -778,7 +781,6 @@ class OutputGenerator:
|
|||
self.warnFile.flush()
|
||||
if self.diagFile:
|
||||
self.diagFile.flush()
|
||||
self.outFile.flush()
|
||||
if self.outFile != sys.stdout and self.outFile != sys.stderr:
|
||||
self.outFile.close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue