# This progam is used to automatically submit files # from a default changelist. # Email is sent to the email address specified here. # If no files are opened the program quits. # Gerry Thompson Python Class Perforce Software 2002 # Version 1.0 # This imports submit_mail.py module. from submit_files import tryit admin = 'gerry+submit@perforce.com' # Administrator's 'From' address for email. to = 'gerry@perforce.com' # Your email address. if __name__ == '__main__': # this line keeps the script from launching # automatically if called from another script. tryit(admin, to)