summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-07-08 17:25:11 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-07-08 17:25:11 +0800
commitfa15a3914005886dbf2f57ef8986f5407b396acc (patch)
tree123eeb816f73d770ca8464e87e5ec3998df91083 /mgr
parentfe7b90b1880fcd6ba00e7850e538d14cdd3010e0 (diff)
Update vnfmgr from py2 to py3
Change-Id: I2dba6c28b7e1de433d0813a05f996ef2f54d4a95 Issue-ID: VFC-1429 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'mgr')
-rw-r--r--mgr/mgr/swagger/management/commands/export_swagger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgr/mgr/swagger/management/commands/export_swagger.py b/mgr/mgr/swagger/management/commands/export_swagger.py
index b6f3368..e510189 100644
--- a/mgr/mgr/swagger/management/commands/export_swagger.py
+++ b/mgr/mgr/swagger/management/commands/export_swagger.py
@@ -33,4 +33,4 @@ class Command(BaseCommand):
response = self.client.get("/api/vnfmgr/v1/swagger.json")
with open(options['name'], 'w') as swagger_file:
swagger_file.write(json.dumps(response.data))
- print "swagger api is written to %s" % options['name']
+ print("swagger api is written to %s" % options['name'])