Re: [rhel7-alpha2-branch/master PATCH] Handle RUNKS boot argument (#831301)

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

 



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



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