stagingapi: utilize get_prj_meta() in set_prj_pseudometa().
This commit is contained in:
parent
172012f2c4
commit
8198193196
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user