diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2018-04-19 03:40:02 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-04-19 03:40:02 -0500 |
commit | 8df2921e6edcffb5f0dad54456b654c891fff95d (patch) | |
tree | 7758c98a801f4c1efd4f6461ccb31f681120a64e /rest-api-templates/make_ari_stubs.py | |
parent | 6ccf08c54382798609273e65fd67c2d16d6ecdcf (diff) | |
parent | 879e592baf80712ba2e54110ece0e036df892ea0 (diff) |
Merge "Build System: Enable python3 compatibility."
Diffstat (limited to 'rest-api-templates/make_ari_stubs.py')
-rwxr-xr-x | rest-api-templates/make_ari_stubs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rest-api-templates/make_ari_stubs.py b/rest-api-templates/make_ari_stubs.py index 0aba06d6d..a25773df4 100755 --- a/rest-api-templates/make_ari_stubs.py +++ b/rest-api-templates/make_ari_stubs.py @@ -16,19 +16,20 @@ # at the top of the source tree. # +from __future__ import print_function import sys try: import pystache except ImportError: - print >> sys.stderr, "Pystache required. Please sudo pip install pystache." + print("Pystache required. Please sudo pip install pystache.", file=sys.stderr) sys.exit(1) import os.path from asterisk_processor import AsteriskProcessor from optparse import OptionParser -from swagger_model import * +from swagger_model import ResourceListing from transform import Transform TOPDIR = os.path.dirname(os.path.abspath(__file__)) |