Browse Source

fix: fixed crash if a binary file is present in etc/portage

master 3.7.2.14
idziubenko 4 months ago
parent
commit
6d1cd90158
  1. 5
      pym/calculate/lib/utils/portage.py

5
pym/calculate/lib/utils/portage.py

@ -1812,7 +1812,10 @@ class PortageState():
for dirdata in self.getpathdata(dfn):
yield dirdata
else:
yield readFile(fn)
try:
yield readFile(fn)
except UnicodeDecodeError as e:
pass
def get_state(self):
m = hashlib.md5()

Loading…
Cancel
Save