diff options
author | David M. Lee <dlee@digium.com> | 2013-08-29 16:21:31 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-08-29 16:21:31 +0000 |
commit | 417230848f177763d06d0d851253df17348fed79 (patch) | |
tree | d0d49ab9b118a9e9b7f5f83e2e8a74e0b9068a3c /rest-api-templates/make_ari_stubs.py | |
parent | 3f0148cd678dc4f61ac624985bc0a54e253abbd9 (diff) |
Account for {} in Swagger notes
........
Merged revisions 397927 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api-templates/make_ari_stubs.py')
-rwxr-xr-x | rest-api-templates/make_ari_stubs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rest-api-templates/make_ari_stubs.py b/rest-api-templates/make_ari_stubs.py index 8058862fd..a08b9bfa8 100755 --- a/rest-api-templates/make_ari_stubs.py +++ b/rest-api-templates/make_ari_stubs.py @@ -16,13 +16,15 @@ # at the top of the source tree. # +import sys + try: import pystache except ImportError: print >> sys.stderr, "Pystache required. Please sudo pip install pystache." + sys.exit(1) import os.path -import sys from asterisk_processor import AsteriskProcessor from optparse import OptionParser |