Ignore:
Timestamp:
Aug 27, 2009, 5:49:44 PM (15 years ago)
Author:
joergs
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • baculafs/trunk/baculafs.py

    r785 r786  
    116116        logging.debug( "(" + path + ")" )
    117117
     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
    118122        if not path:
    119123            return True
     
    150154
    151155    def cd_restore(self, path):
    152         #path = path + "/"
    153156        logging.debug( "(" + path + ")" )
    154 
    155         # TODO:
    156         #  parse for BCONSOLE_SELECT_PROMPT or BCONSOLE_RESTORE_PROMPT
    157         #    BCONSOLE_SELECT_PROMPT: take first part of path and try to match. send number. iterate
    158         #    BCONSOLE_RESTORE_PROMPT: cd to directory (as before)
    159157
    160158        self.bconsole.sendline( 'cd ' + path )
Note: See TracChangeset for help on using the changeset viewer.