about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-03 14:38:37 +0200
committerhut <hut@lavabit.com>2009-07-03 14:38:37 +0200
commit17f50f1948750436864240db4895d1b8be81075b (patch)
tree98b609ee4be0a77ad995345adb5586d6f435bf7c /code
parent5c46eff7ddabf2dabc380b1e6a834e42bb30a385 (diff)
downloadranger-17f50f1948750436864240db4895d1b8be81075b.tar.gz
supress warnings when reloading type definitions
Diffstat (limited to 'code')
-rw-r--r--code/fm.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/fm.rb b/code/fm.rb
index 67d6829d..ba33279a 100644
--- a/code/fm.rb
+++ b/code/fm.rb
@@ -77,8 +77,11 @@ module Fm
 	end
 
 	def reload_types()
+		old_verbose_level = $VERBOSE
+		$VERBOSE = nil
 		load 'data/types.rb'
 		load 'data/apps.rb'
+		$VERBOSE = old_verbose_level
 	end
 
 	def boot_up(pwd=nil)