1 |
Signed-off-by: Aaron Bauman <bman@g.o> |
2 |
--- |
3 |
lib/portage/xpak.py | 6 +++--- |
4 |
1 file changed, 3 insertions(+), 3 deletions(-) |
5 |
|
6 |
diff --git a/lib/portage/xpak.py b/lib/portage/xpak.py |
7 |
index 3401c5073..746ef6f5a 100644 |
8 |
--- a/lib/portage/xpak.py |
9 |
+++ b/lib/portage/xpak.py |
10 |
@@ -151,11 +151,11 @@ def xsplit(infile): |
11 |
encoding=_encodings['fs'], errors='strict'), 'rb') |
12 |
mydat = myfile.read() |
13 |
myfile.close() |
14 |
- |
15 |
+ |
16 |
splits = xsplit_mem(mydat) |
17 |
if not splits: |
18 |
return False |
19 |
- |
20 |
+ |
21 |
myfile = open(_unicode_encode(infile + '.index', |
22 |
encoding=_encodings['fs'], errors='strict'), 'wb') |
23 |
myfile.write(splits[0]) |
24 |
@@ -236,7 +236,7 @@ def searchindex(myindex, myitem): |
25 |
datalen = decodeint(myindex[startpos + 8 + mytestlen:startpos + 12 + mytestlen]) |
26 |
return datapos, datalen |
27 |
startpos = startpos + mytestlen + 12 |
28 |
- |
29 |
+ |
30 |
def getitem(myid, myitem): |
31 |
myindex = myid[0] |
32 |
mydata = myid[1] |
33 |
-- |
34 |
2.28.0 |