From da53b2b3fe5f5e1ba8511da9ed7adbf23800a9eb Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 18 Jan 2013 14:36:07 -0500 Subject: fixed syntax errors for py < 2.5 --- src/sbin/bcfg2-lint | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sbin/bcfg2-lint') diff --git a/src/sbin/bcfg2-lint b/src/sbin/bcfg2-lint index 959a2d8ed..430c4c54f 100755 --- a/src/sbin/bcfg2-lint +++ b/src/sbin/bcfg2-lint @@ -51,7 +51,8 @@ def run_plugin(plugin, plugin_name, setup=None, errorhandler=None, else: args.append(setup) - return plugin(*args, files=files, errorhandler=errorhandler).Run() + # python 2.5 doesn't support mixing *magic and keyword arguments + return plugin(*args, **dict(files=files, errorhandler=errorhandler)).Run() def get_errorhandler(setup): -- cgit v1.2.3-1-g7c22