Commit 46df2825 authored by adam j hartz's avatar adam j hartz

fix error message for out-of-range arguments

parent 7790f8d2
......@@ -303,7 +303,7 @@ class Env(MutableMapping):
args = self._d['ARGS']
ix = int(
if ix >= len(args):
e = "Not enough arguments given to access ARG{0}."
e = "Not enough arguments given to access ${0}."
raise KeyError(e.format(ix))
val = self._d['ARGS'][ix]
elif key in self._d:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment