Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
trailing whitespace in IP addresses causes error #305
Trailing whitespace in IP address values causes name lookup failure, which is counterintuitive and should be cared for. NB: leading whitespace doesn't seem to matter.
pantouflejr:tmp mbravo$ cat fabfile.py from fabric.api import * env.hosts = ['127.0.0.1 '] def test(): run('uname -r'); pantouflejr:tmp mbravo$ fab test [127.0.0.1 ] Executing task 'test' [127.0.0.1 ] run: uname -r Fatal error: Name lookup failed for 127.0.0.1 Aborting. pantouflejr:tmp mbravo$
Tested with fabric 0.9.4
Originally submitted by **** (mbravo) on 2011-03-07 at 05:33pm EST
Closed as Done on 2011-03-20 at 05:00pm EDT