Delete Invalid variable

Change-Id: Ibfaaae8768e6f2f5636904d190c3397b1a253c20
Closes-Bug: #1587713
This commit is contained in:
yangyapeng 2016-06-01 03:32:27 +00:00 committed by Saad Zaher
parent c976514d20
commit 9cddf838a3
2 changed files with 1 additions and 5 deletions

View File

@ -15,7 +15,6 @@ limitations under the License.
Freezer Backup modes related functions
"""
import os
import time
from oslo_config import cfg
@ -25,7 +24,6 @@ from freezer.utils import utils
CONF = cfg.CONF
logging = log.getLogger(__name__)
home = os.path.expanduser("~")
class BackupOs(object):

View File

@ -15,7 +15,6 @@ limitations under the License.
Freezer Backup modes related functions
"""
import os
from oslo_config import cfg
from oslo_log import log
@ -27,7 +26,6 @@ from freezer.utils import winutils
CONF = cfg.CONF
logging = log.getLogger(__name__)
home = os.path.expanduser("~")
def snapshot_create(backup_opt_dict):
@ -61,4 +59,4 @@ def snapshot_remove(backup_opt_dict, shadow, windows_volume):
vss.vss_delete_shadow_copy(shadow, windows_volume)
else:
# Unmount and remove lvm snapshot volume
lvm.lvm_snap_remove(backup_opt_dict)
lvm.lvm_snap_remove(backup_opt_dict)