Changeset 5573 for branches/uq/lang
- Timestamp:
- May 19, 2015, 6:26:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/uq/lang/python/Rappture/pyxml.py
r5544 r5573 54 54 val = ' '.join(map(str, val.ravel('F').tolist())) 55 55 elif type(val) == list or type(val) == tuple: 56 val = ' '.join(map(str, (itertools.chain(*zip(*val))))) 56 val = ' '.join(map(repr, (itertools.chain(*zip(*val))))) 57 # we need the strings double quoted for tcl 58 val = val.replace("'", '"') 57 59 self.lib.put(path, val, **kwargs) 58 60
Note: See TracChangeset
for help on using the changeset viewer.