From ef87d6ed94780fe00250a551031023aeb2898365 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 2 May 2007 19:09:54 +0000 Subject: Rip out all the u"..." literals and calls to unicode(). --- Lib/plat-mac/macresource.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/plat-mac/macresource.py') diff --git a/Lib/plat-mac/macresource.py b/Lib/plat-mac/macresource.py index fa14c045db..fc8b3815bd 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" -- cgit v1.2.1