stagingapi: StagingAPI doen't initial api itself
This commit is contained in:
parent
1a22a59cb0
commit
7effeb49e5
@ -1262,7 +1262,7 @@ class StagingAPI(object):
|
|||||||
if root.get('state') == 'empty':
|
if root.get('state') == 'empty':
|
||||||
# Cleanup like accept since the staging is now empty.
|
# Cleanup like accept since the staging is now empty.
|
||||||
if self.is_adi_project(project):
|
if self.is_adi_project(project):
|
||||||
self.api.delete_empty_adi_project(project)
|
self.delete_empty_adi_project(project)
|
||||||
else:
|
else:
|
||||||
self.staging_deactivate(project)
|
self.staging_deactivate(project)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user