Closed apyrgio closed 9 years ago
In volumes/volumes.py, there are some functions (attach/detach) that need the get_resource function from the management/common module. This creates a cyclic import and, for the time being, the common module is imported on runtime.
volumes/volumes.py
attach
detach
get_resource
management/common
common
Find a better way to fix this issue.
This has been fixed using a simpe function in volume/volumes.py
volume/volumes.py
In
volumes/volumes.py
, there are some functions (attach
/detach
) that need theget_resource
function from themanagement/common
module. This creates a cyclic import and, for the time being, thecommon
module is imported on runtime.Find a better way to fix this issue.