diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-01-11 15:55:11 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-01-12 08:04:50 +0000 |
commit | 9ef040a6bef904cbbf9e39135135333cbbae80b1 (patch) | |
tree | 175c2a50730bd871bb3f8a4fd7c5f1f18cdd6ec8 | |
parent | c69b00df8513237dc5a14f399eeb9b6d624d84f3 (diff) |
Do not ignore the first file by gn_find_mocables.py
Amends 10d849f82e0408350d9235cafdf04cc654ac0046
The first argument was the directory in the old times.
Pick-to: 6.4 6.5
Change-Id: I98c5f8c762c3f41124628e64a720a52203eeac40
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-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 |