Python-API: Python 2 support.

Change-Id: I6bc656caf22e284233e27f9e003f11502f306c11
Signed-off-by: Ole Troan <ot@cisco.com>
This commit is contained in:
Ole Troan
2016-04-25 13:11:19 +02:00
parent fc6cf287c4
commit d06b9f9cbf
2 changed files with 43 additions and 11 deletions

View File

@ -202,7 +202,7 @@ def api_table_print (name, msg_id):
# Generate the main Python file
#
print '''#!/usr/bin/env python3
print '''
#
# AUTO-GENERATED FILE. PLEASE DO NOT EDIT.