make _LXCConfig.as_string() more idiomatic Python
Merge pull request #15712 from hulu/idiom

make _LXCConfig.as_string() more idiomatic Python