Django. OSError: Load averages are unobtainable. Disable get_loadavg()?

Hi. I’m running a Django app on The raven runner raises

OSError: Load averages are unobtainable

when calling os.getloadavg() in

def get_loadavg():
    if hasattr(os, 'getloadavg'):
        return os.getloadavg()
    return None

These are the responses in the Python interpreter, and according to the PA team, it’s currently the expected behavior:

>>> import os
>>> hasattr(os, 'getloadavg')
>>> os.getloadavg()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: Load averages are unobtainable

Is there a way to disable this call to getloadavg in the configuration somehow? Or is there another way to get raven running?

Where do you see this being called? This should only be used in the raven test script, not in the actual raven client.

You’re right. I can’t reproduce it any other way. Never mind then. The Django app is actually running. Thank you!