Logo Search packages:      
Sourcecode: rapid-spring version File versions  Download package

def rapid::main::TextUserInteraction::confirm (   self,
  text 
)
Ask the user for confirmation.

Definition at line 21 of file main.py.

                             :
            """ Ask the user for confirmation."""
            return self.force or raw_input(text + ' [y/N]: ').startswith('y')


Generated by  Doxygen 1.6.0   Back to index