diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-01-11 15:55:11 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-01-12 12:28:09 +0000 |
commit | d323d60b83659b29118ca3186d7229e9a1d06be0 (patch) | |
tree | a295a7c8a6ccf7ac165bf211a680a92e0c41b70d | |
parent | 5187476b13a9568894013b87d7046de8422d12f9 (diff) |
Do not ignore the first file by gn_find_mocables.py
Amends 10d849f82e0408350d9235cafdf04cc654ac0046
The first argument was the directory in the old times.
Change-Id: I98c5f8c762c3f41124628e64a720a52203eeac40
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 9ef040a6bef904cbbf9e39135135333cbbae80b1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tools/scripts/gn_find_mocables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scripts/gn_find_mocables.py b/tools/scripts/gn_find_mocables.py index 71ff83104..68f648889 100644 --- a/tools/scripts/gn_find_mocables.py +++ b/tools/scripts/gn_find_mocables.py @@ -7,7 +7,7 @@ import os mocables = set() includedMocs = set() -files = sys.argv[2:] +files = sys.argv[1:] for f in filter(os.path.isfile, files): inBlockComment = False |