Change in vdsm[master]: hsm: group vdsm imports in hsm.py

frolland at redhat.com frolland at redhat.com
Tue Mar 8 08:05:14 UTC 2016


Hello Fred Rolland,

I'd like you to do a code review.  Please visit

    https://gerrit.ovirt.org/54451

to review the following change.

Change subject: hsm: group vdsm imports in hsm.py
......................................................................

hsm: group vdsm imports in hsm.py

Group together vdsm import in vdsm/storage/hsm.py

Change-Id: I2e91e70e3ec93ab2d62dcfd7fe9fd16a91f678eb
Signed-off-by: Fred Rolland <frolland at redhat.com>
---
M vdsm/storage/hsm.py
1 file changed, 5 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/51/54451/1

diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py
index 8d97a04..90d2660 100644
--- a/vdsm/storage/hsm.py
+++ b/vdsm/storage/hsm.py
@@ -37,7 +37,11 @@
 import stat
 
 from vdsm import concurrent
+from vdsm import constants
 from vdsm import logUtils
+from vdsm import qemuimg
+from vdsm import supervdsm
+from vdsm import utils
 from vdsm.config import config
 from vdsm.storage.constants import STORAGE
 from vdsm.storage.constants import SECTOR_SIZE
@@ -67,16 +71,13 @@
 import clusterlock
 import storage_exception as se
 from threadLocal import vars
-from vdsm import constants
 import resourceManager as rm
 from resourceFactories import IMAGE_NAMESPACE
 import devicemapper
 import mount
 import dispatcher
 import storageServer
-from vdsm import supervdsm
-from vdsm import utils
-from vdsm import qemuimg
+
 
 GUID = "guid"
 NAME = "name"


-- 
To view, visit https://gerrit.ovirt.org/54451
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e91e70e3ec93ab2d62dcfd7fe9fd16a91f678eb
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Fred Rolland <frolland at redhat.com>


More information about the vdsm-patches mailing list