update graphite.py so it's readable