/[rdiff-backup]/rdiff-backup/rdiff_backup/rpath.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/rpath.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.94 by bescoto, Sun Nov 6 01:46:54 2005 UTC revision 1.95 by bescoto, Sun Nov 6 06:51:17 2005 UTC
# Line 1239  def carbonfile_get(rpath): Line 1239  def carbonfile_get(rpath):
1239          from Carbon.File import FSSpec          from Carbon.File import FSSpec
1240          import MacOS          import MacOS
1241          try:          try:
1242                  fsobj = FSSpec(self.path)                  fsobj = FSSpec(rpath.path)
1243                  finderinfo = fsobj.FSpGetFInfo()                  finderinfo = fsobj.FSpGetFInfo()
1244                  cfile = {'creator': finderinfo.Creator,                  cfile = {'creator': finderinfo.Creator,
1245                                   'type': finderinfo.Type,                                   'type': finderinfo.Type,
# Line 1248  def carbonfile_get(rpath): Line 1248  def carbonfile_get(rpath):
1248                  return cfile                  return cfile
1249          except MacOS.Error:          except MacOS.Error:
1250                  log.Log("Cannot read carbonfile information from %s" %                  log.Log("Cannot read carbonfile information from %s" %
1251                                  (self.path,), 2)                                  (rpath.path,), 2)
1252                  return None                  return None
1253    
1254    

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26