diff options
author | hut <hut@lavabit.com> | 2010-04-06 22:42:10 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-07 03:40:01 +0200 |
commit | 2b33c6b6c245ff669a59f9e16779b5d218a2877b (patch) | |
tree | 4748992c5941373155a4442cdd9a724e62396425 /ranger | |
parent | a9f693859839e407d30ac254347e856d4bece56b (diff) | |
download | ranger-2b33c6b6c245ff669a59f9e16779b5d218a2877b.tar.gz |
core.actions: move dummy function to an extra section
Diffstat (limited to 'ranger')
-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: |