Changeset 504
- Timestamp:
- 03/19/06 01:11:25 (2 years ago)
- Files:
-
- xmlrpcplugin/0.10/tracrpc/api.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
xmlrpcplugin/0.10/tracrpc/api.py
r229 r504 4 4 import types 5 5 import xmlrpclib 6 try: 7 set = set 8 except: 9 from sets import Set as set 6 10 7 11 RPC_TYPES = {int: 'int', bool: 'boolean', str: 'string', float: 'double', … … 82 86 # We'll fully traverse the generator results and return it as a tuple 83 87 elif type(result) is types.GeneratorType: 88 result = tuple(result) 89 elif type(result) is set: 84 90 result = tuple(result) 85 91 return (result,)
