stagingapi: utilize get_prj_meta() in set_prj_pseudometa().

This commit is contained in:
Jimmy Berry 2017-03-01 01:08:16 -06:00
parent 172012f2c4
commit 8198193196

View File

@ -583,8 +583,7 @@ class StagingAPI(object):
"""
# Get current metadata
url = make_meta_url('prj', project, self.apiurl)
root = ET.parse(http_GET(url)).getroot()
root = self.get_prj_meta(project)
# Find description
description = root.find('description')
# Order the requests and replace it with yaml