summaryrefslogtreecommitdiffstats
path: root/src/lib/Environment.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add Environment.py file for building classes to gather env data."Sol Jerome2011-07-071-37/+0
| | | | | | | | This reverts commit 146a7a633bc3a36de21f589af0eec10755b0cae5. We don't really need this since we have already solved the version bits using sys.hexversion where needed. Also, this won't work on python3, so we won't be able to use it there.
* Add Environment.py file for building classes to gather env data.Raul Cuza2011-07-061-0/+37
Includes Pyversion() class which simplifies getting the Python version that Bcfg2 is running under. It is mostly useful for Python 2 and under, since Python 3 has the handy sys.version_info.{major,minor,...} object.