summary refs log tree commit diff stats
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
parent1fecf8935330acd417370c32eea4f17f133d4776 (diff)
downloadranger-ff0720a70de9ec169c77936d2abaf81522ac638b.tar.gz
core.actions: move dummy function to an extra section
-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:
n142'>142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221