[PATCH 19/68] lib/portage/xpak.py: fix whitespace
Aaron Bauman <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Aaron Bauman <[email protected]> --- lib/portage/xpak.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/portage/xpak.py b/lib/portage/xpak.py index 3401c5073..746ef6f5a 100644 --- a/lib/portage/xpak.py +++ b/lib/portage/xpak.py @@ -151,11 +151,11 @@ def xsplit(infile): encoding=_encodings['fs'], errors='strict'), 'rb') mydat = myfile.read() myfile.close() - + splits = xsplit_mem(mydat) if not splits: return False - + myfile = open(_unicode_encode(infile + '.index', encoding=_encodings['fs'], errors='strict'), 'wb') myfile.write(splits[0]) @@ -236,7 +236,7 @@ def searchindex(myindex, myitem): datalen = decodeint(myindex[startpos + 8 + mytestlen:startpos + 12 + mytestlen]) return datapos, datalen startpos = startpos + mytestlen + 12 - + def getitem(myid, myitem): myindex = myid[0] mydata = myid[1] -- 2.28.0