On 06/13/2012 12:18 PM, David Cantrell wrote:
Any reason to not do: if 'SSH_CONNECTION' not in os.environ and "RUNKS" not in flags.cmdline: prompt_for_ssh() sys.exit(0)
I had it that way first, but the double negative with a positive was getting a bit confusing. I thought it was more readable logic wise to have it all positives with an else. I can go either way though, I don't really care.
-- Jesse Keating Fedora -- Freedom² is a feature! _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list