summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-31 06:11:33 +0200
committerhut <hut@lavabit.com>2010-03-31 06:11:33 +0200
commita99d50191fd37ce2aeb979f2026cdd74ccb5d4d9 (patch)
tree3a40337daaf7a350ea75ada454346f8ab0167df6 /ranger
parent6d3a0155ba8310cb96c3ad023e7a62d7bd683129 (diff)
downloadranger-a99d50191fd37ce2aeb979f2026cdd74ccb5d4d9.tar.gz
core.fm: write some info to message log on start
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/fm.py6
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: