apyrgio / synnefo

Synnefo is open source cloud software, used to create massively scalable IaaS clouds.
GNU General Public License v3.0
0 stars 0 forks source link

Fix cyclic imports in volumes.py #335

Closed apyrgio closed 9 years ago

apyrgio commented 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.

Find a better way to fix this issue.

apyrgio commented 9 years ago

This has been fixed using a simpe function in volume/volumes.py