]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove debtcollector.removals tagged ensure_dir
authorCedric Brandily <zzelle@gmail.com>
Thu, 1 Oct 2015 22:04:27 +0000 (00:04 +0200)
committerCedric Brandily <zzelle@gmail.com>
Fri, 2 Oct 2015 09:19:39 +0000 (09:19 +0000)
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

index 83e54ef0ec199b1c3884c244ce7d32bc26764434..f3c8da77261fe53283373d4e9485e953d98f9685 100644 (file)
@@ -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