Merge "Skip description from service transformation"
This commit is contained in:
commit
c5725038d3
@ -48,7 +48,10 @@ class Controller(object):
|
|||||||
srv = {}
|
srv = {}
|
||||||
srv['id'] = package.id
|
srv['id'] = package.id
|
||||||
srv['name'] = package.name
|
srv['name'] = package.name
|
||||||
srv['description'] = package.description
|
if len(package.description) > 256:
|
||||||
|
srv['description'] = u"{0} ...".format(package.description[:253])
|
||||||
|
else:
|
||||||
|
srv['description'] = package.description
|
||||||
srv['bindable'] = True
|
srv['bindable'] = True
|
||||||
srv['tags'] = []
|
srv['tags'] = []
|
||||||
for tag in package.tags:
|
for tag in package.tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user