From: | fred-gentoo@××××××××.com |
---|---|
To: | gentoo-dev@g.o |
Subject: | [gentoo-dev] Small bug in emerge |
Date: | Thu, 01 Aug 2002 02:23:24 |
Message-Id: | 867kjbt53o.fsf@mau.local.network |
1 | Hi, |
2 | |
3 | Here is a small bug in emerge command: |
4 | |
5 | [root@mau ~]# emerge -s '' |
6 | Traceback (most recent call last): |
7 | File "/usr/bin/emerge", line 325, in ? |
8 | if x[-1]=="/": |
9 | IndexError: string index out of range |
10 | [root@mau ~]# |
11 | |
12 | A possible fix is to replace the line 325 with: |
13 | |
14 | if x.endswith('/'): |
15 | |
16 | (Running with: |
17 | |
18 | * sys-apps/portage |
19 | Latest version Available: 2.0.22 |
20 | Latest version Installed: 2.0.22 |
21 | ) |
22 | |
23 | -- |
24 | Frédéric Jolliton |