]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Build System: Enable python3 compatibility.
authorCorey Farrell <git@cfware.com>
Fri, 23 Mar 2018 11:49:59 +0000 (07:49 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 9 Apr 2018 14:08:15 +0000 (10:08 -0400)
commit759335978737693c12909741c3b56e9026b6ada2
treef16bc357cd6f5f76f7868e9d7a6e015f6157a4cf
parentdcac292ae3326d7a56f78b340d7faf14b44cd86d
Build System: Enable python3 compatibility.

* Consistently use spaces in rest-api-templates/asterisk_processor.py.
* Exclude third-party from docs/full-en_US.xml.
* Add docs/full-en_US.xml to .gitignore.
* Use list() to convert python3 view.
* Use python3 print function.
* Replace cmp() with equivalent equation.
* Replace reference to out of scope subtype variable with name
  parameter.
* Use unescaping triple bracket notation in mustache templates where
  needed.  This causes behavior of Python2 to be maintained when using
  Python3.
* Fix references to has_websocket / is_websocket in
  res_ari_resource.c.mustache.
* Update calculation of has_websocket to use any().
* Use unicode mode for writing output file in transform.py.
* Replace 'from swagger_model import *' with explicit import of required
  symbols.
* Add missing 'import os'
* Fix invalid reference to swagger_version from exception handler.

I have not tested voicemailpwcheck.py, only the print syntax has
been fixed.

Change-Id: If5c5b556a2800d41a3e2cfef080ac2e151178c33
Makefile
contrib/scripts/refcounter.py
contrib/scripts/voicemailpwcheck.py
doc/.gitignore
rest-api-templates/api.wiki.mustache
rest-api-templates/ari_resource.h.mustache
rest-api-templates/asterisk_processor.py
rest-api-templates/make_ari_stubs.py
rest-api-templates/res_ari_resource.c.mustache
rest-api-templates/swagger_model.py
rest-api-templates/transform.py