Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 74125

Summary: Code cleanups in portage.py
Product: Portage Development Reporter: Patrick Lauer <patrick>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: VERIFIED LATER    
Severity: normal    
Priority: High    
Version: 2.2   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrick Lauer gentoo-dev 2004-12-11 12:26:11 UTC
The initializiation of variables etc. in portage.py happens quite randomly.
To improve code readability, please move all initialization away from "in between the functions" to either the beginning or the end of portage.py.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-12-11 12:30:42 UTC
portage.py (should cvs go well) won't even technically exist, the remaining variable/tree initializations will end up in portage/__init__.py

Sidenote, patches are always welcome (if the code in question wasn't already marked for potentially being gutted, it probably wouldn't be undertaken since it's asthetic restructuring- more important things to fix).
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 14:19:39 UTC
Closing due to old age.