Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122014 - python-selinux-2.16.ebuild calls python_version in global scope
Summary: python-selinux-2.16.ebuild calls python_version in global scope
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 10:45 UTC by Marien Zwart (RETIRED)
Modified: 2006-02-08 16:22 UTC (History)
1 user (show)

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


Attachments
move the python_version calls into functions. (python-selinux-ebuild.diff,987 bytes, patch)
2006-02-07 10:46 UTC, Marien Zwart (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2006-02-07 10:45:22 UTC
python-selinux-2.16.ebuild unnecessarily calls python_version (which runs python to extract the version number) in global scope. Attached trivial patch fixes it.
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2006-02-07 10:46:13 UTC
Created attachment 79142 [details, diff]
move the python_version calls into functions.
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2006-02-08 16:22:06 UTC
in cvs