summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-08 00:18:13 +0200
committerhut <hut@lavabit.com>2011-10-08 00:18:13 +0200
commit28f897c7feafa3a85833c6269eed813829583379 (patch)
treea73c895d9b439bc15b8a885a0a36e6425d70487f /ranger
parent5603e0fa3efc1c21c2b05570f1c345b64ad26876 (diff)
downloadranger-28f897c7feafa3a85833c6269eed813829583379.tar.gz
ext.signals: fixed signals for python3.2
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/signals.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/ext/signals.py b/ranger/ext/signals.py
index f9cdf9f0..d885dd06 100644
--- a/ranger/ext/signals.py
+++ b/ranger/ext/signals.py
@@ -255,11 +255,11 @@ class SignalDispatcher(object):
 		# propagate
 		for handler in tuple(handlers):
 			if handler.active:
-				if isinstance(handler._function, tuple):
-					fnc = MethodType(*handler._function)
-				else:
-					fnc = handler._function
 				try:
+					if isinstance(handler._function, tuple):
+						fnc = MethodType(*handler._function)
+					else:
+						fnc = handler._function
 					if handler._pass_signal:
 						fnc(signal)
 					else:
lt;sir@cmpwn.com> 2019-07-26 14:22:04 -0400 Support configurable header layout in compose widget' href='/akspecs/aerc/commit/commands/msg/unsubscribe.go?h=0.5.0&id=67fb0938a66605a0b6a837005804637b348b250d'>67fb093 ^
3ba69ed ^
67fb093 ^

3ba69ed ^


030f390 ^

67fb093 ^
030f390 ^












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