Closed Bug 569824 Opened 14 years ago Closed 14 years ago

release_master.py shouldn't use release_config.py variables as global variables

Categories

(Release Engineering :: General, defect, P5)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Unassigned)

References

Details

(Whiteboard: [automation])

release_master.py uses "from release_config import *" to import release config variables. We have to set some variables (to None) even if we don't use them in the current release and these variables are optional or have sane default values in the corresponding classes.

Instead of using global variables we can use "import release_config" and then get the variables by getattr with sane fallback default values.
Resolved by bug 553300
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.