summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-02-14 23:27:32 +0000
committerhut <hut@lavabit.com>2011-02-14 23:27:32 +0000
commite5d250baf62c52267a10e326da52a65710e739c2 (patch)
tree91d43000091a2129dc73e7e361fcbea749564b00 /ranger
parent6d27a0816f3fb65cb2726df0fbfefec21e0f42bd (diff)
downloadranger-e5d250baf62c52267a10e326da52a65710e739c2.tar.gz
python 2.6 compatibility for ornicars commits
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/apps.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 25ea17e4..8c59c57a 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -56,8 +56,7 @@ class CustomApplications(Applications):
 
 		return_file = os.getenv("RANGER_RETURN_FILE")
 		if return_file is not None:
-			with open(return_file, 'w') as tmp:
-				tmp.write(f.path)
+			open(return_file, 'w').write(f.path)
 			raise SystemExit()
 
 		if f.basename.lower() == 'makefile':
d README, added early reference to the man page' href='/akspecs/ranger/commit/README?h=v1.8.0&id=4833bc2383e30ccd3fb500497e9d1af7d056f066'>4833bc23 ^
4ea0f69a ^

240394a4 ^

712aa449
240394a4 ^

240394a4 ^
7dc8fef8 ^
9e89f023 ^
36e4e71e ^
20ab9343 ^

20ab9343 ^





4ea0f69a ^

240394a4 ^
7dc8fef8 ^
36e4e71e ^

4a383291 ^
78a7d762 ^
e952d6cb ^
78a7d762 ^
e952d6cb ^
4ea0f69a ^

7838675f ^

07069888 ^

07069888 ^
7838675f ^

1891697f ^
755e7df1 ^
7838675f ^
7dc8fef8 ^
500cf259 ^


7dc8fef8 ^



240394a4 ^



240394a4 ^
7dc8fef8 ^
240394a4 ^




7dc8fef8 ^
240394a4 ^



240394a4 ^

240394a4 ^
7dc8fef8 ^







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