Commit 204ddb56 authored by bescoto's avatar bescoto

rpath typo fix


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@680 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 27a61ec8
...@@ -1239,7 +1239,7 @@ def carbonfile_get(rpath): ...@@ -1239,7 +1239,7 @@ def carbonfile_get(rpath):
from Carbon.File import FSSpec from Carbon.File import FSSpec
import MacOS import MacOS
try: try:
fsobj = FSSpec(self.path) fsobj = FSSpec(rpath.path)
finderinfo = fsobj.FSpGetFInfo() finderinfo = fsobj.FSpGetFInfo()
cfile = {'creator': finderinfo.Creator, cfile = {'creator': finderinfo.Creator,
'type': finderinfo.Type, 'type': finderinfo.Type,
...@@ -1248,7 +1248,7 @@ def carbonfile_get(rpath): ...@@ -1248,7 +1248,7 @@ def carbonfile_get(rpath):
return cfile return cfile
except MacOS.Error: except MacOS.Error:
log.Log("Cannot read carbonfile information from %s" % log.Log("Cannot read carbonfile information from %s" %
(self.path,), 2) (rpath.path,), 2)
return None return None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment