[et-mgmt-tools] [PATCH] Fix traceback on commands run with -h

Jeremy Rosengren jeremy at rosengren.org
Tue Feb 19 16:41:59 UTC 2008


Michael DeHaan wrote:
> I don't agree with the patch, but it looks like your particular 
> version of optparse is throwing system.exit in a way that cobbler 
> doesn't like and we need to catch that /also/.
>
> I'll look into it.   Thanks.
>
>
I'm not claiming that what I did was agreeable :)   I've copied my 
python version information, should that help - I'm running on  updated 
CentOS 5.1.

Thanks!

-- j

[root at raid ~]# rpm -qi python
Name        : python                       Relocations: (not relocatable)
Version     : 2.4.3                             Vendor: CentOS
Release     : 19.el5                        Build Date: Wed 14 Mar 2007 
05:59:57 PM CDT
Install Date: Tue 24 Apr 2007 04:23:26 PM CDT      Build Host: 
builder4.centos.org
Group       : Development/Languages         Source RPM: 
python-2.4.3-19.el5.src.rpm
Size        : 21602087                         License: PSF - see LICENSE
Signature   : DSA/SHA1, Tue 03 Apr 2007 07:27:09 PM CDT, Key ID 
a8a447dce8562897
URL         : http://www.python.org/
Summary     : An interpreted, interactive, object-oriented programming 
language.
Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).

Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.

Note that documentation for Python is provided in the python-docs
package.




More information about the et-mgmt-tools mailing list