Project

General

Profile

« Previous | Next » 

Revision 4491

Replaced str() with strings.ustr() (or equivalent) everywhere needed, to avoid future UnicodeEncodeErrors

View differences:

xpath.py
257 257
        if target != None: value_ = xml_dom.value(target)
258 258
        else:
259 259
            warnings.warn(UserWarning('XPath reference target missing: '
260
                +str(value_)+'\nXPath: '+str(xpath)))
260
                +strings.ustr(value_)+'\nXPath: '+strings.ustr(xpath)))
261 261
            value_ = None
262 262
    
263 263
    # Check each match

Also available in: Unified diff