Changeset 786
- Timestamp:
- Aug 27, 2009, 5:49:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
baculafs/trunk/baculafs.py
r785 r786 116 116 logging.debug( "(" + path + ")" ) 117 117 118 # parse for BCONSOLE_SELECT_PROMPT or BCONSOLE_RESTORE_PROMPT 119 # BCONSOLE_SELECT_PROMPT: take first part of path and try to match. send number. iterate 120 # BCONSOLE_RESTORE_PROMPT: cd to directory (as before) 121 118 122 if not path: 119 123 return True … … 150 154 151 155 def cd_restore(self, path): 152 #path = path + "/"153 156 logging.debug( "(" + path + ")" ) 154 155 # TODO:156 # parse for BCONSOLE_SELECT_PROMPT or BCONSOLE_RESTORE_PROMPT157 # BCONSOLE_SELECT_PROMPT: take first part of path and try to match. send number. iterate158 # BCONSOLE_RESTORE_PROMPT: cd to directory (as before)159 157 160 158 self.bconsole.sendline( 'cd ' + path )
Note:
See TracChangeset
for help on using the changeset viewer.