diff --git a/Mac/Lib/macresource.py b/Mac/Lib/macresource.py index 4eaf0762af33..23713a58aee3 100644 --- a/Mac/Lib/macresource.py +++ b/Mac/Lib/macresource.py @@ -91,6 +91,8 @@ def open_pathname(pathname): # Finally try decoding an AppleSingle file pathname = _decode(pathname) refno = Res.FSOpenResourceFile(pathname, u'', 1) + else: + raise return refno def _decode(pathname):