Fix Python 2.4 syntax in admin.py (See #10412)
Merge pull request #757 from bpindelski/admin-fix-10412

Fix Python 2.4 syntax in admin.py (See #10412)