~mmach/netext73/meson

« back to all changes in this revision

Viewing changes to mesonbuild/scripts/delwithsuffix.py

  • Committer: mmach
  • Date: 2020-11-29 19:08:04 UTC
  • Revision ID: netbit73@gmail.com-20201129190804-ls0qxxpe5on8xxkd
0.56

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# limitations under the License.
14
14
 
15
15
import os, sys
 
16
import typing as T
16
17
 
17
 
def run(args):
 
18
def run(args: T.List[str]) -> int:
18
19
    if len(args) != 2:
19
20
        print('delwithsuffix.py <root of subdir to process> <suffix to delete>')
20
21
        sys.exit(1)