diff --git a/lib/portage/dbapi/porttree.py b/lib/portage/dbapi/porttree.py index 5a4d69f372..6431e5bf85 100644 --- a/lib/portage/dbapi/porttree.py +++ b/lib/portage/dbapi/porttree.py @@ -1009,7 +1009,7 @@ def getfetchsizes(self, mypkg, useflags=None, debug=0, myrepo=None): if mystat is None: try: - mystat = os.stat(file_path + _download_suffix) + mystat = os.stat(file_path + str(_download_suffix)) except OSError: pass