Adapt order dependency impl to python types impl

This commit is contained in:
Darko Poljak 2019-11-30 23:29:16 +01:00
commit 595cfec572
3 changed files with 7 additions and 8 deletions

View file

@ -100,9 +100,6 @@ class Manifest(object):
"""
ORDER_DEP_STATE_NAME = 'order_dep_state'
TYPEORDER_DEP_NAME = 'typeorder_dep'
def __init__(self, target_host, local, dry_run=False):
self.target_host = target_host
self.local = local
@ -227,8 +224,8 @@ class Manifest(object):
os.remove(os.path.join(self.local.base_path, fname))
except FileNotFoundError:
pass
_rm_file(Manifest.ORDER_DEP_STATE_NAME)
_rm_file(Manifest.TYPEORDER_DEP_NAME)
_rm_file(cdist.ORDER_DEP_STATE_NAME)
_rm_file(cdist.TYPEORDER_DEP_NAME)
def env_py_type_manifest(self, cdist_object):
env = os.environ.copy()