Message5818
In the pyamf code, they have this check:
1780 if type(module) is dict:
1781 has = lambda x: x in module.keys()
1782 get = module.__getitem__
1783 elif type(module) is list:
1784 has = lambda x: x in module
1785 get = module.__getitem__
1786 strict = False
1787 else:
1788 has = lambda x: hasattr(module, x)
1789 get = lambda x: getattr(module, x)
Since type(globals()) is 'stringmap', it fails
You can try
pyamf.register_package(dict(globals()), package='flex.messaging.io')
instead |
|
Date |
User |
Action |
Args |
2010-06-16 21:00:32 | akong | set | messageid: <1276722032.7.0.0857632517544.issue1618@psf.upfronthosting.co.za> |
2010-06-16 21:00:32 | akong | set | recipients:
+ akong, thijs |
2010-06-16 21:00:32 | akong | link | issue1618 messages |
2010-06-16 21:00:31 | akong | create | |
|