Summary: | app-portage/gentoolkit - glsa-check --dump does not work with python3 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Alexander Zubkov <zubkov318> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, matt+bugzilla |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346443 |
Description
Alexander Zubkov
2012-05-23 08:11:31 UTC
The fix is to change the line: margin = (width-len(text))/2 to: margin = (width-len(text))//2 Python2 did integer floor division by default and Python3 does not. I'll fix the code and it will be in the next release. Hi. When the next release will be available? I would consider this a much higher importance because currently glsa-check is broken for all systems that use python3 Or in other words: Gentoo's tool for doing security updates is broken in its current stable version when using a "default" python setup. Released in gentoolkit-0.3.0.7 *** Bug 444650 has been marked as a duplicate of this bug. *** |