Re: [PATCH] Fix traceback on commands run with -h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeremy Rosengren wrote:
I compiled from latest git and am seeing what I've copied below. Stephen Smoogen also reported the problem using the latest published RPM version (which is also where I first saw it): https://www.redhat.com/archives/et-mgmt-tools/2008-February/msg00112.html

From what I saw in cobbler.py from latest git, the conditional in main() was giving the traceback all the time. The "else" case of print str(exc2)[1:-1] had flipped sides of the conditional statement from a couple of revisions back.


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.



_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux