# HG changeset patch # User cmlenz # Date 1128698269 0 # Node ID 51f60ebf48cc6594572293549fd06acc03f8c3d3 # Parent 063ba52dc03d2329e8550b653d9adac9ef3d19af Fix argument passing from ``. diff --git a/bitten/build/shtools.py b/bitten/build/shtools.py --- a/bitten/build/shtools.py +++ b/bitten/build/shtools.py @@ -44,7 +44,8 @@ args=None): """Generic external program execution.""" if args: - args = shlex.split(args) + if isinstance(args, basestring): + args = shlex.split(args) else: args = []