« Previous | Next » 

Revision 4a6fce31

ID4a6fce3185e0e319b908c058b6b4950560464ce1
Parent 1a9eb17e
Child cfa79a23

Added by Michael Hanselmann over 11 years ago

Detect wrong Python module structure

If, for one reason or another, a module named "ganeti.ganeti" can be
succesfully imported (e.g. through a symlink in the wrong place), error
which are diffcult to debug can occur. This piece of code tests for the
unlikely case of that happening.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences