CMake: pro2cmake.py: Small fix to type markup
Change-Id: I2f7dc94f379d51c3816649849aa7365b17334ab5 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
6dd989fe61
commit
e616976fdf
@ -290,7 +290,7 @@ class Scope(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def FromDict(parent_scope: typing.Optional['Scope'],
|
def FromDict(parent_scope: typing.Optional['Scope'],
|
||||||
file: str, statements, cond: str = '', base_dir: str = ''):
|
file: str, statements, cond: str = '', base_dir: str = '') -> Scope:
|
||||||
scope = Scope(parent_scope=parent_scope, file=file, condition=cond, base_dir=base_dir)
|
scope = Scope(parent_scope=parent_scope, file=file, condition=cond, base_dir=base_dir)
|
||||||
for statement in statements:
|
for statement in statements:
|
||||||
if isinstance(statement, list): # Handle skipped parts...
|
if isinstance(statement, list): # Handle skipped parts...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user