Changeset 8592
- Timestamp:
- 02/10/12 09:37:01 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/cedaMoles/MolesManager/views/moles2gui/__init__.py
r8591 r8592 196 196 197 197 if isinstance(obj, Decimal): 198 return str(obj) 198 # wanted a simple yield str(o) in the next line, 199 # but that would mean a yield on the line with super(...), 200 # which wouldn't work (see my comment below), so... 201 return float(str(obj)) 199 202 200 203 if not hasattr(obj, "__dict__"):
Note: See TracChangeset
for help on using the changeset viewer.