bd3766eca5
Python's new style classes derive from object and str(class().__class__) will return a slightly different format. class().__class.__name__ will still work for both old and new style classes, so use that instead. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>