summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/xpak.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/xpak.py b/pym/portage/xpak.py
index a9e15b563..262f14c85 100644
--- a/pym/portage/xpak.py
+++ b/pym/portage/xpak.py
@@ -436,7 +436,7 @@ class tbz2(object):
def get_data(self):
"""Returns all the files from the dataSegment as a map object."""
if not self.scan():
- return 0
+ return {}
a = open(_unicode_encode(self.file,
encoding=_encodings['fs'], errors='strict'), 'rb')
mydata = {}