mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Run validate-modules with python 2 only.
This allows validate-modules to run in an environment where python 3 is the default. This will no longer be necessary once validate-modules is updated to work with both python 2 and 3.
This commit is contained in:
parent
57b8acccec
commit
1238a4c0c9
2 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ grep '^#!' -RIn . 2>/dev/null | grep ':1:' | sed 's/:1:/:/' | grep -v -E \
|
|||
-e '/.tox/' \
|
||||
-e '^\./lib/ansible/modules/' \
|
||||
-e '^\./test/integration/targets/[^/]*/library/[^/]*:#!powershell$' \
|
||||
-e '^\./test/sanity/validate-modules/validate-modules:#!/usr/bin/env python2$' \
|
||||
-e ':#!/bin/sh$' \
|
||||
-e ':#!/bin/bash( -[eux]|$)' \
|
||||
-e ':#!/usr/bin/make -f$' \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2015 Matt Martz <matt@sivel.net>
|
||||
|
|
Loading…
Reference in a new issue