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:
2009-12-25 21:55:04 +0100 updated pydoc pages' href='/akspecs/ranger/commit/doc/ranger.html?h=v1.9.0b3&id=f07bb12fc5c59430e995a64956b36331ce3629b9'>f07bb12f ^
4c13e1f2 ^
34a60763 ^
62cd83ba ^


f07bb12f ^
34a60763 ^
f07bb12f ^
4c13e1f2 ^
34a60763 ^
b3556b21 ^
f07bb12f ^

62cd83ba ^










f07bb12f ^




62cd83ba ^

34a60763 ^

62cd83ba ^





2144cf26 ^
a614f048 ^
f07bb12f ^





62cd83ba ^
f07bb12f ^





62cd83ba ^
f07bb12f ^
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