Anonymous avatar Anonymous 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.

Comments (0)

Files changed (3)


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


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


-#!/usr/bin/env python
-__all__ = ['modules', 'support']
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.