I see nothing wrong with this. The fact that it is in "old" python just means that it has done its job for a long time, presumably without needing to be rewritten. I would love it if someone came into my workplace in 15 years and found a script I wrote today still being used.