diff options
author | hut <hut@lavabit.com> | 2010-10-03 00:11:05 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-03 00:11:05 +0200 |
commit | adda271e8381e712f123a6499728c3363f41b5ab (patch) | |
tree | 75aef0da6761820cf01b244d6b13d8b4ac1bafed | |
parent | 1ef0ade55d7e678ee036a821b26dbf9dc95fb877 (diff) | |
download | ranger-adda271e8381e712f123a6499728c3363f41b5ab.tar.gz |
defaults.commands: avoid overwriting the builtin set class
-rw-r--r-- | ranger/defaults/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py index b61d5a5a..e66d2c24 100644 --- a/ranger/defaults/commands.py +++ b/ranger/defaults/commands.py @@ -289,12 +289,13 @@ class find(Command): return self.count == 1 -class set(Command): +class _set(Command): """ :set <option name>=<python expression> Gives an option a new value. """ + name = 'set' # don't override the builtin set class def execute(self): line = parse(self.line) name = line.chunk(1) |