520 ## Private method to convert a string to unicode. |
520 ## Private method to convert a string to unicode. |
521 ## |
521 ## |
522 ## @param s the string to be converted (string) |
522 ## @param s the string to be converted (string) |
523 ## @return unicode representation of s (unicode object) |
523 ## @return unicode representation of s (unicode object) |
524 ## """ |
524 ## """ |
525 ## # TODO: remove me |
|
526 ## if isinstance(s, type("")): |
525 ## if isinstance(s, type("")): |
527 ## return s |
526 ## return s |
528 ## try: |
527 ## try: |
529 ## u = str(s, self.loc) |
528 ## u = str(s, self.loc) |
530 ## except TypeError: |
529 ## except TypeError: |