summary refs log tree commit diff stats
path: root/examples/plugin_new_macro.py
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-06-02 17:50:09 +0200
committerhut <hut@lepus.uberspace.de>2016-06-02 17:50:09 +0200
commit24712b901b6f5a02038e5c8b892c1ec63085cca9 (patch)
tree849b13ac60537facebe8e0a241bfdc7a7c438ac8 /examples/plugin_new_macro.py
parentea355f491fb10d5ce054c7813d9abdfd3fc68991 (diff)
downloadranger-24712b901b6f5a02038e5c8b892c1ec63085cca9.tar.gz
examples/plugin_new_macro.py: fix spaces
Diffstat (limited to 'examples/plugin_new_macro.py')
-rw-r--r--examples/plugin_new_macro.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py
index 6757e491..31350387 100644
--- a/examples/plugin_new_macro.py
+++ b/examples/plugin_new_macro.py
@@ -11,9 +11,9 @@ old_get_macros = ranger.core.actions.Actions._get_macros
 # Define a new macro function
 import time
 def get_macros_with_date(self):
-       macros = old_get_macros(self)
-       macros['date'] = time.strftime('%m/%d/%Y')
-       return macros
+    macros = old_get_macros(self)
+    macros['date'] = time.strftime('%m/%d/%Y')
+    return macros
 
 # Overwrite the old one
 ranger.core.actions.Actions._get_macros = get_macros_with_date
gt; 2013-12-15 23:55:59 +0000 committer James Booth <boothj5@gmail.com> 2013-12-15 23:55:59 +0000 Added tests for "/account disable"' href='/danisanti/profani-tty/commit/tests/test_cmd_account.h?id=3c0bbed7178168d9be2cc6a6e120994ba2d0b96b'>3c0bbed7 ^
3c0bbed7 ^
e14b4ef5 ^


e14b4ef5 ^
52f6ad6f ^


52f6ad6f ^



9b41c4ee ^
8adca66f ^
ae4c2781 ^
3b2446c4 ^
f6da9444 ^


de06c40d ^
de06c40d ^
c20e38a4 ^


76e7a834 ^


ba66d6b7 ^

f47bd58a ^




7a63cf2e ^



6d6bc67d ^
122fe09c ^

122fe09c ^
f6da9444 ^
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