//usr/lib/python2.4/site-packages/rpmUtils/miscutils.py