remove python < 2.4 compatibility code (GNOME bug 701181)