diff options
author | hut <hut@lavabit.com> | 2010-04-06 22:42:10 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-06 22:42:10 +0200 |
commit | ff0720a70de9ec169c77936d2abaf81522ac638b (patch) | |
tree | be5b9778736bea558500c2098b586e4abb252875 | |
parent | 1fecf8935330acd417370c32eea4f17f133d4776 (diff) | |
download | ranger-ff0720a70de9ec169c77936d2abaf81522ac638b.tar.gz |
core.actions: move dummy function to an extra section
-rw-r--r-- | ranger/core/actions.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 7da38162..b64ef316 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -28,6 +28,15 @@ class Actions(EnvironmentAware, SettingsAware): search_forward = False # -------------------------- + # -- Backwards Compatibility + # -------------------------- + + def dummy(self, *args, **keywords): + """For backwards compatibility only.""" + + handle_mouse = resize = dummy + + # -------------------------- # -- Basic Commands # -------------------------- @@ -49,11 +58,6 @@ class Actions(EnvironmentAware, SettingsAware): cwd.unload() cwd.load_content() - def dummy(self, *args, **keywords): - """For backwards compatibility only.""" - - handle_mouse = resize = dummy - def notify(self, text, duration=4, bad=False): if isinstance(text, Exception): if ranger.arg.debug: |