Revision 4492
Added by Aaron Marcuse-Kubitza over 12 years ago
map | ||
---|---|---|
288 | 288 |
log_debug('Getting '+strings.ustr(in_)) |
289 | 289 |
value = metadata_value(in_) |
290 | 290 |
if value == None: value = cleanup(get_value(in_, row)) |
291 |
log_debug('Putting '+repr(value)+' to '+strings.ustr(out)) |
|
291 |
log_debug('Putting '+strings.urepr(value)+' to ' |
|
292 |
+strings.ustr(out)) |
|
292 | 293 |
if out_is_db: # out is list of XML nodes |
293 | 294 |
for node in out: xml_dom.set_value(node, value) |
294 | 295 |
elif value != None: # out is XPath |
Also available in: Unified diff
Replaced repr() with strings.urepr() (or equivalent) everywhere needed, to avoid future UnicodeEncodeErrors