Ejemplo n.º 1
0
 def do_parmout(self, line):
     # Store this action for later use. This action is unique
     try:
         self.parmout = ParmedActions.parmout(self.parm, line)
     except ParmError, err:
         self.stdout.write('Action parmout failed.\n\t')
         self.stdout.write('%s: %s\n' % (type(err).__name__, err))
         if self._exit_on_fatal:
             raise err
Ejemplo n.º 2
0
 def do_parmout(self, line):
    # Store this action for later use.  This action is unique in that respect
    self.parmout = ParmedActions.parmout(self.parm, line)