DataDog/dd-agent — pull request #9 by alq666 (2012-03-14 21:45:08+00:00)
Title: Agent should not barf when config lines begin with white space

The standard ConfigParser in python treats line starting with white space as multilines, which has the potential to confuse any number of parameters (in particular the url to submit data to).

This fixes it by removing leading white spaces from config files before invoking ConfigParser.

And it comes with a small unittest

P.S. If you cringe at the sentence "... to submit data to", you're not [alone]( http://www.slate.com/articles/podcasts/lexicon_valley/2012/02/lexicon_valley_why_we_think_we_can_t_end_a_sentence_with_a_preposition_.html)