summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-01-31 14:25:32 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-01-31 15:24:09 +0000
commite616976fdf5d3912bbcbced0394330805fec462a (patch)
treea9f86b9a48f612ad6eb29e724f824405e978b21d /util
parent6dd989fe6163ce24324a35816803fb36730ac42c (diff)
CMake: pro2cmake.py: Small fix to type markup
Change-Id: I2f7dc94f379d51c3816649849aa7365b17334ab5 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/pro2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 215ee21b10..6d63461e0d 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -290,7 +290,7 @@ class Scope(object):
@staticmethod
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)
for statement in statements:
if isinstance(statement, list): # Handle skipped parts...