diff options
author | hut <hut@lavabit.com> | 2010-01-05 02:10:41 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-05 02:10:41 +0100 |
commit | 7b4ef308589cad675908f3cdea64c3c0edffd92a (patch) | |
tree | 5181f8a6e8bcff44844b6c0995d506dc77864b48 | |
parent | 847010930a11791c87845a011cd968b2f0861155 (diff) | |
download | ranger-7b4ef308589cad675908f3cdea64c3c0edffd92a.tar.gz |
keyapi: fixed unwanted destructive operation
-rw-r--r-- | ranger/keyapi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/keyapi.py b/ranger/keyapi.py index e5d6f367..a0e71428 100644 --- a/ranger/keyapi.py +++ b/ranger/keyapi.py @@ -94,6 +94,7 @@ def replace_narg(number, function, args, keywords): args[index] = number except (ValueError, IndexError): # is narg in keywords? + keywords = dict(keywords) keywords[NARG_KEYWORD] = number return args, keywords |