rbistolfi  committed 82142b1

Remove __all__ definitions from packages that doesnt need it.
Fixes import error using the "from vasm.backend import foo" syntax

if a package’s code defines a list named __all__, it
is taken to be the list of module names that should be imported
when from package import * is encountered. The backend package
allowed only the test package to be imported in its __all__
definition, and an exception was raised when importing any module
from the backend package.

  • Participants
  • Parent commits 27c13cd
  • Branches default

Comments (0)

Files changed (3)

File src/vasm/backend/

 """ Supporting components for the vasm modules.  These are the backend
 modules, common to all user interfaces."""
-__all__ = ['tests']

File src/vasm/ui/

 #!/usr/bin/env python
-__all__ = ['gtk2','urwid']
+__all__ = ['gtk2','tui']

File src/vasm/ui/gtk2/

-#!/usr/bin/env python
-__all__ = ['modules', 'support']