diff options
-rw-r--r-- | ranger/__main__.py | 5 | ||||
-rw-r--r-- | ranger/core/fm.py | 1 |
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()""" |