Jan Cholasta wrote:
Fixes handling of empty lines, erroneous lines and comments in /etc/hosts.
https://fedorahosted.org/freeipa/ticket/971
nack.
Would using line.rstrip() be better than the conditional checking
explicitly for \n?
I don't think we can use format this way, isn't it new to python 2.7? I
think you have to use {0} and {1}. We need to support python 2.6 as well.
rob
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel