summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-14 17:47:37 +0200
committerhut <hut@lavabit.com>2010-05-14 17:47:37 +0200
commit7f9044bc98679032031bf33c3034b5275111cc3b (patch)
tree5073b85c25f8e34b3f5bdb16826df13afd0a6a6f /ranger
parent2f3326a41430364cb34a227d311691cada605327 (diff)
downloadranger-7f9044bc98679032031bf33c3034b5275111cc3b.tar.gz
core/environment: removed useless code
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/environment.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ranger/core/environment.py b/ranger/core/environment.py
index 296ba108..bb6abb36 100644
--- a/ranger/core/environment.py
+++ b/ranger/core/environment.py
@@ -190,10 +190,6 @@ class Environment(SettingsAware, SignalDispatcher):
 		self.cwd = new_cwd
 
 		self.cwd.load_content_if_outdated()
-		if self.cwd.files:
-			for dir in self.cwd.files:
-				if dir.is_directory and dir.infostring == 'unknown':
-					dir.determine_infostring()
 
 		# build the pathway, a tuple of directory objects which lie
 		# on the path to the current directory.