diff options
author | 2017-11-19 11:42:55 +0200 | |
---|---|---|
committer | 2017-11-19 11:43:15 +0200 | |
commit | a9ef6f094a2bcf1fd7a0b7c2aaf814841db558ec (patch) | |
tree | 81a3f8436f9e6af07c3070c74f3a0543c2ca5eff /django/engagementmanager/service/cms/pages_service.py | |
parent | c169d08d437ccb62fd79ade759077b874f00b1c3 (diff) |
Pep8 more fixes
Update base files to pass pep8 strict standarts.
Issue-ID: VVP-25
Change-Id: If9ef80abf7fbc33ea181dfc2eb73c27ddd6ddc3e
Signed-off-by: Edan Binshtok <eb578m@intl.att.com>
Diffstat (limited to 'django/engagementmanager/service/cms/pages_service.py')
-rw-r--r-- | django/engagementmanager/service/cms/pages_service.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/django/engagementmanager/service/cms/pages_service.py b/django/engagementmanager/service/cms/pages_service.py index ab6fc96..9dbc44f 100644 --- a/django/engagementmanager/service/cms/pages_service.py +++ b/django/engagementmanager/service/cms/pages_service.py @@ -1,5 +1,5 @@ -# -# ============LICENSE_START========================================== +# +# ============LICENSE_START========================================== # org.onap.vvp/engagementmgr # =================================================================== # Copyright © 2017 AT&T Intellectual Property. All rights reserved. @@ -55,10 +55,12 @@ class CMSPagesService(BaseCms): def getPage(self, id): page = cms_client.get_page(id) - # Handling static files address (like images) to get the full address of the CMS static file: + # Handling static files address (like images) to get the full + # address of the CMS static file: if 'content' in page and page['content']: cmsAddress = re.sub('\/api/$', '', cms_client.api_url) - page['content'] = page['content'].replace('src="/static/media/', 'src="%s/static/media/' % cmsAddress) + page['content'] = page['content'].replace( + 'src="/static/media/', 'src="%s/static/media/' % cmsAddress) return page |