diff options
author | hut <hut@lavabit.com> | 2010-03-31 06:11:33 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-31 06:11:33 +0200 |
commit | a99d50191fd37ce2aeb979f2026cdd74ccb5d4d9 (patch) | |
tree | 3a40337daaf7a350ea75ada454346f8ab0167df6 | |
parent | 6d3a0155ba8310cb96c3ad023e7a62d7bd683129 (diff) | |
download | ranger-a99d50191fd37ce2aeb979f2026cdd74ccb5d4d9.tar.gz |
core.fm: write some info to message log on start
-rw-r--r-- | ranger/core/fm.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py index de22a86c..2e65c776 100644 --- a/ranger/core/fm.py +++ b/ranger/core/fm.py @@ -19,6 +19,8 @@ The File Manager, putting the pieces together from time import time from collections import deque +import os +import sys import ranger from ranger.core.actions import Actions @@ -57,6 +59,10 @@ class FM(Actions, SignalDispatcher): from ranger.shared import FileManagerAware FileManagerAware.fm = self + self.log.append('Ranger {0} started! Process ID is {1}.' \ + .format(__version__, os.getpid())) + self.log.append('Running on Python ' + sys.version.replace('\n','')) + @property def executables(self): if self._executables is None: |