Jan Cholasta wrote:
D'oh!

Fixed.

Honza

Dne 15.2.2011 18:14, Rob Crittenden napsal(a):
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


ack, pushed to master

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to