about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-04-05 17:04:18 +0200
committerhut <hut@lavabit.com>2011-04-05 17:05:07 +0200
commitd36c43ff45e5f57f7b2ae507cafc3976b8c752e8 (patch)
treec78bcb55049d6c89825e4d143045f00ec20940eb
parentd8084b41f67b1b8470251633529cacf2ba07fb6a (diff)
downloadranger-d36c43ff45e5f57f7b2ae507cafc3976b8c752e8.tar.gz
ranger.py: minor change, more general exception handling
-rwxr-xr-xranger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py
index 16c6b1b5..ffdf13aa 100755
--- a/ranger.py
+++ b/ranger.py
@@ -51,7 +51,7 @@ __doc__ = """Ranger - file browser for the unix terminal"""
 if os.path.isdir('ranger'):
 	try:
 		sys.path.remove(os.path.abspath('.'))
-	except ValueError:
+	except:
 		pass
 
 # Start ranger
k Agaram <vc@akkartik.com> 2019-07-20 23:59:23 -0700 5431 - starting to translate std lib' href='/akkartik/mu/commit/subx/ntranslate?h=hlt&id=90538f232a31c621323ba1b8b93fad57c555b810'>90538f23 ^
300f4554 ^
90538f23 ^
d9d9ab81 ^


099f0d5d ^

418ea7d3 ^
e97b446a ^
90538f23 ^
6488bfcf ^
90538f23 ^
6488bfcf ^
90538f23 ^
23fd294d ^

6488bfcf ^











90538f23 ^



531f14c9 ^

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