Logo Search packages:      
Sourcecode: jhbuild version File versions  Download package

def jhbuild::cut_n_paste::optparse::OptionParser::error (   self,
  msg 
)

error(msg : string)

Print a usage message incorporating 'msg' to stderr and exit.
If you override this in a subclass, it should not return -- it
should either exit or raise an exception.

Definition at line 1552 of file optparse.py.

01552                         :
        """error(msg : string)

        Print a usage message incorporating 'msg' to stderr and exit.
        If you override this in a subclass, it should not return -- it
        should either exit or raise an exception.
        """
        self.print_usage(sys.stderr)
        self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))

    def get_usage(self):


Generated by  Doxygen 1.6.0   Back to index