diff --git a/bin/dib-lint b/bin/dib-lint index 0b33790e..d7e602f3 100755 --- a/bin/dib-lint +++ b/bin/dib-lint @@ -34,11 +34,15 @@ parse_exclusions() { # ignore = sete setu section="dib-lint" option="ignore" - global_exclusions=$(python -c \ - "import ConfigParser; \ - conf=ConfigParser.ConfigParser(); \ - conf.read('tox.ini'); \ - print conf.get('$section', '$option') if conf.has_option('$section', '$option') else ''" + global_exclusions=$(python - <