summaryrefslogtreecommitdiffstats
path: root/pym/portage/xpak.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/xpak.py')
-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 32623263e..73f84ab75 100644
--- a/pym/portage/xpak.py
+++ b/pym/portage/xpak.py
@@ -324,7 +324,7 @@ class tbz2(object):
"""
self.scan() # Don't care about condition... We'll rewrite the data anyway.
- if break_hardlinks and self.filestat.st_nlink > 1:
+ if break_hardlinks and self.filestat and self.filestat.st_nlink > 1:
tmp_fname = "%s.%d" % (self.file, os.getpid())
shutil.copyfile(self.file, tmp_fname)
try: