]> granicus.if.org Git - python/commitdiff
Return a handle in stead of a resource.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 7 Apr 2000 09:08:37 +0000 (09:08 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 7 Apr 2000 09:08:37 +0000 (09:08 +0000)
Mac/Lib/macfsn.py

index c78459d3767a794cb592bf72c958425edf24acce..f7b6b2eec8f630885cd3302c81153ab528372c7a 100644 (file)
@@ -17,7 +17,7 @@ def _mktypelist(typelist):
        data = 'Pyth' + struct.pack("hh", 0, len(typelist))
        for type in typelist:
                data = data+type
-       return Res.Resource(data)
+       return Res.Handle(data)
        
 def _StandardGetFile(*typelist):
        return apply(_PromptGetFile, (None,)+typelist)