summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-10 03:28:06 +0100
committerhut <hut@lavabit.com>2013-02-10 03:35:27 +0100
commitd1a1173ddc315f21a3d468f43ac55aa43d31883d (patch)
tree10d728b37294856eb21e6e962089ac38507d868c /examples
parent184e84284d2f4e48631a4b94b87ba76126470206 (diff)
downloadranger-d1a1173ddc315f21a3d468f43ac55aa43d31883d.tar.gz
replaced tabs with 4 spaces in all python files
PEP 8 (Style Guide for Python Code) suggests the use of 4 spaces:
http://www.python.org/dev/peps/pep-0008/#indentation

If you need to use tools like "git blame", you can use the -w option to
ignore this commit entirely.  Patches will continue to work if you
substitute tabs with 4 spaces everywhere except in the Makefile.
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_chmod_keybindings.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/plugin_chmod_keybindings.py b/examples/plugin_chmod_keybindings.py
index 62ca6c58..9c9a0982 100644
--- a/examples/plugin_chmod_keybindings.py
+++ b/examples/plugin_chmod_keybindings.py
@@ -6,13 +6,13 @@ import ranger.api
 old_hook_init = ranger.api.hook_init
 
 def hook_init(fm):
-	old_hook_init(fm)
+    old_hook_init(fm)
 
-	# Generate key bindings for the chmod command
-	command = "map {0}{1}{2} shell -d chmod {1}{0}{2} %s"
-	for	mode in list('ugoa') + '':
-		for	perm in "rwxXst":
-			fm.execute_console(command.format('-', mode, perm))
-			fm.execute_console(command.format('+', mode, perm))
+    # Generate key bindings for the chmod command
+    command = "map {0}{1}{2} shell -d chmod {1}{0}{2} %s"
+    for mode in list('ugoa') + '':
+        for perm in "rwxXst":
+            fm.execute_console(command.format('-', mode, perm))
+            fm.execute_console(command.format('+', mode, perm))
 
 ranger.api.hook_init = hook_init
lt'>
20f0f2ba ^
6fc14005 ^
20f0f2ba ^


d8b807c5 ^

1a6d1846 ^
d4598be6 ^
8a5944e1 ^
3cd8a402 ^
b3d031a9 ^
397106b6 ^
d8b807c5 ^



397106b6 ^
d8b807c5 ^


397106b6 ^

d8b807c5 ^

397106b6 ^
d8b807c5 ^
397106b6 ^

31277e06 ^

20f0f2ba ^












144de554 ^


d1a1173d ^





03dae5f0 ^
fc5648cd ^





















144de554 ^
20f0f2ba ^

397106b6 ^



3b96a37f ^
6bc13af0 ^







4cefa8cc ^
6bc13af0 ^



1a6d1846 ^



3cd8a402 ^
76791a70 ^

6bc13af0 ^

76791a70 ^


6bc13af0 ^







fe5f90d3 ^
6bc13af0 ^



144de554 ^



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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147