From 350523bce23d52709e632f56c947f70ce3377178 Mon Sep 17 00:00:00 2001 From: Cedric Brandily Date: Fri, 2 Oct 2015 00:04:27 +0200 Subject: [PATCH] Remove debtcollector.removals tagged ensure_dir This change removes ensure_dir[1] wrapper which has been tagged in Liberty for removal. [1] neutron.agent.linux.utils Closes-Bug: #1502061 Change-Id: I2bd62a0fd476cf6bf24761f942d555c1c29b4bf8 --- neutron/agent/linux/utils.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/neutron/agent/linux/utils.py b/neutron/agent/linux/utils.py index 83e54ef0ec1..f3c8da77261 100644 --- a/neutron/agent/linux/utils.py +++ b/neutron/agent/linux/utils.py @@ -24,7 +24,6 @@ import struct import tempfile import threading -from debtcollector import removals import eventlet from eventlet.green import subprocess from eventlet import greenthread @@ -212,11 +211,6 @@ def find_child_pids(pid): return [x.strip() for x in raw_pids.split('\n') if x.strip()] -@removals.remove(message='Use neutron.common.utils.ensure_dir instead.') -def ensure_dir(*args, **kwargs): - return utils.ensure_dir(*args, **kwargs) - - def _get_conf_base(cfg_root, uuid, ensure_conf_dir): #TODO(mangelajo): separate responsibilities here, ensure_conf_dir # should be a separate function