Skip to content

EnvDeploy crashes when given a build number #55

@gyscos

Description

@gyscos

When calling

./EnvDeploy -p Geminilake -v 7.2.2-72806

The script raises an exception becauses the "config" variable is not defined:

Traceback (most recent call last):
  File "//pkgscripts-ng/EnvDeploy", line 77, in <module>
    main(sys.argv[1:])
  File "//pkgscripts-ng/EnvDeploy", line 56, in main
    args = parse_args(argv)
           ^^^^^^^^^^^^^^^^
  File "//pkgscripts-ng/EnvDeploy", line 50, in parse_args
    args.platforms = filter_platforms(args.version, args.platforms)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pkgscripts-ng/include/python/pkgdeploy.py", line 304, in filter_platforms
    all_platforms = get_all_platforms(dsm_ver, build_num)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/pkgscripts-ng/include/python/pkgdeploy.py", line 292, in get_all_platforms
    for line in config:
                ^^^^^^
NameError: name 'config' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions