Browse Source

Use python3 in tools scripts

The scripts in tools should be updated to use python3
by default. Support for python2 has been dropped.

Closes-Bug: #1875685
Change-Id: Ia13a8a43d767d93263d5c717f273184bf78d23c9
changes/83/724083/3
Harald Jensås 1 year ago
parent
commit
a73c2281e6
  1. 2
      tools/make_ceph_disk_list.py
  2. 2
      tools/process-templates.py
  3. 2
      tools/render-ansible-tasks.py
  4. 2
      tools/roles-data-generate.py
  5. 2
      tools/yaml-diff.py
  6. 2
      tools/yaml-nic-config-2-script.py
  7. 2
      tools/yaml-validate.py

2
tools/make_ceph_disk_list.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

2
tools/process-templates.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

2
tools/render-ansible-tasks.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright 2019 Red Hat, Inc.
#

2
tools/roles-data-generate.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright 2017 Red Hat, Inc.
#

2
tools/yaml-diff.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

2
tools/yaml-nic-config-2-script.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

2
tools/yaml-validate.py

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at

Loading…
Cancel
Save