[debian] fix: crashing when the package size encoding has unexpected symbols

This commit is contained in:
Vinicius Moreira
2022-04-07 09:53:15 -03:00
parent 2ce565e9d7
commit b58b620e8d

View File

@@ -222,6 +222,7 @@ class Aptitude:
def env(self) -> Dict[str, str]:
if self._env is None:
self._env = system.gen_env(global_interpreter=system.USE_GLOBAL_INTERPRETER)
self._env['LC_NUMERIC'] = ''
return self._env