

def detach(self):
    'TODO try it\n\t\tmodifying the original env will not change the copy'
    tbl = self.get_merged_dict()
    try:
        delattr(self, 'parent')
    except AttributeError:
        pass
    else:
        keys = tbl.keys()
        for x in keys:
            tbl[x] = copy.deepcopy(tbl[x])
        self.table = tbl

dataset/ETHPy150Open appcelerator-archive/poc-nodejs-desktop/Resources/nodejs/builds/linux/node/lib/node/wafadmin/Environment.py Environment.detach/original