summaryrefslogtreecommitdiffstats
path: root/.local/bin/oslopolicy-convert-json-to-yaml
blob: 7bf49f301a6e9928840bc6c430fb39c9e7a01cc2 (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/local/bin/python3.8
# -*- coding: utf-8 -*-
import re
import sys
from oslo_policy.generator import convert_policy_json_to_yaml
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(convert_policy_json_to_yaml())