upload.py (cont) def make_changelog(): """run the make-changelog script in the current directory""" run_command("make-changelog.pl") def commit(): """commit the changes to cvs""" run_command("cvs commit") def upload(): """upload the newly changed files to vipe""" fnames = get_changed_files() fnames.append("mulix@vipe.technion.ac.il:~/public_html/") fnames.insert(0, "scp") run_command(string.join(fnames)) if __name__ == "__main__": update_cvs() make_changelog() commit(); upload()