diff options
author | Guido van Rossum <guido@python.org> | 2007-05-02 19:09:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-02 19:09:54 (GMT) |
commit | ef87d6ed94780fe00250a551031023aeb2898365 (patch) | |
tree | 1f8989aaaec7ec5f8b2f26498317f2022bf85531 /Lib/plat-mac/macresource.py | |
parent | 572dbf8f1320c0b34b9c786e5c30ba4a4b61b292 (diff) | |
download | cpython-ef87d6ed94780fe00250a551031023aeb2898365.zip cpython-ef87d6ed94780fe00250a551031023aeb2898365.tar.gz cpython-ef87d6ed94780fe00250a551031023aeb2898365.tar.bz2 |
Rip out all the u"..." literals and calls to unicode().
Diffstat (limited to 'Lib/plat-mac/macresource.py')
-rw-r--r-- | Lib/plat-mac/macresource.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/plat-mac/macresource.py b/Lib/plat-mac/macresource.py index fa14c04..fc8b381 100644 --- a/Lib/plat-mac/macresource.py +++ b/Lib/plat-mac/macresource.py @@ -82,7 +82,7 @@ def open_pathname(pathname, verbose=0): # a data-fork based resource file or a AppleSingle file # from the CVS repository. try: - refno = Res.FSOpenResourceFile(pathname, u'', 1) + refno = Res.FSOpenResourceFile(pathname, '', 1) except Res.Error as arg: if arg[0] != -199: # -199 is "bad resource map" @@ -91,7 +91,7 @@ def open_pathname(pathname, verbose=0): return refno # Finally try decoding an AppleSingle file pathname = _decode(pathname, verbose=verbose) - refno = Res.FSOpenResourceFile(pathname, u'', 1) + refno = Res.FSOpenResourceFile(pathname, '', 1) else: raise return refno @@ -109,7 +109,7 @@ def resource_pathname(pathname, verbose=0): # a data-fork based resource file or a AppleSingle file # from the CVS repository. try: - refno = Res.FSOpenResourceFile(pathname, u'', 1) + refno = Res.FSOpenResourceFile(pathname, '', 1) except Res.Error as arg: if arg[0] != -199: # -199 is "bad resource map" |