[PATCH v2][python-meh] Add option to remove the 'Debug' option/button for mainExceptionWindow
Vratislav Podzimek
vpodzime at redhat.com
Thu Feb 12 13:48:46 UTC 2015
On Thu, 2015-02-12 at 13:39 +0100, Vojtech Trefny wrote:
> It is neccesary to pass a function (which decides whether to allow the debug option) as a keyword argument 'allowDebug'. Default function is sys.stdout.isatty.
>
> Default is the sys.stdout.isatty function which causes the debug option is not present when there is no terminal/tty to display the debugger.
Please make the commit message lines < 80characters wide. Other than
this, the patch looks good to me.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list