simphony / simphony-common

The native implementation of the Simphony cuds objects
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

Imports in simphony.__init__ may cause import cycles #301

Closed kitchoi closed 8 years ago

kitchoi commented 8 years ago

If an engine wants to import anything under simphony, the init would import, e.g. Simulation, which imports engine. However engine has not been imported and this causes an import cycle.

A simple fix and the recommended approach is to keep simphony/init.py empty.