-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Graham Fawcett wrote:
| Here's a short example that really works, with no changes to Publisher:
|
| import _dollar_one, foo, bar
|
| _q_exports = ['foo', 'bar']
|
| _other_exports = {
| '$one': _dollar_one,
| }
|
| _q_exports.extend(_other_exports.keys())
|
| def _q_resolve(name):
| return _other_exports.get(name)
|
| I actually tried this one before posting it to the list. :-;
|
| -- Graham
This one works well, and looks fine to me. I think it should be
included as viable option (if not recommendation) for these types of issues.
+1 and a gold star to Graham .
- --
Tom Jenkins
devIS - Development Infostructure
http://www.devis.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0-nr2 (Windows XP)
Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org
iD8DBQFAdEskV7Yk9/McDYURAlWIAJ93aZGmN4pTGQeE7Z/+/zSrAs7TmgCggqXu
sHp2Ob+2GrTXPK6y+UYqvsM=
=4TaD
-----END PGP SIGNATURE-----