|
Last change
on this file since 527 was
510,
checked in by price, 17 years ago
|
|
front page for non-MIT users (and other unath'd)
|
|
File size:
350 bytes
|
| Line | |
|---|
| 1 | __all__ = 'info command error help invalid list unauth vnc'.split() |
|---|
| 2 | for _name in __all__: |
|---|
| 3 | try: |
|---|
| 4 | _module = __import__(_name, globals(), {}, [_name]) |
|---|
| 5 | globals()[_name] = getattr(_module, _name) |
|---|
| 6 | except ImportError, e: |
|---|
| 7 | import sys |
|---|
| 8 | print >> sys.stderr, 'Importing template "%s" raised error: %s' % (_name, e) |
|---|
| 9 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.