summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-18 18:34:06 +0200
committerhut <hut@lavabit.com>2010-04-18 18:34:06 +0200
commit738113725dbe2d7d5d54279c6ef38927113ec2f8 (patch)
tree6eab9ca509f37ac66a5c0425d504e39644b5142f /ranger
parentb11c671fb570757ca895d1f5b60f68a895bde9de (diff)
downloadranger-738113725dbe2d7d5d54279c6ef38927113ec2f8.tar.gz
ranger.main: Added compatibility warning
Diffstat (limited to 'ranger')
-rw-r--r--ranger/__main__.py5
-rw-r--r--ranger/core/fm.py1
2 files changed, 6 insertions, 0 deletions
diff --git a/ranger/__main__.py b/ranger/__main__.py
index 4b652824..b9847bf5 100644
--- a/ranger/__main__.py
+++ b/ranger/__main__.py
@@ -92,6 +92,11 @@ def load_settings(fm, clean):
 			import keys
 		except ImportError:
 			pass
+		# COMPAT WARNING
+		if hasattr(keys, 'initialize_commands'):
+			print("Warning: the syntax for ~/.ranger/keys.py has changed.")
+			print("Your custom keys are not loaded."\
+					"  Please update your configuration.")
 		del sys.path[0]
 	else:
 		comcont = ranger.api.commands.CommandContainer()
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index ab418c89..1124f355 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -55,6 +55,7 @@ class FM(Actions, SignalDispatcher):
 				.format(__version__, os.getpid()))
 		self.log.append('Running on Python ' + sys.version.replace('\n',''))
 
+	# COMPAT
 	@property
 	def executables(self):
 		"""For compatibility. Calls get_executables()"""