Update redis-gmond.py

Original form causes syntax error in Python2.4, this way is compatible with all python versions.