summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger.py b/ranger.py
index fbceab23..240b3687 100755
--- a/ranger.py
+++ b/ranger.py
@@ -1,5 +1,5 @@
 #!/usr/bin/python -O
-# coding=utf-8
+# -*- coding: utf-8 -*-
 #
 # Ranger: Explore your forest of files from inside your terminal
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
@@ -20,7 +20,7 @@
 # Embed a script which allows you to change the directory of the parent shell
 # after you exit ranger.  Run it with the command: source ranger ranger
 """":
-if [ $1 ]; then
+if [ ! -z "$1" ]; then
 	$@ --fail-unless-cd &&
 	if [ -z "$XDG_CONFIG_HOME" ]; then
 		cd "$(grep \^\' ~/.config/ranger/bookmarks | cut -b3-)"
@@ -36,7 +36,7 @@ return 1
 import sys
 
 # When using the --clean option, not even bytecode should be written.
-# Need to find out if --clean is used as soon as possible.
+# Thus, we need to find out if --clean is used as soon as possible.
 try:
 	argv = sys.argv[0:sys.argv.index('--')]
 except:
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
00
committer  hut <hut@lavabit.com>  2010-03-12 02:00:53 +0100

updated pydoc' href='/akspecs/ranger/commit/doc/pydoc/ranger.gui.widgets.console_mode.html?h=v1.8.1&id=62cd83bace8e77cd1ff7028da6cf65d0d1defa27'>62cd83ba ^






4c13e1f2 ^
























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