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



This is the same as gh-757 but rebased onto develop.

----

This PR fixes a Python 2.4 / 2.6 syntax mismatch in admin.py. It does not change the logic regarding the OMERO service creation/deletion on Windows.

/cc @joshmoore, @chris-allan