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)
1f ^
7e7c514df ^

1c0c80ef2 ^






7e7c514df ^
afd8ca2f1 ^


0f2aa053d ^



1c0c80ef2 ^



4aba7421f ^




7e7c514df ^
4aba7421f ^





7e7c514df ^


4aba7421f ^
7e7c514df ^



















4aba7421f ^
















afd8ca2f1 ^
4aba7421f ^



7e7c514df ^






4aba7421f ^
7956737ef ^
















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126