about summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-06 22:42:10 +0200
committerhut <hut@lavabit.com>2010-04-06 22:42:10 +0200
commitff0720a70de9ec169c77936d2abaf81522ac638b (patch)
treebe5b9778736bea558500c2098b586e4abb252875 /ranger/core/actions.py
parent1fecf8935330acd417370c32eea4f17f133d4776 (diff)
downloadranger-ff0720a70de9ec169c77936d2abaf81522ac638b.tar.gz
core.actions: move dummy function to an extra section
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py14
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: