Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74125 - Code cleanups in portage.py
Summary: Code cleanups in portage.py
Status: VERIFIED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-11 12:26 UTC by Patrick Lauer
Modified: 2007-01-11 14:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.