Re: PATCH: koan: correction to exception handling in main()

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

 





If you can give me a specific traceback/error that it's not printing (or is printing a string for), we can revisit this.
Well I ran into it when failing to initialize a Guest correctly, and triggered an exception deep in the bowels of virtinst (whine, whine, whine) , but you can see the same effect by adding the following line to koan/app.py:main() (foo is left uninitialized).

-gavin...

diff --git a/koan/app.py b/koan/app.py
index 5c6ff6a..cb2f97b 100755
--- a/koan/app.py
+++ b/koan/app.py
@@ -169,6 +169,7 @@ def main():
        return 3

    try:
+        k = foo
        k = Koan()
        k.list_systems      = options.list_systems
        k.list_profiles     = options.list_profiles

_______________________________________________
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