saltstack/salt — pull request #1824 by grierj (2012-08-15 02:41:29+00:00)
Title: Fix bug in peer publishing jobs.lookups_jid

Found a fun bug in peer runner publishing, specifically when you run something like:

sudo salt-call publish.runner jobs.lookup_jid 20120815010435988855

When the argument passed is entirely numeric ast.literal_eval()
will evaluate the numeric string to a int, long or float. This
falls through the attempt to create a list of arguments and later
causes runner.run to fail when the argument is a string.