/[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.86 by bescoto, Wed Sep 7 17:33:25 2005 UTC revision 1.87 by bescoto, Wed Oct 19 02:27:30 2005 UTC
# Line 1145  class RPath(RORPath): Line 1145  class RPath(RORPath):
1145                          self.data['carbonfile'] = cfile                          self.data['carbonfile'] = cfile
1146                          return cfile                          return cfile
1147                  except MacOS.Error:                  except MacOS.Error:
1148                            log.Log("Cannot read carbonfile information from %s" %
1149                                            (self.path,), 2)
1150                          self.data['carbonfile'] = None                          self.data['carbonfile'] = None
1151                          return self.data['carbonfile']                          return self.data['carbonfile']
1152    
1153          def write_carbonfile(self, cfile):          def write_carbonfile(self, cfile):
1154                  """Write new carbon data to self."""                  """Write new carbon data to self."""
1155                    if not cfile:
1156                            # This should be made cleaner---if you know Mac OS X tell
1157                            # me what could cause an error in get_carbonfile above
1158                            return
1159                            
1160                  log.Log("Writing carbon data to %s" % (self.index,), 7)                  log.Log("Writing carbon data to %s" % (self.index,), 7)
1161                  from Carbon.File import FSSpec                  from Carbon.File import FSSpec
1162                  import MacOS                  import MacOS

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

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