Fixing a refactoring error

upgrage_python() now has two arguments.