summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-22 03:27:58 +0100
committerhut <hut@lavabit.com>2013-02-22 03:27:58 +0100
commitd894fd02f52c569cfcf73917a006d68513af56ff (patch)
treed89c361a0f08aa343c4fae40ad75dbbf8624ffa2 /examples
parent58247b857f861c057158ec3ecab89f3dffcfe290 (diff)
downloadranger-d894fd02f52c569cfcf73917a006d68513af56ff.tar.gz
use 4-space-indents in files that had 2-space-indents
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_hello_world.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/plugin_hello_world.py b/examples/plugin_hello_world.py
index 187f428e..e43eb61d 100644
--- a/examples/plugin_hello_world.py
+++ b/examples/plugin_hello_world.py
@@ -11,11 +11,11 @@ old_hook_ready = ranger.api.hook_ready
 
 # Create a replacement for the hook that...
 def hook_ready(fm):
-  # ...does the desired action...
-  fm.notify("Hello World")
-  # ...and calls the saved hook.  If you don't care about the return value, simply
-  # return the return value of the previous hook to be on the safe side.
-  return old_hook_ready(fm)
+    # ...does the desired action...
+    fm.notify("Hello World")
+    # ...and calls the saved hook.  If you don't care about the return value,
+    # simply return the return value of the previous hook to be safe.
+    return old_hook_ready(fm)
 
 # Finally, "monkey patch" the existing hook_ready function with our replacement:
 ranger.api.hook_ready = hook_ready