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

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

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

revision 1.26 by bescoto, Sat Nov 1 21:04:27 2003 UTC revision 1.27 by bescoto, Mon Oct 31 04:53:31 2005 UTC
# Line 153  class LowLevelPipeConnection(Connection) Line 153  class LowLevelPipeConnection(Connection)
153          def _putiter(self, iterator, req_num):          def _putiter(self, iterator, req_num):
154                  """Put an iterator through the pipe"""                  """Put an iterator through the pipe"""
155                  self._write("i",                  self._write("i",
156                                          str(VirtualFile.new(iterfile.RORPIterToFile(iterator))),                          str(VirtualFile.new(iterfile.MiscIterToFile(iterator))), req_num)
                                         req_num)  
157    
158          def _putrpath(self, rpath, req_num):          def _putrpath(self, rpath, req_num):
159                  """Put an rpath into the pipe                  """Put an rpath into the pipe
# Line 241  class LowLevelPipeConnection(Connection) Line 240  class LowLevelPipeConnection(Connection)
240                  elif format_string == "b": result = data                  elif format_string == "b": result = data
241                  elif format_string == "f": result = VirtualFile(self, int(data))                  elif format_string == "f": result = VirtualFile(self, int(data))
242                  elif format_string == "i":                  elif format_string == "i":
243                          result = iterfile.FileToRORPIter(VirtualFile(self, int(data)))                          result = iterfile.FileToMiscIter(VirtualFile(self, int(data)))
244                  elif format_string == "r": result = self._getrorpath(data)                  elif format_string == "r": result = self._getrorpath(data)
245                  elif format_string == "R": result = self._getrpath(data)                  elif format_string == "R": result = self._getrpath(data)
246                  elif format_string == "Q": result = self._getqrpath(data)                  elif format_string == "Q": result = self._getqrpath(data)
# Line 535  import Globals, Time, Rdiff, Hardlink, F Line 534  import Globals, Time, Rdiff, Hardlink, F
534             Main, rorpiter, selection, increment, statistics, manage, lazy, \             Main, rorpiter, selection, increment, statistics, manage, lazy, \
535             iterfile, rpath, robust, restore, manage, backup, connection, \             iterfile, rpath, robust, restore, manage, backup, connection, \
536             TempFile, SetConnections, librsync, log, regress, fs_abilities, \             TempFile, SetConnections, librsync, log, regress, fs_abilities, \
537             eas_acls, user_group             eas_acls, user_group, compare
538    
539  Globals.local_connection = LocalConnection()  Globals.local_connection = LocalConnection()
540  Globals.connections.append(Globals.local_connection)  Globals.connections.append(Globals.local_connection)

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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