landscape.py : fix old format in cmd
ldap.py : remove unneeded def setup
fix small misses following refactoring
Merge pull request #136 from karibou/master

Minor fixes and reformat