Fix compatibility with Python 2.4
Review Request #5267 — Created Jan. 16, 2014 and submitted
In a recent release, new code used 2.7/3.x style exception raising. This patch uses standard 2.x exception raising and returns compatibility with Python 2.4 to RBTools.
Using the functionality in setup_repo.py under Python 2.4 returns no errors. No further testing should be required.